<%@ Register TagPrefix="cc1" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
<%@ Page language="c#" Inherits="Discuz.ForumPage.Admin.uploadavatar" Codebehind="global_uploadavatar.aspx.cs" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
	<HEAD>
		<title>uploadavatar</title>
				
	    <script language="javascript" src="../js/common.js"></script>
	    <link href="../styles/dntmanager.css" type="text/css" rel="stylesheet">        
        <link href="../styles/modelpopup.css" type="text/css" rel="stylesheet">
        <script type="text/javascript" src="../js/modalpopup.js"></script>
    </head>
	<body>
	<div class="ManagerForm">
		<form id="Form1" method="post" runat="server">
        <script>
        showhint(0, '技巧提示 : 先单击"浏览" 按钮后选取要上传的图片,然后单击"上传" 按钮, 系统会对您上传后的文件进行重命名并保存');
        </script>
		<fieldset>
		<legend style="background:url(../images/icons/icon37.jpg) no-repeat 6px 50%;">上传头像</legend>
			<table class="table1" cellspacing="0" cellpadding="4" width="100%" align="center">			
				<tr>
					<td class="td1" WIDTH="15%">头像图片上传:</td>
					<td class="td1">
						<cc1:UpFile id="url" runat="server" HintTitle="提示" UpFilePath="../../avatars/common/" FileType=".jpg|.gif|.png"  IsShowTextArea=false></cc1:UpFile>					</td>
				</tr>
			</table>
		</fieldset>
		<cc1:Hint id="Hint1" runat="server" HintImageUrl="../images"></cc1:Hint>
		<div align="center">
		    <cc1:Button id="UpdateAvatarCache" runat="server" Text="上传并返回头像列表"  ShowPostDiv="false"></cc1:Button>
		</div>		
		</form>
	</div>
	<%=footer%>
	</body>
</html>
