BOSWatch/www/index.php

47 lines
1,010 B
PHP
Raw Normal View History

<!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");
2015-04-09 13:24:15 +02:00
require_once ("mysql.class.php");
$db = new Database($dbhost, $dbuser, $dbpassword, $database, 1); //Show Error = 1!
?>
<html>
<head>
<title>BOSWatch</title>
<link rel="stylesheet" type="text/css" href="tooltip.css">
</head>
<body>
<div style="text-align: center; width: 1250px; margin: 0px auto;">
2015-07-02 09:02:49 +02:00
<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-04-09 13:24:15 +02:00
<?php
2015-07-02 09:02:49 +02:00
2015-04-09 13:24:15 +02:00
if(isset($_GET['overview']))
{
2015-04-10 07:43:00 +02:00
include("tpl/content.overview.php");
include("tpl/template.overview.php");
}
2015-04-09 13:34:52 +02:00
elseif(isset($_GET['parser']))
{
2015-04-10 07:43:00 +02:00
include("tpl/content.parser.php");
include("tpl/template.parser.php");
2015-04-09 13:34:52 +02:00
}
2015-04-09 13:24:15 +02:00
else
{
2015-04-10 07:43:00 +02:00
include("tpl/content.overview.php");
include("tpl/template.overview.php");
}
2015-07-02 09:02:49 +02:00
?>
</div>
2015-07-02 09:02:49 +02:00
</body>
2015-07-02 09:02:49 +02:00
</html>