<?
$sub_menu = "300100";
include_once("./_common.php");

check_demo();

if ($is_admin != "super")
    alert("只有网站管理员才有删除论坛权限");

auth_check($auth[$sub_menu], "d");

check_token();

// _BOARD_DELETE_ 参数 board_delete.inc.php
define("_BOARD_DELETE_", TRUE);

// include 需要 $bo_table 
$tmp_bo_table = mysql_real_escape_string(trim($_POST['bo_table']));
$sql = " select * from $g4[board_table] where bo_table = '$tmp_bo_table' ";
$row = sql_fetch($sql);
if (!$row) {
    alert("无法删除此论坛");
}

include_once ("./board_delete.inc.php");

goto_url("./board_list.php?$qstr&page=$page");
?>
