1.03<><>高川<>$page_id[],$disp[]に変更 20040926<>1.02<><>高川<>テンプレート共通関数化 20040719<>1.01<><>高川<>エラーコード全面変更 20040514<>1.00<><>高川<>新規作成 /////////////////////////*/ require_once "global.inc"; /* no cache */ require_once "$include/no_cache.inc"; /* CLASS読込み */ require_once "$class/dbcon.cls"; require_once "$class/Template.cls"; require_once "$class/Err.cls";//(Mess.clls,logErr_Ins.cls) /* エラー表示クラスインスタンス化 */ $clsErr = new Err(); $clsErr->pos = basename($_SERVER['SCRIPT_NAME']); $clsErr->template=$template; $brc="mn0507001"; /* イベント期間チェック */ include_once "$include/setloginflg.inc"; $kikancheck = b_time(); if(!$kikancheck[0]){ $clsErr->detail = $kikancheck[1]; $clsErr->flg_button = "f"; if(!$clsErr->Page(1)){ echo "エラー表示できませんでした。"; exit; } exit; } /* ただいま混み合っておりますのガイダンス表示 */ if(!$flg_setlogin){ $template_file = $template."/".$pc_force_err_template; include_once $template_file; exit; } /* 間引き */ if($flg_mabiki){ if(b_nologin()){ $template_file = $template."/".$pc_force_err_template; include_once $template_file; exit; } } /* データベースコネクト */ /* $dbcon = new DBConnection($MAIN_DB,"",$USER_NAME,$PASSWD,FALSE); $con = $dbcon->Connection; $clsErr->con = $con; if (!$con) { $clsErr->detail = $dbcon->Err; $clsErr->code = $dbcon->returnCode; if(!$clsErr->Page(2)){ echo "エラーが発生しました。 " . $clsErr->code; exit; } exit; } */ /* テンプレート取得 */ $template_file = $template."/". $page_name["a0"]; //$no_template = $page_id["a0"]; //$template_file = getTemplateFile($no_template); require_once "$template_file"; ?>