📄 dispinvite.php
字号:
<?php
include("pwdsuper.php");
include("connect.inc.php");
include("char.inc.php");
$updataquery="UPDATE invite SET readed=1 WHERE id=".$id." LIMIT 1";
@mysql_query($updataquery,$conn)or die("error!");
$query=mysql_query('select * from invite 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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#dcf6ce" text="#666600" link="#009900" alink="#00FF00" vlink="#006600">
<table width="400" border="1" cellspacing="2" cellpadding="0" height="240" align="center" bordercolorlight="#009900" bordercolordark="#009900">
<tr>
<td height="18" width="60" bgcolor="#FFCC00">事因:</td>
<td height="18" colspan="3" bgcolor="#83d160">
<?php echo $array["whys"]; ?>
</td>
</tr>
<tr>
<td width="60" height="19" bgcolor="#FFCC00">标题:</td>
<td colspan="3" height="19" bgcolor="#83d160">
<?php echo $array["title"]; ?>
</td>
</tr>
<tr>
<td valign="top" height="119" bgcolor="#FFCC00">内容:</td>
<td colspan="3" valign="top">
<?php echo zlstr($array["memo"]); ?>
</td>
</tr>
<tr>
<td width="60" height="22" bgcolor="#FFCC00">发布人:</td>
<td width="136" height="22">
<?php echo $array["username"]; ?>
</td>
<td width="64" height="22" bgcolor="#FFCC00">被邀请人:</td>
<td width="110" height="22">
<?php echo $array["toname"]; ?>
</td>
</tr>
<tr>
<td width="60" height="22" bgcolor="#FFCC00">发布时间:</td>
<td width="136" height="22">
<?php echo $array["senddate"]; ?>
</td>
<td width="64" height="22" bgcolor="#FFCC00">联系:</td>
<td width="110" height="22">
<?php
if ($userid!=$array["userid"])echo '<a title="回复" href=wbinv.php?id='.$array["id"].'&userid='.$userid.'>发消息</a>';
else echo "发消息";
?>
</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 + -