-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbbsgetmsg.php
More file actions
30 lines (30 loc) · 803 Bytes
/
Copy pathbbsgetmsg.php
File metadata and controls
30 lines (30 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
require("www2-funcs.php");
login_init();
page_header("ѶϢ", FALSE);
?>
<body class="msgs">
<?php
$frameheight = 0;
if (strcmp($currentuser["userid"], "guest")) {
$ret=bbs_getwebmsg($srcid,$msgbuf,$srcutmpnum,$sndtime);
if ($ret) {
?>
<bgsound src="/sound/msg.wav">
<div id="msgs">
<?php echo $srcid; ?> (<?php echo strftime("%b %e %H:%M", $sndtime); ?>): <?php echo htmlspecialchars($msgbuf); ?>
(<?php if($srcid != "Õ¾³¤¹ã²¥") { ?>
<a target="f3" href="bbssendmsg.php?destid=<?php echo $srcid; ?>&destutmp=<?php echo $srcutmpnum; ?>">[»ØÑ¶Ï¢]</a>
<?php } ?><a href="bbsgetmsg.php?refresh">[ºöÂÔ]</a>)
</div>
<?php
$frameheight = 25;
}
}
?>
<script>
var ff = top.document.getElementById("viewfrm");
if (ff) ff.rows = "<?php echo $frameheight; ?>,*,20";
</script>
</body>
</html>