<!--#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><%=boke_name%>_<%=coname%>BLOG</title>
<link href="co1/1.css" rel="stylesheet" type="text/css" />
<link href="co1/global.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	background-color: #000000;
	margin-right: 0px;
	margin-bottom: 0px;
}
.STYLE1 {
	color: #FFFFFF;
	font-weight: bold;
}
.STYLE2 {color: #990000}
-->
</style></head>

<body>
  <table width="900" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td width="900" height="158" background="co1/header.jpg" 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://club.jsw360.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">
    <tr>
      <td background="co1/menu.gif" height="33"><table height="27" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="30" align="center">&nbsp;</td>
          <td width="40" align="center"><a href="<%=usertwourl%>" class="list_head"><strong>首页</strong></a></td>
          <td width="60" align="center"><a href="<%=usertwourl%>"><strong>个人资料</strong></a></td>
          <td width="40" align="center"><a href="<%=usertwourl%>"><strong>博客</strong></a></td>
          <td width="40" align="center"><a href="<%=usertwourl%>"><strong>相册</strong></a></td>
          <td width="60" align="center"><a href="<%=usertwourl%>"><strong>音乐MP3</strong></a></td>
          <td width="40" align="center"><a href="<%=usertwourl%>"><strong>留言</strong></a></td>
        </tr>
      </table></td>
    </tr>
</table>

  <table width="900" height="621" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td width="900" height="621" valign="top" background="co1/bg.gif"><table width="900" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="12" height="609">&nbsp;</td>
          <td width="188" valign="top"><table width="188" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="5" align="center" valign="middle"></td>
            </tr>
            <tr>
              <td align="center" valign="middle"><img src="../<%=pic%>" width="150" height="180" /><br><%=coname%></td>
            </tr>
            <tr>
              <td height="5"></td>
            </tr>
          </table>
            <table width="188" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="188" height="29" align="center" background="co1/block_1.gif"><span class="STYLE1">管理中心</span></td>
            </tr>
          </table>
            <table width="188" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="co1/lifebj1.gif" width="188" height="5" /></td>
              </tr>
            </table>
            <table width="188" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td background="co1/lifebj2.gif" width="188" height="50"><%if Request.Cookies("aspxnet")("CurUserName") = "" then%><table width="171" height="75" border="0" align="center" cellpadding="0" cellspacing="0"><FORM name=form1 action=../../ChkLogin.asp  method=post onSubmit="return checkForm()" target=_parent>
          <tr>
            <td height="22" align="center">名称: <input name="txtUserName" type="text" id="txtUserName" size="12"></td>
          </tr>
          <tr>
            <td height="25" align="center">密码: <input name="txtPassword" type="password" id="txtPassword" size="12"></td>
          </tr>
          <tr>
            <td align="center"><input type="submit" name="Submit" value="提交" />
              <a  href="../../Register.asp" target=_parent>
                <input type="reset" name="Submit2" value="重置" />
              </a></td>
          </tr>
          
          </form>
        </table>
            <%else%>
		<table width="194" height="35" border="0" align="center" cellpadding="0" cellspacing="0">
          
          <tr>
            <td height="25" align="left">
<DIV class=col_body><UL>
<LI><A href="../../user/">管理中心</A>- <A href="<%=usertwourl%>">我的主页</A>
<LI><A href="../../user/modify.asp">信息修改</A> - <A href="../../user/pic_individual.asp">我的个人相册</A></LI>
<LI><A href="../../user/rj_diarylist.asp">我的博客</A> - <A href="../../user/admin_mp3.asp">我的MP3管理</A></LI>
<LI><A href="../../user/BM_Bookmark.asp">友情博客管理</A> - <A href="../../user/book_individual.asp">留言管理</A></LI>
</UL></DIV></td>
          </tr>
        </table>
		<%end if%></td>
              </tr>
            </table>
            <table width="188" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="co1/lifebj3.gif" width="188" height="5" /></td>
              </tr>
            </table>
            <table width="188" height="10" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td></td>
              </tr>
            </table>
            <table width="188" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="188" height="29" align="center" background="co1/block_1.gif"><span class="STYLE1">博客分类</span></td>
              </tr>
            </table>
            <table width="188" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="co1/lifebj1.gif" width="188" height="5" /></td>
              </tr>
            </table>
            <table width="188" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="188" height="50" valign="top" background="co1/lifebj2.gif"><%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="96%" border="0" align="right" cellpadding="0" cellspacing="0">
                  <tr>
                  <%=bokesort%>
                  </tr>
                </table></td>
              </tr>
            </table>
            <table width="188" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="co1/lifebj3.gif" width="188" height="5" /></td>
              </tr>
            </table>
            <table width="188" height="10" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td></td>
              </tr>
            </table>
            <table width="188" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="188" height="29" align="center" background="co1/block_1.gif"><span class="STYLE1">最新博客列表</span></td>
              </tr>
            </table>
            <table width="188" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="co1/lifebj1.gif" width="188" height="5" /></td>
              </tr>
            </table>
            <table width="188" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="188" height="50" valign="top" background="co1/lifebj2.gif"><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=""co1/io.jpg""></td></tr>"
rs1.movenext
loop
boke_date=boke_date&"</table>"
rs1.close%><%=boke_date%></td>
              </tr>
            </table></td>
              </tr>
            </table>
            <table width="188" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="co1/lifebj3.gif" width="188" height="5" /></td>
              </tr>
            </table>
            <table width="188" height="10" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td></td>
              </tr>
            </table>
          </td>
          <td width="10">&nbsp;</td>
          <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="10" bgcolor="#E5DFD6"></td>
            </tr>
          </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td background="co1/bar.gif" height="32">&nbsp;<span class="hot STYLE2"><%=boke_name%></span></td>
            </tr>
          </table>
            <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
              <tr>
                <td><table width="95%" height="22" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td><%if boke_key2=1 then%><%=boke_jg%><%else%>未公开<%end if%></td>
                  </tr>
                </table></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="10" bgcolor="#E5DFD6"></td>
              </tr>
            </table> <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td background="co1/bar.gif" height="32">&nbsp;<span class="hot STYLE2">发表评论</span></td>
              </tr>
            </table>
            <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
              <tr>
                <td><table width="97%" height="29" border="0" align="left" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
                  <tr>
                    <td width="20">&nbsp;</td>
                    <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="8%" height="25" align="right">&nbsp;</td>
                  <td width="92%" 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="75" rows="6"></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></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="10" bgcolor="#E5DFD6"></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td background="co1/bar.gif" height="32">&nbsp;<span class="hot STYLE2">文章评论</span></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td bgcolor="#FFFFFF"><table width="98%" height="28" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td><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="co1/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>
		 <tr>
          <td colspan=4  bgcolor="#CCCCCC" height="1"></td>
        </tr>
        <%rs1.movenext
loop
rs1.close%>
      </table></td>
                  </tr>
                </table></td>
              </tr>
            </table>
            </td>
          <td width="13">&nbsp;</td>
        </tr>
      </table></td>
    </tr>
</table>
  <table width="900" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td background="co1/menu.gif">&nbsp;</td>
    </tr>
</table>

</body>
</html>
