<!--#include file="../main.asp" -->
<%
sql1="select * from boke where boke_id="&request("id")&""
set rs1=server.createobject("adodb.recordset")
rs1.open sql1,conn,1,1
boke_name=rs1("boke_name")
boke_jg=rs1("boke_jg")
boke_id=rs1("boke_id")
blogdate=rs1("boke_date")
boke_co=trim(rs1("boke_co"))
boke_key2=trim(rs1("boke_key2"))
id= rs1("boke_id")
'用户信息调用
userid=rs1("boke_user_id")
set rs=server.createobject("adodb.recordset")
sql="select * from T_member where F_ID="&userid
rs.open sql,conn,1,1
co=trim(rs("F_co"))
goname=rs("F_username")
goid=rs("F_id")
coname=rs("F_coname")
realname=rs("F_realname")
pic=rs("T_pic")
rs.close
rs1.close%>
<!--#include file="../dns/dns.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=coname%></title>
<link href="css/1.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-image: url(images/bg.jpg);
}
.STYLE3 {font-weight: bold}
-->
</style>
</head>
<body>

<table width="900" border="0" align="center" cellpadding="0" cellspacing="0" class=bodyBg>
  <tr>
    <td width="900" height="172" background="images/blog01_02.gif" class=banner><TABLE class=title cellSpacing=0 cellPadding=0 border=0>
        <TBODY>
        <TR>
          <TD width=20></TD>
          <TD><%=coname%>的空间</TD>
          <TD width=20></TD></TR></TBODY></TABLE>
      <TABLE class=link cellSpacing=0 cellPadding=0 border=0>
        <TBODY>
        <TR>
          <TD width=20></TD>
          <TD>网址:<%=usertwourl%> > 
                <script>
function setCopy(_sTxt){try{clipboardData.setData('Text',_sTxt)}catch(e){}}
            </script>
            <a class=no_underline onClick="setCopy('<%=usertwourl%>');alert('已经把该圈子的网址复制到系统剪贴板，您可以使用（Ctrl+V或鼠标右键）粘贴功能，发送给您的朋友。','void 0')" 
href="javascript:;">复制</a> > <a class=no_underline 
href="javascript:window.external.AddFavorite('<%=usertwourl%>',%20'“<%=coname%>的blog”&http://qq.zgcren.com')" 
target=_self>收藏</a></TD>
          <TD width=20></TD></TR></TBODY></TABLE></td>
  </tr>
</table>
<table width="900" border="0" align="center" cellpadding="0" cellspacing="0" class=bodyBg>
  <tr>
    <td width="900" height="89" valign="top" background="images/blog01_04.gif" ><table width="85%" height="31" border="0" align="right" cellpadding="0" cellspacing="0">
      <tr>
        <td valign="bottom">
		   <a href="<%=usertwourl%>">首页</a>
		   <a href="<%=usertwourl%>">个人资料</a>
		   <a href="<%=usertwourl%>">博客</a>
		   <a href="<%=usertwourl%>">相册</a>
		   <a href="<%=usertwourl%>">音乐MP3</a>
		   <a href="<%=usertwourl%>">留言</a></td>
      </tr>
    </table></td>
  </tr>
</table>

<table width="900" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td width="202" height="410" valign="top" background="images/blog01_09.gif"><table width="202" height="292" border="0" cellpadding="0" cellspacing="0">
      
      <tr>
        <td align="center" valign="middle"><img src="../<%=pic%>" width="150" height="180" /></td>
      </tr>
      <tr><tr>
        <td height="20" align="center" valign="middle"><span class="STYLE3"><%=coname%></span></td>
      </tr>
        <td valign="top"><table width="202" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="202" height="49" align="center" background="images/blog01_05.gif"><b><font color=#ffffff>博客分类</font></b></td>
          </tr>

          <tr>
            <td height="135" valign="top"><%set rs1=server.createobject("adodb.recordset") 
sql1="select * from boke_sort where user_id="&userid
rs1.open sql1,conn,1,1
do while not rs1.eof
bokesort=bokesort&"<tr><td align=""center""><img src=""img/io1.jpg"" width=""8"" height=""8""></td><td height=20 align=left>&nbsp;<a href="&usertwourl&" class=STYLE2>"&rs1("bokesort")&"</A>"
bokesort=bokesort&"</td></tr><tr><td align=""center"" width=""8""></td><td height=""1"" background=""img/io.jpg""></td></tr>"
rs1.movenext
loop
rs1.close%><table width="91%" height="29" border="0" align="right" cellpadding="0" cellspacing="0">
<%=bokesort%>
            </table></td>
          </tr>
        </table></td>
      </tr>  <tr>
          <td height="49" align="center" background="images/blog01_05.gif"><b><font color=#ffffff>最新博客列表</font></b></td>
        </tr>
        <tr>
            <td height="50" valign="top"><table width="92%" height="22" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td><%sql1="select top 20 * from boke  order by boke_date desc"
