} // double check config number found point to an existing config file or fallback to config 1 if (!file_exists($currentconfig)) { $currentconfig = "config/statsconfig1.php"; $currentconfignumber = 1; } } require_once $currentconfig; require_once 'languages/languages.php'; // Determine debugmode getdebugmode(); // Do we have template specific settings? if (isset($_SESSION['template'])) { $template = $_SESSION['template']; } $xlrpath = pathlink($pop); $csspath = $xlrpath . "templates/" . $template . "/style.css"; // Include existing php dynamic css? $template_dyn_css = $xlrpath . "templates/" . $template . "/style-css.php?config=" . $currentconfignumber; // Lets get the holiday templates if (file_exists("templates/holidaypack/")) { $xlrpath = GetFileDir($_SERVER['PHP_SELF']); if (date("d.m") == "25.12" || date("d.m") == "26.12") { $csspath = $xlrpath . "templates/holidaypack/xmas.css"; $template_dyn_css = ""; $template = "holidaypack"; } elseif (date("d.m") == "31.12" || date("d.m") == "01.01") { $csspath = $xlrpath . "templates/holidaypack/ny.css"; $template_dyn_css = ""; $template = "holidaypack"; } elseif (date("d.m") == "31.10") {
function displayhomelink($pop = 0) { global $func; global $mysiteurl; global $mysitelinkname; global $statstitle; global $disable_configpicker; global $xlrstats_url; global $myplayerid; //$link = baselink(); $link = pathlink($pop); include "inc_navigation.php"; }