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

@@ -1,5 +1,6 @@
<?php
exit();
// ist veraltet, muss noch angepasst werden.
session_start();
$strLoginName=(isset($_SESSION['user'])) ? $_SESSION['user'] : "" ;
$boolLogin = (!empty($strLoginName));

View File

@@ -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 style="margin-top:5em;">
<a class="btn btn-primary text-white" href="../index.php?ref=1">zurück</a>
</div>
</div>
</body>
</html>