BOSWatch/www/old_webend/index.php

47 lines
1,010 B
PHP
Raw Normal View History

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>
<title>BOSWatch</title>
2015-07-13 23:33:36 +02:00
<link rel="stylesheet" type="text/css" href="tooltip.css">
</head>
<body>
<div style="text-align: center; width: 1250px; margin: 0px auto;">
<img src="gfx/logo.png" alt="BOSWatch"><br>
<a href="index.php?overview">[<EFBFBD>bersicht]</a> - <a href="index.php?parser">[Parser]</a>
<br><br>
2015-07-13 23:33:36 +02:00
<?php
if(isset($_GET['overview']))
{
include("tpl/content.overview.php");
include("tpl/template.overview.php");
}
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-13 23:33:36 +02:00
</div>
2015-07-13 23:33:36 +02:00
</body>
</html>