📄 admin_gg_look.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="xshjyy.asp"-->
<%'---------程序编写说明-------%>
<%'本程序由junping96编写
'程序名称:新世纪影院VOD播放系统(商业版)
'FileName: Admin_gg_look.asp
'EditDate:2003-12-07
'Editer:junping96
'Email:junping96@163.com
'QQ: 249112913 249114058
'请尊重本人劳动,禁止修改版权,有任何问题请和我联系。
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta name="”keywords”" content="”新世纪影院VOD影视播放程序出售”">
<meta name="”description”" content="”新世纪影院VOD影视(商业版)出售”">
<title>新世纪影院</title>
<link rel="stylesheet" type="text/css" href="../css/css.css">
</head>
<body bgcolor="#FF9900" text="#000000" topmargin="1" leftmargin="1">
<center>
<%
dim pagesize,curpage,numpages
pagesize=16 '每页显示的数据条数.
if request.querystring("page")<>"" then
curpage=cint(request.querystring("page"))
else
curpage=1
end if
%>
<table width="581" border="0" cellspacing="1" cellpadding="0">
<tr>
<td height="22" bgcolor="#FFFFFF" align="center" valign="middle">新世纪影院现有公告</td>
</tr>
<tr>
<td height="22" bgcolor="#f0f0f0" valign="middle" align="center">
<%
set rs=server.createobject("adodb.recordset")
sql="select id,ggtitle,lx,dateandtime from gg order by id desc"
rs.open sql,conn,1,1
if rs.eof or bof then
response.write"目前没有公告"
else
rs.pagesize=pagesize
numpages=rs.pagecount
if curpage>numpages then
curpage=numpages
end if
rs.absolutepage=curpage
a=1
do while not rs.eof or bof
%>
<table width="573" border="0" cellspacing="1" cellpadding="0">
<tr align="center" valign="middle">
<td bgcolor="#FFFFFF" height="22" width="69">[<%=rs("lx")%>]</td>
<td bgcolor="#FFFFFF" height="22" width="440" align="left"><a href=admin_xg_gg.asp?id=<%=rs("id")%>><%=rs("ggtitle")%></a> <font color="#FF0000">[<%=rs("dateandtime")%>]</font></td>
<td bgcolor="#FFFFFF" height="22" width="60"><a href=admin_del_gg.asp?id=<%=rs("id")%>>[删除]</a></td>
</tr>
</table>
<%
rs.movenext
a=a+1
if a>pagesize then exit do
loop
end if
%>
<%
response.write"目前共有("&rs.recordcount&")条公告, "
response.write"共分为("&numpages&")页,当前为第"&curpage&"页 "
response.write"<a href=admin_gg_look.asp?page=1>首页</a> "
if curpage>1 then
response.write"<a href=admin_gg_look.asp?page="&(curpage-1)&">上一页</a> "
end if
if curpage<numpages then
response.write"<a href=admin_gg_look.asp?page="&(curpage+1)&">下一页</a> "
end if
response.write"<a href=admin_gg_look.asp?page="&numpages&">尾页</a> "
rs.close
set rs=nothing
%>
</td>
</tr>
</table>
</center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -