fix and layout
This commit is contained in:
@@ -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 style="margin-top:5em;">
|
||||
<a class="btn btn-primary text-white" href="../index.php?ref=1">zurück</a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user