<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../Include/Connect.asp"-->
<%
Username=Checkstr(Request.QueryString("Username"))
if Username="" then
response.redirect("../default.asp")
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../CSS/Hompy/hompy.css" type=text/css rel=stylesheet>
<script language="JavaScript" type="text/JavaScript">
<!--
function winOpen(Url,width,height,scrollbar,resize)
{

ow = width;
oh = height;
os = scrollbar;
or = resize;
var xposition=0; 
var yposition=0;
if ((parseInt(navigator.appVersion) >= 4 ))
  {
    xposition = (screen.width - width) / 2;
    yposition = (screen.height - height-25) / 2;
  }
  window.open (Url,"","width ="+ow+",height="+oh+",scrollbars = "+os+",resizable="+or+",left="+xposition+",top="+yposition );
}
//-->
</script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<SCRIPT language=JavaScript type=text/javascript>
  function click_menu(value,i)
  {
  	document.Articlelist_Frame.location.href = value;
  
  	var menuLen
  	menuLen = document.all.menu.length
  
  	for(var j=0 ; j < menuLen ; j++){
  		if (j == i-1){
  			document.all.menu[j].style.fontWeight  = "bold";
  		}else{
  			document.all.menu[j].style.fontWeight  = "";
  		}
  	}
  	return;
  }
</SCRIPT>
<title></title>
</head>
<body style="BACKGROUND-COLOR: transparent" leftMargin=0 topMargin=0 marginwidth="0" marginheight="0" onLoad="MM_preloadImages('../Images/Hompy/Usermenu/me02v.gif','../Images/Hompy/Usermenu/me03v.gif','../Images/Hompy/Usermenu/me04v.gif','../Images/Hompy/Usermenu/me05v.gif','../Images/Hompy/Usermenu/me06v.gif','../Images/Hompy/Usermenu/me08v.gif','../Images/Hompy/Usermenu/me01v.gif')"  oncontextmenu="window.event.returnValue=false" onselectstart="return false">
<TABLE height=546 cellSpacing=0 cellPadding=0 width=730 border=0>
  <TBODY>
  <TR>
    <TD width=7 height=7></TD>
    <TD width=716 height=7></TD>
    <TD width=7 height=7></TD></TR>
  <TR>
    <TD width=7 height=532></TD>
    <TD width=716 height=532>
      <TABLE height=532 cellSpacing=0 cellPadding=0 width=716 border=0>
          <TBODY>
            <TR> 
              <TD colSpan=3 height=31> <TABLE height=31 cellSpacing=0 cellPadding=0 width=716 border=0>
                  <TBODY>
                    <TR> 
                      <TD style="PADDING-LEFT: 6px" width=628><a href="#" class="ptitle">
<%
set rs = server.CreateObject("adodb.recordset")
sql="select * from Show5_ALLUser where Username='"&Username&"'"
rs.open sql,cn,1,1
response.write ""&rs("Hompyname")&""
%>

					  </a> 
                        <span class="url">http://<%=rs("Username")%>.show5.net/</span> 
                        <img src="../Images/Hompy/btn_add_favhompy.gif" width="12" height="11" align="absmiddle">
<%
if session("username")=username then
%>
                        <a href="javascript:;" onClick="javascript:winOpen('modifyhtitle.asp?username=<%=username%>', 288, 110, 'no','no')"><img src="../Images/Hompy/btn_m_edit.gif" width="34" height="14" border="0" align="absmiddle"></a> 
<%
end if
%>
					  </TD>
                      <TD width=88>
<%
if session("username")=username then
response.write "<a href='Manage/manage_index.asp?username="&Username&"'><img src='../Images/Hompy/ico_admin.gif' width='82' height='19' border='0' align='absmiddle'></a>"
end if
%>
</TD>
                    </TR>
                  </TBODY>
                </TABLE></TD>
            </TR>
            <TR> 
              <TD vAlign=top width=190 height=501><div align="center"><TABLE height=491 cellSpacing=0 cellPadding=0 width=168 
                  border=0>
                    <TBODY>
                    <TR>
                              <TD height=26> 
                                <TABLE height=24 cellSpacing=0 cellPadding=0 width=168 
                        border=0>
                            <TBODY>
                              <TR> 
                                <TD height="24" align=center><span style="font-size: 12px; color: #ff6600;">人气：</span><SPAN style="FONT-SIZE: 11px; COLOR: #ff6600"><SPAN><%=rs("TotalVisit")%></span></span></TD>
                              </TR>
                            </TBODY>
                          </TABLE>
                              </TD>
                            </TR>
                    <TR>
                      <TD height=8></TD></TR>
                    <TR>
                        <TD height=41><IMG height=41 src="../Images/Hompy/article_title.gif" 
                        width=168></TD>
                      </TR>
                    <TR>
                      <TD height=6></TD></TR>
                    <TR>
                      <TD vAlign=top align=left height=404>
                        <TABLE height=404 cellSpacing=0 cellPadding=0 width=168 
                        bgColor=#ffffff border=0>
                          <TBODY>
                          <TR>
                            <TD width=7 background=../Images/Hompy/left_stop01.gif 
                            height=7></TD>
                            <TD width=154 background=../Images/Hompy/left_stop03.gif 
                            height=7></TD>
                            <TD width=7 background=../Images/Hompy/left_stop02.gif 
                            height=7></TD></TR>
                          <TR>
                            <TD width=7 
                            background=../Images/Hompy/left_sleft.gif></TD>
                            <TD vAlign=top width=154 height=390>
                              <TABLE height="100%" cellSpacing=0 cellPadding=0 
                              width=153 border=0>
                                <TBODY>
                                <TR>
                                <TD width="153" height=5 vAlign=top></TD></TR>
                                <TR>
                                              <TD vAlign=top height=320> 
                                                <DIV id=DIVitem 
                                style="OVERFLOW: auto; HEIGHT: 370px">
                                            <TABLE height=270 cellSpacing=0 cellPadding=0 width=100% border=0>
                                              <TBODY>
                                                <TR> 
                                                  <TD width="149" vAlign=top> 
                                                    <div align="center"> 
                                                      <TABLE cellSpacing=0 cellPadding=0 width=142 border=0>
                                                        <TBODY>
                                                          <TR> 
                                                            <TD width=19><IMG src="../Images/Hompy/ico_fo.gif"></TD>
                                                            <TD><SPAN>浏览全部</SPAN></TD>
                                                          </TR>
                                                        </TBODY>
                                                      </TABLE>
                                                    </div>
                                                    <DIV align="center" id=folderList 
            style="TABLE-LAYOUT: fixed; LEFT: 0px; OVERFLOW: hidden; WIDTH: 100%; WORD-BREAK: break-all; HEIGHT: 250px; WORD-WRAP: break-word"> 
                                                      <table cellspacing=0 cellpadding=0 width=142 border=0>
                                                        <tbody>
<%
set rs=server.createobject("adodb.recordset")
sql="select * from Show5_Articlegroup where Username='"&request.querystring("Username")&"'"
rs.CursorLocation=3
rs.open sql,cn,1,1
if rs.eof or rs.bof then
%>
            <tr> 
              <td width=30><img id=1 src="../Images/Hompy/ico_fo_1b.gif"> </td>
              <td>暂无分类</td>
            </tr>
<%
else
   Dim Sortname
   i=1
   do while not rs.eof
%>
                                                          <tr> 
                                                            <td width=30><img id=1 src="../Images/Hompy/ico_fo_1b.gif"> </td>
                                                            <td id=menu><a href="javascript:click_menu('articlelist.asp?Username=<%=request.querystring("username")%>&GroupID=<%=rs("GroupID")%>',%20<%=i%>);"><%=rs("Groupname")%> </a></td>
                                                          </tr>
