미완료주문 처리 추가

This commit is contained in:
chicpro
2016-04-27 10:43:14 +09:00
parent b38e0f19ca
commit f1cd96dc39
10 changed files with 1132 additions and 15 deletions

View File

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