/home/mjc1/public_html/j3demo/skinm/orderlist/orderlist01.php


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
<?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 }?>
<style>
    .posab_pr20 {position:absolute;right:20px;}
</style>    
<div class="class_skin_idx_<?php echo $sk_idx;?>">
        <h1 class="p15_0 align_c">주문내역조회</h1>
        <!-- 최근주문내역 -->
        <section class="p15_0 p0_10 gray_line_b2 separate_line">
            <h3 class="pb10 txt14 black_line_b">최근주문내역<h3>
            <p class="p10_0 gray txt12 gray_line_b">※ <em class="red">주문번호</em>를 누르시면 <em class="red">주문상세내역을 조회</em>하실 수 있습니다.</p>
<?php
    
for($i=0;$i<count($list_array);$i++){
        
$info $list_array[$i];
        if(
$info['od_id']!=''){
?>
            <dl class="txt13 gray_line_b">
                <dt class="mb5 height40 bg_gray">
                    <input type='hidden' name='midx' value='<?php echo $info['midx'];?>'>
                    <em class="pl10 txt14 l_height40"><a><?php echo $info['od_id']?></a></em>
<?php
        
if(($info['ordstate']=='3' && $configshop['item_use_type']>0)){ // 배송완료일경우 후기 작성
?>
                    <a class="float_r mt7 mr5 p0_5 gray2 txt13 l_height24 gray_line bg_white prod_use_class">후기작성</a>
<?php
        
}
        if(
$info['ordstate']=='2'){
?>
                    <a class="float_r mt7 mr5 p0_5 gray2 txt13 l_height24 gray_line bg_gray4 white prod_deli_comp_class">수령완료</a>
<?php
        
}
?>
                    <a class="float_r mt7 mr5 p0_5 gray2 txt13 l_height24 gray_line" href="orderview.php?idx=<?php echo $info['midx'];?>">주문상세보기</a></dt>
                <dd class="p0_10">
                    <em class="custom1"><?php echo    $info['od_state'];?></em>
                    <span class="float_r gray"><?php echo $info['data_created']?></span>
                </dd>
                <dd class="mb5 p0_10">
                    <em><?php echo $info['sum_qty'];?>개상품</em>
                    <span class="posab_pr20 gray"><?php echo number_format($info['ord_price']);?>원</span>
                </dd>
            </dl>
<?php 
        
}
    }
?>
            <div class='pg_wrap' style='padding-top:0px;'>
                <?php echo get_paging($list_num$page$total_page"?$qstr");?>
            </div>
        </section>
        <!-- //최근주문내역 -->
</div>