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

📄 list2.php

📁 图书管理系统
💻 PHP
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<title>浏览小说</title>
<style type="text/css">
TABLE { color: #8000ff; LINE-HEIGHT: 20pt; FONT-FAMILY: "宋体"; FONT-SIZE: 12pt }
a:link {  color: #D033ff; FONT-FAMILY: "宋体"; FONT-WEIGHT: 100 ;  FONT-SIZE: 9pt; text-decoration: none}
a:hover {  color: #0000ff; FONT-FAMILY: "宋体";  FONT-WEIGHT: 100 ; FONT-SIZE: 9pt; text-decoration: none}
a:visited {  color: #D033FF; FONT-FAMILY: "宋体";  FONT-WEIGHT: 100 ; FONT-SIZE: 9pt; text-decoration: none}
</style>
</head>
<body background="bg.gif">
<?
include("header.inc");
$query=mysql_query("select sm from wenxue1 where smxlh='$smxlh'");
$array=mysql_fetch_row($query);
echo '<h1 align="center"><font color="#8000FF">'.$array[0].'</font></h1>';
$query=mysql_query("select count(*) from wenxue where smxlh='$smxlh'");
$array=mysql_fetch_row($query);
$pagejs=$array[0];
$page1=$page-1;
$query=mysql_query("select bt,nr from wenxue where smxlh='$smxlh' order by date,time limit $page1,1");
$array=mysql_fetch_row($query);
echo '<table border="0" width="100%"><tr><td width="5%" rowspan="2"></td><td width="90%">';
echo '<h1 align="center">'.$array[0].'</h1>';
echo  nl2br(stripslashes($array[1])).'</td><td width="5%" rowspan="2"></td></tr><tr><td width="90%"><p align="right">';
if ($page>1){
$page1=$page-1;
echo '<a class="lyf" href="list2.php?smxlh='.$smxlh.'&page='.$page1.'">上一页</a>  ';
}
if ($page<$pagejs){
$page1=$page+1;
echo '<a class="lyf" href="list2.php?smxlh='.$smxlh.'&page='.$page1.'">下一页</a>  ';
}
?>
<a class="lyf" href="javascript:window.close()">关闭窗口</a>
  </tr>
</table>

<p align="center"><img src="lygzs.gif" width="143" height="22"
alt="lygzs.gif (3234 字节)"></p>
</body>
</html>

⌨️ 快捷键说明

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