?? login.asp
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>用戶登陸</title>
<meta http-equiv=content-type content="text/html; charset=gb2312">
<style>
a:link {
font-size: 9pt; cursor: hand; color: #333333; font-family: "verdana", "arial", "helvetica", "sans-serif"; text-decoration: none
}
a:visited {
font-size: 9pt; cursor: hand; color: #333333; font-family: "verdana", "arial", "helvetica", "sans-serif"; text-decoration: none
}
a:hover {
font-size: 9pt; cursor: hand; color: #ff6600; font-family: "verdana", "arial", "helvetica", "sans-serif"; text-decoration: none
}
td {
font-size: 9pt; color: #333333;
}
input {
Font-family:Verdana, Arial, Helvetica, Sans-serif,宋體; Text-decoration: None; Border-top-width: 1px; Border-left-width: 1px; Font-size: 12px; Border-bottom-width: 1px; Border-right-width: 1px
}
</style>
</head>
<body leftmargin=0 topmargin=0 marginheight="0" marginwidth="0" bgcolor="#EFEFEF">
<%
If Trim(Request.Cookies("newasp_net")) = "" Then
%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<form name=form1 method=post action="user/login.asp?action=login" target="_top">
<tr>
<td width="16%"><img src="skin/default/member_enter.gif" width="120" height="26"></td>
<td width="60%" nowrap>用戶名:
<input name="username" type="text" id="username" size="16" maxlength="20">
密 碼:
<input name="password" type="password" id="password" size="16" maxlength="50">
COOKIE:
<select name="CookieDate" size="1" id="CookieDate">
<option value="0">不保存</option>
<option value="1">保存一天</option>
<option value="2">保存一月</option>
<option value="3">保存一年</option>
</select>
</td>
<td width="13%" align="center" nowrap><input type="image" border="0" name="imageField" src="skin/default/login.gif"></td>
<td width="13%" align="center" nowrap><a href="user/reg.asp" target="_blank"><img src="skin/default/reg.gif" alt="用戶注冊" border="0"></a></td>
</tr>
</form>
</table>
<%
Else
%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="16%"><img src="skin/default/member_enter.gif" width="120" height="26"></td>
<td width="10%" align="center">用戶名稱:</td>
<td width="12%"><font color=blue><%=Request.Cookies("newasp_net")("username")%></font></td>
<td width="10%" align="center">用戶身份:</td>
<td width="12%"><font color=red><%=Request.Cookies("newasp_net")("UserGroup")%></font></td>
<td width="10%" align="center">會員類型:</td>
<td width="12%">
<%
If CInt(Request.Cookies("newasp_net")("UserClass")) = 1 Then
Response.Write "計時會員"
ElseIf CInt(Request.Cookies("newasp_net")("UserClass")) = 999 Then
Response.Write "管理員"
Else
Response.Write "計點會員"
End If
%>
</td>
<td width="8%"><a href="user/" target="_top">管理中心</a></td>
<td width="8%"><a href="user/logout.asp" target="_top">退出登錄</a></td>
</tr>
</table>
<%
End If
%>
</body></html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -