📄 student.asp
字号:
<!--#include file="info.asp"-->
<!--#include file="conn.asp"-->
<!--#include file="unhtml.asp"-->
<html>
<%
if not(isnumeric(request("id"))) then
response.redirect "nodata.html"
rs.close
end if
sql="select * from in_user where id="&clng(request("id"))
rs.open sql,conn,1,1
if rs.eof or rs.bof then
rs.close
response.redirect "nodata.html"
end if
if rs("lock")=true then
rs.close
set rs=nothing
set conn=nothing
response.write "<script language=JavaScript>" & chr(13) & "alert('此用户已被管理员锁定!');"&"window.location.href = 'index.asp'"&" </script>"
response.end
end if
if rs("gr_view")="Y" then
tname=rs("name")
rs.close
set rs=nothing
set conn=nothing
response.write "<script language=JavaScript>" & chr(13) & "alert('"&tname&" 的学员信息已被"&tname&"设置为隐藏,系统暂时不显示!');"&"JavaScript:window.close();"&" </script>"
response.end
end if
sql1="update in_user set clicks="&rs("clicks")+1&" where id="&rs("id")
set rs1=server.createobject("adodb.recordset")
rs1.open sql1,conn,1,1
set rs1=nothing
%>
<%
set rss=server.createobject("adodb.recordset")
sqls="select * from province where shengNo="&int(rs("province"))
rss.open sqls,conn,1,1
if rss.eof then
end if
if rs("province") =0 then
response.write "不详"
end if
shengid=rss("id")
sheng=rss("shengname")
rss.close
set rss=nothing
%>
<%
set rss=server.createobject("adodb.recordset")
sqls="select * from city where Shengid="&shengid&" and shino="&int(rs("city"))
rss.open sqls,conn,1,1
if rss.eof then
end if
shi=rss("shiname")
rss.close
set rss=nothing
%>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="css.css" type="text/css">
<title>学员简介</title>
<style type="text/css">
<!--
.STYLE1 {color: #006633}
.STYLE6 {color: #0066CC}
.STYLE8 {color: #FF0000}
.STYLE9 {color: #0066FF}
-->
</style>
<!--#include file="top.asp"-->
</head>
<body>
<table width="811" height="50" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" id="table3">
<tr>
<td><br>
<p align="center"><font size="5"color=#ff0000><strong>
<%
if Request.Cookies("user")<>"2" and Request.Cookies("ac")<>rs("ac") then
%><%=left(rs("name"),1)%>学员简介
<%else%> <%=rs("name")%><%end if%>
</strong></font><br>会员编号:<strong>ST<%=rs("id")%></strong><a href="student2.asp?<%=rs("id")%>" target="_blank">.</a><br>
<%if rs("rz")=true then
response.write "<a href=rz.html target='blank'><font color=#ff0000>★认证会员★</font></a>"
else
response.write "<a href=rz.html target='blank'><font color=#0033FF>★非认证会员★</font></a>"
end if %>
<%if rs("vip")=true then
response.write "<a href=rz.html target='blank'><font color=#ff0000>★VIP认证会员★</font></a>"
end if %> <br>发布:<%
a=instr(rs("rdate"),chr(32))-1
response.write Mid(rs("rdate"),1,a) %> (被阅<font color="#FF3900"><%=rs("clicks")+1%></font>次)<br>
<a href="jb.asp" target="_blank"><strong><font color=#FF00FF>我要举报此学员</font></strong></a></td>
</tr>
</table>
<table width="811" border="1" cellpadding="0" cellspacing="0" bordercolor="#ffc6bf" bgcolor="#FFFFFF" id="table9" style="border-collapse: collapse">
<tr>
<td height="30" background="imagen/web_01_05.gif"><p align="center"> <b>自我介绍或辅导要求</b></td>
</tr>
<tr>
<td height="118"><div align="center">
<table border="0" width="600" cellspacing="0" cellpadding="0" id="table15" height="23">
<tr>
<td><%=unhtml(rs("kmubiao"))%></td>
</tr>
</table>
</div></td>
</tr>
</table>
<table width="811" border="1" cellpadding="0" cellspacing="0" bordercolor="#ffc6bf" bgcolor="#FFFFFF" id="table2" style="border-collapse: collapse">
<tr>
<td height="30" background="imagen/web_01_05.gif" colspan="4"><p align="center"> <b>学员基本信息</b></td>
</tr>
<tr>
<td height="30" width="130" align="center" bgcolor="#FEFBF4"><p align="center">姓 名:</td>
<td height="26" width="205"> <%
if Request.Cookies("user")<>"2" and Request.Cookies("ac")<>rs("ac") then
%><%=left(rs("name"),1)%>学员 [<a href="sm.html" target="_blank"><font color=#ff0000>教员才可见真实姓名</font></a>]
<%else%> <%=rs("name")%><%end if%></td>
<td height="26" width="101" align="center" bgcolor="#FEFBF4"> 性 别:</td>
<td height="26"> <%=rs("sex")%></td>
</tr>
<tr>
<td height="30" width="130" align="center" bgcolor="#FEFBF4"> 所在地区:</td>
<td height="30" width="205">
<%=sheng%><%=shi%><%=rs("xian")%></td>
<td height="30" width="101" align="center" bgcolor="#FEFBF4">年 龄:</td>
<td height="30"> <%=rs("shenggao")%></td>
</tr>
<tr>
<td height="30" width="130" align="center" bgcolor="#FEFBF4">所在年级:</td>
<td width="205" height="0"> <%=rs("gzcs")%></td>
<td width="101" height="0" align="center" bgcolor="#FEFBF4"> 现读学校:</td>
<td width="205" height="0"> <%=rs("school")%></td>
</tr>
<tr>
<td height="30" align="center" bgcolor="#FEFBF4">需要辅导科目:</td>
<td width="205" height="0"> <font color=#ff0000><%=rs("gzdd")%></font></td>
<td width="101" height="0" align="center" bgcolor="#FEFBF4">辅导方式:</td>
<td width="205" height="0"> <%=rs("zye")%></td>
</tr>
<tr>
<td height="30" align="center" bgcolor="#FEFBF4">每小时可支付:</td>
<td width="205" height="0"> <%=rs("zy")%> [元] <a href="jw.html" target="_blank">参考价格</a></td>
<td width="101" height="0" align="center" bgcolor="#FEFBF4">信息有效期:</td>
<td width="205" height="0"> <%=rs("yxq")%></td>
</tr>
<tr>
<td height="30" colspan="4" align="center" bgcolor="#FEFBF4"> </td>
</tr>
</table>
<table width="811" height="145" border="1" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" id="table11" style="border-collapse: collapse">
<tr>
<td height="30" background="imagen/web_01_05.gif" colspan="4"><p align="left"> <b><font color="#000000">联系方式</font></b></td>
</tr>
<%
if Request.Cookies("user")<>"2" and Request.Cookies("ac")<>rs("ac") then
%>
<tr>
<td height="100%" align="center" colspan="4">
<br><div align="right">请<a href="index.asp">登陆</a>后查看 </div>
</td>
</tr>
<%if rs ("vip")=true then%>
<tr>
<td height="30" bgcolor="#FEFBF4" align="center"><p align="center">通讯地址:</td>
<td height="30"> <%=rs("address")%> </td>
<td height="30" bgcolor="#FEFBF4" align="center"> 邮政编码:</td>
<td height="30"> <%=rs("posts")%></td>
</tr>
<tr>
<td height="30" bgcolor="#FEFBF4" align="center"> 联系电话:</td>
<td height="30">
<%if isnull(rs("phone")) then
response.write"请使用站内短信与我联系,谢谢!"
else
response.write rs("phone")
end if
%>
</td>
<td height="30" bgcolor="#FEFBF4" align="center">OQ号码:</td>
<td height="30"> <%=rs("oicq")%></td>
</tr>
<tr>
<td height="30" bgcolor="#FEFBF4" align="center"> 电子信箱:</td>
<td height="30"> <a href="mailto:<%=rs("email")%>"><%=rs("email")%></a></td>
<td height="30" bgcolor="#FEFBF4" align="center">用户类型:</td>
<td height="30"> <span style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0">
<%if rs("vip")=true then response.write"VIP 用户"%>
<%if rs("vip")=false then response.write"普通用户"%>
</span></td>
</tr>
<tr>
<td height="15" colspan="4" align="center" bgcolor="#FEFBF4"><span class="STYLE6"><span class="STYLE8">企业用户可先使用“<span class="STYLE9">发送招聘信息</span>”(即站内短信)与求职者确定下一部的联系方式。↓</span></span></td>
</tr>
<% end if %>
<%
else
%>
<tr>
<td height="30" width="100" bgcolor="#FEFBF4" align="center"><p align="center">通讯地址:</td>
<td height="30" width="277">
<%=rs("address")%> </td>
<td height="30" width="100" bgcolor="#FEFBF4" align="center"> 邮政编码:</td>
<td height="30" width="150"> <%=rs("posts")%></td>
</tr>
<tr>
<td height="30" width="100" bgcolor="#FEFBF4" align="center"> 联系电话:</td>
<td height="30" width="277"> <%
if Request.Cookies("rz")="ok" or Request.Cookies("ac")=rs("ac") then
if isnull(rs("phone")) then
response.write"请使用站内短信与我联系,谢谢!"
else
response.write rs("phone")
end if
else
response.write"<font color=#CC0066>此项目仅供“<strong>认证用户</strong>”查看![认证免费]</font>〖<a target='_blank' href='sk.html'>查看原因</a>〗"
end if
%> </td>
<td height="30" width="100" bgcolor="#FEFBF4" align="center">OQ号码:</td>
<td height="30" width="150"> <%=rs("oicq")%></td>
</tr>
<tr>
<td height="30" width="100" bgcolor="#FEFBF4" align="center"> 电子信箱:</td>
<td height="30" width="277"> <a href="mailto:<%=rs("email")%>"><%=rs("email")%></a></td>
<td height="30" width="100" bgcolor="#FEFBF4" align="center">用户类型:</td>
<td height="30" width="150"> <span style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0">
<%if rs("vip")=true then response.write"VIP 用户"%>
<%if rs("vip")=false then response.write"普通用户"%>
</span></td>
</tr>
<tr>
<td height="15" colspan="4" align="center" bgcolor="#FEFBF4"><span class="STYLE6"><span class="STYLE8">企业用户可先使用“<span class="STYLE9">发送招聘信息</span>”(即站内短信)与求职者确定下一部的联系方式。↓</span></span></td>
</tr>
<%
end if
%>
</table>
<table width="811" border="1" cellspacing="0" bordercolor="#ffc6bf" bgcolor="#FFFFFF">
<tr>
<td><div align="center">
<%
if Request.Cookies("user")="2" or Request.Cookies("ac")=rs("ac") then
%>
<table border="0" width="87%" cellspacing="0" cellpadding="0" id="table17" height="55">
<tr>
<td align="center"><a href="add_endepot.asp?inid=<%=rs("id")%>"> <img src="images/person_m1.gif" alt="添加到学员库中收藏" width="124" height="22" border="0"></a></td>
<td align="center"><a href="JavaScript:openScript('sendmessage.asp?tid=<%=rs("id")%>&ttype=1',450,300)"><img src="images/person_m2.gif" alt="免费发送站内短消息联系" width="124" height="22" border="0"></a> </td>
<td align="center"><A HREF="JavaScript:window.print();"><img src="images/person_m3.gif" alt="打印此页" width="124" height="22" border="0"></A></td>
<td align="center"><A HREF="JavaScript:window.close();"><img src="images/person_m4.gif" alt="关闭此页" width="124" height="22" border="0"></A></td>
</tr>
</table>
<%
end if
%>
</div></td>
</tr>
</table>
<%
rs.close
set rs=nothing
set conn=nothing
%>
<!--#include file="base.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -