예제 #1
0
    echo conv_content($default['de_change_content'], 1);
    ?>
</section>
<!-- } 교환/반품 끝 -->
<?php 
}
?>

<?php 
if ($default['de_rel_list_use']) {
    ?>
<!-- 관련상품 시작 { -->
<section id="sit_rel">
    <h2>관련상품</h2>
    <?php 
    echo pg_anchor('rel');
    ?>

    <div class="sct_wrap">
        <?php 
    $rel_skin_file = $skin_dir . '/' . $default['de_rel_list_skin'];
    if (!is_file($rel_skin_file)) {
        $rel_skin_file = G5_SHOP_SKIN_PATH . '/' . $default['de_rel_list_skin'];
    }
    $sql = " select b.* from {$g5['g5_shop_item_relation_table']} a left join {$g5['g5_shop_item_table']} b on (a.it_id2=b.it_id) where a.it_id = '{$it['it_id']}' and b.it_use='1' ";
    $list = new item_list($rel_skin_file, $default['de_rel_list_mod'], 0, $default['de_rel_img_width'], $default['de_rel_img_height']);
    $list->set_query($sql);
    echo $list->run();
    ?>
    </div>
</section>
예제 #2
0
    echo conv_content($it['it_explan'], 1);
    ?>
    </div>
    <?php 
}
?>

</section>
<!-- } 상품 정보 끝 -->



<!-- 상품문의 시작 { -->
<section id="sit_qa">
    <h2>상품문의</h2>
    <?php 
echo pg_anchor('qa');
?>

    <div id="itemqa"><?php 
include_once './itemqa.php';
?>
</div>
</section>
<!-- } 상품문의 끝 -->

<script>
$(window).on("load", function() {
    $("#sit_inf_explan").viewimageresize2();
});
</script>
예제 #3
0
&amp;info=qa" <?php 
    if ($info == 'qa') {
        echo 'class="sanchor_on"';
    }
    ?>
>Q&amp;A<span class="item_qa_count"><?php 
    echo $item_qa_count;
    ?>
</span></a></li>
    </ul>
<?php 
}
?>
<div id="menu_list">
    <?php 
echo pg_anchor($info);
?>
</div>

<div id="info_content" class="new_win">
<?php 
switch ($info) {
    case 'use':
        include_once G5_MSHOP_SKIN_PATH . '/iteminfo.itemuse.skin.php';
        break;
    case 'qa':
        include_once G5_MSHOP_SKIN_PATH . '/iteminfo.itemqa.skin.php';
        break;
    case 'dvr':
        include_once G5_MSHOP_SKIN_PATH . '/iteminfo.delivery.skin.php';
        break;