fix and layout
This commit is contained in:
parent
f8b8feee5b
commit
8b6632d36f
@ -1,5 +1,6 @@
|
||||
<?php
|
||||
exit();
|
||||
// ist veraltet, muss noch angepasst werden.
|
||||
session_start();
|
||||
$strLoginName=(isset($_SESSION['user'])) ? $_SESSION['user'] : "" ;
|
||||
$boolLogin = (!empty($strLoginName));
|
||||
|
@ -17,7 +17,6 @@ if (isset($_SESSION['district'])) {
|
||||
else {
|
||||
$strDistrict="";
|
||||
}
|
||||
|
||||
require_once("../config.php");
|
||||
$boolLogin=true;
|
||||
|
||||
@ -42,7 +41,6 @@ $boolLogin=true;
|
||||
$boolLogin=false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
@ -85,7 +83,6 @@ $boolLogin=true;
|
||||
</div> <br>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h2>Login</h2>
|
||||
@ -108,12 +105,9 @@ $boolLogin=true;
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="margin-top:5em;">
|
||||
<a class="btn btn-primary text-white" href="../index.php?ref=1">zurück</a>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -19,7 +19,7 @@
|
||||
header("Location: start.php");
|
||||
}
|
||||
require("config.php");
|
||||
if ($strDistict=="unkown") { header("Location: start.php");}
|
||||
if ($strDistrict=="unkown") { header("Location: start.php");}
|
||||
require_once("lib/functions.php");
|
||||
|
||||
$ref=(isset($_GET['ref']) && ($_GET['ref']==1));
|
||||
@ -27,7 +27,6 @@
|
||||
$strIntro ="<h4>".$strTitle."</h4>";
|
||||
$strIntro .= nl2br2($strIntroText);
|
||||
|
||||
|
||||
$result= $db->prepare("SELECT loc.*,f.filename
|
||||
FROM location loc LEFT JOIN files f ON loc.id=f.loc_id
|
||||
WHERE loc.district=:district");
|
||||
@ -172,8 +171,6 @@
|
||||
?>
|
||||
<div id="loader"><img src="css/images/ajax-loader.gif"></div>
|
||||
<script>
|
||||
|
||||
|
||||
// Map ----------------------------------------------------------------------
|
||||
|
||||
var mymap = L.map('mapid').setView([<?=$numInfoLat ?>, <?=$numInfoLng ?>], <?=$numZoom ?>);
|
||||
@ -484,7 +481,6 @@
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
10
setup.php
10
setup.php
@ -9,13 +9,11 @@
|
||||
******************************** */
|
||||
|
||||
exit();
|
||||
// noch nicht vollständig angepasst
|
||||
require("config.db.php");
|
||||
$boolError=false;
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
@ -28,7 +26,6 @@ exit();
|
||||
.leftlabel { width: 10em;}
|
||||
input[type="text"] { width: 18em;}
|
||||
input.wide {width: 24em;}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@ -138,10 +135,6 @@ require("config.php");
|
||||
</div>
|
||||
<br>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h3>Anbieterinformation</h3>
|
||||
@ -197,4 +190,3 @@ require("config.php");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user