<!--#include file="inc/conn.asp"-->
<!--#include file="inc/function.asp"-->
<!--#include file="inc/Conn_User.asp"-->

<%
'请勿改动下面这三行代码
const ChannelID=3
Const ShowRunTime="Yes"
SkinID=0
MaxPerPage=12
dim UserID
dim mdid,htm
mdid=trim(request("mdid"))
htm=trim(request("htm"))
menu=trim(request("menu"))
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

indexs="indexs.asp?userid="& userid
if UserID="del" then
	FoundErr=True
	ErrMsg=ErrMsg & "<br><li>该用户已被管理员删除</li>"
	call WriteErrMsg()
	response.end
else
	UserID=Clng(UserID)
end if
strFileName="UserInfo.asp?UserID=" & UserID
sql="select * from " & db_User_Table & " where " & db_User_ID & "=" & UserID
set rs=server.createobject("adodb.recordset")
rs.open sql,Conn_User,1,3
if cint(Request.Cookies("asp163")("userhits")) <> userid then
rs(db_User_hits)=rs(db_User_hits)+1
Response.Cookies("asp163")("userhits") = userid
rs.update
else
end if
if rs.bof and rs.eof then
	FoundErr=True
	ErrMsg=ErrMsg & "<br><li>找不到指定的用户<li>"
else
    photo=rs(db_User_photok)
	UserName=rs(db_User_Name)
	PageTitle=  UserName &"的个人主页"
	

%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title></title>
<style type="text/css">
<!--
body {
	background-image: url();
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #a09887;
}

-->
</style>
<style type="text/css">
<!--
.STYLE1 {color: #000000}
.STYLE2 {color: #FFFFFF}
#Layer1 {
	position:absolute;
	left:70px;
	top:128px;
	width:85px;
	height:40px;
	z-index:1;
}
#Layer2 {
	position:absolute;
	left:83px;
	top:55px;
	width:360px;
	height:28px;
	z-index:2;
}
-->
</style>
<style> 
BODY {
	scrollbar-face-color:#DDDDDD;
	scrollbar-highlight-color: #f2f2f2;
	scrollbar-shadow-color: #CCCCCC;
	scrollbar-3dlight-color: #F5F5F5;
	scrollbar-darkshadow-color: #F5F5F5;
	scrollbar-track-color: #F0F0F0;
	scrollbar-arrow-color: #FFFFFF;
	background-image: url();
	background-color: #FFFFFF;
}
</style>
<link href="new/css.CSS" rel="stylesheet" type="text/css" />
<script language="JavaScript" type="text/JavaScript">
<!--


function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->
</script>
</HEAD>
<frameset rows="*" cols="175,*" framespacing="0" frameborder="0" border="false" id="frame" scrolling="no">
  <frame name="left" scrolling="no" marginwidth="0" marginheight="0" src="<%if menu="" then%>userinfo.asp?userid=<%=userid%><%else%><%=menu%><%end if%>">
  <frameset rows="*" cols="7,*" framespacing="0" frameborder="0" border="false" id="off" scrolling="no">
  <frame name="left" scrolling="no" marginwidth="0" marginheight="0" src="off.html">
  <frameset framespacing="0" border="false"  frameborder="0" scrolling="yes">
       <frame name="dd" scrolling="yes" src="<%if htm="" then%><%=indexs%><%else%><%=htm%><%end if%>">
  </frameset>
</frameset>
<noframes>
  <body style="overflow:scroll;overflow-x:hidden">
  <p>你的浏览器版本过低！！！本系统要求IE5及以上版本才能使用本系统。</p>
  </body>
</noframes>

</html>
<%

end if

rs.close
set rs=nothing
call CloseConn()
%>