상단 위치표시 코드 수정 및 파일명 변경

This commit is contained in:
gnuboard
2013-09-12 16:52:37 +09:00
parent 1aa5c7c097
commit 387413378d
3 changed files with 7 additions and 7 deletions

View File

@ -79,7 +79,7 @@ else
// 분류 위치
// HOME > 1단계 > 2단계 ... > 6단계 분류
$ca_id = $it['ca_id'];
include G4_SHOP_PATH.'/navigation1.inc.php';
include G4_SHOP_PATH.'/navigation.inc.php';
// 이 분류에 속한 하위분류 출력
include G4_SHOP_PATH.'/listcategory.inc.php';

View File

@ -51,7 +51,7 @@ if ($is_admin)
<?php
$nav_ca_id = $ca_id;
include G4_SHOP_PATH.'/navigation1.inc.php';
include G4_SHOP_PATH.'/navigation.inc.php';
// 상단 HTML
echo '<div id="sct_hhtml">'.stripslashes($ca['ca_head_html']).'</div>';

View File

@ -3,7 +3,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if ($ca_id)
{
$str = $bar = "";
$navigation = $bar = "";
$len = strlen($ca_id) / 2;
for ($i=1; $i<=$len; $i++)
{
@ -20,16 +20,16 @@ if ($ca_id)
$sct_bg = 'sct_bg';
else $sct_bg = '';
$str .= $bar.'<a href="./list.php?ca_id='.$code.'" class="'.$sct_here.' '.$sct_bg.'">'.$row['ca_name'].'</a>';
$navigation .= $bar.'<a href="./list.php?ca_id='.$code.'" class="'.$sct_here.' '.$sct_bg.'">'.$row['ca_name'].'</a>';
}
}
else
$str = $g4['title'];
$navigation = $g4['title'];
//if ($it_id) $str .= " > $it[it_name]";
//if ($it_id) $navigation .= " > $it[it_name]";
?>
<div id="sct_location">
<a href='<?php echo G4_SHOP_URL; ?>/' class="sct_bg">Home</a>
<?php echo $str; ?>
<?php echo $navigation; ?>
</div>