define('SITE', true);
include_once($_SERVER[DOCUMENT_ROOT]."/2018/CONFIG/const.php");
define("__CASTLE_PHP_VERSION_BASE_DIR__", HOME_DIRECTOY."/web_boan/");
include_once(__CASTLE_PHP_VERSION_BASE_DIR__ . "/castle_referee.php");
include_once($_SERVER[DOCUMENT_ROOT]."/2018/NEW_MASTER/DB_CON.PHP");
include_once($_SERVER[DOCUMENT_ROOT]."/2018/FUNC/FUNC.php");
include_once './inc/pub.config.php';
include_once PATH.'/inc/common.php';
?>
$nrel=@mysql_query("select * from ".BOARD_BBS." where tbl_name='news' order by bbs_no desc limit 5");
$ntot=@mysql_affected_rows();
for($n=0;$n<$ntot;$n++) {
$nro=@mysql_fetch_object($nrel);
?>
}?>
$nrel=@mysql_query("select * from ".BOARD_BBS." where tbl_name='faq' order by bbs_no desc limit 5");
$ntot=@mysql_affected_rows();
for($n=0;$n<$ntot;$n++) {
$nro=@mysql_fetch_object($nrel);
?>
}?>
$nrel=@mysql_query("select * from ".BOARD_BBS." where tbl_name='jd' order by bbs_no desc limit 5");
$ntot=@mysql_affected_rows();
for($n=0;$n<$ntot;$n++) {
$nro=@mysql_fetch_object($nrel);
?>
}?>