📄 user_zl.asp
字号:
<!--#include file="conn1.asp"-->
<!--#include file="err.asp"-->
<!--#include file="config.asp"-->
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=title%>-会员信息</title>
<link href="inc_style.css" rel="stylesheet" type="text/css">
</head>
<SCRIPT language=javascript>
<!--
function CheckForm()
{
if(document.thisForm.username.value.length<1)
{
alert("用户名不能为空!");
return false;
}
if(document.thisForm.password.value.length<1)
{
alert("密码不能为空!");
return false;
}
}
//-->
</SCRIPT>
<%
function chkcnmai(char)
if instr(char,"'") then
call errcnmai(2)
response.end
end if
if instr(char,"|") then
call errcnmai(2)
response.end
end if
if instr(char,"<") then
call errcnmai(2)
response.end
end if
if instr(char,">") then
call errcnmai(2)
response.end
end if
if instr(char,"&") then
call errcnmai(2)
response.end
end if
if instr(char,chr(32)) then
call errcnmai(2)
response.end
end if
if instr(char,chr(34)) then
call errcnmai(2)
response.end
end if
if instr(char,"%") then
call errcnmai(2)
response.end
end if
if instr(char,";") then
call errcnmai(2)
response.end
end if
if instr(char," ") then
call errcnmai(2)
response.end
end if
if instr(char,"$") then
call errcnmai(2)
response.end
end if
if instr(char,"!") then
call errcnmai(2)
response.end
end if
if instr(char,"@") then
call errcnmai(2)
response.end
end if
if instr(char,"^") then
call errcnmai(2)
response.end
end if
if instr(char,"*") then
call errcnmai(2)
response.end
end if
if instr(char,"(") then
call errcnmai(2)
response.end
end if
if instr(char,")") then
call errcnmai(2)
response.end
end if
if instr(char,"=") then
call errcnmai(2)
response.end
end if
if instr(char,"\") then
call errcnmai(2)
response.end
end if
if instr(char,"/") then
call errcnmai(2)
response.end
end if
end function
dim username,rs,sql,k
username=trim(request("username"))
chkcnmai(username)
set rs = Server.CreateObject("ADODB.RecordSet")
sql="select * from [user] where username='"&username&"'"
rs.open sql,conn,1,1
if rs.eof then
response.write "<script language=JavaScript>" & chr(13) & "alert('该信息是快速发布信息!没有相关用户资料!');" & "history.back()" & "</script>"
response.end
end if
%>
<body topmargin="0">
<!--#include file=top.asp-->
<div align="center">
</div>
<div align="center">
<table cellSpacing="0" cellPadding="0" width="768" bgColor="#ffffff" border="0" height="410">
<tr>
<td width="779" height="331">
<table cellSpacing="0" cellPadding="0" width="771" border="0" height="406">
<tr>
<td vAlign="top" width="184" height="406">
<table class="font_10_e_blue" cellPadding="0" width="171" border="0" style="border-collapse: collapse" bordercolor="#111111" height="107" bgcolor="#FFFFFF">
<tr>
<td vAlign="top" width="244" height="57"><img border="0" src="images/a0.gif"></td></tr>
<%if request.cookies("cnmai")("username")="" then%>
<tr><td width="244" height="20"> <form id="f1" name="thisForm" action="Loginchk.asp" method="POST">
<table width="98%" cellspacing="0" cellpadding="0" height="80" >
<tr>
<td width="95%" height="26" align="right">
<p><font color="#5E5E5E">登陆帐号:</font><input class="form_e_10_black" id="username2" maxLength="20" size="13" name="username" style="padding: 0; "></tr>
<tr>
<td height="31" align="right">
<p><font color="#5E5E5E">登陆密码:</font><input class="form_e_10_black" id="password2" type="password" maxLength="32" size="13" name="password"></tr>
<tr>
<td>
<p align="right">
<input onclick="javascript:return CheckForm();" type="image" src="images/mail_login_r5_c2.gif" border="0" name="I3"> [<a href="reg.asp">注册</a>]</td>
</tr>
</table>
</form></td></tr>
<%else%>
<tr><td width="244" height="30">
<p align="center" style="line-height: 150%; margin-top: 0; margin-bottom: 0">您好,<b><%=request.cookies("cnmai")("username")%></b><br>您已经登陆[<font color="#FF0000"><%=title%></font>]<br>
<a href="addxinxi.asp">发布信息</a>|<a href="user_xxgl.asp">信息管理</a><br>
<a href="usereditzl.asp">修改资料</a>|<a href="user_pass.asp">修改密码</a><br>
<a href="user.asp">进入更多管理</a>|<a href="userout.asp">退出</a></td></tr><%end if%>
</table>
</td>
<td vAlign="top" width="587" height="406">
<div align="center">
<center>
<table border="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111" width="500" height="222">
<tr>
<td width="100%" height="6" colspan="6"></td>
</tr>
<tr>
<td width="100%" height="24" background="images/user_1.gif" colspan="6">
<div align="center">会员详细信息仅供交易参考</div></td>
</tr>
<tr>
<td width="1%" height="30" style="border-left-style: solid; border-left-width: 1; border-top-style: solid; border-top-width: 1" bordercolor="#F4F4F2"> </td>
<td width="19%" height="30" align="right" style="border-top-style: solid; border-top-width: 1" bordercolor="#F4F4F2">真实姓名:</td>
<td width="40%" height="30" style="border-top-style: solid; border-top-width: 1" bordercolor="#F4F4F2"><font color="#666666"><%=rs("name")%></font></td>
<td width="23%" height="30" align="center" style="border-top-style: solid; border-top-width: 1" bordercolor="#F4F4F2">登陆次数:</td>
<td width="5%" height="30" style="border-right-style: none; border-right-width: medium; border-top-style: solid; border-top-width: 1" bordercolor="#F4F4F2">
<font color="#999999"><%=rs("dlcs")%></font></td>
<td width="12%" height="30" style="border-right-style: solid; border-right-width: 1; border-top-style: solid; border-top-width: 1; border-left-style:none; border-left-width:medium" bordercolor="#F4F4F2">
<font color="#999999">次</font></td>
</tr>
<tr>
<td width="1%" height="30" style="border-left-style: solid; border-left-width: 1" bordercolor="#F4F4F2"> </td>
<td width="19%" height="30" align="right" bordercolor="#F4F4F2">身份证:</td>
<td width="40%" height="30" bordercolor="#F4F4F2">
<font color="#666666">保密中</font></td>
<td width="23%" height="30" align="center" bordercolor="#F4F4F2">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -