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

<%
dim UserID
dim mdid,htm
mdid=trim(request("mdid"))
menu=trim(request("menu"))
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="main_left.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 rs.bof and rs.eof then
	FoundErr=True
	ErrMsg=ErrMsg & "<br><li>找不到指定的用户<br>"
	call WriteErrMsg()
else
    photo=rs(db_User_photok)
	UserName=rs(db_User_Name)
	PageTitle=  UserName &"的小屋"
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

	

%>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>Untitled Document</title>
<link href="../css/Mpage_main.css" rel="stylesheet" type="text/css">

</head>

<body style="margin-left:10px">
<STYLE type=text/css>BODY {
	SCROLLBAR-FACE-COLOR: #f6f6f6; FONT-SIZE: 9pt; MARGIN: 0px; SCROLLBAR-HIGHLIGHT-COLOR: #f6f6f6; SCROLLBAR-SHADOW-COLOR: #a7a7a7; COLOR: #4e4e4e; SCROLLBAR-3DLIGHT-COLOR: #ffffff; SCROLLBAR-ARROW-COLOR: #a6a6a6; SCROLLBAR-TRACK-COLOR: #f0f0f0; SCROLLBAR-DARKSHADOW-COLOR: #ffffff
}
.url {
	FONT-SIZE: 12px; COLOR: #244b16; FONT-FAMILY: Arial
}
A {
	FONT-SIZE: 12px; COLOR: #426f32; TEXT-DECORATION: none
}
A.title {
	FONT-WEIGHT: bold; FONT-SIZE: 14px; COLOR: #244b16; TEXT-DECORATION: none
}
A:hover {
	COLOR: #ff3232
}
MARQUEE {
	FONT-SIZE: 12px; COLOR: #5c82ab
}
.k {
	BORDER-RIGHT: #989da3 1px solid; BORDER-TOP: #989da3 1px solid; BORDER-LEFT: #989da3 1px solid; BORDER-BOTTOM: #989da3 1px solid
}
.bg2 {
	BACKGROUND: #e8fcd9
}
.bg {
	BACKGROUND: #80c265
}
.bg1 {
	BACKGROUND: #c6e7bb
}
.leftframe {
	BACKGROUND: #f2ffec
}
.lin {
	BACKGROUND: #5aac3d
}
.frame1 {
	BACKGROUND: #4c9332
}
.frame2 {
	BACKGROUND: #e1f9d7
}
A.item {
	FONT-WEIGHT: normal; FONT-SIZE: 12px; COLOR: #bdd3ad; TEXT-DECORATION: none
}
A.item:hover {
	COLOR: #ff3300
}
A.big {
	FONT-WEIGHT: bold; FONT-SIZE: 12px; COLOR: #244b16; LINE-HEIGHT: 25px
}
.blank {
	WIDTH: 3px
}
.blank_end {
	WIDTH: 19px
}
.tab {
	WIDTH: 10px
}
</STYLE>

<SCRIPT language=JavaScript>
	var nowOpen			=null;
	var nowOpenStatus	=null;
	var ttype=null;
	function openNode(num,normal,t)  	//打开或关闭树
	{
		focusNode(num);
		if(nowOpen==num){
			document.all("img"+num).src="../page_style/jmenu/close_"+nowOpenStatus+".gif";
			document.all("div"+num).style.display="none";
			nowOpen			=null;
			nowOpenStatus	=null;
			return;
		}
		if(nowOpen!=null){
			document.all("img"+nowOpen).src="../page_style/jmenu/close_"+nowOpenStatus+".gif";
			document.all("div"+nowOpen).style.display="none";			
		}
		document.all("img"+num).src="../page_style/jmenu/open_"+normal+".gif";
		document.all("div"+num).style.display="inline";
		nowOpen			=num;
		nowOpenStatus	=normal;
		if(document.all("div"+num).innerHTML==""){
			document.all("div"+num).innerHTML="<img align='absmiddle' src='../page_style/jmenu/line_v.gif'><b class='blank'></b><img align='absmiddle' src='../page_style/jmenu/none_end.gif'><font color=red style='font-size:9pt'> 请先登陆...</font><br>";
		}
		
	}
	
	var nowFocus=null;
	function SetRichLink(obj){
		try{
			obj.style.borderWidth="1px";
			obj.style.borderStyle="solid";
			obj.style.borderColor="#efefef";
			obj.style.backgroundColor="#EDEDED";
			obj.blur();
		}catch(e){}
	}
	function ClearRichLink(obj){
		try{
			obj.style.borderWidth="0px";
			obj.style.backgroundColor="";
		}catch(e){}
	}
	function focusNode(num)
	{
		if(document.all("link"+nowFocus))
		{
			ClearRichLink(document.all("link"+nowFocus));
		}
		nowFocus=num;
		SetRichLink(document.all("link"+num));
	}
	function onManageStory()	{
		var url = "istorymanage.asp";
		var ret = window.open(url, "", "width=365, height=221, scrollbars=no");
		if(ret == null)	{
			alert("错误");
			return;
		}
	}
	function onManageTalk()	{
		var url = "talkset.asp";
		var ret = window.open(url, "talkset", "width=365, height=210, scrollbars=no");
		if(ret == null)	{
			alert("错误");
			return;
		}
	}
	</SCRIPT>

<div id="s_user_count"><strong><span id="font_2"> 我的主页管理系统 </span></strong></div>
 <DIV id=viewTOP style="PADDING-RIGHT: 3px; OVERFLOW-Y: auto; PADDING-LEFT: 3px; OVERFLOW-X: hidden; PADDING-BOTTOM: 3px; WIDTH: 165px; PADDING-TOP: 3px; HEIGHT: 100%">



				 <IMG id=img  src="../page_style/icon/ope1.gif" align=absMiddle><B class=blank></B><IMG src="../page_style/icon/xhome.gif"><B 
				class=blank></B><A  href="usermana.asp?userid=<%=userid%>"target=content>管理首页</A><BR>

				<IMG id=img  src="../page_style/icon/ope2.gif" align=absMiddle><B class=blank></B><IMG src="../page_style/icon/computer.gif"><B 
				class=blank></B><A  href="recorder.asp"  target=_blank><font color="red">在线录制视频</font></A><BR>


				<IMG id=img  src="../page_style/icon/ope2.gif" align=absMiddle><B class=blank></B><IMG src="../page_style/icon/pictures.gif"><B 
				class=blank></B><font color="red"><A  href="mv/make_mv.asp"  target=_blank><font color="red">制作视屏相册</font></A><BR>








