<!--#include file="../Bmb.asp"-->
<%
id=request("id")
sql1="select * from boke where boke_user_id="&id&" and boke_id="&request("boke_id")&""
set rs1=server.createobject("adodb.recordset")
rs1.open sql1,conn,1,1
boke_name=rs1("boke_name")
boke_jg=rs1("boke_jg")
goid=rs1("boke_id")
blogdate=rs1("boke_date")
boke_co=trim(rs1("boke_co"))
boke_key2=trim(rs1("boke_key2"))
id=rs1("boke_user_id")
rs1.close%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=boke_name%>_<%=coname%>BLOG</title>
<link href="css/1.css" rel="stylesheet" type="text/css" />
<link href="css/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}
.STYLE3 {font-size: 12pt}
-->
</style></head>

<body>
<!--#include file="top.asp"-->
  <table width="900" height="621" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td width="900" height="621" valign="top" background="images/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"><A onmousewheel="return img_jbw(this)" 
      href="../../<%=pic%>" target=_blank><IMG 
      src="../../<%=pic%>" border=0 class=borderpic title=点击可看原图 
      onmouseover="javascript:if(this.width>150)this.width=150;" 
      onload="javascript:if(this.height>180)this.height=180;"></A><br><%=username%></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="images/block_1.gif"><span class="STYLE1">管理中心</span></td>
            </tr>
          </table>
            <table width="188" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="images/lifebj1.gif" width="188" height="5" /></td>
              </tr>
            </table>
            <table width="188" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td background="images/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="images/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="images/block_1.gif"><span class="STYLE1">博客分类</span></td>
              </tr>
            </table>
            <table width="188" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="images/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="images/lifebj2.gif"><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="images/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="images/block_1.gif"><span class="STYLE1">圈子列表</span></td>
              </tr>
            </table>
            <table width="188" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="images/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="images/lifebj2.gif"><table width="96%" height="25" border="0" align="right" cellpadding="0" cellspacing="0"><%=club2%>
                </table></td>
              </tr>
            </table>
            <table width="188" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="images/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="images/block_1.gif"><span class="STYLE1">相册列表</span></td>
              </tr>
            </table>
            <table width="188" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="images/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="images/lifebj2.gif"><table width="96%" border="0" align="right" cellpadding="0" cellspacing="0">
      <%=picsort%>
                </table></td>
              </tr>
            </table>
            <table width="188" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="images/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="images/block_1.gif"><span class="STYLE1">友情博客</span></td>
              </tr>
            </table>
            <table width="188" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="images/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="images/lifebj2.gif"><table width="96%" height="26" border="0" align="right" cellpadding="0" cellspacing="0">
                  <tr>
                    <td><%=links%></td>
                  </tr>
                </table></td>
              </tr>
            </table>
            <table width="188" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="images/lifebj3.gif" width="188" height="5" /></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="images/bar.gif" height="32"><span class="STYLE3">&nbsp;<span class="hot STYLE2"><%=boke_name%></span></span></td>
            </tr>
			 <tr>
              <td bgcolor="#CCCCCC" height="1"></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="images/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="<%=id%>" />
              <input name="key" type="hidden" value="3" />
            <input name="goid" type="hidden" value="<%=goid%>" />
				  <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="7%" height="25" align="right">&nbsp;</td>
                  <td width="93%" 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="images/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="&id&" and goid="&goid&" 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>
		<tr>
          <td colspan=4 height="1" bgcolor="#CCCCCC"></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="images/menu.gif">&nbsp;</td>
    </tr>
</table>

</body>
</html>
