Merge branch 'master' of github.com:gnuboard/yc4s

This commit is contained in:
chicpro
2013-05-09 17:56:46 +09:00
7 changed files with 164 additions and 168 deletions

View File

@ -6,80 +6,84 @@ define("_INDEX_", TRUE);
include_once(G4_MSHOP_PATH.'/shop.head.php');
?>
<section class="sct_wrap">
<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>
<div id="sidx">
<section class="sct_wrap">
<header>
<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>
</header>
<?php
// 히트상품
$type = 1;
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>
<section class="sct_wrap">
<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">
<header>
<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>
</header>
<?php
// 추천상품
$type = 2;
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>
<section class="sct_wrap">
<header>
<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>
</header>
<?php
// 히트상품
$type = 1;
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>
<section class="sct_wrap">
<header>
<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>
</header>
<?php
// 인기상품
$type = 4;
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>
<section class="sct_wrap">
<header>
<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>
</header>
<?php
// 추천상품
$type = 2;
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>
<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>
<section class="sct_wrap">
<header>
<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>
</header>
<?php
// 인상품
$type = 4;
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>
<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
include_once(G4_MSHOP_PATH.'/shop.tail.php');

View File

@ -70,9 +70,6 @@ include_once(G4_MSHOP_PATH.'/_head.php');
$ca_id = $it['ca_id'];
include G4_MSHOP_PATH.'/navigation1.inc.php';
// 이 분류에 속한 하위분류 출력
include G4_MSHOP_PATH.'/listcategory.inc.php';
if ($is_admin)
echo '<div class="sit_admin"><a href="'.G4_ADMIN_URL.'/shop_admin/itemform.php?w=u&amp;it_id='.$it_id.'" class="btn_admin">상품 관리</a></div>';
@ -470,10 +467,8 @@ else
<div class="sct_wrap">
<?php
$list_mod = $default['de_rel_list_mod'];
$img_width = $default['de_rel_img_width'];
$img_height = $default['de_rel_img_height'];
$td_width = (int)(100 / $list_mod);
$img_width = 230;
$img_height = 230;
$sql = " select b.*
from {$g4['shop_item_relation_table']} a