?? chxdz.asp
字號:
<!--#include file="conn.asp"-->
<!--#include file="xshjyy.asp"-->
<%'---------程序編寫說明-------%>
<%'本程序由junping96編寫
'程序名稱:新世紀影院VOD播放系統(商業版)
'FileName: Chxdz.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 * from chxdz 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="139">[<%=rs("dateandtime")%>]</td>
<td bgcolor="#FFFFFF" height="22" width="370" align="left"> <a href=chxdzshow.asp?id=<%=rs("id")%>><%=rs("hostname")%></a></td>
<td bgcolor="#FFFFFF" height="22" width="60"><a href=chxdzdel.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=yczp.asp?page="&(curpage-1)&">上一頁</a> "
end if
if curpage<numpages then
response.write"<a href=yczp.asp?page="&(curpage+1)&">下一頁</a> "
end if
response.write"<a href=yczp.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 + -