2015-07-13 23:33:36 +02:00
<! DOCTYPE HTML PUBLIC " -//W3C//DTD HTML 4.01 Transitional//EN " " http://www.w3.org/TR/html4/loose.dtd " >
< ? php
require_once ( " config.php " );
require_once ( " parser.php " );
require_once ( " mysql.class.php " );
$db = new Database ( $dbhost , $dbuser , $dbpassword , $database , 1 ); //Show Error = 1!
?>
< html >
< head >
2015-07-14 07:16:56 +02:00
< title > BOSWatch </ title >
2015-07-14 10:23:43 +02:00
< meta http - equiv = " Content-Type " content = " text/html; charset=utf-8 " />
< link rel = " stylesheet " type = " text/css " href = " style.css " >
2015-07-13 23:33:36 +02:00
</ head >
< body >
< div style = " text-align: center; width: 1250px; margin: 0px auto; " >
2015-07-14 07:16:56 +02:00
< img src = " gfx/logo.png " alt = " BOSWatch " >< br >
2015-07-14 10:23:43 +02:00
< div id = " navi " >
< a href = " index.php?overview " > Overview </ a > -
< a href = " index.php?fms " > FMS </ a > -
< a href = " index.php?zvei " > ZVEI </ a > -
< a href = " index.php?pocsag " > POCSAG </ a > -
< a href = " index.php?parser " > Parser </ a >
</ div >
2015-07-14 07:16:56 +02:00
< br >< br >
2015-07-13 23:33:36 +02:00
< ? php
2015-07-14 07:16:56 +02:00
if ( isset ( $_GET [ 'overview' ]))
{
include ( " tpl/content.overview.php " );
include ( " tpl/template.overview.php " );
}
2015-07-14 10:23:43 +02:00
elseif ( isset ( $_GET [ 'fms' ]))
{
include ( " tpl/content.fms.php " );
include ( " tpl/template.fms.php " );
}
elseif ( isset ( $_GET [ 'zvei' ]))
{
include ( " tpl/content.zvei.php " );
include ( " tpl/template.zvei.php " );
}
elseif ( isset ( $_GET [ 'pocsag' ]))
{
include ( " tpl/content.pocsag.php " );
include ( " tpl/template.pocsag.php " );
}
2015-07-14 07:16:56 +02:00
elseif ( isset ( $_GET [ 'parser' ]))
{
include ( " tpl/content.parser.php " );
include ( " tpl/template.parser.php " );
}
else
{
2015-07-13 23:33:36 +02:00
include ( " tpl/content.overview.php " );
include ( " tpl/template.overview.php " );
2015-07-14 07:16:56 +02:00
}
?>
2015-07-13 23:33:36 +02:00
</ div >
2015-07-14 07:16:56 +02:00
2015-07-14 10:23:43 +02:00
< div id = " footer " > BOSWatch Webend | 04 / 2015 - < ? php echo date ( " m/Y " ); ?> | find us at <a href="https://github.com/Schrolli91/BOSWatch" target="_blank">GitHub</a> </div>
2015-07-13 23:33:36 +02:00
</ body >
</ html >