include "/var/chnet2/inc/util.inc.php";
include "/var/chnet2/inc/dbopen.inc.php";
include $ABSOLUTEPATH."/castinclude/basicinfo.php";
include "/var/chnet2/inc/classes/chinfo.class.php";
$chinfo = $classChInfo->init($USERDBNAME);
/*****************************
HEAD
*****************************/
if($gfile=="event_notice" || $gfile=="sermon_notice1" || $gfile=="sermon_notice2"){
}
else{
//echo $ABSOLUTEPATH."/castconf/cast_".$code."_gesi_head.php";
include $ABSOLUTEPATH."/castconf/cast_".$code."_gesi_head.php";
}
/*****************************
HEAD END
*****************************/
if(!file_exists($ABSOLUTEPATH."/castconf/cast_".$code."_gesi.conf"))
{
JavaScriptBack("°Ô½ÃÆÇÀÌ Á¸ÀçÇÏÁö ¾Ê½À´Ï´Ù.....");
}else{
include $ABSOLUTEPATH."/castconf/cast_".$code."_gesi.conf";
}
//$connection = MyConnect($HOST,$USERDBNAME,$USER_USER,$PW);
$board = get_board_info($code);
?>
switch($gfile){
case "sermon_notice1":
include "sermon_notice1.php";
break;
case "sermon_notice2":
include "sermon_notice2.php";
break;
case "event_notice":
include "event_notice.php";
break;
case "write":
include "write.php";
break;
case "write_data":
include "write_data.php";
break;
case "view":
include "view.php";
break;
case "mod":
include "mod.php";
break;
case "nomal_mod_data":
include "nomal_mod_data.php";
break;
case "event_mod_data":
include "event_mod_data.php";
break;
case "del":
include "delete.php";
break;
case "auth":
include "auth.php";
break;
default:
include "list.php";
}
?>
mysql_close($connection); ?>
/*****************************
TAIL
*****************************/
if($gfile=="event_notice" || $gfile=="sermon_notice1" || $gfile=="sermon_notice2"){
}
else{include $ABSOLUTEPATH."/castconf/cast_".$code."_gesi_tail.php";}
/*****************************
TAILEND
*****************************/
?>
//echo $gfile.".";?>