<?php $time = microtime(TRUE); define('TIME_LOADER', $time); $mem = memory_get_usage(); define( '_MAXSITE', 1 ); define('BASE_PATH', dirname(__FILE__) ); define( 'DS', DIRECTORY_SEPARATOR ); define( 'MAXSITE_VERSION', '2.5.3' ); session_start(); if ( !file_exists( 'includes/config.in.php' ) || filesize( 'includes/config.in.php' ) < 9.00 ) { header( 'Location: install/index.php' ); exit(); } /* Installation sub folder check, removed for work with CVS */ if (file_exists( 'install/index.php' )) { include ('offline.php'); exit(); } $_SERVER['PHP_SELF'] = "index.php"; $PHP_SELF = $_SERVER['PHP_SELF']; $name = empty($_GET['name']) ? "" : $_GET['name']; $file = empty($_GET['file']) ? "" : $_GET['file']; $admin_user = empty($_SESSION['admin_user']) ? "" : $_SESSION['admin_user']; $admin_pwd = empty($_SESSION['admin_pwd']) ? "" : $_SESSION['admin_pwd']; $login_true = empty($_SESSION['login_true']) ? "" : $_SESSION['login_true']; $op = empty($_GET['op']) ? "" : $_GET['op']; $action = empty($_GET['action']) ? "" : $_GET['action']; $page = empty($_GET['page']) ? "" : $_GET['page']; $category = empty($_GET['category']) ? "" : $_GET['category']; require_once("mainfile.php"); GETMODULE($name, $file); // Make sure you're using correct paths here require_once("modules/useronline/counter.php"); // Calling TEMPLATE require_once("templates/".WEB_TEMPLATES."/function.php"); require_once( 'templates/'.WEB_TEMPLATES.'/index.php' );
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง