diff --git a/adm/shop_admin/orderlist.php b/adm/shop_admin/orderlist.php index 6c54779da..f0535c017 100644 --- a/adm/shop_admin/orderlist.php +++ b/adm/shop_admin/orderlist.php @@ -109,7 +109,7 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌 - + diff --git a/adm/shop_admin/orderstatuslist.php b/adm/shop_admin/orderstatuslist.php index c9103fb31..53d71c293 100644 --- a/adm/shop_admin/orderstatuslist.php +++ b/adm/shop_admin/orderstatuslist.php @@ -4,17 +4,18 @@ include_once('./_common.php'); auth_check($auth[$sub_menu], "r"); -$g4['title'] = '주문개별관리'; +$g4['title'] = '주문개별내역'; +if ($sel_field == 'ct_status') $g4['title'] .= ' ('.$search.')'; include_once (G4_ADMIN_PATH.'/admin.head.php'); $where = " where "; $sql_search = ""; if ($search != "") { if ($sel_field == "c.ca_id") { - $sql_search .= " $where $sel_field like '$search%' "; + $sql_search .= " $where $sel_field like '$search%' "; $where = " and "; } else if ($sel_field != "") { - $sql_search .= " $where $sel_field like '%$search%' "; + $sql_search .= " $where $sel_field like '%$search%' "; $where = " and "; } @@ -27,9 +28,9 @@ if ($sort1 == "") $sort1 = "od_id"; if ($sort2 == "") $sort2 = "desc"; $sql_common = " from {$g4['shop_order_table']} a - left join {$g4['shop_cart_table']} b on (a.uq_id = b.uq_id) - left join {$g4['shop_item_table']} c on (b.it_id = c.it_id) - $sql_search "; + left join {$g4['shop_cart_table']} b on (a.uq_id = b.uq_id) + left join {$g4['shop_item_table']} c on (b.it_id = c.it_id) + $sql_search "; // 테이블의 전체 레코드수만 얻음 $sql = " select count(*) as cnt " . $sql_common; @@ -82,144 +83,126 @@ for ($i=0; $row=sql_fetch_array($result); $i++) $tot_sub_point += $row['ct_sub_point']; } -$qstr1 = "sel_ca_id=$sel_ca_id&sel_field=$sel_field&search=$search&save_search=$search"; -$qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page"; +$qstr1 = "sel_ca_id=$sel_ca_id&sel_field=$sel_field&search=$search&save_search=$search"; +$qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page"; + +$listall = ''; +if ($search) // 검색렬일 때만 처음 버튼을 보여줌 + $listall = '전체목록'; ?> -
+| ">주문번호 주문일시 |
+ ">주문자 입금자 |
+ ">회원ID | +이미지 | +">상품명 | +">판매가 | +">수량 | +">소계 | +">포인트 | +">상태 | +수정 | +
|---|---|---|---|---|---|---|---|---|---|---|
| 합 계 + | =number_format($tot_amount)?> | +=number_format($tot_qty)?> | +=number_format($tot_sub_amount)?> | +=number_format($tot_sub_point)?> | ++ | |||||
|
+
+ =$lines[$i]['od_id']?> + =$lines[$i]['od_time']?> + + |
+
+
+ 주문자 =cut_str($lines[$i]['od_name'],10,"")?>
+ if ($lines[$i]['od_deposit_name'] != "") echo ' 입금자 '.$lines[$i]['od_deposit_name']?> + + |
+ =$lines[$i]['mb_id']?> | +=get_it_image($lines[$i]['it_id'].'_s', 50, 50)?> | +=$it_name?> | +=number_format($lines[$i]['ct_amount'])?> | +=$lines[$i]['ct_qty']?> | +=number_format($lines[$i]['ct_sub_amount'])?> | +=number_format($lines[$i]['ct_sub_point'])?> | +=$lines[$i]['ct_status']?> | +수정 | +
| 자료가 한건도 없습니다. | ||||||||||