<%@ Page language="c#" Codebehind="AdminLogin.aspx.cs" AutoEventWireup="false" Inherits="wqeshop.AdminLogin" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
<HEAD>
<title><%=config.SiteTitle%></title>
<meta http-equiv="content-type" content='text/html;charset=utf-8'/>
<meta name="description" content="<%=config.MetaDescription%>"/> 
<meta name="keywords" content="<%=config.MetaKeywords%>"/>
<style type="text/css">
body {margin:0;padding:0;background:url(Images/bg.jpg) repeat-x; font-size:14px; color:#2B5DB6}
form { margin:0; padding:0}
#admin_wid {width:100%; padding-top:144px;}
#admin_neirong { width:550px; height:173px; padding:0; margin:auto; clear:both;}
#admin_lefts { background:url(Images/logo.gif) no-repeat; width:210px; height:173px; float:left; padding-right:0;}
#admin_centers{ width:250px; float:left; height:173px;}
#admin_rights { width:90px; height:173px; float:right;}
#adminlogo{background:url(Images/admin_logos.gif) repeat-x; width:303px; height:61px; padding:0; margin:auto;}
.admin_c1 { height:30px; width:250px; margin-top:51px;}
.admin_c2 { height:30px; width:250px;}
.admin_imgs { border:1px #73A9E5 solid; height:18px;}
#txtName, #txtPass { width:125px; height:16px; border:1px #73A9E5 solid; background:url(Images/admin_txtbg.jpg);}
#logincode { width:71px; height:16px; border:1px #73A9E5 solid; background:url(Images/admin_txtbg.jpg);}
.bon{background-image: url(images/admin_login.gif);border:none;cursor: hand; width:81px; height:47px; margin-top:51px;}
/*版权信息开始*/
span { color:#FFFFFF}
#copyright{margin:0;padding:0;	font:10px Tahoma, Verdana,sans-serif; color:#FFFFFF; text-align:center; margin-top:5px;}
a.thisclass:link, a.thisclass:visited { color: #FFFFFF; font-weight:bold;text-decoration:none; }
a.thisclass:hover { color: #FFFFFF;font-weight:bold; text-decoration:underline;} 
a.thisclass2:link, a.thisclass2:visited { color: #FFFFFF;text-decoration:none; }
a.thisclass2:hover { color: #FFFFFF; text-decoration:underline;} 
/*版权信息结束*/
</style>
</HEAD>
<BODY>
<form id="Form1" method="post" runat="server">
  <div id="admin_wid" align="center">
    <div id="adminlogo"></div>
    <div id="admin_neirong">
      <div id="admin_lefts"></div>
      <div id="admin_centers">
        <div class="admin_c1">用户名：
          <asp:TextBox id="txtName" Runat="server" tabIndex="1"></asp:TextBox>
        </div>
        <div class="admin_c2">密　码：
          <asp:TextBox id="txtPass" TextMode="Password" Runat="server" tabIndex="2"></asp:TextBox>
        </div>
        <div class="admin_c2" style='display:<%=NeedCode%>'>验证码：
          <asp:TextBox id="logincode" Runat="server" tabIndex="3"></asp:TextBox>
          <IMG alt="" src="image.aspx" align="absMiddle" class="admin_imgs"></div>
        <div class="admin_c2" style=" display:none">
          <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
            <tr>
              <td align="right" width="100"><font color="#2E5A87">有效期</font></td>
              <td style="PADDING-LEFT: 15px"><asp:DropDownList id="ddlKeepLogin" runat="server" visible=false>
                  <asp:ListItem Value="0">不保留</asp:ListItem>
                  <asp:ListItem Value="1">保留一天</asp:ListItem>
                  <asp:ListItem Value="7">保留一周</asp:ListItem>
                  <asp:ListItem Value="30">保留一月</asp:ListItem>
                  <asp:ListItem Value="365">保留一年</asp:ListItem>
                </asp:DropDownList>
              </td>
            </tr>
          </table>
        </div>
      </div>
      <div id="admin_rights">
        <asp:Button id="btnLogin" CssClass="bon" runat="server" Text="login"></asp:Button>
      </div>
    </div>
  </div>
</form>
</body>
</HTML>
