게시판 출력이 되지 않아요~도와주세요ㅠㅠ
프리랜서분께 홈페이지 개발을 의뢰하여 온라인 게시판을 달았습니다.
어드민관리자가 아니고는 접근이 안되게 해달라하여
skin폴더의 온라인 게시판 스킨 중 list.php의 파일을 아래와 같이 바뀌었는데 제가 뭘 잘못건드렸는지
비회원이 목록 페이지를 보면 맹탕의 아무 페이지도 나타나지 않습니다.
뭐가 잘못된 것일까요?
그리고 admin과 더불어 9등급의 부관리자도 이 페이지를 볼 수 있으려면
어찌해야 할까요?? 도와주세요~
게시판 스킨 중 list.php 상단의 내용↓
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if ($is_admin != 'super') {
?>
alert("관리자외에는 접근할 수 없습니다.");
document.location.href=g5_url;
};
// 선택옵션으로 인해 셀합치기가 가변적으로 변함
$colspan = 5;
if ($is_checkbox) $colspan++;
if ($is_good) $colspan++;
if ($is_nogood) $colspan++;
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('', 0);
?>
------
답변 2개
</span></p><p><span style="color: rgb(72, 72, 72); font-family: 돋움, Dotum, sans-serif; font-size: 14px; line-height: 25.203125px;"><?php</span></p><p style="word-break: break-all; color: rgb(72, 72, 72); font-family: 돋움, Dotum, sans-serif; font-size: 14px; line-height: 25.203125px;">if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가</p><p style="word-break: break-all; color: rgb(72, 72, 72); font-family: 돋움, Dotum, sans-serif; font-size: 14px; line-height: 25.203125px;"> </p><p style="word-break: break-all; color: rgb(72, 72, 72); font-family: 돋움, Dotum, sans-serif; font-size: 14px; line-height: 25.203125px;">if (!$is_admin) alert('관리자외에는 접근할 수 없습니다.', G5_URL);</p><p style="word-break: break-all; color: rgb(72, 72, 72); font-family: 돋움, Dotum, sans-serif; font-size: 14px; line-height: 25.203125px;"> </p><p style="word-break: break-all; color: rgb(72, 72, 72); font-family: 돋움, Dotum, sans-serif; font-size: 14px; line-height: 25.203125px;">// 선택옵션으로 인해 셀합치기가 가변적으로 변함</p><p style="word-break: break-all; color: rgb(72, 72, 72); font-family: 돋움, Dotum, sans-serif; font-size: 14px; line-height: 25.203125px;">$colspan = 5;</p><p style="word-break: break-all; color: rgb(72, 72, 72); font-family: 돋움, Dotum, sans-serif; font-size: 14px; line-height: 25.203125px;"> </p><p style="word-break: break-all; color: rgb(72, 72, 72); font-family: 돋움, Dotum, sans-serif; font-size: 14px; line-height: 25.203125px;">if ($is_checkbox) $colspan++;</p><p style="word-break: break-all; color: rgb(72, 72, 72); font-family: 돋움, Dotum, sans-serif; font-size: 14px; line-height: 25.203125px;">if ($is_good) $colspan++;</p><p style="word-break: break-all; color: rgb(72, 72, 72); font-family: 돋움, Dotum, sans-serif; font-size: 14px; line-height: 25.203125px;">if ($is_nogood) $colspan++;</p><p style="word-break: break-all; color: rgb(72, 72, 72); font-family: 돋움, Dotum, sans-serif; font-size: 14px; line-height: 25.203125px;"> </p><p style="word-break: break-all; color: rgb(72, 72, 72); font-family: 돋움, Dotum, sans-serif; font-size: 14px; line-height: 25.203125px;">// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨</p><p style="word-break: break-all; color: rgb(72, 72, 72); font-family: 돋움, Dotum, sans-serif; font-size: 14px; line-height: 25.203125px;">add_stylesheet('<link rel="stylesheet" href="'.$board_skin_url.'/style.css">', 0);</p><p><span style="color: rgb(72, 72, 72); font-family: 돋움, Dotum, sans-serif; font-size: 14px; line-height: 25.203125px;">?></span> </p><p><font color="#484848" face="돋움, Dotum, sans-serif"><span style="font-size: 14px; line-height: 25.203125px;">
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인