mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-05 14:35:17 +00:00
move www-dir to exampleAddOns
This commit is contained in:
parent
beb955567f
commit
ad88f65d0b
70 changed files with 0 additions and 0 deletions
63
exampleAddOns/alarmMonitorWeb/Alarm.php
Normal file
63
exampleAddOns/alarmMonitorWeb/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