<!--#include file="main.asp" -->
<%
sql="select * from photo_pic_club where F_id="&request("id")
set rs=server.createobject("adodb.recordset")                     
rs.open sql,conn,1,1                     
if rs.eof and rs.bof then                     
	response.write "<tr><td height=194 colspan=5 align=center>暂无内容</td></tr>"
else
%>
<!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><%=rs("F_username")%>_圈网_经商网</title>
<link href="css/global.css" rel="stylesheet" type="text/css">
<link href="css/index.css" rel="stylesheet" type="text/css">
<script language="JavaScript">
<!--
function checkForm() {
	
        if(document.recomment.content.value == "") {
		alert("内容不能为空！");
		recomment.content.focus();
		return false;
	}

	return true;
}
function img_jbw(o){
	var zoom=parseInt(o.style.zoom, 10)||100;zoom+=event.wheelDelta/12;if (zoom>0) o.style.zoom=zoom+'%';
	return false;
}
function openWindow(url) {
	var newWin = window.open(url,"","toolbar=no,status=no,menubar=no,width=330,height=260");
	return false;
}
function textLimitCheck(thisArea, maxLength){
    if (thisArea.value.length > maxLength){
      alert(maxLength + ' 个字限制. \r超出的将自动去除.');
      thisArea.value = thisArea.value.substring(0, maxLength);
      thisArea.focus();
    }
    /*回写span的值，当前填写文字的数量*/
    messageCount.innerText = thisArea.value.length;
}
//-->
</script>
<style type="text/css">
<!--
.STYLE1 {font-size: 10px}
-->
</style>
</head>
<body background="images/bj.gif">
<!--#include file="top.asp" -->
<table class="border2" cellspacing="0" cellpadding="0" width="770" align="center" 
bgcolor="white" border="0">
  <tbody>
    <tr align="left" height="40">
      <td width="2%"></td>
      <td width="96%" colspan="3"><table cellspacing="0" cellpadding="0" width="100%" border="0">
        <tbody>
          <tr>
            <td height="5"></td>
          </tr>
          <tr>
            <td bgcolor="#a6d688" colspan="3" height="1"></td>
          </tr>
          <tr align="left" height="20">
            <td width="1" bgcolor="#a6d688"></td>
            <td bgcolor="#e6e6e6">
<%sql2="select * from T_club where F_id="&rs("F_picid")
set rs2=server.createobject("adodb.recordset")                     
rs2.open sql2,conn,1,1                     
if rs2.eof and rs2.bof then                     
	response.write "<tr><td height=194 colspan=5 align=center>暂无内容</td></tr>"
else
F_co=trim(rs2("F_co"))
set rs1=server.createobject("adodb.recordset")
sql1="select * from T_ypxxone where xxone_id="&rs2("F_ypxxone")
rs1.open sql1,conn,1,1
xxone_id=rs1("xxone_id")
xxone=rs1("xxone")
rs1.close
%>&nbsp;导航：&nbsp;<a class="blue3ln" 
            href="index.asp">网站首页</a>&gt;&gt;<a 
class="no_underline" href="group.asp?id=<%=xxone_id%>"><%=xxone%></a>&gt;&gt;<b><a 
class="no_underline" 
href="club.asp?id=<%=rs2("F_id")%>"><%=rs2("F_name")%></a></b> &nbsp;&nbsp;
              <%end if 
				  rs2.close%> </td>
            <td width="1" bgcolor="#a6d688"></td>
          </tr>
          <tr>
            <td bgcolor="#a6d688" colspan="3" height="1"></td>
          </tr>
          <tr>
            <td height="5"></td>
          </tr>
        </tbody>
      </table></td>
      <td width="2%"></td>
    </tr>
  </tbody>
</table>
<table width="770" align="center">
  <tr><DIV class=col_body><UL>
<td align="center"><A onmousewheel="return img_jbw(this)" 
      href="<%=rs("F_pic")%>" target=_blank><IMG 
      src="<%=rs("F_pic")%>" border=0 class=borderpic title=点击可看原图 
      onmouseover="javascript:if(this.width>740)this.width=740;" 
      onload="javascript:if(this.width>740)this.width=740;"></A></td>
</UL></DIV></tr></table>
<table class="border2" cellspacing="0" cellpadding="0" width="760" align="center" 
bgcolor="white" border="0">
  <tbody>
    <tr align="left" height="30">
      <td width="2%"></td>
      <td class="con1" width="50%">图片名称：<%=rs("F_username")%> </td>
      <td class="con1" width="26%">上传时间：<%=rs("F_date")%> </td>
      <td class="con1" align="right" width="20%">&nbsp;</td>
      <td width="2%"></td>
    </tr>
    <tr>
      <td width="2%"></td>
      <td bgcolor="#d6d6d6" colspan="3" height="1"></td>
      <td width="2%"></td>
    </tr>
    <tr align="left" height="30">
      <td width="2%"></td>
      <td class="con1" width="96%" colspan="3">图片所在圈子：<b><%set rs1=server.createobject("adodb.recordset")
