쇼핑몰: #118 상품 목록 현재 위치 작업 중, 레이아웃 배경색 faf9f5 에서 f7f7f7 로 변경

This commit is contained in:
whitedot
2013-05-02 18:47:35 +09:00
parent b8366e7725
commit 6e1267f912
7 changed files with 19 additions and 15 deletions

View File

@ -57,7 +57,7 @@ a:active {color:#000;text-decoration:underline}
.hd_pops_footer {position:absolute;bottom:0;left:0;padding:10px 0;width:100%;background:#000;color:#fff;text-align:right}
.hd_pops_footer button {margin-right:5px;padding:5px 10px;border:0;background:#393939;color:#fff}
#hd_nb {border-bottom:1px solid #e9e9e9;background:#faf9f5;zoom:1}
#hd_nb {border-bottom:1px solid #e9e9e9;background:#f7f7f7;zoom:1}
#hd_nb:after {display:block;visibility:hidden;clear:both;content:''}
#hd_nb h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#hd_nb ul {margin:0 auto;width:110px}
@ -68,7 +68,7 @@ a:active {color:#000;text-decoration:underline}
#hd_aside {border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9}
#hd_aside h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#hd_aside div {position:relative;margin:0 auto;width:998px;border-right:1px solid #e9e9e9;border-left:1px solid #e9e9e9;background:#faf9f5;zoom:1}
#hd_aside div {position:relative;margin:0 auto;width:998px;border-right:1px solid #e9e9e9;border-left:1px solid #e9e9e9;background:#f7f7f7;zoom:1}
#hd_aside div:after {display:block;visibility:hidden;clear:both;content:''}
#sch_all {float:left;background:#fff}
@ -308,7 +308,11 @@ input.required:focus {padding:3px 3px 4px;border:0;background:#21272e !important
/* 상품 목록 */
#sct {}
.sct_admin {text-align:right}
.sct_admin {margin:0 0 10px;text-align:right}
/* 상품 목록 현재 위치 */
#sct_location {border:1px solid #e9e9e9;background:#f7f7f7}
#sct_location a {display:inline-block;padding:10px 10px 8px}
/* 상품 정렬 */
#sct_sort {margin:0 0 10px;zoom:1}
@ -319,6 +323,7 @@ input.required:focus {padding:3px 3px 4px;border:0;background:#21272e !important
#sct_sort ul:after {display:block;visibility:hidden;clear:both;content:''}
#sct_sort li {float:left;position:relative;margin-left:-1px}
/* ##### maintype(nn).inc.php, list.skin.(nn).php 공통 적용 시작 ##### */
/* 공통 */
.sct_wrap {margin:0 0 30px;zoom:1}
.sct_wrap:after {display:block;visibility:hidden;clear:both;content:''}
@ -390,6 +395,7 @@ input.required:focus {padding:3px 3px 4px;border:0;background:#21272e !important
.sct_13 .sct_rel_ul {margin:0;padding:0;list-style:none}
.sct_13 .sct_rel_li {float:left;margin:0 0 0 10px}
.sct_13 .sct_sns {position:absolute;top:20px;right:20px}
/* ##### maintype(nn).inc.php, list.skin.(nn).php 공통 적용 끝 ##### */
/* 상품 상세보기 */
.sit_icon {display:inline-block;margin:0 0 0 4px}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 695 B

After

Width:  |  Height:  |  Size: 696 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 256 B

After

Width:  |  Height:  |  Size: 256 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 314 B

After

Width:  |  Height:  |  Size: 314 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 210 B

After

Width:  |  Height:  |  Size: 210 B

View File

@ -29,6 +29,7 @@ if ($is_admin)
$nav_ca_id = $ca_id;
include G4_SHOP_PATH.'/navigation1.inc.php';
// 상단 이미지
$himg = G4_DATA_URL.'/category/'.$ca_id.'_h';
if (file_exists($himg)) {
echo '<div id="sct_himg" class="sct_img"><img src="'.$himg.'" alt=""></div>';
@ -37,7 +38,7 @@ if ($is_admin)
// 상단 HTML
echo '<div id="sct_hhtml">'.stripslashes($ca['ca_head_html']).'</div>';
include G4_SHOP_PATH.'/listcategory2.inc.php';
include G4_SHOP_PATH.'/listcategory.inc.php';
// 상품 출력순서가 있다면
if ($sort != "") {
@ -98,6 +99,7 @@ if ($is_admin)
// 하단 HTML
echo '<div id="sct_thtml">'.stripslashes($ca['ca_tail_html']).'</div>';
// 하단 이미지
$timg = G4_DATA_PATH.'/category/'.$ca_id.'_t';
if (file_exists($timg))
echo '<div id="sct_timg" class="sct_img"><img src="'.G4_DATA_URL.'/category/'.$ca_id.'_t" alt="">';

View File

@ -12,12 +12,12 @@ if ($ca_id)
$sql = " select ca_name from {$g4['shop_category_table']} where ca_id = '$code' ";
$row = sql_fetch($sql);
$style = "";
$style = '';
if ($ca_id == $code)
$style = "style='font-weight:bold;'";
$style = 'style="font-weight:bold;"';
$str .= $bar . "<a href='./list.php?ca_id=$code' $style>{$row['ca_name']}</a>";
$bar = " > ";
$str .= $bar.'<a href="./list.php?ca_id='.$code.'" '.$style.'>'.$row['ca_name'].'</a>';
$bar = ' &gt; ';
}
}
else
@ -26,10 +26,6 @@ else
//if ($it_id) $str .= " > $it[it_name]";
?>
<!-- 네비게이션 -->
<table width='100%' cellpadding=0 cellspacing=0 align=center>
<tr><td height=2></td>
<tr><td height=20 valign=top style='padding-left:2px;'><img src='<?=$g4[shop_img_path]?>/navi_icon.gif' align=absmiddle>
현재위치 : <a href='<?=$g4[path]?>/'>Home</a> > <?=$str?></td></tr>
<tr><td height=1 bgcolor=#EFEFEF></td></tr>
</table>
<div id="sct_location">
<a href='<?=$g4[path]?>/'>Home</a> > <?=$str?>
</div>