} } $parser = new parser(); /* END */ preg_match('/^([a-z]+)\\./', $_SERVER['SERVER_NAME'], $subdomain); if (is_dir($cfg['language_abs'] . '/' . $subdomain[1]) && $subdomain[1] != "") { $flolang->language = $subdomain[1]; } $flolang->load("global"); $db = MYSQL_CONNECT($cfg['dbhost'], $cfg['dbuser'], $cfg['dbpasswd']) or die("No Database connection"); MYSQL_SELECT_DB($cfg['dbname'], $db) or die("No Database connection"); MYSQL_QUERY("SET NAMES 'utf8'"); require_once $cfg['root_abs'] . "/functions.php"; define('is_florensia', 1); require_once $cfg['root_abs'] . "/class_florensia.php"; $florensia = new class_florensia(); $color1 = 255; $color2 = 255; $color3 = 255; $columnname_x = 0; $columnall_start = 10; $columnvalue_x = 300; $picturewidth = 310; $fontsize = 9; $steps = 12; if ($_REQUEST['small']) { $small = true; } else { $small = false; } $detailsrow = 0;
echo "\n\t\t<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"\n\t\t\"http://www.w3.org/TR/html4/loose.dtd\">\n\t\t<html>\n\t\t\t<title>Florensia Base - Under Contruction</title>\n\t\t\t<meta name='author' content='Noxx'>\n\t\t\t<meta name='copyight' content='(c) 2008-" . date("Y") . " by www.florensia-base.com'>\n\t\t\t<meta name='language' content='en'>\n\t\t\t<meta name='revisit-after' content='daily'>\n\t\t\t<meta name='keywords' content='Florensia,Florensia Online,Flo,Quests,Ranking,Guild,Character,Market,Guides,Items,Monsters,NPCs,Signature,Skilltree,Database,Forum,official,Fansite'>\n\t\t\t<meta name='description' content='Fansite about Florensia - Join our community'>\n\t\t\t<meta http-equiv='Content-Type' content='text/html;charset=utf-8'>\n\t\t\t<link rel='stylesheet' type='text/css' href='css.css'>\n\t\t\t<!--[if lt IE 8]>\n\t\t\t<script src='http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE8.js' type='text/javascript'></script>\n\t\t\t<![endif]-->\n\t\t\t<body style='margin-width:0px; margin-height:0px; margin-top:0px; margin-left:0px;' bgcolor='#37658a'>\n\t\t\t\t<div style='height:90px'></div>\n\t\t\t\t<div style='text-align:center;' class='subtitle'>\n\t\t\t\t\t<table width='100%' style='text-align:center;'>\n\t\t\t\t\t\t<tr><td height='200' colspan='3' style='text-align:center;'><img src='{$cfg['layer_rel']}/shiplogo.png' border='0'></td></tr>\n\t\t\t\t\t\t<tr><td width='33%'></td><td class='warning' style='text-align:center;'>Under construction</td><td width='33%'></td></tr>\n\t\t\t\t\t\t<tr><td height='20' colspan='3'></td></tr>\n\t\t\t\t\t\t<tr><td width='33%'></td><td class='warning' style='text-align:center;'>This website is currently down for maintenance.<br />Please check back in some minutes.</td><td width='33%'></td></tr>\n\t\t\t\t\t\t<tr><td height='20' colspan='3'></td></tr>\n\t\t\t\t\t\t<tr><td width='33%'></td><td class='bordered' style='text-align:center;'><a href='http://forum.florensia-base.com'>Forum</a></td><td width='33%'></td></tr>\n\t\t\t\t\t\t<tr><td height='50' colspan='3'></td></tr>\n\t\t\t\t\t</table>\n\t\t\t\t</div>\n\t\t\t</body>\n\t\t</html>\n\t"; die; } /* some workarounds */ bcscale(0); // set all bc-functions like bcsub to a scale of 0 /* end workarounds */ $db = MYSQL_CONNECT($cfg['dbhost'], $cfg['dbuser'], $cfg['dbpasswd']) or die("No Database connection"); MYSQL_SELECT_DB($cfg['dbname'], $db) or die("No Database connection"); MYSQL_QUERY("SET NAMES 'utf8'"); $db_workaround = $db; require_once $cfg['root_abs'] . "/functions.php"; // + cachesystem define('is_florensia', '1'); require_once $cfg['root_abs'] . "/class_florensia.php"; $florensia = new class_florensia(); foreach ($cfg as $varname => $varvalue) { $florensia->{$varname} = $varvalue; } define("KILL_GLOBALS", 1); define("IN_MYBB", 1); require $florensia->forum . "/global.php"; require_once MYBB_ROOT . "inc/functions_user.php"; require_once MYBB_ROOT . "inc/class_parser.php"; $parser = new postParser(); $lang->load("member"); #date_default_timezone_set("System/Localtime"); # use system time for all date() calculations require_once $cfg['root_abs'] . "/class_lang.php"; $flolang = new class_lang(); if (is_dir($cfg['language_abs'] . '/' . $subdomain[1]) && $subdomain[1] != "") { $flolang->language = $subdomain[1];