|
|
@ -1,7 +1,7 @@
|
|
|
|
<?
|
|
|
|
<?
|
|
|
|
|
|
|
|
|
|
|
|
$title = "Index";
|
|
|
|
$title = "Index";
|
|
|
|
$header = "Index";
|
|
|
|
$header = "Index";
|
|
|
|
|
|
|
|
$Page["Public"] = "Y";
|
|
|
|
|
|
|
|
|
|
|
|
include ("./inc/db.php");
|
|
|
|
include ("./inc/db.php");
|
|
|
|
include ("./inc/crypt.php");
|
|
|
|
include ("./inc/crypt.php");
|
|
|
@ -17,7 +17,6 @@ if (!IsSet($_SESSION['UID'])) {
|
|
|
|
// anzahl zeilen
|
|
|
|
// anzahl zeilen
|
|
|
|
$user_anz = mysql_num_rows($userstring);
|
|
|
|
$user_anz = mysql_num_rows($userstring);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($user_anz == 1) { // Check, ob User angemeldet wird...
|
|
|
|
if ($user_anz == 1) { // Check, ob User angemeldet wird...
|
|
|
|
if (mysql_result($userstring, 0, "Passwort") == PassCrypt($password)) { // Passwort ok...
|
|
|
|
if (mysql_result($userstring, 0, "Passwort") == PassCrypt($password)) { // Passwort ok...
|
|
|
|
// Session wird eingeleitet und Session-Variablen gesetzt..
|
|
|
|
// Session wird eingeleitet und Session-Variablen gesetzt..
|
|
|
@ -60,7 +59,6 @@ if (!IsSet($_SESSION['UID'])) {
|
|
|
|
include ("./inc/header.php");
|
|
|
|
include ("./inc/header.php");
|
|
|
|
|
|
|
|
|
|
|
|
echo Get_Text("pub_index_pass_no_ok");
|
|
|
|
echo Get_Text("pub_index_pass_no_ok");
|
|
|
|
die();
|
|
|
|
|
|
|
|
include ("./inc/login_eingabefeld.php");
|
|
|
|
include ("./inc/login_eingabefeld.php");
|
|
|
|
|
|
|
|
|
|
|
|
} // Ende Passwort-Check
|
|
|
|
} // Ende Passwort-Check
|
|
|
@ -100,8 +98,6 @@ else
|
|
|
|
<?
|
|
|
|
<?
|
|
|
|
include ("./inc/footer.php");
|
|
|
|
include ("./inc/footer.php");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
?>
|
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|