<?php /******************************************************************************* * * インデックス * * ファイル名:index.php * ******************************************************************************/ // 起動 ------------------------------------------------------------------------ require_once "../boot.php"; $dbCon = new DbConn(); $session = new SessionUtil($dbCon); if (!$session->IsLogin()) { header("Location: login.php"); exit; } // 必要なファイルをインクルード ------------------------------------------------ require_once APP_INC_DIR . "incCommon.php"; // メイン処理開始 -------------------------------------------------------------- $smarty = new SmartyEx(); fnSetCommonInfo($smarty, 0); header("Content-Type: text/html;charset=UTF-8"); // テンプレート表示 $smarty->display("admin/index.html"); exit; // 関数群 ======================================================================