📄 list.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: #ff0000; FONT-FAMILY: "宋体"; FONT-SIZE: 9pt }
a.lyf:link { color: #D033ff; FONT-FAMILY: "宋体"; FONT-WEIGHT: 100 ; FONT-SIZE: 9pt; text-decoration: none}
a.lyf:hover { color: #0000ff; FONT-FAMILY: "宋体"; FONT-WEIGHT: 100 ; FONT-SIZE: 9pt; text-decoration: none}
a.lyf:visited { color: #D033FF; FONT-FAMILY: "宋体"; FONT-WEIGHT: 100 ; FONT-SIZE: 9pt; text-decoration: none}
a:link { color: #0033ff; FONT-FAMILY: "宋体"; FONT-WEIGHT: 700 ; FONT-SIZE: 16pt; text-decoration: none}
a:hover { color: #0000ff; FONT-FAMILY: "宋体"; FONT-WEIGHT: 700 ; FONT-SIZE: 16pt; text-decoration: none}
a:visited { color: #0033FF; FONT-FAMILY: "宋体"; FONT-WEIGHT: 700 ; FONT-SIZE: 16pt; text-decoration: none}
</style>
</head>
<body background="bg.gif">
<p>
<?
include("header.inc");
$pageok=20;
$query=mysql_query("select * from wenxue2");
while ($array=mysql_fetch_row($query)){
if ($array[1]==$lx){
$lxmc=$array[0];
}
echo ' <a class="lyf" href="list.php?lx='.$array[1].'&page=1">'.$array[0].'</a>';
}
echo '</p><h1 align="center"><font color="#8000FF">'.$lxmc.'</font></h1>';
echo '<table border="4" width="100%">';
$query=mysql_query("select count(*) from wenxue1 where lx='$lx'");
$array=mysql_fetch_row($query);
$pagejs=ceil($array[0]/$pageok);
$rows=($page-1)*$pageok;
$query=mysql_query("select sm,smxlh,djcs,zz from wenxue1 where lx='$lx' order by zz,sm limit $rows,$pageok");
while ($array=mysql_fetch_row($query)){
echo '<tr><td width="50%"><p align="center"><a href="list1.php?smxlh='.$array[1].'">'.$array[0].'</a>('.$array[2].')<font color="Blue">......</font>'.$array[3].'</td>';
if ($array=mysql_fetch_row($query)){
echo '<td width="50%"><p align="center"><a href="list1.php?smxlh='.$array[1].'">'.$array[0].'</a>('.$array[2].')<font color="Blue">......</font>'.$array[3].'</td>';
} else {
echo '<td width="50%"> </td></tr>';
}
}
echo '<tr><td width="100%" colspan="2"><p align="right">';
if ($page>1){
$page1=$page-1;
echo '<a class="lyf" href="list.php?lx='.$lx.'&page='.$page1.'">上一页</a> ';
}
if ($page<$pagejs){
$page1=$page+1;
echo '<a class="lyf" href="list.php?lx='.$lx.'&page='.$page1.'">下一页</a> ';
}
?>
<a class="lyf" href="javascript:window.close()">关闭窗口</a>
</td>
</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 + -