<IMG 
                  src="../page_style/jmenu/close_normal.gif" align=absMiddle id=img3 
                  style="CURSOR: hand" onClick="openNode(3,'normal','image')"><B 
                  class=blank></B><IMG src="../page_style/jmenu/icn_movie.gif" width="13" height="14"><B 
                  class=blank></B><A id=link3 
                  href="javascript:openNode(3,'normal','image')">视频管理</A><BR>
				  
 <!-- 视频管理  --><SPAN id=div3 style="DISPLAY: none">
					<IMG 
                  src="../page_style/jmenu/line_v.gif" align=absMiddle><B 
                  class=blank></B><IMG src="../page_style/jmenu/none_normal.gif" 
                  align=absMiddle><B class=blank></B><IMG 
                  src="../page_style/jmenu/node.gif" align=absMiddle><B class=blank></B><A 
                  id=mymusic1 href="recorder.asp" 
                  target=_blank>录制视频</A><BR>
				


						  <IMG src="../page_style/jmenu/line_v.gif" 
                  align=absMiddle><B class=blank></B><IMG 
                  src="../page_style/jmenu/none_normal.gif" align=absMiddle><B 
                  class=blank></B><IMG src="../page_style/jmenu/node.gif" 
                  align=absMiddle><B class=blank></B><A 
                  href="User_flvAdd.asp" 
                  target=content>上传视频</A><BR>




				  <IMG src="../page_style/jmenu/line_v.gif" 
                  align=absMiddle><B class=blank></B><IMG 
                  src="../page_style/jmenu/none_end.gif" align=absMiddle><B 
                  class=blank></B><IMG src="../page_style/jmenu/node.gif" 
                  align=absMiddle><B class=blank></B><A 
                  href="flv2.asp?userid=<%=userid%>"target=content>视频管理</A><BR>
                      </SPAN>



				  <IMG id=img4 
                  style="CURSOR: hand" onClick="openNode(4,'normal','mydiary')" 
                  src="../page_style/jmenu/close_normal.gif" align=absMiddle><B 
                  class=blank></B><IMG src="../page_style/jmenu/xc.gif" width="15" height="15"><B 
                  class=blank></B><A id=link4 
                  href="javascript:openNode(4,'normal','mydiary')">相册管理</A><BR>
   <SPAN 
                  id=div4 style="DISPLAY: none">
				  
				  
				  
				  
				  
				  
				  
				  
				  
				  
				  <!-- 相片管理  -->					
				  
	  
				  
				  <IMG src="../page_style/jmenu/line_v.gif" 
                  align=absMiddle><B class=blank></B><IMG 
                  src="../page_style/jmenu/none_normal.gif" align=absMiddle><B 
                  class=blank></B><IMG src="../page_style/jmenu/node.gif" 
                  align=absMiddle><B class=blank></B><A 
                  href="User_photoAdd.asp" 
                  target="_blank">上传相片</A><BR>
				  <IMG src="../page_style/jmenu/line_v.gif" 
                  align=absMiddle><B class=blank></B><IMG 
                  src="../page_style/jmenu/none_end.gif" align=absMiddle><B 
                  class=blank></B><IMG src="../page_style/jmenu/node.gif" 
                  align=absMiddle><B class=blank></B><A 
                  href="mv/my_mtv.asp?userid=<%=userid%>"target=content>相片管理</A><BR>
   </SPAN>
				  
				  
				  
				  

				  
				  
				  
				  
				  
				  <IMG id=img6 
                  style="CURSOR: hand" onClick="openNode(6,'normal','mymusic')" 
                  src="../page_style/jmenu/close_normal.gif" align=absMiddle><B 
                  class=blank></B><IMG src="../page_style/jmenu/wj.gif" width="15" height="12"><B 
                  class=blank></B><A id=link6 
                  href="javascript:openNode(6,'normal','mymusic')">博客管理</A><BR>
				  
   <SPAN 
                  id=div6 style="DISPLAY: none"><!-- 博客管理 -->
				  
				  <IMG 
                  src="../page_style/jmenu/line_v.gif" align=absMiddle><B 
                  class=blank></B><IMG src="../page_style/jmenu/none_normal.gif" 
                  align=absMiddle><B class=blank></B><IMG 
                  src="../page_style/jmenu/node.gif" align=absMiddle><B class=blank></B><A 
                  id=mymusic1 href="User_articleadd.asp" 
                  target=content>日志添加</A><BR>
				  
				  				  
				  <IMG src="../page_style/jmenu/line_v.gif" 
                  align=absMiddle><B class=blank></B><IMG 
                  src="../page_style/jmenu/none_end.gif" align=absMiddle><B 
                  class=blank></B><IMG src="../page_style/jmenu/node.gif" 
                  align=absMiddle><B class=blank></B><A 
                  href="log.asp?userid=<%=userid%>&action=list" 
                  target=content>管理博客</A><BR>
   </SPAN>




 				  <IMG  id=img1 style="CURSOR: hand" onClick="openNode(1,'normal','modifyinfo')" 
                  src="../page_style/jmenu/close_normal.gif" align=absMiddle><B  class=blank></B><IMG src="../page_style/jmenu/rj.gif" width="15" height="15" ><B class=blank></B><A id=link1 href="javascript:openNode(1,'normal','modifyinfo')">资料修改</A><BR>
				<SPAN id=div1 style="DISPLAY: none">
				 

				  <!-- 主页管理  -->
				  <IMG 
                  src="../page_style/jmenu/line_v.gif" align=absMiddle><B 
                  class=blank></B><IMG src="../page_style/jmenu/none_normal.gif" 
                  align=absMiddle><B class=blank></B><IMG 
                  src="../page_style/jmenu/node.gif" align=absMiddle><B class=blank></B><A 
                  id=mymusic1 href="User_ModifyPwd.asp" 
                  target=content>修改登陆密码</A><BR>

				  <IMG src="../page_style/jmenu/line_v.gif" 
                  align=absMiddle><B class=blank></B><IMG 
                  src="../page_style/jmenu/none_normal.gif" align=absMiddle><B 
                  class=blank></B><IMG src="../page_style/jmenu/node.gif" 
                  align=absMiddle><B class=blank></B><A 
                  href="User_ModifyInfo.asp" 
                  target=content>补充详细资料</A><BR>
				  
			  
				  <IMG src="../page_style/jmenu/line_v.gif" 
                  align=absMiddle><B class=blank></B><IMG 
                  src="../page_style/jmenu/none_end.gif" align=absMiddle><B 
                  class=blank></B><IMG src="../page_style/jmenu/node.gif" 
                  align=absMiddle><B class=blank></B><A 
                  href="User_photoshot.asp" 
                  target=content>设定头像</A><BR>
   </SPAN>
				  
				   
				  
				  
				  <IMG id=img2 style="CURSOR: hand" onClick="openNode(2,'normal','photo')" 
                  src="../page_style/jmenu/close_normal.gif" align=absMiddle><B class=blank></B><IMG src="../page_style/jmenu/gl.gif" width="13" height="14"><B class=blank></B><A id=link2  href="javascript:openNode(2,'normal','photo')">家园管理</A>
				  
				  <BR>
   <SPAN id=div2 style="DISPLAY: none">
				  
				  <IMG 
                  src="../page_style/jmenu/line_v.gif" align=absMiddle><B 
                  class=blank></B><IMG src="../page_style/jmenu/none_normal.gif" 
                  align=absMiddle><B class=blank></B><IMG 
                  src="../page_style/jmenu/node.gif" align=absMiddle><B class=blank></B><A 
                  id=mymusic1 href="pifu.asp?userid=<%=userid%>" 
                  target=content>家园皮肤设置</A><BR>
				  

				  
				  <IMG src="../page_style/jmenu/line_v.gif" 
                  align=absMiddle><B class=blank></B><IMG 
                  src="../page_style/jmenu/none_normal.gif" align=absMiddle><B 
                  class=blank></B><IMG src="../page_style/jmenu/node.gif" 
                  align=absMiddle><B class=blank></B><A 
                  href="guanjian.asp?userid=<%=userid%>" 
                  target=content>挂件饰品设置</A><BR>
				  				  
				  <IMG src="../page_style/jmenu/line_v.gif" 
                  align=absMiddle><B class=blank></B><IMG 
                  src="../page_style/jmenu/none_normal.gif" align=absMiddle><B 
                  class=blank></B><IMG src="../page_style/jmenu/node.gif" 
                  align=absMiddle><B class=blank></B><A 
                  href="kongjxx.asp?userid=<%=userid%>" 
                  target=content>空间信息</A><BR>
				  


				  <IMG src="../page_style/jmenu/line_v.gif" 
                  align=absMiddle><B class=blank></B><IMG 
                  src="../page_style/jmenu/none_end.gif" align=absMiddle><B 
                  class=blank></B><IMG src="../page_style/jmenu/node.gif" 
                  align=absMiddle><B class=blank></B><A 
                  href="kongjxx.asp?userid=<%=userid%>" 
                  target=content>心情设置</A><BR>

   </SPAN>
				  
				  
				  
					  
				  <IMG id=img5 
                  style="CURSOR: hand" onClick="openNode(5,'normal','act')" 
                  src="../page_style/jmenu/close_normal.gif" align=absMiddle><B 
                  class=blank></B><IMG src="../page_style/jmenu/tk.gif" width="15" height="15"><B 
                  class=blank></B><A id=link5 
                  href="javascript:openNode(5,'normal','act')">小窝管理</A><BR>
				  <!-- 文集管理 -->
   <SPAN id=div5 style="DISPLAY: none">
				  
				  <IMG 
                  src="../page_style/jmenu/line_v.gif" align=absMiddle><B 
                  class=blank></B><IMG src="../page_style/jmenu/none_normal.gif" 
                  align=absMiddle><B class=blank></B><IMG 
                  src="../page_style/jmenu/node.gif" align=absMiddle><B class=blank></B><A 
                  id=mydiary1 href="shop_wo.asp" 
                  target=_blank>迷你窝购买</A><BR><IMG src="../page_style/jmenu/line_v.gif" 
                  align=absMiddle><B class=blank></B><IMG 
                  src="../page_style/jmenu/none_end.gif" align=absMiddle><B 
                  class=blank></B><IMG src="../page_style/jmenu/node.gif" 
                  align=absMiddle><B class=blank></B><A 
                  href="wofu.asp?userid=<%=userid%>"target=content>小窝列表</A><BR>
   </SPAN>			  
				 
				  
				  
				  
				  

				  
				
                  	  
				  
				  
				  
				  

				  

				  <IMG id=img12 
                  style="CURSOR: hand" onClick="openNode(12,'normal','fav')" 
                  src="../page_style/jmenu/close_normal.gif" align=absMiddle><B 
                  class=blank></B><IMG src="../page_style/jmenu/gj.gif" width="15" height="15"><B 
                  class=blank></B><A id=link12 
                  href="javascript:openNode(12,'normal','fav')">收藏管理</A><BR>
				  <!-- 网址收藏夹 --><SPAN 
                  id=div12 style="DISPLAY: none">
				  
				  <IMG 
                  src="../page_style/jmenu/line_v.gif" align=absMiddle><B 
                  class=blank></B><IMG src="../page_style/jmenu/none_normal.gif" 
                  align=absMiddle><B class=blank></B><IMG 
                  src="../page_style/jmenu/node.gif" align=absMiddle><B class=blank></B><A 
                  id=mymusic1 href="vs.asp?userid=<%=userid%>" 
                  target=content>添加收藏</A><BR>
				  
				  				  
				  <IMG src="../page_style/jmenu/line_v.gif" 
                  align=absMiddle><B class=blank></B><IMG 
                  src="../page_style/jmenu/none_end.gif" align=absMiddle><B 
                  class=blank></B><IMG src="../page_style/jmenu/node.gif" 
                  align=absMiddle><B class=blank></B><A 
                  href="vsc.asp?userid=<%=userid%>"  
                  target=content>收藏管理</A><BR>
				  
				  </SPAN>



				<IMG id=img  src="../page_style/jmenu/open_normal.gif" align=absMiddle><B class=blank></B><IMG src="../page_style/icon/fax.gif" height="16" width="16" border="0"/><B 
				class=blank></B><A  href="messager.asp?action=inbox"target=content>我的短信</A><BR>


				<IMG id=img  src="../page_style/jmenu/open_normal.gif" align=absMiddle><B class=blank></B><IMG src="../page_style/icon/book.gif"><B 
				class=blank></B><A  href="gbook.asp?userid=<%=userid%>"target=content>留言管理</A><BR>

				
				<IMG id=img  src="../page_style/jmenu/open_normal.gif" align=absMiddle><B class=blank></B><IMG src="page_style/jmenu/x2.gif"><B 
				class=blank></B><A  href="friendlist.asp?userid=<%=userid%>"  target=content>好友管理</A><BR>

				<IMG id=img  src="../page_style/jmenu/open_normal.gif" align=absMiddle><B class=blank></B><IMG src="../page_style/icon/doc.gif"><B 
				class=blank></B><A  href="User_lbAdd.asp"  target=content><font color=blue>在线喇叭</font></A><BR>

				<IMG id=img  src="../page_style/icon/x3.gif" align=absMiddle><B class=blank></B><IMG src="../page_style/icon/x2.gif"><B 
				class=blank></B><A  href="User_Logout.asp">退出管理</A><BR>
 
		  
				  
				  
				  
<script>
window.onload=function(){
	openNode(3,'normal','image')
}
</script>
				  
<%

end if

rs.close
set rs=nothing
call CloseConn()
%>
				  
				  
</DIV>
</body>
</html>
