📄 userlogin.asp
字号:
<FORM name=loginform onsubmit="if (!formcheck()) return false;"
action=userpass.asp method=get>
<%
if request.cookies("okerer")="" or request.cookies("userid")="" then
%>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="160" id="AutoNumber15" background="images/index-bg5.gif">
<tr>
<td>
<table align="center" border="0" cellpadding="0" cellspacing="0" width="149">
</tr></table>
<table align="center" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111" width="160">
<tr>
<td width="69">
<font color="#000000" class="fontshadow">用户名:</font></td>
<td align="left" width="86">
<INPUT size=9 name="userid" onfocus=javascript:this.select(); style="border: 1px solid #3655AA; font-size:9pt;color:#000000"></td>
<td align="left" width="9">
<img border="0" src="images/index-dot1.gif" width="9"></td>
</tr>
<tr>
<td width="69">
<font color="#000000" class="fontshadow">密 码:</font></td>
<td align="left" width="86">
<INPUT type=password size=9 name="password" onfocus=javascript:this.select(); class="button2" style="border: 1px solid #3655AA; font-size:9pt;color:#000000""></td>
<td align="left" width="9">
<img border="0" src="images/index-dot1.gif" width="9"></td>
</tr>
<tr>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%">
<p align="center">
<input type="image" name="Submit" src="images/index-denglu.gif" width="62" height="18">  
<a href="reguser.asp" target=_blank>
<img border="0" src="images/index-zhuce.gif" width="62" height="18"></a></td>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="16" align=center>
<font size="2">
</table>
</td>
</table>
<%else
set rs=server.createobject("adodb.recordset")
sql="select money,starlook,nlook,online,name,usercount,password,id,baoyue,oklook from users where userid='"&request.cookies("userid")&"' and password='"&request.cookies("password")&"'"
rs.open sql,conn,1,1
%>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="160" id="AutoNumber15" background="images/index-bg5.gif">
<tr>
<td>
<table align="center" border="0" cellpadding="0" cellspacing="0" width="149">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="16" align=center>
<font size="2">
</font><p align='center'><font face='宋体' color='3B591B'>
登陆用户: <font color=ff0000><%=request.cookies("userid")%></font><br>
<%if rs("oklook")=0 then
oklook="会员等级: 电影游客<br> 只能观看免费电影"
elseif rs("oklook")=1 then
oklook="会员等级: 计点会员<br> 拥有影币: <font color=ff0000>"&rs("usercount")&" 枚"
elseif rs("oklook")=2 then
oklook="会员等级: 包月会员<br> 有效期到: <font color=ff0000>"&Year(rs("money"))&"-"&Month(rs("money"))&"-"&day(rs("money"))&""
elseif rs("oklook")=3 then
oklook="会员等级: 包季会员<br> 有效期到: <font color=ff0000>"&Year(rs("money"))&"-"&Month(rs("money"))&"-"&day(rs("money"))&""
elseif rs("oklook")=4 then
oklook="会员等级: 包年会员<br> 有效期到: <font color=ff0000>"&Year(rs("money"))&"-"&Month(rs("money"))&"-"&day(rs("money"))&""
elseif rs("oklook")=5 then
oklook="会员等级: <font color=ff0000>终生会员"
end if%>
<font face="宋体"> <%=oklook%><br>
<FONT color=#000000><font face="宋体"> 如果离开,请</font> <a href="useout.asp"><FONT color=#000000><b>退出登陆</b></a><br>
</td>
</tr>
</table>
</td>
</table>
<%end if%>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -