28 lines
578 B
PHP
28 lines
578 B
PHP
<?php
|
|
$sub_menu = '400400';
|
|
include_once('./_common.php');
|
|
|
|
check_demo();
|
|
|
|
auth_check($auth[$sub_menu], "d");
|
|
|
|
if ($od_id)
|
|
{
|
|
// 장바구니 삭제
|
|
sql_query(" delete from {$g4['shop_cart_table']} where od_id = '$od_id' ");
|
|
|
|
// 주문서 삭제
|
|
sql_query(" delete from {$g4['shop_order_table']} where od_id = '$od_id' ");
|
|
}
|
|
|
|
if ($return_url)
|
|
{
|
|
goto_url("$return_url");
|
|
}
|
|
else
|
|
{
|
|
$qstr = "sel_ca_id=$sel_ca_id&sel_field=$sel_field&search=$search&sort1=$sort1&sort2=$sort2&page=$page";
|
|
goto_url("./orderlist{$list}.php?$qstr");
|
|
}
|
|
?>
|