Пример #1
0
    ?>
]。
<?php 
    if ($usermodestr != "" && $usermodestr[1] != "") {
        echo substr($usermodestr, 1);
    }
    ?>
</pre>
<br/><span class="c36">
<?php 
    $plansfile = bbs_sethomefile($lookupuser["userid"], "plans");
    if (file_exists($plansfile)) {
        ?>
个人说明档如下: </span><br/>
<?php 
        $s = bbs2_readfile($plansfile);
        if (is_string($s)) {
            ?>
<link rel="stylesheet" type="text/css" href="static/www2-ansi.css"/>
<script type="text/javascript" src="static/www2-addons.js"></script>
<div id="divPlan" class="AnsiArticleBW"><div id="dp1">
<script type="text/javascript"><!--
triggerAnsiDiv('divPlan','dp1');
<?php 
            echo $s;
            ?>
//-->
</script></div></div>
<?php 
        }
    } else {
Пример #2
0
if (!file_exists($filename)) {
    html_error_quit("信件不存在...");
}
@($attachpos = $_GET["ap"]);
//pointer to the size after ATTACHMENT PAD
if ($attachpos != 0) {
    bbs_file_output_attachment($filename, $attachpos);
    exit;
}
mailbox_header("信件阅读");
?>
<div class="large">
<div class="article">
<script type="text/javascript"><!--
<?php 
$s = bbs2_readfile($filename);
if (is_string($s)) {
    echo 'att=new attWriter(-1);' . $s;
}
?>
//-->
</script>
</div></div>
<div class="oper">
[<a onclick='return confirm("你真的要删除这封信吗?")' href="bbsmailact.php?act=del&dir=<?php 
echo $dirname;
?>
&file=<?php 
echo $file;
?>
&title=<?php 
Пример #3
0
    $mt = file_exists($top_file) ? @filemtime($top_file) : time();
    if (cache_header("public", $mt, 1800)) {
        return;
    }
}
bbs_board_nav_header($brdarr, "±¸Íü¼");
$brd_encode = urlencode($brdarr["NAME"]);
?>
<link rel="stylesheet" type="text/css" href="static/www2-ansi.css"/>
<script type="text/javascript" src="static/www2-addons.js"></script>
<div id="divNote" class="AnsiArticleBW"><div id="dn1">
<script type="text/javascript"><!--
<?php 
$s = false;
if (file_exists($top_file)) {
    $s = bbs2_readfile($top_file);
}
if (!is_string($s)) {
    $s = 'prints("\\n\\n\\n´ËÌÖÂÛÇøÉÐÎÞ¡¸±¸Íü¼¡¹¡£\\n\\n\\n");';
}
?>
triggerAnsiDiv('divNote','dn1');
<?php 
echo $s;
?>
//-->
</script></div></div>
<div class="oper">
[<a href="bbsdoc.php?board=<?php 
echo $brd_encode;
?>