* @link http://www.hatchbit.jp * @since Version 1.0 * @filesource */ /*==================== DEFINE ====================*/ if (isset($_GET['php']) && $_GET['php'] == "info") { phpinfo(); exit; } // スタートスクリプト require './includes/start.php'; // 必要モジュールを読み込み require './includes/login.class.php'; $login = new loginEngine($db); // SMARTY require dirname(__FILE__) . '/includes/smarty.class.php'; $smarty = new smartyEngine(); $assets = array(); $template = 'login.html'; /*==================== BEFORE ACTIONS ====================*/ // リダイレクトURI if (!empty($_GET['return_uri'])) { $assets['return_uri'] = $_GET['return_uri']; } /*==================== MAIN ACTIONS ====================*/
* @link http://www.hatchbit.jp * @since Version 1.0 * @filesource */ /*==================== DEFINE ====================*/ if (isset($_GET['php']) && $_GET['php'] == "info") { phpinfo(); exit; } // スタートスクリプト require dirname(dirname(__FILE__)) . '/includes/start.php'; // 必要モジュールを読み込み require dirname(dirname(__FILE__)) . '/includes/login.class.php'; $login = new loginEngine($db); // SMARTY require dirname(dirname(__FILE__)) . '/includes/smarty.class.php'; $smarty = new smartyEngine(); $assets = array(); $template = 'manager/top.html'; /*==================== BEFORE ACTIONS ====================*/ // ログインチェック if (!isset($_SESSION['login'], $_SESSION['token'])) { header("Location: login.php"); exit; } /*==================== MAIN ACTIONS
* @link http://www.hatchbit.jp * @since Version 1.0 * @filesource */ /*==================== DEFINE ====================*/ if (isset($_GET['php']) && $_GET['php'] == "info") { phpinfo(); exit; } // スタートスクリプト require './includes/start.php'; // 必要モジュールを読み込み require './includes/login.class.php'; $login = new loginEngine($db); /*==================== BEFORE ACTIONS ====================*/ /*==================== MAIN ACTIONS ====================*/ $user_id = $login->token2userid($_GET['token']); echo $user_id; exit; /*==================== AFTER ACTIONS ====================*/ /*==================== FUNCTIONS ====================*/
* @link http://www.hatchbit.jp * @since Version 1.0 * @filesource */ /*==================== DEFINE ====================*/ if (isset($_GET['php']) && $_GET['php'] == "info") { phpinfo(); exit; } // スタートスクリプト require dirname(dirname(__FILE__)) . '/includes/start.php'; // 必要モジュールを読み込み require dirname(dirname(__FILE__)) . '/includes/login.class.php'; $login = new loginEngine($db); // SMARTY require dirname(dirname(__FILE__)) . '/includes/smarty.class.php'; $smarty = new smartyEngine(); $assets = array(); $template = 'manager/user-update.html'; $msg = array(); /*==================== BEFORE ACTIONS ====================*/ // ログインチェック if (!isset($_SESSION['login'], $_SESSION['token'])) { header("Location: login.php"); exit; } /*====================
* @link http://www.hatchbit.jp * @since Version 1.0 * @filesource */ /*==================== DEFINE ====================*/ if (isset($_GET['php']) && $_GET['php'] == "info") { phpinfo(); exit; } // スタートスクリプト require dirname(dirname(__FILE__)) . '/includes/start.php'; // 必要モジュールを読み込み require dirname(dirname(__FILE__)) . '/includes/login.class.php'; $login = new loginEngine($db); // SMARTY require dirname(dirname(__FILE__)) . '/includes/smarty.class.php'; $smarty = new smartyEngine(); $assets = array(); $template = 'manager/user-insert.html'; $msg = array(); /*==================== BEFORE ACTIONS ====================*/ // ログインチェック if (!isset($_SESSION['login'], $_SESSION['token'])) { header("Location: login.php"); exit; } /*====================