1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
<?php Global $bankbook_array, $custinfo, $cur_pt, $max_use_pt, $max_use_pt, $od_id, $list_array, $first_deli_info, $total_count, $configshop, $list_num, $total_page;
qstr_extract($_SERVER['QUERY_STRING']); // $qstr을 $_GET변수에 넣는다. extract($_GET); // $_GET를 변수로 풀어준다. $cate = urldecode($cate);
$cur_img_url = $j3_img_url."/".$sk['sk_img_path'];
if($skin_css!=''){ echo $skin_css; } else { ?> <!-- 상단 카테고리 내 위치 --> <style>
</style> <?php }?> <div class="class_skin_idx_<?php echo $sk_idx;?>"> <!-- 주문내역조회 시작 { --> <div class="pt50"> <!-- 최근 주문내역 시작 { --> <section> <!-- 주문 내역 목록 시작 { --> <table class="width_full top_bold_line"> <caption class="mb10 align_l">※ <span class="red bold">주문번호</span>를 누르시면 <span class="red bold">주문상세내역을 조회</span>하실 수 있습니다.</caption> <colgroup> <col class="width200"> <col> <col class="width140">
<col class="width140"> <col class="width140"> <col class="width140"> <col class="width100"> <col class="width200"> </colgroup> <thead> <tr> <th scope="col" class="p15_0 txt14 gray_line_b">주문일시</th> <th scope="col" class="p15_0 txt14 gray_line_b">주문번호</th> <th scope="col" class="p15_0 txt14 gray_line_b">상품수</th> <th scope="col" class="p15_0 txt14 gray_line_b">주문금액</th> <th scope="col" class="p15_0 txt14 gray_line_b">입금액</th> <th scope="col" class="p15_0 txt14 gray_line_b">미입금액</th> <th scope="col" class="p15_0 txt14 gray_line_b">결제방법</th> <th scope="col" class="p15_0 txt14 gray_line_b">상태</th> </tr> </thead> <tbody> <?php for($i=0;$i<count($list_array);$i++){ $info = $list_array[$i]; if($info['od_id']!=''){ ?> <tr> <td class="p15_0 txt14 align_c gray2 gray_line_b2"> <input type='hidden' name='midx' value='<?php echo $info['midx'];?>'> <?php echo $info['data_created']?> </td> <td class="p15_0 txt14 align_c gray_line_b2"><a href="orderview.php?idx=<?php echo $info['midx'];?>" class="custom1 bold"><?php echo $info['od_id']?></a></td> <td class="p15_0 txt14 align_c gray2 gray_line_b2"><?php echo $info['sum_qty'];?></td> <td class="p15_0 txt14 align_c gray2 gray_line_b2"><?php echo number_format($info['ord_price']);?>원</td> <td class="p15_0 txt14 align_c gray2 gray_line_b2"><?php echo number_format($info['deposit_price']+$info['use_point']);?>원</td> <td class="p15_0 txt14 align_c gray2 gray_line_b2"> <?php echo number_format($info['wdeposit_price']); ?>원 </td> <td class="p15_0 txt14 align_c gray2 gray_line_b2"><?php echo $info['pay_type'];?></td> <td class="p15_0 txt14 align_c custom1 gray_line_b2"> <?php echo $info['od_state'];?> <?php if(($info['ordstate']=='3' && $configshop['item_use_type']>0)){ // 배송완료일경우 후기 작성 ?> <br><button class="mt5 box100_30 white align_c bold l_height30 line0 bg_custom1 prod_use_class">후기작성</button> <?php } if($info['ordstate']=='2'){ ?> <br><button class="mt5 box100_30 white align_c bold l_height30 line0 bg_custom2 prod_deli_comp_class">수령완료</button> <?php } ?> </td> </tr> <?php } } if($total_count=='0'){ ?> <tr> <td colspan="8" class="p100_0 txt14 gray2 align_c gray_line_b2">주문내역이 없습니다.</td> </tr> <?php } ?> </tbody> </table> <!-- } 주문 내역 목록 끝 --> <div class='pg_wrap' style='padding-top:0px;'> <?php echo get_paging($list_num, $page, $total_page, "?$qstr");?> </div> <!-- } 최근 주문내역 끝 -->
</div> <!-- } 주문내역조회 끝 --> </div>
|