# Functions Including. require_once './function.php'; # Default Site Configuration require_once ROOT.'/func/config.php'; # Board Configuration if(!$_GET['code']){ PutMessage('ERROR : CODE IS NULL'); exit; } //require_once "./config.${_GET[code]}.php"; if(file_exists("./config.${_GET[code]}.php")){ require_once "./config.${_GET[code]}.php"; }else{ RefreshURL('/'); } //if($_permit['Logined']){ procLoginChk(); } require_once ROOT.'/func/include.connect.php'; # Action Checking $include="./skin/${_skin}/${mode}.php"; if(!file_exists($include)){ PutMessageBack('잘못된 경로로 접근하셨거나, 해당 액션이 존재하지 않습니다.'); exit;} # 검색 문자열 정리 $keyfield=$_POST['keyfield']?$_POST['keyfield']:$_GET['keyfield']; $key=stripslashes($_POST['key']?$_POST['key']:$_GET['key']); $encoded_key=urlencode($key); #Header Including if(ereg('form', $mode) || !strcasecmp($mode, 'list') || !strcasecmp($mode, 'view') || !strcasecmp($mode, 'tlist')) { require_once $_bbsHeader; echo '