温馨提示:代码在线浏览功能只能做为源码浏览参考,不能展示项目的全部,如果想更进一步了解该代码请下载:NetShopForge网上商店程序(VB)源码
当前文件路径:NetShopForge/Website/Admin/Login.aspx

1<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Login.aspx.vb" Inherits="Admin_Logon" %> 2
3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4
5
<html xmlns="http://www.w3.org/1999/xhtml" > 6
<head id="Head1" runat="server"> 7
<title></title> 8
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> 9
</head> 10
<body style="text-align: center; " background="../Images/login_background.gif"> 11
12
<form id="form1" runat="server" > 13
14
15
<center> 16
<div style ="height :50px"></div> 17
<asp:Login ID="LoginAdmin" runat="server" RememberMeSet="True" DestinationPageUrl="~/Admin/Default.aspx" MembershipProvider="NSFMembershipProvider" Width="281px"> 18
<LayoutTemplate> 19
<table border="4" bordercolor="#ff9900" cellpadding="0" bgcolor="#ffffff" style="height: 292px" tabindex="6"> 20
<tbody> 21
<tr> 22
<td align="left" style="width: 250px; height: 250px;" tabindex="-1"><table border="0" cellpadding="4" cellspacing="0"> 23
<tbody> 24
<tr> 25
<td colspan="2" align="center"> 26
<asp:Image ID="Image1" runat="server" ImageUrl="~/Images/nsf_logo_e.gif" /></td> 27
</tr> 28
<tr> 29
<td align="right" nowrap="nowrap" style="height: 34px; width: 64px;"> 30
<asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" ForeColor="Black">用户名:</asp:Label></td> 31
<td nowrap="nowrap" style="height: 34px"> 32
<asp:TextBox ID="UserName" runat="server" Width="153px"></asp:TextBox><asp:RequiredFieldValidator 33
ID="UserNameRequired" runat="server" ControlToValidate="UserName" ErrorMessage="必须填写“用户名”。" 34
ToolTip="必须填写“用户名”。" ValidationGroup="LoginAdmin">*</asp:RequiredFieldValidator></td> 35
</tr> 36
<tr style="color: #000000"> 37
<td align="right" nowrap="nowrap" style="width: 64px" > 38
<asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password" ForeColor="Black">密码:</asp:Label></td> 39
<td nowrap="nowrap"> 40
<asp:TextBox ID="Password" runat="server" TextMode="Password" Width="153px"></asp:TextBox><asp:RequiredFieldValidator 41
ID="PasswordRequired" runat="server" ControlToValidate="Password" ErrorMessage="必须填写“密码”。" 42
ToolTip="必须填写“密码”。" ValidationGroup="LoginAdmin">*</asp:RequiredFieldValidator></td> 43
</tr> 44
<tr style="color: #000000"> 45
<td align="right" nowrap="nowrap" style="width: 64px" > 46
<asp:Label ID="Label1" runat="server" AssociatedControlID="Password" ForeColor="Black">验证码:</asp:Label></td> 47
<td nowrap="nowrap"> 48
<asp:TextBox ID="txtValidCode" runat="server" Width="57px" Height="16px"></asp:TextBox> 49
<asp:Image ID="Image3" runat="server" ImageUrl="~/Validatecode.aspx" TabIndex="-1" /> 50
<asp:RequiredFieldValidator 51
ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtValidCode" ErrorMessage="必须填写“验证码”。" 52
ToolTip="必须填写“验证码”。" ValidationGroup="LoginAdmin">*</asp:RequiredFieldValidator></td> 53
</tr> 54
<tr> 55
<td colspan="2" align="center" nowrap="nowrap" style="color: red" tabindex="-1"> 56
<asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal> 57
</td> 58
</tr> 59
<tr> 60
<td colspan="2" align="center" nowrap="nowrap"> 61
<asp:CheckBox ID="RememberMe" runat="server" Text="下次记住我" ForeColor="Black" /> 62
<asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="登录" ValidationGroup="LoginAdmin" Height="23px" Width="77px" /></td> 63
</tr> 64
<tr> 65
<td colspan="2" align="center" nowrap="nowrap"> 66
</td> 67
</tr> 68
</tbody> 69
</table></td> 70
</tr> 71
</tbody> 72
</table> 73
</LayoutTemplate> 74
</asp:Login> 75
<div style ="height :50px"></div> 76
<table > 77
<tr> 78
<td height="35" valign="top" > 79
<asp:Image ID="Image2" runat="server" ImageUrl="~/Images/weibo_logo.jpg" TabIndex="-1" /><a href="http://www.WeiboSoft.com" tabindex="-1" ><br /> 80
http://www.WeiboSoft.com <br> </a></td> 81
<td valign="middle" s><strong> 82
Copyright © 2007 Weibosoft Inc<br /> 83
All rights reserved.</strong><br /></td> 84
</tr> 85
</table> 86
87
</center> 88
</form> 89
</body> 90
</html> 91



