⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 admin_pl.asp

📁 MisCMS源码
💻 ASP
字号:
<!--#include file="../inc/conn.asp"-->
<!--#include file="../inc/MyFunction.Asp"-->
<% call master %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>评论</title>
<link href="../css/admincss.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="80%"  border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#0099CC">
  <tr bgcolor="#FFFFFF">
    <td colspan="6" align="center" height="25">评论管理</td>
  </tr>
  <% set ly=server.CreateObject("adodb.recordset")
  	 ly.open"select * from plxx order by plid desc",conn,1,1
  	 if ly.eof then %>
  <tr bgcolor="#FFFFFF">
    <td colspan="6" align="center">暂无人评论!</td>
  </tr>
  <% Else
  	 mypage=request("page")
	 if mypage="" or mypage<1 then
	 mypage=1
	 end if %>
  <tr bgcolor="#75D2FF">
    <td width="10%" align="center">评论人</td>
    <td width="25%" align="center">评论文章</td>
    <td width="50%" align="center">内容</td>
    <td width="10%" align="center">时间</td>
    <td width="5%" align="center">操作</td>
  </tr>
  <% ly.pagesize=15
  	 rec=cint(ly.pagesize)
  	 maxpage=cint(ly.pagecount)
	 sum=ly.recordcount
	 ly.absolutepage=mypage
	 cs=""
	 csz=""
	 i=0
	 do until ly.eof or i=15 %>
  <tr bgcolor="#FFFFFF">
    <td align="center"><%= ly(2) %></td>
    <td><% set wz=conn.execute("select t_tit from wzxx where t_id=" & ly(1) & "") %>
	<%= wz(0) %>
	<% wz.close
		set wz=nothing %></td>
    <td><%= ly(3) %></td>
    <td align="center"><%= ly(4) %></td>
    <td align="center"><a href="admin_do.asp?act=pldel&id=<%= ly(0) %>" onClick="{if(confirm('确定要删除吗?')){return true;}return false;}">删除</a></td>
  </tr>
  <% ly.movenext
  	 i=i+1
	 loop
	 scriptname=request.ServerVariables("SCRIPT_NAME") %>
  <tr bgcolor="#FFFFFF">
    <td colspan="6" align="center"><% call pagelist(sum,rec,maxpage,mypage,scriptname,cs,csz) %></td>
  </tr>
  <% End If
   	 ly.close
	 set ly=nothing %>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -