fix and layout

This commit is contained in:
Walter Hupfeld
2024-02-22 16:34:43 +01:00
parent f8b8feee5b
commit 8b6632d36f
4 changed files with 10 additions and 27 deletions

View File

@@ -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>