쇼핑몰: #118 상품 목록 현재 위치 작업 중, 레이아웃 배경색 faf9f5 에서 f7f7f7 로 변경
This commit is contained in:
@ -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="">';
|
||||
|
||||
@ -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 = ' > ';
|
||||
}
|
||||
}
|
||||
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>
|
||||
|
||||
Reference in New Issue
Block a user