<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="syslogin.aspx.cs" Inherits="Forum.Web.Admin.syslogin" %>
<%@ Register assembly="Forum.Control" namespace="Forum.Control" tagprefix="cc1" %>
<HTML>
<HEAD>
		<title>管理员控制台登录</title>
		<link href="styles/dntmanager.css" rel="stylesheet" type="text/css" />

		<script type="text/javascript" src="js/common.js"></script>
		<script type="text/javascript">
		if(top.location!=self.location)
			{
				top.location.href = "syslogin.aspx";
			}
		</script>
</HEAD>
<BODY style="background:#f4f6f7;">
	<FORM id="Form1" method="post" runat="server">
	 <cc1:Hint ID="Hint1" runat="server" HintImageUrl="/webadmin" />
	 <div id="LoginBar">
		<ul>
		   <span class="td1">
				<asp:literal id="Msg" runat="server"></asp:literal>
			    <br />
				<br />
				</span>
			<li class="LoginTop"><img src="images/login-top.gif"/></li>
			<li class="FormNav">
				<dl>
					<dt><label>用户名:</label><cc1:textbox id="UserName" runat="server" 
                            size="25" HintInfo="管理员帐号" 
                            Width="180px" ></cc1:textbox></dt>
					
					<dt><label>密　码:</label><cc1:textbox id="PassWord" runat="server" 
                             TextMode="Password" Width="180px"  ></cc1:textbox></dt>
                             
                             
         <dt><label>验证码:</label><cc1:textbox 
                            id="vcode" runat="server"  Width="80px"  
                            onkeydown="if(event.keyCode==13)  document.getElementById('login').focus();" ></cc1:textbox><img id="vcodeimg" style="cursor:hand" onclick="this.src='VerifyImagePage.aspx?time=' + Math.random()" title="点击刷新验证码" align="absMiddle" src="" />
        </dt>
					<script type="text/javascript">
                        document.getElementById('vcodeimg').src='VerifyImagePage.aspx?time=' + Math.random();
                        document.getElementById('vcode').value = "";
					</script>
													
					<dd>
                        <asp:ImageButton ID="ImageButton1" runat="server" 
                            style="width:60px; height:26px; border:0;  cursor:pointer; margin-left:65px;" 
                            ImageUrl="images/button.gif" onclick="ImageButton1_Click" />
					</dd>
					
				</dl>
			</li>
			<li><img src="images/login-bottom.gif"/></li>
		</ul>
		
	 </div>
	
	<div id="copyright"><%=footer%></div>		 
	 
	 </FORM>
		 
 </BODY>
 
</HTML>
