<!--#include file="../conn.asp"-->
<!--#include file="../admin/check_master.asp" -->
<!--#include file="../inc/publicfun.asp"-->
<html><head><meta http-equiv=content-type content="text/html; charset=gb2312">
<link href="../css/xmwuye.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="99%"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr valign="middle"> 
    <td height="40" colspan="5" bgcolor="#FFFFFF" class=new14 align="left"><div class="opt"> 
        <div align="center">用户日志管理</div>
      </div></td>
  </tr>
  <tr> 
    <td height="1" colspan="5" bgcolor="#336699" class=new14><spacer height="1" type="block"></td>
  </tr>
  <tr> 
    <td width="70%" height="25" bgcolor="#FFFFFF"> <div align="left"><strong>&nbsp;&nbsp;标题</strong></div></td>
    <td width="7%" bgcolor="#FFFFFF"><div align="center">查看</div></td>
    <td width="8%" bgcolor="#FFFFFF"><div align="center">置顶</div></td>
    <td width="8%" bgcolor="#FFFFFF"><div align="center">推荐</div></td>
    <td width="7%" bgcolor="#FFFFFF"><div align="center">删除</div></td>
  </tr>
  <tr> 
    <td height="1" colspan="5" background="../blogimages/dotbg.gif"><spacer height="1" type="block"></td>
  </tr>
  <%
sql="select * from ftblog order by writedate desc"
set rsblog=server.createobject("adodb.recordset")
rsblog.open sql,conn,1,1
if not rsblog.eof then
   wzrep =30
   wzpage = clng(request.querystring("page"))
   if len(wzpage) = 0 or wzpage = 0 then wzpage = 1
   rsblog.PageSize=wzrep
   rsblog.AbsolutePage=wzpage
   wzpagecount=rsblog.PageCount
   wzcount=rsblog.RecordCount
   for i = 0 to wzrep-1
   if rsblog.eof then exit for		  
%>
  <tr> 
    <td height="25" bgcolor="#FFFFFF"><div class="opt">&nbsp;&nbsp;<a href="blog_edit.asp?id=<%=rsblog("id")%>"><%=rsblog("writedate")%></a>&nbsp; 
        <a href="../admin_blog_edit.asp?id=<%=rsblog("id")%>"><%=rsblog("blogtitle")%></a></div></td>
    <td height="25" bgcolor="#FFFFFF" align="center"><div class="opt"><a href="../myblog.asp?id=<%=rsblog("id")%>&userid=<%=rsblog("userid")%>&blogtypeid=<%=rsblog("blogtypeid")%>" target="_blank">查看</a></div></td>
    <td height="25" bgcolor="#FFFFFF" align="center"><div class="opt"> 
        <%if rsblog("blogtop")=1 then%>
        <a href="blogop.asp?id=<%=rsblog("id")%>&op=top&v=0">取消</a> 
        <%else%>
        <a href="blogop.asp?id=<%=rsblog("id")%>&op=top&v=1">置顶</a> 
        <%end if%>
      </div></td>
    <td height="25" bgcolor="#FFFFFF" align="center"><div class="opt"> 
        <%if rsblog("blogtj")=1 then%>
        <a href="blogop.asp?id=<%=rsblog("id")%>&op=tj&t=0">取消</a> 
        <%else%>
        <a href="blogop.asp?id=<%=rsblog("id")%>&op=tj&t=1">推荐</a> 
        <%end if%>
      </div></td>
    <td height="25" bgcolor="#FFFFFF" align="center"><div class="opt"><a href="blogop.asp?id=<%=rsblog("id")%>&op=del&htm=<%=rsblog("bloghtmfile")%>&blogtypeid=<%=rsblog("blogtypeid")%>">删除</a></div></td>
  </tr>
  <tr> 
    <td height="1" colspan="5" background="../blogimages/dotbg.gif"><spacer height="1" type="block"></td>
  </tr>
  <%
rsblog.movenext
next
rsblog.close
%>
  <tr> 
    <td colspan="5" height="35"> &nbsp;共<font color=red><%= wzcount%></font>条 
      <font color=red><%= wzrep%></font>/页 共<font color=red><%= wzpagecount%></font>页 
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%= pagination(wzpagecount,"")%></td>
  </tr>
  <%else%>
  <tr> 
    <td colspan="5" height="25">你还没有任何文章</td>
  </tr>
  <%end if%>
</table>
</body>
</html>
<%closedb%>