sql1="select * from T_club where F_id="&rs("F_picid")
rs1.open sql1,conn,1,1
id=rs1("F_id")
username=rs1("F_name")
rs1.close%><%=username%></b> -<a class="blue6ln" 
      href="club.asp?id=<%=id%>"> http://www.jsw360.com/club/club.asp?id=<%=id%> </a></td>
      <td width="2%"></td>
    </tr>
    <tr>
      <td width="2%"></td>
      <td bgcolor="#d6d6d6" colspan="3" height="1"></td>
      <td width="2%"></td>
    </tr>
    <tr align="left" height="30">
      <td width="2%"></td>
      <td class="con1" width="96%" colspan="3">图片上传者：<b>
<%set rs1=server.createobject("adodb.recordset")
if rs("F_user_goid")<>"" then
sql1="select * from T_member where F_id="&rs("F_user_goid")
else 
sql1="select * from T_member where F_id="&rs("F_userid")
end if
rs1.open sql1,conn,1,1
co=rs1("F_co")
goname=rs1("F_username")
goid=rs1("F_id")
coname=rs1("F_coname")
realname=rs1("F_realname")
rs1.close%><!--#include file="dns/dns.asp"--><%=realname%>(<%=goname%>)</b> - <a class="blue3" 
      href="<%=usertwourl%>"><%=usertwourl%></a> </td>
      <td width="2%"></td>
    </tr>
    <tr>
      <td width="2%"></td>
      <td bgcolor="#d6d6d6" colspan="3" height="1"></td>
      <td width="2%"></td>
    </tr>
    <tr>
      <td width="2%"></td>
      <td align="left" colspan="3" height="30"><%=rs("F_book")%> </td>
      <td width="2%"></td>
    </tr>
  </tbody>
</table>
<table class="border2" cellspacing="0" cellpadding="0" width="760" align="center" 
bgcolor="white" border="0">
  <tbody>
    <tr>
      <td width="2%"></td>
      <td class="con2" height="20"></td>
      <td></TD></td>
    </tr>
    <tr>
      <td width="2%"></td>
      <td class="con2" height="40"><b>相关评论</b></td>
      <td></TD></td>
    </tr>
  </tbody>
</table>
<table class="border2" cellspacing="0" cellpadding="0" width="760" align="center" 
bgcolor="white" border="0">
  <tbody>
<%set rst=server.createobject("adodb.recordset")
sqlt="select * from message_club where key1=4 and l_id="&rs("F_id")
rst.open sqlt,conn,1,1
do while not rst.eof%>
    <tr>
      <td width="2%"></td>
      <td class="con1" bgcolor="#d6d6d6">&nbsp; 发布者：<b><%=rst("username")%></b>  &nbsp;&nbsp;&nbsp;&nbsp;---&nbsp;<%=rst("data")%> </td>
      <td width="2%"></td>
    </tr>
    <tr>
      <td width="2%"></td>
      <td class="con1" colspan="2" height="25"><%=rst("message")%></td>
      <td width="2%"></td>
    </tr>
<%
rst.movenext
loop
rst.close%>
  </tbody>
</table>
<table class="border2" cellspacing="0" cellpadding="0" width="760" align="center" 
bgcolor="white" border="0">
  <tbody>
    <tr>
      <td colspan="3"></td>
    </tr>
    <tr>
      <td width="2%"></td>
      <td class="con1" colspan="2" height="25"><form target=_blank action="inc/club_server.asp" method="post" name="form1"><input name=user_id type=hidden value=<%=goid%>><input name=l_id type=hidden value=<%=rs("F_id")%>>
	  <input name=key type=hidden value=4><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
  <td height="30" colspan="2"><span class="a1"><b class="con2">发表评论</b></span></td>
  </tr>
<tr><td width="15%" height="25" align="right">评论名称:&nbsp;</td>
<td width="85%" height="30"><input name="username" type="text" id="username" value="<%=session("goname")%>" size="30"></td>
</tr><tr><td height="25" align="right">评论内容:&nbsp;</td>
<td height="25"><textarea name=msg cols=75 rows=5></textarea></td>
</tr><tr><td height="25">&nbsp;</td>
<td height="40">&nbsp;&nbsp;&nbsp;<input type="submit" name="Submit" value=" 提 交 ">&nbsp;&nbsp;&nbsp;&nbsp;
<input type="reset" name="Submit2" value=" 重 置 "></td></tr></table>
      </form></td>
      <td width="2%"></td>
    </tr>
  </tbody>
</table>
<%
rs.close
end if
%>
<!--#include file="bottom.asp" -->
</body>
</html>
