<!--#include file="inc/conn.asp"-->
<!--#include file="inc/function.asp"-->
<!--#include file="inc/Conn_User.asp"-->
<body oncontextmenu="return false" ondragstart="return false" onselectstart="return false">
<%
'请勿改动下面这三行代码
const ChannelID=3
Const ShowRunTime="Yes"
SkinID=0
MaxPerPage=12
dim UserID
dim mdid,htm
mdid=trim(request("mdid"))
htm=trim(request("htm"))
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"
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 &"的个人主页"
	

%>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">


<style type="text/css" media="screen">
<!--
ul { margin: 0; padding: 0; }
-->
</style>

<link href="css\Mpage_main.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>



<body>

<SCRIPT LANGUAGE="JavaScript">

          <!--

          function stopError() {
            return true;
          }

          window.onerror = stopError;

          // -->
          

</SCRIPT>



<script language="JavaScript" type="text/JavaScript">

<!--

var wfpnum=1;

var sRepeat=null; 

parent.hometitle.innerHTML="访问:<%=rs(db_User_hits)%></font>";

function doScrollerIE(dir, src, amount) { 

if (amount==null) amount=10; 

if (document.all[src].scrollHeight <= 50)

	return;

if (dir=="up") 

document.all[src].scrollTop-=3; 

else 

document.all[src].scrollTop+=3; 

if (sRepeat==null) 

sRepeat = setInterval("doScrollerIE('" + dir + "','" + src + "'," + amount + ")",100); 

return false 

}
window.document.onmouseout = new Function("clearInterval(sRepeat);sRepeat=null"); 

window.document.ondragstart = new Function("return false"); 

function Go(userid){

  if (userid!=""){

	 WinOpen('pop_buddy_invite.asp?reg=2007-9-12&userid='+userid,'nn','381','231','no','no','Center','')

  }else{

  alert("系统错误");

  return;

  }

}

function Go2(userid){

  if (userid!=""){

	 WinOpen('fans_invite.asp?reg=2007-9-12&userid='+userid,'nn','381','231','no','no','Center','')



  }else{

  alert("系统错误");

  return;

  }

}

function goHome(username){

  if (username!=""){

     window.open('http://'+username+'.516show.cn','','');

  }

}



function noteViewProcess(str){



		WinOpen(strUrl,strName,WinWidth,WinHeight,ScrollBar,Resize,WinGubun,strProperty);



}

-->

</script>
<!-- 容错脚本
function killErrors() {
return true;
}
window.onerror = killErrors;
// -->
</SCRIPT>
<style type="text/css" media="screen">
<!--
ul { margin: 0; padding: 0; }
-->
</style>


</head>




<table border="0" cellpadding="0" cellspacing="0">

  <tr>


    <td height="1" align="center">

