비표준 그누보드4 첫커밋
This commit is contained in:
22
adm/auth_list_delete.php
Normal file
22
adm/auth_list_delete.php
Normal file
@ -0,0 +1,22 @@
|
||||
<?
|
||||
$sub_menu = "100200";
|
||||
include_once("./_common.php");
|
||||
|
||||
check_demo();
|
||||
|
||||
if ($is_admin != "super")
|
||||
alert("최고관리자만 접근 가능합니다.");
|
||||
|
||||
check_token();
|
||||
|
||||
for ($i=0; $i<count($chk); $i++)
|
||||
{
|
||||
// 실제 번호를 넘김
|
||||
$k = $chk[$i];
|
||||
|
||||
$sql = " delete from $g4[auth_table] where mb_id = '{$_POST['mb_id'][$k]}' and au_menu = '{$_POST['au_menu'][$k]}' ";
|
||||
sql_query($sql);
|
||||
}
|
||||
|
||||
goto_url("./auth_list.php?$qstr");
|
||||
?>
|
||||
Reference in New Issue
Block a user