<!--#include file="Inc/syscode.asp"-->
<%
'请勿改动下面这三行代码
const ChannelID=2
Const ShowRunTime="Yes"
SkinID=0
MaxPerPage=20
dim UserID,UserName
UserID=trim(request("UserID"))
if UserID="" then
	FoundErr=True
	ErrMsg=ErrMsg & "<br><li>请指定UserID</li>"
	call WriteErrMsg()
	response.end
else
	UserID=Clng(UserID)
end if
strFileName="ShowUserInfo.asp?UserID=" & UserID
sql="select * from [User] where UserID=" & UserID
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
if rs.bof and rs.eof then
	FoundErr=True
	ErrMsg=ErrMsg & "<br><li>找不到指定的用户<li>"
else
	UserName=rs("UserName")
	PageTitle="用户信息：" & UserName
%>
<html>
<head>
<title><%=strPageTitle & "----用户信息：" & UserName%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<!--#include file="inc/Skin_CSS.asp"-->
<%call MenuJS()%>
<link rel="stylesheet" href="1.css" type="text/css">
</head>
<body <%=Body_Label%> onmousemove='HideMenu()'>
<!--#include file="Top.asp"--> <table width="760" border="0" align="center" cellpadding="0" cellspacing="0" class="border2"> 
<tr> <td width="180" align="left" valign="top" class="tdbg_leftall"> <TABLE cellSpacing=0 cellPadding=0 width="100%" border="0" style="word-break:break-all"> 
<TR class="title_left"> <TD align="center"><table width="100%" border="0" cellspacing="0" cellpadding="0"> 
<tr> <td class="title_lefttxt"><IMG SRC="images/12.gif" WIDTH="191" HEIGHT="38"></td></tr> 
</table></TD></TR> <TR> <TD height="80" valign="top" class="tdbg_left"> <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF"> 
<tr> <td width="70" align="right" bgcolor="#FFFFFF">用户名：</td><td bgcolor="#FFFFFF"><%= UserName %> </td></tr> <tr> 
<td width="70" align="right" bgcolor="#FFFFFF">性别：</td><td bgcolor="#FFFFFF"> <%
			if rs("Sex")=1 then
				response.write "男"
			else
				response.write "女"
			end if
		  %> </td></tr> <tr> <td width="70" align="right" bgcolor="#FFFFFF">信箱：</td><td bgcolor="#FFFFFF"> 
<%response.write  "<a href='mailto:" & rs("Email") & "'>" & rs("Email") & "</a>"%> 
</td></tr> <tr> <td width="70" align="right" bgcolor="#FFFFFF">QQ号码：</td><td bgcolor="#FFFFFF"> <%
			if rs("QQ")<>"" then
				response.write rs("QQ")
			else
				response.write "未填"
			end if
				%> </td></tr> <tr> <td width="70" align="right" bgcolor="#FFFFFF">MSN：</td><td bgcolor="#FFFFFF"> 
<%
			if rs("MSN")<>"" then
				response.write rs("MSN")
			else
				response.write "未填"
			end if%> </td></tr> <tr> <td width="70" align="right" bgcolor="#FFFFFF">主页：</td><td bgcolor="#FFFFFF"> 
<%if rs("HomePage")<>"" then
				response.write rs("HomePage")
			else
				response.write "未填"
			end if%> </td></tr> <tr> <td width="70" align="right" bgcolor="#FFFFFF">注册日期：</td><td bgcolor="#FFFFFF"><%=FormatDateTime(rs("RegDate"),2)%> 
</td></tr> </table></TD></TR> </table><br> <TABLE cellSpacing=0 cellPadding=0 width="100%" border="0" style="word-break:break-all"> 
<TR class="title_left"> <TD align="center"><table width="100%" border="0" cellspacing="0" cellpadding="0"> 
<tr> <td class="title_lefttxt"><IMG SRC="images/13.gif"></td></tr> 
</table></TD></TR> <TR> <TD height="30" valign="top" class="tdbg_left"> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="5"> 
<tr> <td valign="top" bgcolor="#FFFFFF"> <div align="center"> <% call ShowSearchForm("Search.asp",1) %> 
</div></td></tr> </table></TD></TR> </table></td><td width="5"><br> </td><td valign="top"> 
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="title_main"> 
<tr> <td width="40">&nbsp;</td><td><table width="100%" border="0" cellspacing="0" cellpadding="0" > 
<tr> <td class="title_maintxt"> 用户文章列表</td></tr> </table></td></tr> </table><table width="100%" border="0" cellspacing="0" cellpadding="0" class="border"> 
<tr> <td height="200" valign="top"> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="5"> 
<tr> <td valign="top"> <%call ShowUserArticle(30)%> </td></tr> </table></td></tr> 
<tr class="tdbg"> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0"> 
<tr class="tdbg_leftall"> <td> <%
		  if totalput>0 then
		  	call showpage(strFileName,totalput,MaxPerPage,false,true,"篇文章")
		  end if
		  %> </td></tr> </table></td></tr> </table><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> 
<tr> <td  height="15" align="center" valign="top"> <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0"> 
<tr> <td height="13" Class="tdbg_left2"></td></tr> </table></td></tr> </table></td></tr> 
</table><table width="760" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> 
<tr> <td  height="13" align="center" valign="top"><table width="755" border="0" align="center" cellpadding="0" cellspacing="0"> 
<tr> <td height="13" Class="tdbg_left2"></td></tr> </table></td></tr> </table><% call Bottom() %> 
<% call PopAnnouceWindow(400,300) %> 
</body>
</html>
<%
end if
rs.close
set rs=nothing
call CloseConn()
%>