<table border='0' width='172' height='222' cellspacing='0'><tr><td background='imgs/pic/img_3_73_3-1136336300.gif' style='background-repeat: no-repeat' height=21 width=21></td><td background='imgs/pic/img_3_73_6-1136336300.gif' height=21 ></td><td background='imgs/pic/img_3_73_0-1136336300.gif' style='background-repeat: no-repeat' height=21 width=21></td></tr><tr><td background='imgs/pic/img_3_73_1-1136336300.gif' width=21></td><td><img src="<%if rs(db_User_userphoto)<>"" then%>  <%= rs(db_User_userphoto)%><%else%>images/NoPic2.jpg<%end if%>" width="130" height="180"></td><td background='imgs/pic/img_3_73_4-1136336300.gif' width=21></td></tr><tr><td background='imgs/pic/img_3_73_5-1136336300.gif' style='background-repeat: no-repeat' height=21 width=21></td><td background='imgs/pic/img_3_73_7-1136336300.gif' height=21 ></td><td background='imgs/pic/img_3_73_2-1136336300.gif' style='background-repeat: no-repeat' height=21 width=21></td></tr></table>






 </div></td>

  </tr>

  <tr>






    <td height="19" align="center"> <span id="s_user_name" style="width:138px;height:18px;line-height:19px;overflow:hidden"><%= UserName %></strong>
              <%
			if rs(db_User_Sex)=1 then
				response.write " <img src=isky/boy.gif border=0 alt=男> "
			else
				response.write " <img src=isky/girl.gif border=0 alt=女> "
			end if
		  %>
           [ <a href="zone.asp?city=<%=rs(db_User_city)%>" target="_blank"><%=rs(db_User_city)%></a>] </span>  </td>

  </tr>

  <tr>



 
      <table width="168" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td width="12" height="29" align="left" background="user/infobg.gif"><img src="user/info1.gif" width="12" height="29"></td>
          <td background="user/infobg.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="16"><img src="user/gold.gif" width="12" height="13"></td>
              <td><%=rs(db_User_UserPoint)%> </td>
              <td width="20"><table width="100%" height="3" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td></td>
                  </tr>
                </table>
                <%if rs(db_User_love)=0 then%>
		<img src=love/1.gif>  
                <%else%>
                <img src=love/<%=rs(db_User_love)%>.gif>
                <%end if%>              </td>
              <td width="45"><table width="100%" height="2" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td></td>
                  </tr>
                </table>
				
                  <%if rs(db_User_love)=0 then%>
                无语...
                <%else%>
				<%end if%>
                  <%if rs(db_User_love)=1 then%>
                无语...
                <%else%>
                <%end if%>
                  <%if rs(db_User_love)=2 then%>
                高兴...
                <%else%>
                <%end if%>
                  <%if rs(db_User_love)=3 then%>
                郁闷...
                <%else%>
                <%end if%>
                  <%if rs(db_User_love)=4 then%>
                忙碌...
                <%else%>
                <%end if%>
                  <%if rs(db_User_love)=5 then%>
                疑问...
                <%else%>
                <%end if%>
                  <%if rs(db_User_love)=6 then%>
                思念...
                <%else%>
                <%end if%></td>
            </tr>
          </table></td>
          <td width="10" align="right" background="user/infobg.gif"><img src="user/info2.gif" width="10" height="29"></td>
        </tr>
      </table><BR>
 </div>

    </div></td>

  </tr>

  <tr>


        </tr>

      </table>

    </div>


    <td height="1" align="center"><div id="s_user_menu"><BR> <%
								  if rs(db_User_intor)<>""  then
								 
                     response.write "&nbsp;&nbsp;<font color="&rs(db_User_intorcolor) &" style='FONT-SIZE: "&rs(db_User_intorsize) &"px'>" &rs(db_User_intor) & "</font>"
                     else response.write "&nbsp;&nbsp;&nbsp;&nbsp;暂时没有介绍"
                     end if
								  %> 








</div></td>



  </tr>

  <tr>

    <td height="1" align="center"><div id="s_user_menu"><a href="proFile_r.asp?userid=<%=UserID%>" target=content> <img src="..\page_style\icon\G1.gif"border="0"><a href="gbook.asp?userid=<%=UserID%>" target=content><img src="..\page_style\icon\G2.gif" border="0"></a><img src="..\page_style\icon\G3.gif" border="0"><a href=javascript:window.external.AddFavorite('main_all.asp?userid=<%=userid%>','<%= UserName %>的家园')><img src="..\page_style\icon\G4.gif "border="0"></a>  <img src="..\page_style\icon\G5.gif"border="0"><a href="fsave.asp?fid=<%= UserID %> "target=content><img src="..\page_style\icon\G6.gif" border="0"></div></td>


  </tr>

  <tr>

    <td height="19" align="center"><table width="174" height="90" border="0" cellpadding="0" cellspacing="0">



           <tr>

        <td height="25"><img src="..\page_style\icon\TJ.gif"></td>

      </tr>

      <tr>

        <td>








</body>

</html>


<%

end if

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