[재업]게시판 제목이 사이드 메뉴에 적용이 되질 않습니다.
본문
한 분이 댓글을 달아주셔서 파일들을 뒤져보고 난 후 다시 질문 드립니다.
일단 현상이.. 게시판의 제목을 바꿔도, 게시판의 목록에서도 저 제목이 바뀌는데도, 왼쪽의 사이드 메뉴가 바뀌지않아서 생기는 문제입니다.
웹에서 소스보기를 해서 해당 소스가 들어가있는 파일을 찾았는데요. 고게 community_left_menu.php입니다. 그 부분의 소스는 다음과 같습니다.
<!-- 콘텐츠 시작 { -->
<div id="sub_st">
<?
$sql2 = " select * from {$g5['menu_table']} where me_use = '1' and length(me_code) = '4' and substring(me_code, 1, 2) = '{$me_code}' order by me_order, me_id ";
$result2 = sql_query($sql2);
for ($k=0; $row2=sql_fetch_array($result2); $k++)
{?>
<li <?if($row2[bo_table] == $bo_table){ echo"class='submemu_on'";}?>><a href="<?php echo $row2['me_link']; ?>" target="_<?php echo $row2['me_target']; ?>"><?=$row2['me_name'];?></a></li>
<?}?>
</div>
그리고 저 게시판 그룹의 상당 스킨은 shop.head.php라는 파일인데요. 그 파일에서 위 community_left_menu.php 파일이 들어간 부분을 찾으니 아래와 같은 소스가 보입니다. ㅠㅠ
제가 초짜라 거의 뭐 뒤적뒤적하고 있습니다.
<div id="wrapper">
<?php include(G5_SHOP_SKIN_PATH.'/boxtodayview.skin.php'); // 오늘 본 상품 ?>
<? //----------------- 112, 113, 134 행 수정 by ktg
//메인의 큰이미지를 지정함. 300px*220px
$facebook_img="facebook_big.jpg"; //메인화면에서는 페이스북 큰이미지
$img_file1=""; // 여분 메인 큰이미지 파일명을 입력
$img_file2=""; // 여분
$img_file3=""; // 여분
$img_file4=""; // 여분
$img_file5=""; // 여분
// echo $group['gr_id'].'////'.$gr_id;
if($me_code && $gr_id !='mocktest' && $gr_id !='uncledona'){ include_once(G5_PATH.'/comunity_left_menu.php'); $m_style ='';}
else if($it_id or ($ca_id and '20'!=$ca_id) or "file_order" == $bo_table || $gr_id =='mocktest' || $gr_id =='uncledona')
{
$m_style="1";
//서브메뉴의 작은이미지를 지정함. 250px*180px
$facebook_img="facebook.jpg";
$img_file1=""; // 여분 서브의 작은 이미지 파일명을 입력
$img_file2=""; // 여분
$img_file3=""; // 여분
$img_file4=""; // 여분
$img_file5=""; // 여분
} // 서브화면에서는 페이스북 작은 이미지를
// 이미지를 두개로 만드는 이유는 메인에 사용하는 이미지를 서브에서 줄여버리면 흐릿해지기때문에 별도로 파일을 넣는다.
if("1498747114"==$it_id or '20'==$ca_id or 'shop'==$group['gr_id'] or 'shop2'==$group['gr_id'] ){ $m_style="2";}
?>
<link rel="stylesheet" href="<?=G5_URL?>/css/main_shop<?=$m_style?>.css">
<? if("1"==$m_style || 'shop2'==$group['gr_id'] || $gr_id =='mocktest' || $gr_id =='uncledona'){?>
<div id="sub_st">
<?
if($bo_table || $group['gr_id'] =='mocktest' || $gr_id =='uncledona') {
if($group['gr_id'] =='mocktest' || $gr_id =='uncledona') $where_gr =$gr_id; else $where_gr ='shop2';
$result = sql_query(" select * from g5_board where gr_id='$where_gr' ");
while ($row = sql_fetch_array($result))
{?>
<li><a href="<?=G5_BBS_URL?>/board.php?bo_table=<?=$row[bo_table]?>" ><?=$row[bo_subject]?></a></li>
<?}?>
<?}
else
{
$sql = " select a.*, b.ca_name, b.ca_use from {$g5['g5_shop_item_table']} a, {$g5['g5_shop_category_table']} b where a.it_id = '$it_id' and a.ca_id = b.ca_id ";
$it = sql_fetch($sql);
if(!$ca_id and $it_id){$ca_id=$it[ca_id];}
$str_id = substr($ca_id,0,2);
$sql = " select ca_id, ca_name from {$g5['g5_shop_category_table']} where ca_id like '$str_id%' and ca_use = '1' order by ca_order, ca_id ";
$result = sql_query($sql);
while ($row=sql_fetch_array($result))
{?>
<li><a href="<?php echo G5_SHOP_URL; ?>/list.php?ca_id=<?=$row['ca_id']?>"><?=$row['ca_name']?></a></li>
<?}
}?>
</div>
이 부분에 이런 소스가 있습니다. 어떻게 손을 봐야할까요?? 개발을 전혀모르는 그저 관리자입니다.
링크는 아래와 같습니다.
https://www.uncleprint.co.kr/bbs/group.php?gr_id=sub01&me_code=10