set rs1=server.createobject("adodb.recordset")                     
rs1.open sql1,conn,1,1 
n=0
boke_date=boke_date&"<table>"
do while not rs1.eof 
boke_date=boke_date&"<tr><td width=""100%"">&nbsp;<a href=blog_"&co&".asp?id="&rs1("boke_id")&">"&left(rs1("boke_name"),14)&"</a></td></tr>"
boke_date=boke_date&"<tr><td height=""1"" background=""images/io.jpg""></td></tr>"
rs1.movenext
loop
boke_date=boke_date&"</table>"
rs1.close%><%=boke_date%></td>
              </tr>
            </table></td>
        </tr>
    </table></td>
    <td width="698" valign="top" background="images/bg.gif"><table width="650" border="0" align="center" cellpadding="0" cellspacing="0">
      
      <tr>
        <td height="25" align="left" background="images/bar.gif" style="BORDER-BOTTOM: #BFE0F3 1px dashed;BORDER-left: #BFE0F3 1px dashed;BORDER-right: #BFE0F3 1px dashed;BORDER-top: #BFE0F3 1px dashed;"><table width="97%" height="25" border="0" align="right" cellpadding="0" cellspacing="0">
          <tr>
            <td><span class="STYLE3"><font color="#0066CC"><%=boke_name%></font></span></td>
          </tr>
        </table></td>
      </tr><tr>
        <td height="25" align="right"><%=blogdate%>&nbsp;</td>
      </tr>
      <tr>
        <td height="1" background="images/io.jpg"></td>
      </tr>
    </table>
      <table width="90%" height="23" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="20"></td>
        </tr>
        <tr>
          <td><%if boke_key2=1 then%><%=boke_jg%><%else%>未公开<%end if%></td>
        </tr>
      </table>
      <table width="650" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="25" align="left" background="images/bar.gif" style="BORDER-BOTTOM: #BFE0F3 1px dashed;BORDER-left: #BFE0F3 1px dashed;BORDER-right: #BFE0F3 1px dashed;BORDER-top: #BFE0F3 1px dashed;"><table width="97%" height="25" border="0" align="right" cellpadding="0" cellspacing="0">
              <tr>
                <td><span class="STYLE3"><font color="#0066CC">发表评论</font></span></td>
              </tr>
          </table></td>
        </tr>
        <tr>
          <td><form action="blog_server.asp" method="post" name="form1" id="form1">
              <input name="id" type="hidden" value="<%=goid%>" />
              <input name="key" type="hidden" value="3" />
            <input name="goid" type="hidden" value="<%=boke_id%>" />
			<input name="co" type="hidden" value="<%=co%>" />
				  <input name="username" type="hidden" value="<% if session("goname")<>"" then%><%=session("goname")%><%else%>[匿名]<%end if%>" />
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="20%" height="25" align="right">&nbsp;</td>
                  <td width="80%" height="30"><font color="#FF0000"><% if session("goname")<>"" then%><%=session("goname")%><%else%>[匿名]<%end if%></font></td>
                </tr>
              <tr>
                <td height="25" align="right">内容:&nbsp;</td>
                <td height="25"><textarea name="msg" cols="70" rows="8"></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>
        </tr>
      </table>
      <table width="650" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="25" align="left" background="images/bar.gif" style="BORDER-BOTTOM: #BFE0F3 1px dashed;BORDER-left: #BFE0F3 1px dashed;BORDER-right: #BFE0F3 1px dashed;BORDER-top: #BFE0F3 1px dashed;"><table width="97%" height="25" border="0" align="right" cellpadding="0" cellspacing="0">
              <tr>
                <td><span class="STYLE3"><font color="#0066CC">最新评论</font></span></td>
              </tr>
          </table></td>
        </tr>
      </table>
      <table width="627" align="center">
        <% sql1="select * from message where user_id="&goid&" and goid="&id&" and key1=3 order by id desc"
set rs1=server.createobject("adodb.recordset")                     
rs1.open sql1,conn,1,1 
n=0
do while not rs1.eof 
n=n+1%>
        <tr>
          <td align="center"><img src="images/jt.gif" width="9" height="9" /></td>
          <td height=20 width=459 align=left>&nbsp;<%=rs1("username")%> </td>
          <td width=118><%=rs1("data")%></td>
        </tr>
        <tr>
          <td align="center" width="14"></td>
          <td height="1" background="img/io.jpg"></td>
          <td height="1" background="img/io.jpg"></td>
          <td width="16" height="1" background="img/io.jpg"></td>
        </tr>
        <tr>
          <td colspan=4><%=rs1("message")%></td>
        </tr>
        <%rs1.movenext
loop
rs1.close%>
      </table>
    </td>
  </tr>
</table>
<table width="900" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><img src="images/blog01_014.gif" width="900" height="63" alt="" /></td>
  </tr>
</table>
</body>
</html>
