예제 #1
0
파일: bbspsttmpl.php 프로젝트: bianle/www2
} else {
    ?>
<h1 class="bt">模板 (<?php 
    echo $retnum;
    ?>
): <?php 
    echo $votearr[0]["TITLE"];
    ?>
</h1>
<?php 
    if ($votearr[0]["FILENAME"] != "") {
        ?>
<div class="large"><div class="article">
<h2>正文格式</h2>
<?php 
        bbs_print_article($votearr[0]["FILENAME"]);
        ?>
</div></div>
<?php 
    }
    ?>
<form action="<?php 
    echo $_SERVER['PHP_SELF'];
    ?>
?do&board=<?php 
    echo $board;
    ?>
&num=<?php 
    echo $num;
    echo $restr;
    ?>
예제 #2
0
파일: bbsanc.php 프로젝트: bianle/www2
            }
        }
    } else {
        if (cache_header('public', filemtime($filename), 300)) {
            return;
        }
        $bid = 0;
    }
}
@($attachpos = intval($_GET["ap"]));
//pointer to the size after ATTACHMENT PAD
if ($attachpos) {
    bbs_file_output_attachment($filename, $attachpos);
    exit;
}
if ($bid) {
    page_header("╬╚╩╙гЬндубтд╤а", "<a href=\"bbsdoc.php?board=" . $brdarr["NAME"] . "\">" . htmlspecialchars($brdarr["DESC"]) . "</a>");
    echo '<h1>' . $brdarr["NAME"] . ' ╟Ф (╬╚╩╙гЬ)</h1>';
} else {
    bbs_ann_header($board);
}
?>
<div class="article">
<?php 
bbs_print_article($filename, 1, $_SERVER['PHP_SELF'] . '?' . $_SERVER['QUERY_STRING']);
?>
</div>
<?php 
bbs_ann_xsearch($board);
$up_cnt >= 2 ? bbs_ann_foot($up_dirs[$up_cnt - 2]) : bbs_ann_foot('');
page_footer();