📄 ann_suu.php
字号:
<?
include('config.php');
include_once('function.php');
mysql_select_db($dbname);
$ann_job=getjob($_POST['usern']);
if (isadmin($_POST['usern'],1))
{ $ann_mod="comp";
$query_r="update all_announce set ann_yes='false' where ann_mod='comp'";
$query_s="update all_announce set ann_yes='true' where ann_mod='comp' and ann_time=".$_POST['isecho'][0];
}
elseif (isadmin($_POST['usern']))
{
$ann_mod="clas";
$query_r="update all_announce set ann_yes='false' where ann_mod='clas' and ann_job='".$ann_job."'";
$query_s="update all_announce set ann_yes='true' where ann_mod='clas' and ann_job='".$ann_job."' and ann_time=".$_POST['isecho'][0];
}
else exit;
if (mysql_query($query_r))
mysql_query($query_s);
echo mysql_error();
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>ann_suu</title>
<meta HTTP-EQUIV=REFRESH CONTENT='100; URL=modpage.php?mod=ann&count=0 '>
<link href="css.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#F3F7FC" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><table width="94%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F3F7FC">
<tr>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="tianchong">发布成功</td>
</tr>
</table>
<table width=45% border=1 align="center" cellpadding=0 cellspacing=0 class="table_kuang">
<tr >
<td class=tianchong>成功</td>
</tr>
<tr >
<td class="size10"><br>
<br>
状态:您已经成功发布此通知<br>
<ul>
<li><a href="modpage.php?mod=ann&count=0">按此返回之前的页面</a></li>
<br>
</ul></td>
</tr>
<tr align=left>
<td > </td>
</tr>
</table></td>
</tr>
</table>
<br></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -