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

📄 laos_shujuan.asp

📁 二月小说 看小说必备工具 默认的管理路径为:admin/index.asp 用户名:admin 密码:admin
💻 ASP
字号:
<%
'======================================================================
'=                              二月小说v1.1                           =
'=              Copyright (c) 2008-2010 ,老四(QQ7280091)开发           =
'=                      All rights reserved.                          =
'=--------------------------------------------------------------------=
'=                     演示网址:www.2yue.com.cn                        =
'=                     官方网址:vip.2yue.com.cn                           =
'=                     官方QQ群:7500701                                =
'=--------------------------------------------------------------------=
'=                     文件名称:laos_shujuan.asp                        =
'=                     摘    要:书卷管理                               =
'=--------------------------------------------------------------------=
'=                     用   途:小说、小说连载                        =
'=                     最后更新:2008-11-1                            =
'======================================================================
%><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><!--#include file="laos_checkuser.asp"-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>书卷管理</title>
<link href="../images/style.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="800" border="0" align="left" cellpadding="0" cellspacing="0">
  <tr>
    <td width="10"></td>
    <td width="790"><table width="790" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="92" height="24" align="center" background="../images/admin/right_top.png" class="14"><strong>书卷管理</strong></td>
    <td width="698" background="../images/admin/right_topbg.png" bgcolor="#FFFFFF"></td>
  </tr>
</table>
<table width="790" border="0" align="center" cellpadding="0" cellspacing="0" class="bian">
  <tr>
    <td height="485" valign="top" bgcolor="f2f7f9"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="20"></td>
        </tr>
      </table><table width="96%" border="0" align="center" cellpadding="0" cellspacing="1">
<tr>
            <td height="25" colspan="4" align="center"><table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#B5DAF4">
                 <tr>
                   <td height="24" colspan="5" align="left" bgcolor="#D8EBFA" class="13"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0"><%
bid=request("bid")
set res=server.CreateObject("adodb.recordset")
sql="select name from laos_shu where bid="&bid
res.open sql,conn,1,1
if not res.eof then
shuname=res("name")
end if
res.close
set res=nothing
%>
                     <tr>
                       <td width="92%" align="left"><a class="bai" href="laos_editshu.asp?bid=<%=bid%>"><%=shuname%></a></td>
                       <td width="3%" align="left"><img src="../images/admin/write.jpg" width="14" height="14" /></td>
                       <td width="5%" align="left"><a class="bai" href="laos_addshujuan.asp?bid=<%=bid%>">添加</a></td>
                     </tr>
                   </table></td>
                 </tr>
                <tr>
                   <td width="8%" height="24" align="center" bgcolor="#E1F0FB" class="13">ID</td>
                   <td width="20%" align="center" bgcolor="#E1F0FB">书卷</td>
                   <td width="55%" align="center" bgcolor="#E1F0FB">名称</td>
                   <td width="10%" align="center" bgcolor="#E1F0FB">操作</td>
                   <td width="7%" align="center" bgcolor="#E1F0FB">删除</td>
                 </tr><%
pagenum=15
set rs=server.createobject("adodb.recordset")
sql="select jid,sjpx,shujuan from laos_shujuan where bid="&bid&" order by sjpx desc"
rs.open sql,conn,1,1%><%
if rs.bof and rs.eof then response.write"<tr><td height=24 colspan=5 align=center bgcolor=#F5FBFE>暂无书卷</td></tr>"
i=0
page=cint(request("page"))
rs.pagesize=pagenum
if page="" or page<1 then page=1
total=rs.pagecount
tot=rs.recordcount
if page>total then
page=total
else
rs.absolutepage = page
end if
do while not rs.eof
i=i+1
%>
                 <tr>
                   <td height="24" align="center" bgcolor="#F5FBFE"><%=rs("jid")%></td>
                   <td height="24" align="center" bgcolor="#F5FBFE"><a href="laos_jie.asp?jid=<%=rs("jid")%>&bid=<%=bid%>">第 <%=rs("sjpx")%> 卷</a></td>
                   <td height="24" align="center" bgcolor="#F5FBFE"><a href="laos_jie.asp?jid=<%=rs("jid")%>&bid=<%=bid%>"><%=rs("shujuan")%></a></td>
                   <td height="24" align="center" bgcolor="#F5FBFE"><a href="laos_editshujuan.asp?jid=<%=rs("jid")%>&page=<%=page%>&bid=<%=bid%>">修改</a></td>
                   <td height="24" align="center" bgcolor="#F5FBFE"><a href="laos_save.asp?act=delshujuan&jid=<%=rs("jid")%>&page=<%=page%>&bid=<%=bid%>">删除</a></td>
                 </tr>
                 <%rs.movenext
if i>=rs.pagesize then exit do
loop
rs.close
Set rs=nothing
%><tr><td height="24" colspan="5" align="center" bgcolor="#F5FBFE"><%response.write"<div id=""page"">共"&tot&"条记录 "&pagenum&"条/页 页次:"&page&"/"&total&"页 "
if total<=1 then
response.write""
elseif total>page and page<=1 then
response.write"首页 上一页 <A HREF=?page="&page+1&"&bid="&bid&">下一页</A> <A HREF=?page="&total&"&bid="&bid&">尾页</a>"
elseif total>page and page>1 then
response.write"<A HREF=?page=1&bid="&bid&">首页</a> <A HREF=?page="&page-1&"&bid="&bid&">上一页</A> <A HREF=?page="&page+1&"&bid="&bid&">下一页</A> <A HREF=?page="&total&"&bid="&bid&">尾页</a>"
elseif total<=page then
response.write"<A HREF=?page=1&bid="&bid&">首页</a> <A HREF=?page="&page-1&"&bid="&bid&">上一页</A> 下一页 尾页"
end if
%></td>
                   </tr>
            </table></td>
          </tr>
    </table>
      <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="10"></td>
        </tr>
      </table></td>
  </tr>
</table></td>
  </tr>
</table>
<%conn.close
set conn=nothing%>
</body>
</html>

⌨️ 快捷键说明

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