<%
rs.movenext
i=i+1
loop
end if
rs.close
set rs=nothing
%>                                                          
                                                          <tr> 
                                                            <td width=30><img id=6 
                  src="../Images/Hompy/ico_fo_3c.gif"> </td>
                                                            <td><span ><a href="javascript:" onClick="javascript:alert('此功能暂未开通')">移动博客</a></span></td>
                                                          </tr>
                                                        </tbody>
                                                      </table>
                                                    </DIV></TD>
                                                </TR>
                                              </TBODY>
                                            </TABLE>
                                          </DIV>
                                              </TD>
                                            </TR>
                                <TR>
                                <TD height=20></TD></TR><!--
									  <tr> 
                                        <td height="45" align="center"><a href="../admin/admin_menu_diary.asp"><img src="http://webimg.paran.com/minihome/btn/btn_menu.gif" width="148" height="37" border="0"></a></td>
                                      </tr>
									  --></TBODY></TABLE></TD>
                            <TD width=7 
                            background=../Images/Hompy/left_sright.gif></TD></TR>
                          <TR>
                            <TD width=7 
                            background=../Images/Hompy/left_sbottom01.gif 
                            height=7></TD>
                            <TD width=154 
                            background=../Images/Hompy/left_sbottom03.gif 
                            height=7></TD>
                            <TD width=7 
                            background=../Images/Hompy/left_sbottom02.gif 
                            height=7></TD></TR></TBODY></TABLE></TD></TR>
                    <TR>
                      <TD height=6></TD></TR></TBODY></TABLE> </div></TD>
              <TD width=6 height=501></TD>
              <TD vAlign=top width=520 height=501> <TABLE height=501 cellSpacing=0 cellPadding=0 width=520 border=0>
                  <TBODY>
                    <TR> 
                      <TD width=5 height=26></TD>
                      <TD width=510 height=26> <TABLE cellSpacing=0 cellPadding=0 width=393 border=0>
                          <TBODY>
                            <TR> 
                              <TD width=15></TD>
                              <TD width=54><a href="main_index.asp?username=<%=request.querystring("username")%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('img001','','../Images/Hompy/Usermenu/me01v.gif',1)"><img src="../Images/Hompy/Usermenu/me01.gif" name="img001" width="54" height="26" alt="首页" border="0"></a></TD>
                              <TD width=54><a href="myinfo_index.asp?username=<%=request.querystring("username")%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('img002','','../Images/Hompy/Usermenu/me02v.gif',1)"><img src="../Images/Hompy/Usermenu/me02.gif" name="img002" width="54" height="26" alt="档案" border="0"></a></TD>
                              <TD width=54><a href="article_index.asp?username=<%=request.querystring("username")%>"><img src="../Images/Hompy/Usermenu/me03a.gif" width="54" height="26" alt="博客" border="0"></a></TD>
                              <TD width=54><a href="photo_index.asp?username=<%=request.querystring("username")%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('img004','','../Images/Hompy/Usermenu/me04v.gif',1)"><img src="../Images/Hompy/Usermenu/me04.gif" name="img004" width="54" height="26" alt="相册" border="0"></a></TD>
                              <TD width=54><a href="tt_index.asp?username=<%=request.querystring("username")%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('img005','','../Images/Hompy/Usermenu/me05v.gif',1)"><img src="../Images/Hompy/Usermenu/me05.gif" name="img005" width="54" height="26" alt="拍贴" border="0"></a></TD>
                              <TD width=54><a href="vshow_index.asp?username=<%=request.querystring("username")%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('img006','','../Images/Hompy/Usermenu/me06v.gif',1)"><img src="../Images/Hompy/Usermenu/me06.gif" name="img006" width="54" height="26" alt="我的视频秀" border="0"></a></TD>
                              <TD width=54><a href="message_index.asp?username=<%=request.querystring("username")%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('img008','','../Images/Hompy/Usermenu/me08v.gif',1)"><img src="../Images/Hompy/Usermenu/me08.gif" name="img008" width="54" height="26" alt="留言" border="0"></a></TD>
                            </TR>
                          </TBODY>
                        </TABLE></TD>
                      <TD height=26></TD>
                    </TR>
                    <TR> 
                      <TD width=5></TD>
                      <TD vAlign=top width=510><TABLE height="100%" cellSpacing=0 cellPadding=0 width=510 
                  border=0>
                          <TBODY>
                            <TR> 
                              <TD width=10 height=9></TD>
                              <TD width=490 height=9></TD>
                              <TD width=10 height=9></TD>
                            </TR>
                            <TR> 
                              <TD width=10 height=255></TD>
                              <TD width=490 height=255> <TABLE height=300 cellSpacing=0 cellPadding=0 width=490 
                        bgColor=#dbdbdb border=0>
                                  <TBODY>
                                    <TR> 
                                      <TD height="300" bgColor=#ffffff>
<%
resurl=request.querystring("resurl")
username=request.querystring("username")
groupid=request.querystring("groupid")
if resurl="" then
FrameSrc="articlelist.asp?Username="&Username&""
else
FrameSrc=""&resurl&"&username="&username&"&groupid="&groupid&""
end if
%>
                                        <DIV style="BORDER-RIGHT: 0px solid; BORDER-TOP: 0px solid; BORDER-LEFT: 0px solid; WIDTH: 490px; BORDER-BOTTOM: 0px solid; HEIGHT: 253px"> 
                                          <DIV style="WIDTH: 490px; HEIGHT: 300px" UNSELECTABLE="on"><IFRAME 
                  name=Articlelist_Frame marginWidth=0 marginHeight=0 
                  src="<%=FrameSrc%>" frameBorder=0 width=490 
                  height=440></IFRAME></DIV>
                                        </DIV> 
                                      </TD>
                                    </TR>
                                  </TBODY>
                                </TABLE></TD>
                              <TD width=10 height=255></TD>
                            </TR>
							<TR> 
                              <TD width=10></TD>
                              <TD width=10></TD>
                            </TR>
                            <TR> 
                            <TR> 
                              <TD width=10></TD>
                              <TD width=490></TD>
                              <TD width=10></TD>
                            </TR>
							<TR> 
                              <TD width=10 height=10></TD>
                              <TD width=490 height=10></TD>
                              <TD width=10 height=10></TD>
                            </TR>
                          </TBODY>
                        </TABLE></TD> 
                      <TD width=5></TD>
                    </TR>
                    <TR> 
                      <TD width=5 height=5></TD>
                      <TD width=510 height=5></TD>
                      <TD width=5 height=5></TD>
                    </TR>
                  </TBODY>
                </TABLE></TD>
            </TR>
          </TBODY>
        </TABLE></TD>
    <TD width=7 height=532></TD></TR>
  <TR>
    <TD width=7 height=7></TD>
    <TD width=716 height=7></TD>
    <TD width=7 height=7></TD></TR></TBODY></TABLE>
</body>
</html>
