/home/mjc1/public_html/j3demo/skin/wish/wish01.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
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
121
<?php
Global $list_array$total_count;

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>
                <!-- 주문 내역 목록 시작 { -->
<form name='wish_list_form' id='wish_list_form' method='post' onsubmit='return false;'>
    <input type='hidden' name='sel_del' id='sel_del' value=''>
                <table class="width_full top_bold_line">
                    <colgroup>
                        <col class="width50">
                        <col class="">
                        <col class="width100">
                        <col class="width500 ellipsis">

                        <col class="width130">
                        <col class="width80">
                        <col class="width80">
                        <col class="width130">
                    </colgroup>
                    <thead>
                    <tr>
                        <th scope="col" class="p15_0 txt14 gray_line_b"><label class="screen_out">전체</label><input type="checkbox" class='check_all_class'></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>
                    <!--<tr>
                        <td colspan="8" class="p100_0 txt14 gray2 align_c gray_line_b2">위시리스트에 담긴 상품이 없습니다.</td>
                    </tr>-->
<?php
    
for($i=0;$i<count($list_array);$i++){
        
$info $list_array[$i];
        if(
$info['idx']!=''){
?>
                    <tr>
                        <td class="p15_0 align_c gray_line_b2">
                            <label class="screen_out">선택</label>
                            <input type='checkbox' name='code_idx[]' value='<?php echo $i;?>' class='code_idx_calss'>
                            <input type='hidden' name='codes[]' value='<?php echo $info['idx'];?>'>
                            <input type='hidden' name='opt_mode[]' value='<?php echo $info['opt_mode'];?>'>
                            <input type='hidden' name='pcode[]' value='<?php echo $info['pcode'];?>'>
                            <input type='hidden' name='opt_code[]' value='<?php echo $info['opt_pcode'];?>'>
                            <input type='hidden' name='ct_name[]' value='<?php echo $info['name'];?>'>
                            <input type='hidden' name='ct_price[]' value='<?php echo $info['saleprice'];?>'>
                            <input type='hidden' name='opt_price[]' value='<?php echo $info['optprice'];?>'>
                        </td>
                        <td class="p15_0 txt14 align_c gray_line_b2"><a href='<?php echo "item.php?code=".$info['code1'];?>'><img src='<?php echo $thumb_file get_it_thumbnail($info['pcode'],$info['pic1'],80,80);?>'></a></td>
                        <td class="p15_0 txt14 gray2 align_c gray_line_b2"><span class="red"><?php if($info['opt_mode']=='opt'){ echo "옵션"; } else if($info['opt_mode']=='addopt'){ echo "추가옵션"; }?></span></td>
                        <td class="p15_0 txt14 txt15 gray_line_b2"><?php echo $info['pname']; if($info['opt_mode']!=''){ echo " : ".$info['opt_name']; }?>
                        <p class="mt5 txt13"><?php echo $info['norm'];?></p></td>
                        <td class="p15_0 txt14 gray2 align_c gray_line_b2"><span class="cost3"><?php if($info['opt_mode']==''){ echo number_format($info['saleprice']); } else { echo number_format($info['optprice']); }?></span>원</td>
                        <td class="p15_0 txt14 gray2 align_c gray_line_b2">
                            <input type='text' name='ws_qty[]' value='<?php echo $info['ws_qty']?>' class='width50 align_c'>
                        </td>
                        <td class="p15_0 txt14 gray2 align_c gray_line_b2">
                            <input type='text' name='ws_seq[]' value='<?php echo $info['ws_seq']?>' class='width50 align_c'>
                        </td>
                        <td class="p15_0 txt14 gray2 align_c gray_line_b2">
                            <a class="box100_25 custom2 align_c bold l_height25 custom_line2 bg_white wish_add_cart_class">장바구니</a>
                            <a class="mt5 box100_25 white align_c bold l_height25 bg_custom2 wish_del_class">삭제</a>
                        </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>
</form>
                <!-- } 주문 내역 목록 끝 -->



                <!--버튼-->
                <div class="mt20">
                    <div class="float_l">
                        <a class="float_l mr10 box150_40 custom2 align_c bold l_height40 custom_line2 bg_white wish_seq_class">위시 수정</a><a class="float_l box150_40 white align_c bold l_height40 bg_custom2 wish_sel_del_class">선택상품 삭제</a>
                    </div>
                    <div class="float_r">
                        <a class="float_l mr10 box150_40 custom2 align_c bold l_height40 custom_line2 bg_white wish_cart_class">장바구니담기</a><a class="float_l box150_40 white align_c bold l_height40 bg_custom2 wish_order_class">주문하기</a>
                    </div>
                </div>
                <!--//버튼-->
            </section>
            <!-- } 최근 주문내역 끝 -->
        </div>
        <!-- } 장바구니 끝 -->
</div>