mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-07 15:33:43 +00:00
new Webinterface
This commit is contained in:
parent
1232d497ff
commit
2e05b29efe
62 changed files with 4055 additions and 81 deletions
63
www/Alarm.php
Normal file
63
www/Alarm.php
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
|
||||
|
||||
|
||||
<!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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue