diff --git a/css/default_shop.css b/css/default_shop.css index 8a2b031fc..8da38ca04 100644 --- a/css/default_shop.css +++ b/css/default_shop.css @@ -339,7 +339,7 @@ input.required:focus {padding:3px 3px 4px;border:0;background:#21272e !important #sbn_idx li {margin:0 0 1px} /* 내용관리 */ -#socc {padding:10px;border:1px solid #e9e9e9} +#socc {margin:10px 0;padding:10px;border:1px solid #e9e9e9} #socc header h1 {position:absolute;font-size:0;line-height:0;overflow:hidden} #socc_con {padding:10px 0} .socc_admin {text-align:right} @@ -348,7 +348,7 @@ input.required:focus {padding:3px 3px 4px;border:0;background:#21272e !important /* FAQ 관리 */ #sfaq {} #sfaq header h1 {position:absolute;font-size:0;line-height:0;overflow:hidden} -#sfaq_wrap {padding:10px 0} +#sfaq_wrap {margin:10px 0} #sfaq_wrap h2 {position:absolute;font-size:0;line-height:0;overflow:hidden} #sfaq_wrap ol {margin:0;padding:0;list-style:none} #sfaq_list {margin:0 0 10px;border:1px solid #ccc} diff --git a/shop/content.php b/shop/content.php index c11dd6542..ee1890167 100644 --- a/shop/content.php +++ b/shop/content.php @@ -49,6 +49,9 @@ $dst[] = $default['de_admin_info_email']; $str = preg_replace($src, $dst, $str); +if ($is_admin) + echo '
내용 수정
'; + $himg = G4_DATA_PATH.'/content/'.$co_id.'_h'; if (file_exists($himg)) // 상단 이미지 echo '
'; @@ -59,19 +62,10 @@ if (file_exists($himg)) // 상단 이미지

- 내용 수정'; - ?> -
- 내용 수정'; - ?> '; +if ($is_admin) + echo '
내용 수정
'; + if ($co['co_include_tail']) @include_once($co['co_include_tail']); else