?? view.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: #ff00ff; text-decoration: none}
a:visited { font-size: 9pt; color: #0000ff; text-decoration: none}
a:hover { font-size: 9pt; color: #0000FF; text-decoration: underline}
-->
</style>
</head>
<body bgcolor="#B1D6C9" topmargin="0" leftmargin="0">
<table border="0" width="100%">
<?php
include("header.inc");
$query=mysql_query("select * from news1 where newlx='$lx'");
$array=mysql_fetch_row($query);
echo '<tr><td width="100%"><font size="3" color="#8000FF">***'.$array[0].'***</font></td></tr>';
$query=mysql_query("select newbt,newxlh,newtime,newdjcs from news where newlx='$lx' order by newdate desc,newtime desc limit 10");
while ($array=mysql_fetch_row($query)){
echo '<tr><td width="80%"><img src="http://172.21.76.9/php/img/purpleb.gif"><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">'.substr($array[2],0,5).'</font></td></tr>';
}
echo '<tr><td width="100%"><p align="right"><a href="list.php?lx='.$lx.'&page=1" target="_blank">更多新聞......</a></p></td></tr>';
?>
</table>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -