📄 datum.asp
字号:
<!--#include file="head.asp"-->
<!--#include file="UbbCode.asp"-->
<TABLE width=778 align=center cellPadding=0
cellSpacing=0 bgcolor="#FFFFCC" style="BORDER-RIGHT: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid">
<TBODY>
<TR vAlign=top>
<TD bgColor=#cccccc><IMG height=1 alt="" src="image/stu.htm" width=1
name=""></TD>
<TD>
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center
bgColor=#ffffff border=0>
<TBODY>
<TR>
<TD height=8 bgColor=#f4f4f4></TD></TR>
<TD>
<TABLE width="100%" border=0 cellPadding=0
cellSpacing=0 id=AutoNumber3 style="BORDER-COLLAPSE: collapse">
<TBODY>
<TR>
<TD vAlign=top height=52>
<TABLE id=AutoNumber5 style="BORDER-COLLAPSE: collapse"
cellSpacing=0 cellPadding=1 width="100%"
border=0>
<TBODY>
<TR>
<TD class=6 width=495 background=image/type_bg.gif
height=30><IMG height=12 src="image/type01.gif" width=12
align=absMiddle><span class="style5"> 当前位置:</span> <A
href="index.asp">网站首页-</A><span style="color: #FF6699">用户资料</span></TD>
<TD width=100 background=image/type_bg.gif>
<DIV align=center><IMG
src="image/more.gif"
border=0></DIV></TD></TR><TR valign="top">
<TD colSpan=2>
<DIV align=center>
<%dim sql,username
username=Request.QueryString("username")
if username="" then
Response.Write("你查询参数不完整")
Response.Write("<br>")
Response.Write("<a href='javascript:history.go(-1)'><font color=red size=2>返回</font></a>")
else
Set rs = Server.CreateObject("ADODB.Recordset")
set rs=conn.execute ("select * from user where username='"&username&"'")
dim photocx
photocx=Request.QueryString("photocx")
zlopen=rs("zlopen")%>
<TABLE width="100%" border=0 cellPadding=0 cellSpacing=0 background="image/b.gif">
<TBODY>
<TR background="image/b.gif">
<TD><div align="center"><a href="mail.asp?type2=add&uer=<%=rs("Username")%>"><font color="#000000">电子信箱</font></a></div></TD>
<TD><div align="center"><a href="bj/ly.asp?type2=cz&type3=username&key=<%=rs("Username")%>&bj=<%=rs("userclass")%>"><font color="#000000">学校老师留言</font></a></div></TD>
<TD><div align="center"><a href="grphoto.asp?mmm=0&photocx=<%=rs("Username")%>"><font color="#000000">个人相册</font></a></div></TD>
<TD><div align="center"><a href="bj/index.asp?bj=<%=rs("userclass")%>"><font color="#000000">进入班级</font></a></div></TD>
<TD><div align="center"><a href="datum.asp?username=<%=rs("Username")%>"><font color="#000000">用户资料</font></a></div></TD>
<TD align=left><div align="center"><font color="#000000"><a href="index.asp">返回首页</a></font></div></TD>
</TR></TBODY></TABLE>
</DIV></TR></TBODY>
</TABLE>
<table width="100%" border="0" cellpadding="0" cellspacing="00">
<tr bgcolor="#FFFFFF">
<td colspan="3"><img src="image/image3.gif" width="26" height="26"><span style="color: #000000"> <%=rs("name")%></span></td>
</tr>
<tr>
<td colspan="3"></td>
</tr>
<tr>
<td height="100" colspan="3"><table width="100%" border="0" cellspacing="0">
<tr>
<td height="15" colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="766" background="image/b.gif"><span style="color: #CC3300">个人信息</span></td>
</tr>
</table></td>
</tr>
<%if zlopen=0 or zlopen=2 then%>
<tr bgcolor="#FFFFFF">
<td width="12%" height="59" bgcolor="#FFFFFF"><span style="color: #000000"></span></td>
<td width="42%" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="0" cellspacing="2">
<tr>
<td style="color: #000000">姓名:<%=rs("name")%></td>
</tr>
<tr>
<td style="color: #000000">用户名:<%=rs("username")%></td>
</tr>
<tr>
<td style="color: #000000">性别:<%=rs("usersex")%></td>
</tr>
<tr>
<td style="color: #000000">用户身份:<%=rs("userclass")%></td>
</tr>
<tr>
<td style="color: #000000">用户类型:<%=rs("usertype")%></td>
</tr>
<tr>
<td style="color: #000000">属相:<%=rs("shengxiao")%></td>
</tr>
<tr>
<td style="color: #000000">血型:<%=rs("blood")%></td>
</tr>
<tr>
<td style="color: #000000">婚姻状况:<%=rs("love")%></td>
</tr>
<tr>
<td style="color: #000000">出生年月:<%=rs("userbirthday")%></td>
</tr>
<tr>
<td style="color: #000000">职业:<%=rs("job")%></td>
</tr>
<tr>
<td style="color: #000000">人生格言:<%=rs("usersign")%></td>
</tr>
<tr>
<td style="color: #000000"> </td>
</tr>
</table></td>
<td width="46%" rowspan="2" valign="top"><span style="color: #000000">个人简介:<%=rs("userjz")%></span></td>
</tr>
<%else
response.write "<tr><td colspan=3>此信息禁止别人查看</td></tr>"
end if%>
</table></td>
</tr>
<tr>
<td height="15" colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td background="image/b.gif"><span style="color: #CC3300">联系方式</span></td>
</tr>
</table></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="12%" bgcolor="#FFFFFF"><span style="color: #000000"></span></td>
<td width="40%" bgcolor="#FFFFFF"><%if zlopen=0 or zlopen=1 then%><table width="99%" cellspacing="0">
<tr>
<td style="color: #000000">QQ号码:<%=rs("qq")%></td>
</tr>
<tr>
<td style="color: #000000">Email:<%=rs("useremail")%></td>
</tr>
<tr>
<td style="color: #000000">个人主页:<%=rs("homepage")%></td>
</tr>
<tr>
<td style="color: #000000">家庭电话:<%=rs("homephone")%></td>
</tr>
<tr>
<td style="color: #000000">家庭地址:<%=rs("homeaddr")%></td>
</tr>
<tr>
<td style="color: #000000">家庭邮编:<%=rs("homezip")%></td>
</tr>
<tr>
<td style="color: #000000">目前电话:<%=rs("newphone")%></td>
</tr>
<tr>
<td style="color: #000000">目前地址:<%=rs("newaddr")%></td>
</tr>
<tr>
<td style="color: #000000">目前邮编:<%=rs("newzip")%></td>
</tr>
</table> <%else
response.write "此信息禁止别人查看"
end if%></td><script>
function newimg(imgurl) {
newwin=window.open('about:blank','','top=10');
newwin.document.write('<body leftmargin=0 topmargin=0><img id=img1 src='+imgurl+' onload="self.resizeTo(this.offsetWidth+10,this.offsetHeight+15);">');
}
</script>
<td width="48%" valign="top"><span style="color: #000000">个人照片:<br>
用户照片<a href=# onclick="newimg('<%=rs("userphoto")%>')">
<%if rs("userphoto")="" then%>
<IMG height=165 src="image/no.jpg" border=0 width=145>
<%else%>
<img src="<%=rs("userphoto")%>" width="140" height="180" border="0">
<%end if%></a></span></td>
</tr>
<tr>
<td colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td background="image/b.gif"><span class="style5">登陆情况</span></td>
</tr>
</table></td>
</tr>
<%if zlopen=0 then%>
<tr bgcolor="#FFFFFF">
<td><span style="color: #000000"></span></td>
<td colspan="2"><table width="204%" cellspacing="0" background="imag">
<tr>
<td style="color: #000000">网站职位:
<%if rs("sitejob")=3 then
response.Write("网站总管")
else
response.Write("网上会员")
end if%></td>
</tr>
<tr>
<td style="color: #000000">登陆次数:<%=rs("userlogins")%></td>
</tr><tr>
<td style="color: #000000">个人财富:<%=rs("money")%></td>
</tr>
<tr>
<td style="color: #000000">发布新闻:<%=rs("newscount")%></td>
</tr>
<tr>
<td style="color: #000000">注册日期:<%=rs("joindate")%></td>
</tr>
<tr>
<td style="color: #000000">最后登陆时间<%=rs("lastlogin")%></td>
</tr>
</table></td>
</tr>
<%else
response.write "<tr><td colspan=3>此信息禁止别人查看</td></tr>"
end if%>
</table>
<TABLE width="100%" border=0 cellPadding=0 cellSpacing=0 background="image/b.gif">
<TBODY>
<TR>
<TD width="17%"><div align="center"><a href="mail.asp?type2=add&uer=<%=rs("Username")%>"><font color="#000000">用户</div></TD>
<TD width="18%"><div align="center"><a href="bj/ly.asp?type2=cz&type3=username&key=<%=rs("Username")%>&bj=<%=rs("userclass")%>"><font color="#000000">我要留言</font></a></div></TD>
<TD width="18%"><div align="center"><a href="grphoto.asp?mmm=0&photocx=<%=rs("Username")%>"><font color="#000000">上传照片</font></a></div></TD>
<TD width="18%"><div align="center"><a href="bj/index.asp?bj=<%=rs("userclass")%>"><font color="#000000">班级首页</font></a></div></TD>
<TD width="15%"><div align="center" class="style5"><a href="datum.asp?username=<%=rs("Username")%>">用户资料</a></div></TD>
<TD width="14%" align=left><div align="center" class="style5"><a href="index.asp">校友录首页</a></div></TD>
</TR></TBODY></TABLE>
<%end if%></TD></TR></TBODY></TABLE></TD></TR></TABLE></TD></TR></TBODY></TABLE>
<!--#include file="bottom.asp"--></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -