Anzeigesystem für WMS Monitore. http://wms.viwetter.de/interface/index.php
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

48 lines
1.6 KiB

<?php
include("./exec/pulllib.php");
//check for session code:
$login = validLogin();
if (!$login){
header("Location: ../interface/");
header("Content-Type: text/html");
}
?>
<!DOCTYPE html>
<html>
<head>
<title>WMS-Interface</title>
<?php echo file_get_contents("./html/head.html"); ?>
</head>
<body>
<div class="container">
<div class="row mt-3">
<div class="col-2"><?php buildMenu(); ?></div>
<div class="col-10">
<?php
if(isset($_GET["folder"])){
echo "<h2>Ordner: ".$_GET["folder"]."</h2>";
if(isset($_GET["fid"])){
echo "Standart Link: <a href=\"../?fid=".$_GET["fid"]."\">../?fid=".$_GET["fid"]."</a><br><br>";
include("./exec/upload_include.php");
println("<br>");
include("./exec/fr_include.php");
}
} else {
echo "<h2>WMS-Interface</h2>";
println("<p>Willkommen auf dem WMS-Interface.<br>Das Weather Monitoring System (WMS) besteht aus mehreren Ordnern. Um die Bilder in den Ordnern zu bearbeiten findet Ihr auf der linken Seite eine Menü.</p>");
}
if(isset($_GET["i"])){
$include = htmlspecialchars($_GET["i"]);
if(strlen($include)==2){
include("./exec/$include"."_include.php");
}
}
?>
</div>
</div>
</div>
</body>
</html>