115 lines
3.0 KiB
PHP
115 lines
3.0 KiB
PHP
<?php
|
|
include_once('./_common.php');
|
|
|
|
if (G5_IS_MOBILE) {
|
|
include_once(G5_THEME_MSHOP_PATH.'/index.php');
|
|
return;
|
|
}
|
|
|
|
define("_INDEX_", TRUE);
|
|
|
|
include_once(G5_THEME_SHOP_PATH.'/shop.head.php');
|
|
?>
|
|
|
|
<!-- 메인이미지 시작 { -->
|
|
<?php echo display_banner('메인', 'mainbanner.10.skin.php'); ?>
|
|
<!-- } 메인이미지 끝 -->
|
|
|
|
|
|
|
|
<?php if($default['de_type1_list_use']) { ?>
|
|
<!-- 히트상품 시작 { -->
|
|
<section class="sct_wrap">
|
|
<header>
|
|
<h2><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=1">히트상품</a></h2>
|
|
</header>
|
|
<?php
|
|
$list = new item_list();
|
|
$list->set_type(1);
|
|
$list->set_view('it_img', true);
|
|
$list->set_view('it_id', false);
|
|
$list->set_view('it_name', true);
|
|
$list->set_view('it_basic', true);
|
|
$list->set_view('it_cust_price', true);
|
|
$list->set_view('it_price', true);
|
|
$list->set_view('it_icon', true);
|
|
$list->set_view('sns', true);
|
|
echo $list->run();
|
|
?>
|
|
</section>
|
|
<!-- } 히트상품 끝 -->
|
|
<?php } ?>
|
|
|
|
<?php if($default['de_type2_list_use']) { ?>
|
|
<!-- 추천상품 시작 { -->
|
|
<section class="sct_wrap">
|
|
<header>
|
|
<h2><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=2">추천상품</a></h2>
|
|
</header>
|
|
<?php
|
|
$list = new item_list();
|
|
$list->set_type(2);
|
|
$list->set_view('it_id', false);
|
|
$list->set_view('it_name', true);
|
|
$list->set_view('it_basic', true);
|
|
$list->set_view('it_cust_price', true);
|
|
$list->set_view('it_price', true);
|
|
$list->set_view('it_icon', true);
|
|
$list->set_view('sns', true);
|
|
echo $list->run();
|
|
?>
|
|
</section>
|
|
<!-- } 추천상품 끝 -->
|
|
<?php } ?>
|
|
|
|
<?php include_once(G5_SHOP_SKIN_PATH.'/boxevent.skin.php'); // 이벤트 ?>
|
|
|
|
<?php if($default['de_type3_list_use']) { ?>
|
|
<!-- 최신상품 시작 { -->
|
|
<section class="sct_wrap">
|
|
<header>
|
|
<h2><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=3">최신상품</a></h2>
|
|
</header>
|
|
<?php
|
|
$list = new item_list();
|
|
$list->set_type(3);
|
|
$list->set_view('it_id', false);
|
|
$list->set_view('it_name', true);
|
|
$list->set_view('it_basic', true);
|
|
$list->set_view('it_cust_price', true);
|
|
$list->set_view('it_price', true);
|
|
$list->set_view('it_icon', true);
|
|
$list->set_view('sns', true);
|
|
echo $list->run();
|
|
?>
|
|
</section>
|
|
<!-- } 최신상품 끝 -->
|
|
<?php } ?>
|
|
|
|
<?php if($default['de_type5_list_use']) { ?>
|
|
<!-- 할인상품 시작 { -->
|
|
<section class="sct_wrap">
|
|
<header>
|
|
<h2><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=5">할인상품</a></h2>
|
|
</header>
|
|
<?php
|
|
$list = new item_list();
|
|
$list->set_type(5);
|
|
$list->set_view('it_id', false);
|
|
$list->set_view('it_name', true);
|
|
$list->set_view('it_basic', true);
|
|
$list->set_view('it_cust_price', true);
|
|
$list->set_view('it_price', true);
|
|
$list->set_view('it_icon', true);
|
|
$list->set_view('sns', true);
|
|
echo $list->run();
|
|
?>
|
|
</section>
|
|
<!-- } 할인상품 끝 -->
|
|
<?php } ?>
|
|
|
|
|
|
|
|
<?php
|
|
include_once(G5_THEME_SHOP_PATH.'/shop.tail.php');
|
|
?>
|