if (!isset($ValidAccess) || $ValidAccess != 2010) { header("Location: /"); exit; } include "include/globals.php"; date_default_timezone_set($school_record['timezone']); $SiteTitle = "School Appointments - " . $school_record['school_name']; // Set colour scheme $colourcss = $school_record['colour_scheme']; // Setup screen background $background = "background: "; if (strlen($school_record['bg_color'])) { if (preg_match("/^#/",$school_record['bg_color'])) $background .= $school_record['bg_color']; else $background .= "#" . $school_record['bg_color']; } else { $background .= "#000000"; } if (strlen($school_record['background'])) { $background .= " url(/backgrounds/" . $school_record['background'] . ") top center fixed"; } $background .= ";\n"; // Check if there is a calendar css file for this colour $calCSS = "css/Calendar.$colourcss"; if (! is_file($calCSS)) { $calCSS = "css/Calendar.black.css"; } // DB Title $siteDB_title = ""; if (strlen($siteDB)) $siteDB_title = " ($siteDB DB)"; ?>
echo($school_record['application_title']); ?> if ($school_record['status'] == 'Trial') echo(" - TRIAL MODE"); ?> | include "include/flags.php"; ?> |
echo($templatePageTitle) ?> |
echo($templatePageContent);
?>
|
echo(dateString('defaulttime') . ' - ' . $user_ip) ?>