mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2025-12-06 07:42:03 +01:00
64 lines
1.1 KiB
PHP
64 lines
1.1 KiB
PHP
|
|
|
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
|
|
<?php
|
|
session_start();
|
|
?>
|
|
|
|
<?php
|
|
if(!isset($_SESSION["username"]))
|
|
{
|
|
echo "Bitte erst <a href=\"login.html\">einloggen</a>";
|
|
exit;
|
|
}
|
|
?>
|
|
|
|
|
|
<?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>Alamierungen</title>
|
|
<meta http-equiv="refresh" content="60">
|
|
<link rel="stylesheet" type="text/css" href="tooltip.css">
|
|
</head>
|
|
<body>
|
|
|
|
<div style="text-align: center; width: 1250px; margin: 0px auto;">
|
|
|
|
|
|
|
|
<br><br>
|
|
<?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
|
|
// {
|
|
include("tpl/content.overview.php");
|
|
include("tpl/template.overview.php");
|
|
// }
|
|
|
|
?>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|