<!--#include file="user.asp"-->
<%
' 用户ID:Uid
' 用户名：ucuser
' 用户性别：Gender
' 注册时间：RDate
' 最后一次登陆时间：Finallylogin
' 最后一次登陆地址：userlocal
' 空间头像：homehead2
' 空间名称：Namespace
' 空间签名：sNamespace
' 空间地址：Myurl
' 空间权限：Competence
' 空间开通时间：homeRDate
'状态信息： myspace  Dinner rent HI
'登陆返回地址：geturl
%>
<%
id=request("id")
if ID="" or IsNumeric(ID)<>true then
response.write"请输入正确的ID号！"
	response.end
end if
sql="select * from H_pic  where  id="&id&""
set rs=server.createobject("adodb.recordset")                     
rs.open sql,conn,1,1 
if rs.eof then
response.Write "没有这个照片，或者这个是系统的BUG，请联系系统开发商http://hn22.com/ 错误信息：H_pic"
response.End()
else
H_name=rs("H_name")
H_pic=rs("H_pic")
H_txt=rs("H_txt")
h_HTR=rs("h_HTR")
Rdate=rs("RDate")
end if
	'更新浏览记录
upsql="Update H_pic set h_HTR="&h_HTR&"+1 where id="&id&""
conn.execute(upsql)
%>
<!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 valign="top">
		
		  <table width="638" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td height="30" align="left" ><span class="lv" style=" font-weight:bold"><%=H_name%></span> <span class="postspan">Post:<%=RDate%> 人气:<%=picdianji%></span></td>
            </tr>
            <tr>
              <td height="1" bgcolor="#CCCCCC"></td>
            </tr>
            <tr>
              <td height="39" valign="top" style="padding-top:10px;"><a href="../../UpLoadUC/<%=H_pic%>" target="_blank"><img src="../../UpLoadUC/<%=H_pic%>"  border="0" onload='javascript:if(this.width>588){this.width=588}' /></a></td>
              </tr>
            <tr>
              <td height="18" valign="top" style="padding-top:10px;">照片说明：<%=H_txt%></td>
              </tr>
            <tr>
              <td height="30" valign="top" style="padding-top:10px;">
 			  <%
sql="select top 1 ID from H_pic  where  uid="&uid&" and id > "&id&" order by ID asc"
set rs=server.createobject("adodb.recordset")                     
rs.open sql,conn,1,1 
if not rs.eof then
%>
<a href="pic_read.asp?id=<%=rs("id")%>&UID=<%=uid%>">上一张</a>
<%
end if
 %>
 			  <%
sql="select top 1 ID from H_pic  where uid="&uid&" and  id < "&id&" order by ID desc"
set rs=server.createobject("adodb.recordset")                     
rs.open sql,conn,1,1 
if not rs.eof then
%>
<a href="pic_read.asp?id=<%=rs("id")%>&UID=<%=uid%>">下一张</a>
<%
end if
 %>			  </td>
            </tr>
            <tr>

			
              <td height="1" align="left" background="images/k_1.gif"></td>
            </tr>
            <tr>
              
            </tr>
			
          </table>
	      </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>
