📄 baodian.asp
字号:
<% Response.Buffer=false %>
<!--#include file="../inc/dbconn1.inc"-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>乐清人才网</title>
<meta content="text/html; charset=gb2312" http-equiv="Content-Type">
<STYLE type=text/css>TABLE {
FONT-SIZE: 9pt; LINE-HEIGHT: 12pt
}
.bord {
BACKGROUND: #ffffff; BORDER-BOTTOM: rgb(238,238,238) 1px solid; BORDER-LEFT: rgb(128,128,128) 1px solid; BORDER-RIGHT: rgb(238,238,238) 1px solid; BORDER-TOP: rgb(128,128,128) 1px solid; FONT-FAMILY: "宋体"; FONT-SIZE: 9pt; FONT-WEIGHT: normal
}
.sbtxt { color: #000000; font-family: 宋体; font-size: 12px; text-decoration: none }
.sblue { color: #0000cc; font-family: 宋体; font-size: 12px; text-decoration: none }
.sorenge { color: #ff6600; font-family: 宋体; font-size: 12px; text-decoration: none }
a:hover { color: #0000ff; font-family: 宋体; font-size: 12px; text-decoration: none }
.swtxt { color: #ffffff; font-family: 宋体; font-size: 12px; text-decoration: none }
.shtxt { color: #666666; font-family: 宋体; font-size: 12px; text-decoration: none }
.bftxt { color: #FFFFFF; font-family: 宋体; font-size: 12px; text-decoration: none }
.hstxt { color: #FF0000; font-family: 宋体; font-size: 12px; text-decoration: none }
</style>
<SCRIPT LANGUAGE="JavaScript">
<!--//
function checks()
{
if (isNaN(go2to.page.value))
alert("请正确填写转到页数!");
else if (go2to.page.value=="")
{
alert("请输入转到页数!");
}
else
go2to.submit();
}
//-->
</SCRIPT>
<meta content="Microsoft FrontPage 4.0" name="GENERATOR">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
</head>
<body bgcolor="#DFDFDF" topmargin="0">
<!--#include virtual="../inc/top.htm"-->
<table align=center bgcolor=#ffffff border=0 cellpadding=0 cellspacing=0
width=760>
<tr>
<td valign=top colspan="3">
<table border=0 cellpadding=0 cellspacing=0 width=95% align="center">
<tr valign="bottom">
<td height=20 colspan="3"><font color="#666600" ><b>职场宝典-></b></font></td>
</tr>
<tbody>
<tr>
<td height=85 colspan="3" valign="top">
<table border="0" cellpadding="2" cellspacing="0" height="0" bordercolor="#316594" bordercolordark="#FFFFFF" width="100%">
<% set rs=server.createobject("adodb.recordset")
if not isempty(request("page")) then
pagecount=cint(request("page"))
else
pagecount=1
end if
sq2="select * from zhichang order by id desc"
rs.open sq2,conn,1,1
rs.pagesize=60
if pagecount>rs.pagecount or pagecount<=0 then
pagecount=1
end if
rs.AbsolutePage=pagecount %>
<tr> <% if rs.pagecount=1 then %>
<td ?height="19" colspan="2" valign="bottom" height="25"><font color="#000000" >共有[<font color="#333399"><%=rs.recordcount%></font>]条宝典法则
以下是[<font color="#333399">1~</font><font color="#333399"><%=rs.recordcount%></font>]条</font></td>
</tr>
<%else%>
<tr>
<td colspan="2" valign="bottom" height="25"><font color="#000000">
<% page_start=(pagecount-1)*rs.pagesize
if pagecount=1 then page_start=1
page_end=rs.pagesize*pagecount
if pagecount*rs.pagesize=>rs.recordcount then page_end=rs.recordcount end if%>共有[<font color="#ff0000"><%=rs.recordcount%></font>]条宝典法则
以下是[<font color="#333399"><%=page_start%><font color="#333399">~</font><%=page_end%></font>]条</font></td>
<tr>
<td colspan="2" valign="bottom"></td>
<tr>
<td colspan="9" valign="bottom"><% response.write"<form name=go2to form method=Post action='baodian.asp?key="+key+"&jylb="+jylb+"'>"
response.write "<font color='#000064'></font>"
if pagecount=1 then
response.write "<font color='#000064'><font size=2>首页 上一页</font></font> "
else
response.write "<a href=baodian.asp?page=1&key="+key+"&jylb="+jylb+"><font color='0000BE'><font size=2>首页</font></font></a> "
response.write "<a href=baodian.asp?page="+cstr(pagecount-1)+"&key="+key+"&jylb="+jylb+"><font color='0000BE'><font size=2>上一页</font></font></a> "
end if
if rs.PageCount-pagecount<1 then
response.write "<font color='#000064'><font size=2>下一页 尾页</font></font>"
else
response.write "<a href=baodian.asp?page="+cstr(pagecount+1)+"&key="+key+"&jylb="+jylb+"><font color='0000BE'><font size=2>下一页</font></font></a> "
response.write "<a href=baodian.asp?page="+cstr(rs.PageCount)+"&key="+key+"&jylb="+jylb+"><font color='0000BE'><font size=2>尾页</font></font></a>"
end if
response.write "<font color='000064'> <font size=2>页次:<font color=blue>"&pagecount&"</font>/"&rs.pagecount&"页</font></font>"
response.write "<font color='000064'> <font size=2>转到第<input type='text' name='page' size=2 maxLength=3 style='font-size: 9pt; color:#00006A; position: relative; height: 18' value="&PageCount&">页</font></font> "
response.write "<input class=button type='button' value='确 定' onclick=checks() style='font-family: 宋体; font-size: 9pt; color: #000073; position: relative; height: 19'>" %>
</td>
<%end if%>
<tr align="left" valign="middle">
<td height="18" colspan="2">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#CCCCCC">
<td height="1"></td>
</tr>
</table>
</td>
</tr>
<% do while not rs.eof %>
<tr align="left">
<td height="20" valign="center">·<a class="sbtxt" href='baodianviews.asp?uid=<%=rs("id")%>'><u><%=rs("title")%></u></a>(<%=rs("idate")%>)</td>
<% c=c+1
rs.movenext
if rs.eof then exit do%>
<td height="20" valign="center">·<a class="sbtxt" href='baodianviews.asp?uid=<%=rs("id")%>'><u><%=rs("title")%></u></a>(<%=rs("idate")%>)</td>
</tr>
<% c=c+1
rs.movenext
if c>=60 then exit do
loop
rs.close
set rs=nothing %>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td valign=top colspan="3" height="30"> </td>
</tr>
</table>
<table width="760" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><!--#include virtual="../inc/down.htm"--></td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -