관리자 상품문의에서 선택수정 기능 제거
This commit is contained in:
@ -8,21 +8,7 @@ if (!count($_POST['chk'])) {
|
||||
alert($_POST['act_button']." 하실 항목을 하나 이상 체크하세요.");
|
||||
}
|
||||
|
||||
if ($_POST['act_button'] == "선택수정") {
|
||||
|
||||
auth_check($auth[$sub_menu], 'w');
|
||||
|
||||
for ($i=0; $i<count($_POST['chk']); $i++) {
|
||||
|
||||
// 실제 번호를 넘김
|
||||
$k = $_POST['chk'][$i];
|
||||
|
||||
$sql = "update {$g4['shop_item_qa_table']}
|
||||
set iq_confirm = '{$_POST['iq_confirm'][$k]}'
|
||||
where iq_id = '{$_POST['iq_id'][$k]}' ";
|
||||
sql_query($sql);
|
||||
}
|
||||
} else if ($_POST['act_button'] == "선택삭제") {
|
||||
if ($_POST['act_button'] == "선택삭제") {
|
||||
|
||||
auth_check($auth[$sub_menu], 'd');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user