프리샵 추가

This commit is contained in:
gnuboard
2013-01-25 11:48:46 +09:00
parent 52da376f32
commit 26088ece3b
583 changed files with 44699 additions and 0 deletions

View File

@ -0,0 +1,22 @@
<?php
$sub_menu = "400800";
include_once("./_common.php");
check_demo();
auth_check($auth[$sub_menu], "d");
$count = count($_POST['list_chk']);
if(!$count) {
alert('삭제할 쿠폰을 1개이상 선택해 주세요.');
}
for($i=0; $i<$count; $i++) {
$cp_no = $_POST['list_chk'][$i];
$sql = " delete from {$g4['yc4_coupon_table']} where cp_no = '$cp_no' ";
@sql_query($sql);
}
goto_url("./couponlist.php?$qstr");
?>