Add paging function to the Wanbo system's news system, without modifying the database, just changing a file, and that's fine.
If you add an insert page break in the background Webediter, it will be even more perfect. I haven't added this yet.
This example is to insert a page break character: {$html_page$} when entering news in the background.
The code is as follows, with detailed description
newshow.asp
<!--#includefile="siteinfo.asp"-->
<HTML>
<HEAD>
<TITLE><%=sitename%></TITLE>
<METAHTTP-EQUIV="Content-Type"C>
<linkhref="images/CSS.css"type=text/cssrel=stylesheet>
</HEAD>
<bodytopmargin="0">
<tablewidth="780"border="0"cellpacing="0"cellpadding="0">
<tr>
<tdcolspan="3"><!--#includefile="top.asp"--></td>
</tr>
<tr>
<tdwidth="145"align="left"valign="top"><!--#includefile="left.asp"--></td>
<tdalign="left"valign="top"><tablewidth="625"border="0"cellpacing="0"cellpadding="0">
<tr>
<tdwidth="17"height="20"></td>
<tdwidth="598"></td>
<tdwidth="10"></td>
</tr>
<tr>
<tdwidth="17"><%idd=trim(request.querystring("id"))
setrsr=server.createobject("adodb.recordset")
sql="select*fromNewswherePutout=trueandid="&idd
rsr.opensql,conn,1,3
ifnotrsr.eofthen
Newcontent=rsr("Newcontent")
Newtitle=rsr("Newtitle")
Putman=rsr("Putman")
kig=rsr("kig")
kig=kig+1
addtime=rsr("addtime")
rsr("kig")=kig
rsr.update
else
response.Write "The record cannot be found, a common source error has occurred. Please contact the administrator!"