/home/mjc1/public_html/j3demo/skinm/search/hsearch01.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
<?php
Global $qstr_cate$search_range_hide;
$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;?>">
<form name='search_form' id='search_form' method='get' action="?" onsubmit='return false;'>
        <!-- 상품검색 -->
        <section class="block pb10 bg_gray over_h">
            <h2 class="screen_out">상품검색항목</h2>
            <p class="p7_0 custom11 txt14 align_c custom_line11 bg_custom1"><em class="white bold">"<?php echo $skey;?>"</em>에 대한 검색결과 <span class="white bold">1</span>건입니다.</p>
            <div class="txt14 l_height40 bg_white">
                <h3 class="screen_out">검색옵션</h3>
            <?php if($search_range_hide != "Y"){ // 검색범위 히든인 경우 숨기기 유럽상사등?>
                <div class="gray_line_b2">
                    <dl>
                        <dt class="float_l pl10 width80 bold l_height40">검색범위</dt>
                        <dd>
                            <input type="checkbox" id="item_name" class="mr5 v_align_m" name='sf_name' value='1' <?php if($sf_name=='1'){echo "checked"; }?>><label for="item_name" class="mr25 v_align_m pointer">상품명</label>
                            <input type="checkbox" id="item_comm" class="mr5 v_align_m" name='sf_it_explain' value='1' <?php if($sf_it_explain=='1'){echo "checked"; }?>><label for="item_comm" class="mr25 v_align_m pointer" name='sf_name'>상품설명</label>
                            <input type="checkbox" id="item_code" class="mr5 v_align_m" name='sf_code1' value='1' <?php if($sf_code1=='1'){echo "checked"; }?>><label for="item_code" class="mr25 v_align_m pointer">상품코드</label>
                            <input type="checkbox" id="item_remarks" class="mr5 v_align_m" name='sf_remarks' value='1' <?php if($sf_remarks=='1'){echo "checked"; }?>><label for="item_remarks" class="mr25 v_align_m pointer">비고</label>
                            <input type="checkbox" id="item_norm" class="mr5 v_align_m" name='sf_norm' value='1' <?php if($sf_norm=='1'){echo "checked"; }?>><label for="item_norm" class="mr25 v_align_m pointer">규격</label>
                        </dd>
                    </dl>
                </div>
            <?php }?>
                <div class="gray_line_b2">
                    <dl>
                        <dt class="float_l pl10 width80 bold l_height40">상품가격</dt>
                        <dd>
                            <input type="text" class="width80 height24 gray_line" name='sprice' value='<?php echo $sprice;?>'> ~ <input type="text" class="width80 height24 gray_line" name='eprice' value='<?php echo $eprice;?>'> 원 까지
                        </dd>
                    </dl>
                </div>
                <div class="gray_line_b2">
                    <dl>
                        <dt class="float_l pl10 width80 bold l_height40">검색어</dt>
                        <dd>
                            <input type="text" name='skey' class="mr5 width_half height24 gray_line" placeholder="검색어를 입력하세요." value='<?php echo $skey;?>'><input type="button" value="검색" class="width80 height26 white bold none_line bg_custom1 pointer ">
                        </dd>
                    </dl>
                </div>
                <div class="p7_0 txt12 l_height15 gray_line_b2">
                    <p class="mb5 p0_10 align_j">※ 검색범위를 선택하지 않거나, 상품가격을 입력하지 않으면 <em class="bold">전체</em>에서 검색합니다.</p>
                    <p class="p0_10 align_j">※ 검색어는 최대 30글자까지, <em class="bold">여러개의 검색어를 공백으로 구분</em>하여 입력 할 수 있습니다.</p>
                </div>
            </div>
        </section>
        <!-- //상품검색 -->

        <!-- 상품주문 -->
        <section class="block pb10 bg_gray over_h cate_sel_class">
            <h2 class="screen_out">카테고리</h2>
            <ul class="p0_10">
<?php if($cate_code==''){?>
                <li class="float_l mr1 mb1 height37 align_c l_height32 bg_white" style="width:130px;"><a class="block mt3 custom1 txt13 bold space_1">전체분류(<span class='item_cnt_class'>0</span>)</a></li>
<?php } else {?>
                <li class="float_l mr1 mb1 height37 align_c l_height32 bg_white" style="width:180px;"><a class="block mt3 custom1 txt13 bold space_1" href='<?php echo "{$j3_shop_url}/search.php?{$qstr_cate}";?>'>이전카테고리</a></li>
                <li class="float_l mr1 mb1 height37 align_c l_height32 bg_white" style="width:180px;"><a class="block mt3 gray3 txt13 bold space_1 inner_cate_class">inner_cate_class</a></li>
<?php }?>
            </ul>
        </section>
        <!-- //상품주문 -->

        <section class="relative width_full height40 align_r gray_line_t custom_line12">
<?php
    
foreach($orderkey_array as $key=>$val){
?>
                    <a class="p0_5 gray txt12 l_height40 space_1 ellipsis" href='<?php echo "{$j3_shop_url}/search.php?{$qstr_order}&orderkey={$key}";?>'><?php echo $val;?></a>
<?php
    
}
?>
        </section>
</form>
</div>
<!-- //상단 카테고리 내 위치 -->