영카트 관리자페이지 주문내역출력 페이지 코드 수정
This commit is contained in:
@ -49,7 +49,7 @@ if ($csv == 'csv')
|
|||||||
$to_date = date_conv($to_date);
|
$to_date = date_conv($to_date);
|
||||||
|
|
||||||
|
|
||||||
$sql = " SELECT a.od_id, od_b_zip1, od_b_zip2, od_b_addr1, od_b_addr2, od_b_addr3, od_b_addr_jibeon, od_b_name, od_b_tel, od_b_hp, b.it_name, ct_qty, b.it_id, a.od_id, od_memo, od_invoice, b.ct_option, b.ct_send_cost, b.it_sc_type
|
$sql = " SELECT a.od_id, od_b_zip1, od_b_zip2, od_b_addr1, od_b_addr2, od_b_addr3, od_b_addr_jibeon, od_b_name, od_b_tel, od_b_hp, b.it_name, ct_qty, b.it_id, od_memo, od_invoice, b.ct_option, b.ct_send_cost, b.it_sc_type
|
||||||
FROM {$g5['g5_shop_order_table']} a, {$g5['g5_shop_cart_table']} b
|
FROM {$g5['g5_shop_order_table']} a, {$g5['g5_shop_cart_table']} b
|
||||||
where a.od_id = b.od_id ";
|
where a.od_id = b.od_id ";
|
||||||
if ($case == 1) // 출력기간
|
if ($case == 1) // 출력기간
|
||||||
@ -65,7 +65,7 @@ if ($csv == 'csv')
|
|||||||
alert("출력할 내역이 없습니다.");
|
alert("출력할 내역이 없습니다.");
|
||||||
|
|
||||||
//header('Content-Type: text/x-csv');
|
//header('Content-Type: text/x-csv');
|
||||||
header("Content-charset=utf-8");
|
header("Content-Type: text/csv; charset=utf-8");
|
||||||
header('Content-Type: doesn/matter');
|
header('Content-Type: doesn/matter');
|
||||||
header('Expires: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
header('Expires: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||||
header('Content-Disposition: attachment; filename="orderlist-' . date("ymd", time()) . '.csv"');
|
header('Content-Disposition: attachment; filename="orderlist-' . date("ymd", time()) . '.csv"');
|
||||||
@ -153,7 +153,7 @@ if ($csv == 'xls')
|
|||||||
$fr_date = date_conv($fr_date);
|
$fr_date = date_conv($fr_date);
|
||||||
$to_date = date_conv($to_date);
|
$to_date = date_conv($to_date);
|
||||||
|
|
||||||
$sql = " SELECT a.od_id, od_b_zip1, od_b_zip2, od_b_addr1, od_b_addr2, od_b_addr3, od_b_addr_jibeon, od_b_name, od_b_tel, od_b_hp, b.it_name, ct_qty, b.it_id, a.od_id, od_memo, od_invoice, b.ct_option, b.ct_send_cost, b.it_sc_type
|
$sql = " SELECT a.od_id, od_b_zip1, od_b_zip2, od_b_addr1, od_b_addr2, od_b_addr3, od_b_addr_jibeon, od_b_name, od_b_tel, od_b_hp, b.it_name, ct_qty, b.it_id, od_memo, od_invoice, b.ct_option, b.ct_send_cost, b.it_sc_type
|
||||||
FROM {$g5['g5_shop_order_table']} a, {$g5['g5_shop_cart_table']} b
|
FROM {$g5['g5_shop_order_table']} a, {$g5['g5_shop_cart_table']} b
|
||||||
where a.od_id = b.od_id ";
|
where a.od_id = b.od_id ";
|
||||||
if ($case == 1) // 출력기간
|
if ($case == 1) // 출력기간
|
||||||
|
|||||||
Reference in New Issue
Block a user