쇼핑몰: 콘텐츠 시작 끝 부분 주석 처리 작업 완료

This commit is contained in:
whitedot
2013-07-01 18:07:58 +09:00
parent c24954cb5f
commit 90b9790463
40 changed files with 167 additions and 19 deletions

View File

@ -51,7 +51,10 @@ $str = preg_replace($src, $dst, $str);
if ($is_admin)
echo '<div class="socc_admin"><a href="'.G4_ADMIN_URL.'/shop_admin/contentform.php?w=u&amp;co_id='.$co_id.'" class="btn_admin">내용 수정</a></div>';
?>
<!-- 등록내용 시작 { -->
<?php
$himg = G4_DATA_PATH.'/content/'.$co_id.'_h';
if (file_exists($himg)) // 상단 이미지
echo '<div id="socc_himg" class="socc_img"><img src="'.G4_DATA_URL.'/content/'.$co_id.'_h" alt=""></div>';
@ -75,7 +78,10 @@ if (file_exists($timg)) // 하단 이미지
if ($is_admin)
echo '<div class="socc_admin"><a href="'.G4_ADMIN_URL.'/shop_admin/contentform.php?w=u&amp;co_id='.$co_id.'" class="btn_admin">내용 수정</a></div>';
?>
<!-- } 등록내용 끝 -->
<?php
if ($co['co_include_tail'])
@include_once($co['co_include_tail']);
else