/home/mjc1/public_html/j3demo/shopm/shop_footer.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
<?php
    skin_module_show
("footer",$sample_idx); // 하단 스킨을 불러온다.

    
include("{$j3_path}/footer.sub.php");

    
/*echo "<textarea>";
    echo $configshop['ob_script'];
    echo "</textarea>";*/
?>
<script>
$(function(){
    $(".sct_cost").each(function(){ // 전화문의 상품 처리
        $obj = $(this);
        $v = $(this).html();
        if($v.indexOf("전화문의")>=0 || $v.indexOf("<?php echo $configshop['gust_price_text'];?>")>=0){
            $obj_span = $obj.find("span");
            $idx = 0;
            $obj_span.each(function(){
                if($(this).html()=='원'){
                    $obj.find("span").eq($idx).remove();
                }
                $idx++;
            });
            if($(this).find("strike").length>0){
                $(this).find("strike").remove();
            }
        }
        $(this).html($obj.html());
    });
    setTimeout(function(){
        <?php echo $configshop['ob_script'];?>
    },300);    
});
</script>