쿠폰존 추가

This commit is contained in:
chicpro
2016-09-09 13:57:57 +09:00
parent ac89a2d512
commit 6e1aa4ac0c
27 changed files with 1446 additions and 9 deletions

View File

@ -0,0 +1,25 @@
<?php
$sub_menu = '400810';
include_once('./_common.php');
check_demo();
auth_check($auth[$sub_menu], 'd');
check_admin_token();
$count = count($_POST['chk']);
if(!$count)
alert('선택삭제 하실 항목을 하나이상 선택해 주세요.');
for ($i=0; $i<$count; $i++)
{
// 실제 번호를 넘김
$k = $_POST['chk'][$i];
$sql = " delete from {$g5['g5_shop_coupon_zone_table']} where cz_id = '{$_POST['cz_id'][$k]}' ";
sql_query($sql);
}
goto_url('./couponzonelist.php?'.$qstr);
?>