diff --git a/html/login.html b/html/login.html index 0ed97cd..2456633 100644 --- a/html/login.html +++ b/html/login.html @@ -1,120 +1,86 @@ - - - - - Login Anmeldesysteme - - - - + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - -
-
-
- -
-
- -
- Login Anmeldesysteme -
- -

{$index_list}

-
- - -
-
-
- -
-
- - -
-
-
- - + + +
+
+
+ +
+
+ +
Login Anmeldesysteme
+ +

{$index_list}

+
+ +
+
+
+ +
+
+
+
+ -
-
- -
-
-
-
-
-
-
- - - - - - - - - - - - - - - - - {literal} - - {/literal} - + -->Passwort vergessen
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + + + + + + + {literal} + {/literal} + + \ No newline at end of file diff --git a/php/index.php b/php/index.php index fa16991..8454c07 100644 --- a/php/index.php +++ b/php/index.php @@ -1,14 +1,29 @@ assign('hs', $_SESSION['global_hs']); -$smarty->assign('stg', $_SESSION['global_stg']); - +require_once ("../config/datenbankanbindung.php"); +$templatename = substr(basename($_SERVER['PHP_SELF']) , 0, -3) . "html"; +if (isset($_SESSION['global_hs'])) +{ + $smarty->assign('hs', $_SESSION['global_hs']); +} +else +{ + $smarty->assign('hs', ''); +} +if (isset($_SESSION['global_stg'])) +{ + $smarty->assign('stg', $_SESSION['global_stg']); +} +else +{ + $smarty->assign('stg', ''); +} $smarty->display("$templatename"); -?> +?> \ No newline at end of file