getRow("SELECT mstatus FROM members WHERE memberid = '".$memberid."'");
if (DB::isError($row) || !is_array($row)) {
die("__ERROR__'".$id."' 는 등록되지 않은 ID입니다.");
} else {
if ($row['mstatus']==1) {
$view=1;
}else{
echo '
';
}
}
}
if($isAdmin || $view) {
$bid = 6; // 회원게시판
switch (strtoupper($_GET[act])) {
case "LIST":
include $_SERVER["DOCUMENT_ROOT"]."/board/list.php"; break;
case "READ":
include $_SERVER["DOCUMENT_ROOT"]."/board/read.php"; break;
case "WRITE":
include $_SERVER["DOCUMENT_ROOT"]."/board/write.php"; break;
case "DELETE":
include $_SERVER["DOCUMENT_ROOT"]."/board/delete.php"; break;
case "ERROR":
include $_SERVER["DOCUMENT_ROOT"]."/board/error.php"; break;
default:
include $_SERVER["DOCUMENT_ROOT"]."/board/list.php"; break;
}
}
?>