display_type 및 이미지 경로 수정

This commit is contained in:
gnuboard
2013-07-23 18:10:32 +09:00
parent 318c868274
commit 81a39773d1
247 changed files with 334 additions and 272 deletions

View File

@ -20,37 +20,13 @@ include_once(G4_SHOP_PATH.'/shop.head.php');
</div>
<!-- } 메인이미지 끝 -->
<!-- 최신상품 시작 { -->
<section class="sct_wrap">
<header>
<h2><a href="<?php echo G4_SHOP_URL; ?>/listtype.php?type=3">최신상품</a></h2>
<p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 최신상품 모음</p>
</header>
<?php
// 최신상품
$type = 3;
if ($default["de_type{$type}_list_use"])
{
display_type($type, $default["de_type{$type}_list_skin"], $default["de_type{$type}_list_mod"], $default["de_type{$type}_list_row"], $default["de_type{$type}_img_width"], $default["de_type{$type}_img_height"]);
}
?>
</section>
<!-- } 최신상품 끝 -->
<!-- 히트상품 시작 { -->
<section class="sct_wrap">
<header>
<h2><a href="<?php echo G4_SHOP_URL; ?>/listtype.php?type=1">히트상품</a></h2>
<p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 히트상품 모음</p>
</header>
<?php
// 히트상품
$type = 1;
if ($default['de_type'.$type.'_list_use'])
{
display_type($type, $default["de_type{$type}_list_skin"], $default["de_type{$type}_list_mod"], $default["de_type{$type}_list_row"], $default["de_type{$type}_img_width"], $default["de_type{$type}_img_height"]);
}
?>
<?php echo display_type(1); ?>
</section>
<!-- } 히트상품 끝 -->
@ -60,31 +36,27 @@ include_once(G4_SHOP_PATH.'/shop.head.php');
<h2><a href="<?php echo G4_SHOP_URL; ?>/listtype.php?type=2">추천상품</a></h2>
<p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 추천상품 모음</p>
</header>
<?php
// 추천상품
$type = 2;
if ($default['de_type'.$type.'_list_use'])
{
display_type($type, $default["de_type{$type}_list_skin"], $default["de_type{$type}_list_mod"], $default["de_type{$type}_list_row"], $default["de_type{$type}_img_width"], $default["de_type{$type}_img_height"]);
}
?>
<?php echo display_type(2); ?>
</section>
<!-- } 추천상품 끝 -->
<!-- 최신상품 시작 { -->
<section class="sct_wrap">
<header>
<h2><a href="<?php echo G4_SHOP_URL; ?>/listtype.php?type=3">최신상품</a></h2>
<p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 최신상품 모음</p>
</header>
<?php echo display_type(3); ?>
</section>
<!-- } 최신상품 끝 -->
<!-- 인기상품 시작 { -->
<section class="sct_wrap">
<header>
<h2><a href="<?php echo G4_SHOP_URL; ?>/listtype.php?type=4">인기상품</a></h2>
<p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 인기상품 모음</p>
</header>
<?php
// 인기상품
$type = 4;
if ($default['de_type'.$type.'_list_use'])
{
display_type($type, $default["de_type{$type}_list_skin"], $default["de_type{$type}_list_mod"], $default["de_type{$type}_list_row"], $default["de_type{$type}_img_width"], $default["de_type{$type}_img_height"]);
}
?>
<?php echo display_type(4); ?>
</section>
<!-- } 인기상품 끝 -->
@ -94,14 +66,7 @@ include_once(G4_SHOP_PATH.'/shop.head.php');
<h2><a href="<?php echo G4_SHOP_URL; ?>/listtype.php?type=5">할인상품</a></h2>
<p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 할인상품 모음</p>
</header>
<?php
// 할인상품
$type = 5;
if ($default['de_type'.$type.'_list_use'])
{
display_type($type, $default["de_type{$type}_list_skin"], $default["de_type{$type}_list_mod"], $default["de_type{$type}_list_row"], $default["de_type{$type}_img_width"], $default["de_type{$type}_img_height"]);
}
?>
<?php echo display_type(5); ?>
</section>
<!-- } 할인상품 끝 -->