www.gusucode.com > 艺术签名文章资讯网源代码 > 艺术签名文章资讯网源代码/624/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">
<script language="javascript">
<!--
document.write('<input type="hidden" name="comeurl" value="'+ top.window.location +'">');  
// -->
</script>
      <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>