<!--#include file="user.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=U_TITLE%></title>
<meta name="keywords" content="<%=U_TITLE%>" />
<meta name="description" content="<%=Ubloger%>" />
<link href="images/css.css" rel="stylesheet" type="text/css" />
</head>

<body>
<!--#include file="top.asp"-->
<table width="1000" height="600" border="0" align="center" cellpadding="0" cellspacing="0" background="images/bgcenter.jpg">
  <tr>
    <td width="40">&nbsp;</td>
    <td width="230" valign="top">
	<!--#include file="left.asp"-->
	
    </td>
    <td width="690" height="138" valign="top"><table width="680" height="50" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td align="left" background="images/logtop.jpg" style="padding-left:66px; padding-top:10px;">用户相册</td>
      </tr>
    </table>
      <table width="680" height="138" border="0" cellpadding="0" cellspacing="0" background="images/logmiddle.jpg">
        <tr>
          <td><table width="90%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <%
		set rs=server.createobject("adodb.recordset")
		sql="select top 5 * from H_pic where uid="&Uid&" order by ID desc"
	    rs.open sql,conn,1,1
		if not rs.eof then
		do while not rs.eof
		%>
                  <td><table width="110" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td><a href="pic_read.asp?uid=<%=uid%>&ID=<%=rs("id")%>" target="_blank"><img src="../../UpLoadUC/<%=rs("H_pic")%> " width="100" height="100" border="0" /></a></td>
                      </tr>
                      <tr>
                        <td height="30"><%=left(rs("H_name"),6)%></td>
                      </tr>
                  </table></td>
                  <%
		rs.movenext 	
				loop
				rs.close
				%>
				<%else%>
				<td><table width="110" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td><img src="images/xx2.gif" width="100" height="100" /></td>
                      </tr>
                      <tr>
                        <td height="30">没有上传</td>
                      </tr>
                  </table>
				  </td>
				<%end if%>
                </tr>
          </table></td>
        </tr>
      </table>
      <table width="680" height="1" border="0" cellpadding="0" cellspacing="0" background="images/logmiddle.jpg">
        <tr>
          <td valign="top"><table width="638" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td align="left">我的日记</td>
            </tr>
          </table>
            <table width="638" height="1" border="0" align="center" cellpadding="0" cellspacing="0" background="images/k_1.gif">
            <tr>
              <td></td>
            </tr>
          </table></td>
        </tr>
      </table>
      <table width="680" height="138" border="0" cellpadding="0" cellspacing="0" background="images/logmiddle.jpg">
        <tr>
          <td valign="top">
		        <%
		set rs=server.createobject("adodb.recordset")
		sql="select top 5 * from H_divry where uid="&Uid&" order by id desc,H_ix desc "
	    rs.open sql,conn,1,1
		if not rs.eof then
		do while not rs.eof
		%>
		  <table width="638" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td height="30" colspan="2" align="left" ><a href="divry_read.asp?uid=<%=UID%>&id=<%=rs("id")%>" target="_blank"><span class="lv" style=" font-weight:bold"><%=rs("H_Title")%></span></a> <span class="postspan">Post:<%=rs("RDate")%></span></td>
            </tr>
            <tr>
              <td height="1" colspan="2" bgcolor="#CCCCCC"></td>
            </tr>
            <tr>
              <td width="54">&nbsp;</td>
              <td width="584" height="80" align="left" valign="top" class="space_la"><%=left(rs("H_txt"),128)%></td>
            </tr>
            <tr>
			<%
			if rs("H_class")<>0  and rs("H_class")<>"" then
			divryclass=conn.execute("select PCN from H_Class where id="&rs("H_class")&"")("PCN")
			else
			divryclass="未分类"
			end if
			%>
			
              <td height="1" colspan="2" align="left" background="images/k_1.gif"></td>
            </tr>
            <tr>
              <td height="30" colspan="2" align="left">我要点评 | 所属分类：<%=left(divryclass,8)%> 人气：<%=rs("H_htr")%></td>
            </tr>
            <tr>
              <td height="5" colspan="2" align="left"></td>
            </tr>
          </table>
		               <%
		rs.movenext 	
				loop
				rs.close
				%>
				<%else%>
				<table width="638" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td align="left"><strong>WO的博客开通了,偶还没有发布日志呢，大家稍等哦</strong></td>
  </tr>
  <tr>
    <td align="left"><p>我的个人空间开通了，欢迎你时常过来做客，大家多多交流哦。我会把一些新鲜有趣的东西记录下来一块与你分享。也希望你记住我的地址，你可以把它添加到你的收藏夹，也可以复制下来告诉你的朋友们。让大家一起分享吧。 </p>
      <p>Welcome to my newly created profile! I hope you come back and check   frequently. I'll be posting some fresh and interesting things to share with you.   Feel free to bookmark this profile and recommend it to your friends. Let's all   share together! </p></td>
  </tr>
</table>

				<%end if%>				
		  </td>
        </tr>
      </table>
      <table width="680" height="46" border="0" cellpadding="0" cellspacing="0" background="images/logbottome.jpg">
        <tr>
          <td>&nbsp;</td>
        </tr>
    </table></td>
    <td width="40" valign="top">&nbsp;</td>
  </tr>
</table>
<!--#include file="end.asp"-->
</body>
</html>
