📄 card.asp
字号:
<!--#include file="config.asp" -->
<%
dim id
id=trim(request("id"))
if len(id)=0 then response.redirect "ok.asp?ok=carderror0" end if
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from username where 编号="& id,conn,1,1
if rs.eof or rs.bof then response.redirect "ok.asp?ok=carderror" end if
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name=keywords content="<%=sitekeywords%>">
<meta name="description" content="<%=sitedescription%>">
<title>“<%=rs("用户名")%>” 的网络名片 ------ <%=sitename%></title>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="2" topmargin="4" oncontextmenu="self.event.returnValue=false" >
<noscript><iframe src="*.htm"></iframe></noscript>
<div align="<%=sitealign%>">
<TABLE width=1>
<TR>
<TD>
<TABLE height=134 cellSpacing=0 cellPadding=0 width=512 border=0 style="border-collapse: collapse">
<TR>
<TD height=200 background="images/cardshow_top.gif" align="center" valign="bottom">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="90%" id="AutoNumber1">
<tr>
<td width="45%"> </td>
<td width="55%" style="font-size: 12pt; color: #003300; font-weight: bold"><%=rs("用户名")%></td>
</tr>
<tr>
<td width="45%"> </td>
<td width="55%">
<% set rslb=server.CreateObject("adodb.recordset")
rslb.open "select * from city where 区号='" & rs("城市")&"'",conn,1,1
response.write ( rslb("省份") & " " & rslb("城市") &" " )
rslb.close
set rslb=nothing
%>
</td>
</tr>
<tr>
<td width="45%"> </td>
<td width="55%">性别:<%=rs("性别")%></td>
</tr>
<tr>
<td width="45%"> </td>
<td width="55%">年龄:<%=rs("年龄")%></td>
</tr>
</table>
</TD></TR>
<TR>
<TD width=512 background="images/cardshow_left.gif"> </TD>
</TR>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=512 background=images/cardshow_left.gif border=0 style="border-collapse: collapse">
<TR>
<TD width=83 rowSpan=7> </TD>
<TD width=323 height=28>
<TABLE cellSpacing=0 cellPadding=0 width="307" align=center border=0>
<TR>
<TD width=65 height=22>电 话:</TD>
<TD width="242"><%=rs("电话")%></TD></TR>
<TR>
<TD height=22 width="65">手 机:</TD>
<TD width="242"><%=rs("手机")%></TD></TR>
<TR>
<TD width=65 height=22>Q Q:</TD>
<TD width="242"><%=rs("qq")%></TD></TR>
<TR>
<TD height=22 width="65">M S N:</TD>
<TD width="242"><%=rs("msn")%></TD></TR>
<TR>
<TD height=22 width="65">新浪UC:</TD>
<TD width="242"><%=rs("uc")%></TD></TR>
<TR>
<TD height=22 width="65">电子邮件:</TD>
<TD width="242"><%=rs("email")%></TD></TR>
<TR>
<TD height=22 valign="top" width="65">个人说明:</TD>
<TD width="242"> </TD></TR>
<TR>
<TD height=18 colspan="2" width="307"><%=rs("个人说明")%></TD>
</TR>
</TABLE>
</TD>
<TD width=106 rowSpan=7> </TD></TR>
</TABLE>
<TABLE height=93 cellSpacing=0 cellPadding=0 width=512 align=center border=0>
<TR>
<TD height=93 background="images/cardshow_bottom.gif"></TD></TR>
</TABLE>
</TD>
</TR>
</TABLE>
</div>
<%
rs.close
set rs=nothing
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -