관리자 따옴표 수정
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
<?
|
||||
$sub_menu = "300100";
|
||||
include_once("./_common.php");
|
||||
include_once('./_common.php');
|
||||
|
||||
check_demo();
|
||||
|
||||
@ -16,13 +16,13 @@ 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' ";
|
||||
$sql = " select * from {$g4['board_table']} where bo_table = '$tmp_bo_table' ";
|
||||
$row = sql_fetch($sql);
|
||||
if (!$row) {
|
||||
alert("게시판을 삭제할 수 없습니다.");
|
||||
alert('게시판을 삭제할 수 없습니다.');
|
||||
}
|
||||
|
||||
include_once ("./board_delete.inc.php");
|
||||
include_once ('./board_delete.inc.php');
|
||||
|
||||
goto_url("./board_list.php?$qstr&page=$page");
|
||||
goto_url('./board_list.php?'.$qstr.'&page='.$page);
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user