비표준 그누보드4 첫커밋

This commit is contained in:
whitedot
2012-10-05 15:12:27 +09:00
parent 8751c57ffc
commit a4b2e70e4d
899 changed files with 89562 additions and 0 deletions

View File

@ -0,0 +1,27 @@
<?
$sub_menu = "300200";
include_once("./_common.php");
check_demo();
auth_check($auth[$sub_menu], "w");
check_token();
for ($i=0; $i<count($chk); $i++)
{
// 실제 번호를 넘김
$k = $chk[$i];
$sql = " update $g4[group_table]
set gr_subject = '{$_POST[gr_subject][$k]}',
gr_admin = '{$_POST[gr_admin][$k]}',
gr_use_access = '{$_POST[gr_use_access][$k]}'
where gr_id = '{$_POST[gr_id][$k]}' ";
if ($is_admin != "super")
$sql .= " and gr_admin = '{$_POST[gr_admin][$k]}' ";
sql_query($sql);
}
goto_url("./boardgroup_list.php?$qstr");
?>