// standard class includes include "../class.mysqldb.php"; include "../class.user.php"; include "../class.site.php"; include "../class.module.php"; include "../class.datanode.php"; // load PDF open source modules // courtesy of http://www.fpdf.org/ include "../class.fpdf.php"; include "../class.pdf.php"; // very important setting for FPDF define(FPDF_FONTPATH, '../fonts/'); include "../initsession.php"; // initialize database connection $db = new MySQLDB(); $conn = $db->connid(); include "../modules/_dbselect.php"; // these are the key modules for game engine $user = new User(); $site = new Site(); $module = new Module(); // load language constants // for multilingualization // courtesy of the MBDS Project // http://www.mbdsnet.org/ // to expand functionality, load/use class.language.php include "../lang.php"; // check if any users exist if ($user->check_users()) { // redirect to welcome page header("location: " . $_SERVER["PHP_SELF"] . "?page=WELCOME");