<?php
/**
 ********************************************
 * Masters of Endurance tracker / LFS-Tracker 
 ********************************************
 * 
 * Copyright © 2007 Wolfgang Tom (WolleT)
 * v1.0 originally written by Wolfgang Tom
 * 
 * Copyright © 2009-2011 Michael Booth (Boothy)
 * v2.0 tracker modified by Michael Booth
 * 
 * Thanks also to Casper Roescher (Kaspur).  
 * 
 * Latest tracker version available from the LFS forum thread - http://www.lfsforum.net/showthread.php?t=73414
 * Any code changes/improvements can be submitted for inclusion in the public tracker version. 
 * E-mail me at web@michaelbooth.me.uk or PM me via http://www.lfsforum.net/private.php?do=newpm&u=202039
 * 
 ********************************************
 * 
 * DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
 * Version 2, December 2004

 * Copyright © 2004 Sam Hocevar <sam@hocevar.net>

 * Everyone is permitted to copy and distribute verbatim or modified
 * copies of this license document, and changing it is allowed as long
 * as the name is changed.

 * DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
 * TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

 * 0. You just DO WHAT THE FUCK YOU WANT TO. 
 * 
 ******************************************** 
 * See http://sam.zoy.org/wtfpl/ for more information
 **/
require '../config.php';
header('Content-type: text/html;charset=utf-8'); ?>
<!DOCTYPE html>
<html dir='ltr' lang='en'>
<head>
<meta charset='utf-8'>
<title><?php echo ($windowtitleadmin); ?></title>
<?php
if ($faviconFilepath) {
    echo ("<link rel='shortcut icon' href='$faviconFilepath' type='image/x-icon'>");
} ?>
<link rel='stylesheet' type='text/css' href='<?php
if ($cssFilepath{0} !== "/") {
    echo "../", $cssFilepath;
} elseif ($cssFilepath{0} == "h") {
    echo $cssFilepath;
} else {
    echo $cssFilepath;
} ?>' media='Screen'>
</head>
<body id="admin">
<ul id='nav'>
<li><a href='../'>Tracker home</a></li>
<li><a href='../racecontrol.html'>Race control</a></li>
<li><a href='index.php'>Team Data</a></li>
<li><a href='trackstatus.php'>Track Status</a></li>
<li><a href='index.php?file=master'>Master Team Data</a></li>
<li><a href='config.php'>Config file</a></li>
<li><a href='server.php'>DB Server</a></li>
<li><a href='../update<?php echo ($updateNumber); ?>.php'>Update tracker</a></li>
<li><a href='../docs'>Documentation</a></li>
</ul>
<div id='container'>
<div id='container2'>