M쇼핑몰: #154 인덱스 스타일 보완
This commit is contained in:
@ -209,7 +209,7 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei
|
|||||||
|
|
||||||
/* ########## 쇼핑몰 컨텐츠 ########## */
|
/* ########## 쇼핑몰 컨텐츠 ########## */
|
||||||
/* 인덱스 이미지 출력 */
|
/* 인덱스 이미지 출력 */
|
||||||
#sidx_img {margin:0 0 20px}
|
#sidx {padding:1em}
|
||||||
|
|
||||||
/* 상품 목록 */
|
/* 상품 목록 */
|
||||||
#sct {}
|
#sct {}
|
||||||
|
|||||||
@ -6,80 +6,84 @@ define("_INDEX_", TRUE);
|
|||||||
include_once(G4_MSHOP_PATH.'/shop.head.php');
|
include_once(G4_MSHOP_PATH.'/shop.head.php');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<section class="sct_wrap">
|
<div id="sidx">
|
||||||
<header>
|
|
||||||
<h2><a href="<?php echo G4_MSHOP_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_mobile_type'.$type.'_list_us'])
|
|
||||||
{
|
|
||||||
mobile_display_type($type, $default["de_mobile_type{$type}_list_skin"], $default["de_mobile_type{$type}_list_row"], $default["de_mobile_type{$type}_img_width"], $default["de_mobile_type{$type}_img_height"]);
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section class="sct_wrap">
|
<section class="sct_wrap">
|
||||||
<header>
|
<header>
|
||||||
<h2><a href="<?php echo G4_MSHOP_URL; ?>/listtype.php?type=1">히트상품</a></h2>
|
<h2><a href="<?php echo G4_MSHOP_URL; ?>/listtype.php?type=3">최신상품</a></h2>
|
||||||
<p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 히트상품 모음</p>
|
<p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 최신상품 모음</p>
|
||||||
</header>
|
</header>
|
||||||
<?php
|
<?php
|
||||||
// 히트상품
|
// 최신상품
|
||||||
$type = 1;
|
$type = 3;
|
||||||
if ($default['de_mobile_type'.$type.'_list_use'])
|
if ($default['de_mobile_type'.$type.'_list_us'])
|
||||||
{
|
{
|
||||||
mobile_display_type($type, $default["de_mobile_type{$type}_list_skin"], $default["de_mobile_type{$type}_list_row"], $default["de_mobile_type{$type}_img_width"], $default["de_mobile_type{$type}_img_height"]);
|
mobile_display_type($type, $default["de_mobile_type{$type}_list_skin"], $default["de_mobile_type{$type}_list_row"], $default["de_mobile_type{$type}_img_width"], $default["de_mobile_type{$type}_img_height"]);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="sct_wrap">
|
<section class="sct_wrap">
|
||||||
<header>
|
<header>
|
||||||
<h2><a href="<?php echo G4_MSHOP_URL; ?>/listtype.php?type=2">추천상품</a></h2>
|
<h2><a href="<?php echo G4_MSHOP_URL; ?>/listtype.php?type=1">히트상품</a></h2>
|
||||||
<p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 추천상품 모음</p>
|
<p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 히트상품 모음</p>
|
||||||
</header>
|
</header>
|
||||||
<?php
|
<?php
|
||||||
// 추천상품
|
// 히트상품
|
||||||
$type = 2;
|
$type = 1;
|
||||||
if ($default['de_mobile_type'.$type.'_list_use'])
|
if ($default['de_mobile_type'.$type.'_list_use'])
|
||||||
{
|
{
|
||||||
mobile_display_type($type, $default["de_mobile_type{$type}_list_skin"], $default["de_mobile_type{$type}_list_row"], $default["de_mobile_type{$type}_img_width"], $default["de_mobile_type{$type}_img_height"]);
|
mobile_display_type($type, $default["de_mobile_type{$type}_list_skin"], $default["de_mobile_type{$type}_list_row"], $default["de_mobile_type{$type}_img_width"], $default["de_mobile_type{$type}_img_height"]);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="sct_wrap">
|
<section class="sct_wrap">
|
||||||
<header>
|
<header>
|
||||||
<h2><a href="<?php echo G4_MSHOP_URL; ?>/listtype.php?type=4">인기상품</a></h2>
|
<h2><a href="<?php echo G4_MSHOP_URL; ?>/listtype.php?type=2">추천상품</a></h2>
|
||||||
<p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 인기상품 모음</p>
|
<p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 추천상품 모음</p>
|
||||||
</header>
|
</header>
|
||||||
<?php
|
<?php
|
||||||
// 인기상품
|
// 추천상품
|
||||||
$type = 4;
|
$type = 2;
|
||||||
if ($default['de_mobile_type'.$type.'_list_use'])
|
if ($default['de_mobile_type'.$type.'_list_use'])
|
||||||
{
|
{
|
||||||
mobile_display_type($type, $default["de_mobile_type{$type}_list_skin"], $default["de_mobile_type{$type}_list_row"], $default["de_mobile_type{$type}_img_width"], $default["de_mobile_type{$type}_img_height"]);
|
mobile_display_type($type, $default["de_mobile_type{$type}_list_skin"], $default["de_mobile_type{$type}_list_row"], $default["de_mobile_type{$type}_img_width"], $default["de_mobile_type{$type}_img_height"]);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="sct_wrap">
|
<section class="sct_wrap">
|
||||||
<header>
|
<header>
|
||||||
<h2><a href="<?php echo G4_MSHOP_URL; ?>/listtype.php?type=5">할인상품</a></h2>
|
<h2><a href="<?php echo G4_MSHOP_URL; ?>/listtype.php?type=4">인기상품</a></h2>
|
||||||
<p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 할인상품 모음</p>
|
<p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 인기상품 모음</p>
|
||||||
</header>
|
</header>
|
||||||
<?php
|
<?php
|
||||||
// 할인상품
|
// 인기상품
|
||||||
$type = 5;
|
$type = 4;
|
||||||
if ($default['de_mobile_type'.$type.'_list_use'])
|
if ($default['de_mobile_type'.$type.'_list_use'])
|
||||||
{
|
{
|
||||||
mobile_display_type($type, $default["de_mobile_type{$type}_list_skin"], $default["de_mobile_type{$type}_list_row"], $default["de_mobile_type{$type}_img_width"], $default["de_mobile_type{$type}_img_height"]);
|
mobile_display_type($type, $default["de_mobile_type{$type}_list_skin"], $default["de_mobile_type{$type}_list_row"], $default["de_mobile_type{$type}_img_width"], $default["de_mobile_type{$type}_img_height"]);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<section class="sct_wrap">
|
||||||
|
<header>
|
||||||
|
<h2><a href="<?php echo G4_MSHOP_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_mobile_type'.$type.'_list_use'])
|
||||||
|
{
|
||||||
|
mobile_display_type($type, $default["de_mobile_type{$type}_list_skin"], $default["de_mobile_type{$type}_list_row"], $default["de_mobile_type{$type}_img_width"], $default["de_mobile_type{$type}_img_height"]);
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
include_once(G4_MSHOP_PATH.'/shop.tail.php');
|
include_once(G4_MSHOP_PATH.'/shop.tail.php');
|
||||||
|
|||||||
Reference in New Issue
Block a user