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
110
111
112
113
114
115
116
117
118
119
120
|
<?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> .my_order_title{background: #f9f9f9;padding:10px 30px;line-height: 30px;} .my_order_title h4{font-size:14px;float:left;} .my_order_title h4 span{font-size:18px;font-weight:600;} .my_order_title a{color:#00aaa5;font-weight:600;} .my_order_title:after{content: "";display: table;height: 0;clear: both;} .my_order_table{padding: 20px;} .my_order_table table td{padding:20px;border-left: 1px solid #ededed;width:235px;} .my_order_table table td:first-child{width:800px;} .my_order_table_title{height: 60px;font-size: 16px;font-weight: 600;padding-top: 0px;margin-left: 130px;margin-right: 20px;border-bottom: 1px solid gray;} .my_order_table_pay{font-family: Verdana;font-size: 16px;font-weight: 600;color: red;margin-left: 130px;margin-top: 10px;} .my_order_table_pay span{font-size:12px;color:#000;} .my_order_table_btn{font-weight: normal;display: inline-block;text-align:center;width: 110px;font-size: 12px;line-height: 16px;padding: 5px 4px 4px;color: #fff;font-weight: bold;background-color: #00bbb6;border-radius:5px;} .my_order_table_btn2{font-weight: normal;display: inline-block;text-align:center;width: 110px;font-size: 12px;line-height: 16px;padding: 5px 4px 4px;font-weight: bold;color: #00bbb6;border:1px solid #00bbb6;margin-top:7px;border-radius:5px;} </style> <?php }?> <div class="class_skin_idx_<?php echo $sk_idx;?>"> <section class="mt40"> <h2 class="relative mb10 txt14 align_1">최근 주문내역</h2> <div> <?php for($i=0;$i<count($list_array);$i++){ $info = $list_array[$i]; if($info['od_id']!=''){ if($i>0){ $add_class1 = "mt50"; } else { $add_class1 = ""; } ?> <!--주문리스트(0219-06-03)--> <div class="gray_line2 <?php echo $add_class1;?>"> <div class="my_order_title"><h4>주문일 <span><?php echo substr($info['data_created'],0,10)?></span></h4><a href="orderview.php?idx=<?php echo $info['midx'];?>" class="float_r">주문상세보기 ></a></div> <div class="my_order_table"> <!--주문내역-1--> <?php $cart_array = $info['row']; for($j=0;$j<count($cart_array);$j++){ $cinfo=$cart_array[$j];
$opt_name = ""; $opt = ""; if($cinfo['opt_mode']!=''){ $opt_name = $cinfo['opt_name']; if($cinfo['opt_mode']=='opt'){ $opt = "(옵션)"; } else { $opt = "(추가옵션)"; } } if($cinfo['ct_idx'] == NULL){ continue; }
?> <div> <table class="width_full gray_line2"> <tr> <td> <div> <div class="float_l"><a href="./item.php?code=<?php echo $cinfo['code1'];?>"><img src="<?php echo $thumb_file = get_it_thumbnail($cinfo['sc_pcode'],$cinfo['pic1'],150,150);?>" class="width100 height100"></a></div> <div class="my_order_table_title"> <a href="./item.php?code=<?php echo $cinfo['code1'];?>"><?php echo $cinfo['ct_name'];?></a><p class="mt5 gray bold txt13"><?php echo $opt.$opt_name;?></p> <p class="mt5 txt13"><?php echo $cinfo['norm'];?></p> </div> <div class="my_order_table_pay"><?php echo number_format($cinfo['price']); ?>원<span> / <?php echo number_format($cinfo['qty']); ?>개</span></div> </div> </td> <td> <input type='hidden' name='midx' value='<?php echo $info['midx'];?>'> <div class="align_c"> <div class="bold l_height30"> <?php echo $info['od_state'];?><!--<div class="normal">금요일 05/31 도착</div>--> </div> <?php if($info['tracking_number']!='' && $info['ordstate']>='2'){ ?> <div><a class="my_order_table_btn deli_detail_search">배송조회</a></div> <input type='hidden' id='deli_company' value='<?php echo $info['deli_company'];?>'> <input type='hidden' id='tracking_number' value='<?php echo $info['tracking_number'];?>'> <?php } if(($info['ordstate']=='3' && $configshop['item_use_type']>0)){ // 배송완료일경우 후기 작성 ?> <div><a class="my_order_table_btn2 prod_use_class">후기작성</a></div> <?php } if($info['ordstate']=='2'){ ?> <div><a class="my_order_table_btn2 prod_deli_comp_class">수령완료</a></div> <?php } ?> <!--<div><a href="#" class="my_order_table_btn2">교환신청</a></div> <div><a href="#" class="my_order_table_btn2">반품신청</a></div>--> </div> </td> </tr> </table> </div><!--/my_order_table--> <?php } ?> </div> </div><!--/gray_line2--> <?php } } ?> </div> <div class='pg_wrap' style='padding-top:0px;'> <?php echo get_paging($list_num, $page, $total_page, "?$qstr");?> </div> </section> </div>
|