📄 dispnews.php
字号:
<?php
include("pwdsuper.php");
include("connect.inc.php");
include("char.inc.php");
$query=mysql_query('select * from news where id='.$id,$conn);
$array=mysql_fetch_array($query);
if(!$array){
?>
<script language=vbscript>
alert ("对不起!你要的公告没有找到")
window.history.back()
</script>
<?php
}
?>
<html>
<head>
<SCRIPT LANGUAGE="JavaScript">
<!--
function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",50)
}
function low(which2){
clearInterval(highlighting)
which2.filters.alpha.opacity=60
}
function highlightit(cur2){
if (cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=10
else if (window.highlighting)
clearInterval(highlighting)
}
//-->
</script>
<style type="text/css">
<!--
td{font-size:12px;line-height:17px;}
a:active {text-decoration: none;}
a:link {text-decoration: none;}
a:hover{text-decoration: underline;}
a:visited {text-decoration: none;}
BODY{font-size:12px;line-height:17px;SCROLLBAR-FACE-COLOR: #83d160; SCROLLBAR-HIGHLIGHT-COLOR: #CCFF00; SCROLLBAR-SHADOW-COLOR: #CCFF00; SCROLLBAR-3DLIGHT-COLOR: #009900; SCROLLBAR-ARROW-COLOR: #006600; SCROLLBAR-TRACK-COLOR: ##99FF00; SCROLLBAR-DARKSHADOW-COLOR: #009900; }
-->
</style>
<title>::集中营新闻::<?php echo $array["title"]; ?></title>
</head>
<body bgcolor="#dcf6ce" text="#666600" link="#009900" alink="#00FF00" vlink="#006600">
<table width="373" border="1" cellspacing="2" cellpadding="5" align="center" height="329" bordercolorlight="#009900" bordercolordark="#009900">
<tr bgcolor="#83d160">
<td height="31" colspan="2">
<div align="center">
<?php echo $array["title"]; ?>
</div>
</td>
</tr>
<tr>
<td height="253" colspan="2">
<?php echo zlstr($array["memo"]); ?>
</td>
</tr>
<tr>
<td width="46%">作者: <?php echo $array["author"]; ?></td>
<td width="54%">发布人: <?php echo $array["publisher"]; ?></td>
</tr>
<tr>
<td width="46%">发文时间:
<?php echo $array["date"]; ?>
</td>
<td width="54%">来源:
<?php echo $array["newsfrom"]; ?>
</td>
</tr>
</table>
<p align="center"><a href="javascript:window.close()">关闭窗口</a></p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -