首頁 >後端開發 >php教程 >marc by marc jacobs官網 基於mysql的論壇(5)

marc by marc jacobs官網 基於mysql的論壇(5)

WBOY
WBOY原創
2016-07-29 08:34:151080瀏覽

## Manage_read.php
require ("func.php");
if (check_admin_password()) {
    $board=$jl_forum[板];
    switch ($job){
        case "setgood":
          
            $work=1;
             休息;
        case "setnogood":
   
            $work=1;
             休息;
        case "刪除":
    
            $work=1;
            休息;
    }
if (!$word) {
    add_one_hit($board,$word) {
    add_one_hit($board,$word);
}
$sql="select * from $board where id=$id";
$sql_result=mysql_query($sql);
$sum=mysql_num_rows($sql_result);
$sql_row=mysql_fetch_array($sql_result);
$title=$sql_row[標題];
$writer=$sql_row[writer];
$c
$writetime=$sql_row[writetime];
$hits=$sql_row[hits];
$good=$sql_row[good];
$rootid=$sql_row[id];
$fromip=$sql_row[fromip];
$sql="select * from $board where Slaveid=$id";
$sql_result=mysql_query($sql);
if ($sum0) {
?>;





陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn