bbsgetmsg.php

来自「bbs server linux平台下软件源码」· PHP 代码 · 共 49 行

PHP
49
字号
<?php	/**	 * This file lists articles to user.	 * $Id: bbsgetmsg.php,v 1.10 2003/05/19 10:32:22 kcn Exp $	 */    $setboard=0;    require("funcs.php");    if ($loginok != 1)	html_nologin();    else    {        html_init("gb2312");        if ($currentuser["userid"]=="guest")            $ret=0;        else            $ret=bbs_getwebmsg($srcid,$msgbuf,$srcutmpnum,$sndtime);?><meta http-equiv="pragma" content="no-cache"><style type="text/css">A {color: #0000FF}</style><?php        if ($ret)		{?><bgsound src="/sound/msg.wav"><body style="BACKGROUND-COLOR: #f0ffd0"><table width="100%">  <tr>    <td valign="top" nowrap="nowrap"><font color="green"><?php echo $srcid; ?></font> (<?php echo strftime("%b %e %H:%M", $sndtime); ?>): </td>    <td align="left" valign="top"><?php echo htmlspecialchars($msgbuf); ?></td>    <td align="right" valign="top" nowrap="nowrap"><a target="f3" href="/bbssendmsg.php?destid=<?php echo $srcid; ?>&destutmp=<?php echo $srcutmpnum; ?>">[回讯息]</a> <a href="bbsgetmsg.php">[忽略]</a></td>  </tr></table><script language="javascript">if (parent.viewfrm)	parent.viewfrm.rows = "54,*,20";</script><?php        } else {		//no msg?><script language="javascript">if (parent.viewfrm)	parent.viewfrm.rows = "0,*,20";</script><meta http-equiv="Refresh" content="60; url=/bbsgetmsg.php"><?php		}		html_normal_quit();    }?>

⌨️ 快捷键说明

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