<%@ Page language="c#" Codebehind="AdminLogin.aspx.cs" AutoEventWireup="false" Inherits="XpShop.WebUI.AdminLogin" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
<HEAD>
	<title>XpShop管理后台</title>
    <link rel="stylesheet" href="style/style.css" type="text/css"/>
	<script src="Admin/inc/pngpic.js" type="text/javascript"></script>
	<style type="text/css">
	.fixpng {
			width:105px;
			height:39px;
			background: url(images/logo.png) repeat;
			_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled='true', sizingMethod='scale', src="images/logo.png");
			_background:none;
		 }
	</style>
	<script type="text/javascript" src="inc/jquery-1.2.6.min.js"></script>
	<script type="text/javascript">
	    $(document).ready(function(){
	        setInterval(function(){
                $('div.bottomframe').css('top',$(document)[0].documentElement.clientHeight-$('div.bottomframe').height());
            },100);
	    });
	</script>	
</HEAD>
<body style="background-color:#C2C2C2;">
<div class="topframe">
	<div class="logo"><div class="fixpng"></div></div>
</div>
<div class="contains">
	<form id="Form1" method="post" runat="server">
	    <div class="logintitle">XpShop 网络商城系统管理后台</div>
	    <div class="loginframe">
	        <div class="l"></div>
	        <div class="r"></div>
	        <div class="m">
	            <div>
	                <div class="login_left">用 户 名&nbsp;&nbsp; User:&nbsp;&nbsp; </div>
	                <div class="login_right"><asp:TextBox ID="txtName" CssClass="user_input" Runat="server" tabIndex="1"></asp:TextBox></div>
	            </div>
	            <div>
	                <div class="login_left">密码 Password:&nbsp;&nbsp; </div>
	                <div class="login_right"><asp:TextBox id="txtPass" CssClass="password_input" TextMode="Password" Runat="server" tabIndex="2"></asp:TextBox></div>
	            </div>
	            <div>
	                <div style='display:<%=NeedCode%>'>
	                    <div class="login_left">验 证 码&nbsp; Code:&nbsp;&nbsp; </div>
	                    <div class="login_right"><asp:TextBox id="logincode" CssClass="code_input" Runat="server" tabIndex="3" size="7" maxlength="20"></asp:TextBox>&nbsp;&nbsp;&nbsp;<IMG alt="" src="image.aspx" align="absMiddle"></div>
	                </div>
	            </div>
	            <div 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 style="text-align:center;"><asp:Button id="btnLogin" CssClass="btn_login" runat="server" Text="login"></asp:Button></div>
	        </div>
	    </div>
	    <div class="bulletin">
	        <div class="bulletinimg"></div><%=XpShop.WebUI.WebUtils.GetAD(41)%> 
	    </div>
	</form>
</div>
<div class="bottomframe" style="position:absolute; left:0px; width:100%; padding:0px;">
	<div class="l" style="padding-left:20px;">深圳市新普软件开发有限公司版权所有</div>
	<div class="r">帮助</div>
	<div class="m">COPYRIGHT(C)2008-2012</div>
</div>
</body>
</HTML>
