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

📄 list.php

📁 凌云新闻LyNews v1.0
💻 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">
<!--
td {  font-size: 9pt; color: #000000; text-decoration: none}
a:link {  color: #000000; text-decoration: none; font-size: 9pt}
a:active {  font-size: 9pt; color: #000000; text-decoration: none}
a:visited {  font-size: 9pt; color: #000000; text-decoration: none}
a:hover {  font-size: 9pt; color: #0000FF; text-decoration: underline}
-->
</style>
</head>
<body bgcolor="#FFFFFF" topmargin="0">
<p align="left"><a href="http://172.21.76.9/abzy_host.htm">遵义分行首页</a>
<?php
include("header.inc");
$pageok=18;
$query=mysql_query('select * from news1');
while ($array=mysql_fetch_row($query)){
echo ' <a href="list.php?lx='.$array[1].'&page=1">'.$array[0].'</a>';
}
echo "</p>";
$query=mysql_query("select * from news1 where newlx='$lx'");
$array=mysql_fetch_row($query);
echo '<p align="center"><b><font size="5" color="Blue">'.$array[0].'</font></b></p>';
echo '<table width="70%" border="0" bgcolor="#E0EFFE" align="center">';
$query=mysql_query("select count(*) from news where newlx='$lx'");
$array=mysql_fetch_row($query);
$pagejs=ceil($array[0]/$pageok);
$rows=($page-1)*$pageok;
$query=mysql_query("select newbt,newxlh,newdate,newdjcs from news where newlx='$lx' order by newdate desc,newtime desc limit $rows,$pageok");
while ($array=mysql_fetch_row($query)){
echo '<tr><td width="80%"><a href="list1.php?newxlh='.$array[1].'"  target="NEWS">'.$array[0].'</a><font color="red">('.$array[3];
echo ')</font></td><td width="20%"><p align="right"><font color="Blue">'.$array[2].'</font></td></tr>';
}
echo '</font></span></td></tr></table><p align="right">';
if ($page>1){
$page1=$page-1;
echo '<a href="list.php?lx='.$lx.'&page='.$page1.'">上一页</a>  ';
}
if ($page<$pagejs){
$page1=$page+1;
echo '<a href="list.php?lx='.$lx.'&page='.$page1.'">下一页</a>  ';
}
?>
<a href="javascript:window.close()">关闭窗口</a></p>
<hr>
<dl>
<p align="center"><font size="2"> <a href="http://172.21.76.9/LuoYvFeng/index.html">蓝雨工作室</a>版权所有</font></p>
</dl>
</body>
</html>

⌨️ 快捷键说明

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