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

📄 list1.php

📁 图书管理系统
💻 PHP
字号:
<html>
<head>
<title>浏览章节</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<?
include("header.inc");
$query=mysql_query("select sm,djcs,zz from wenxue1 where smxlh='$smxlh'");
$array=mysql_fetch_row($query);
$array[1]++;
$sm1=$array[0];
$zz1=$array[2];
mysql_query("update wenxue1 set djcs='$array[1]' where smxlh='$smxlh'");
$query=mysql_query("select count(*) from wenxue where smxlh='$smxlh'");
$array=mysql_fetch_row($query);
if ($array[0]==1){
echo '<meta http-equiv="refresh" content="0;URL=list2.php?smxlh='.$smxlh.'&page=1">';
echo '</head><body></body></html>';
exit;
}
?>
<style type="text/css">
.p16 {        color: #0000ff; FONT-FAMILY: "宋体";  FONT-WEIGHT: 700 ; FONT-SIZE: 16pt }
.p9 {        color: #ff0000; FONT-FAMILY: "宋体";  FONT-WEIGHT: 100 ; FONT-SIZE: 9pt }
body {        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>
<?
$query=mysql_query("select * from wenxue2");
while ($array=mysql_fetch_row($query)){
echo '  <a class="lyf" href="list.php?lx='.$array[1].'&page=1">'.$array[0].'</a>';
}
echo '</p><p align="center" class="p16">'.$sm1.'<font class="p9">......'.$zz1.'</font></p>';
echo '<table border="4" width="100%">';
$aa=0;
$query=mysql_query("select bt from wenxue where smxlh='$smxlh' order by date,time");
while ($array=mysql_fetch_row($query)){
$aa++;
echo '<tr><td width="25%"><p align="center"><a href="list2.php?smxlh='.$smxlh.'&page='.$aa.'">'.$array[0].'</a></td>';
if ($array=mysql_fetch_row($query)){
$aa++;
echo '<td width="25%"><p align="center"><a href="list2.php?smxlh='.$smxlh.'&page='.$aa.'">'.$array[0].'</a></td>';
} else {
echo '<td width="25%"> </td>';
}
if ($array=mysql_fetch_row($query)){
$aa++;
echo '<td width="25%"><p align="center"><a href="list2.php?smxlh='.$smxlh.'&page='.$aa.'">'.$array[0].'</a></td>';
} else {
echo '<td width="25%"> </td>';
}
if ($array=mysql_fetch_row($query)){
$aa++;
echo '<td width="25%"><p align="center"><a href="list2.php?smxlh='.$smxlh.'&page='.$aa.'">'.$array[0].'</a></td>';
} else {
echo '<td width="25%"> </td></tr>';
}
}
?>
<tr><td width="100%" colspan="4"><p align="right">
<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 + -