diff options
Diffstat (limited to 'nonpublic')
-rwxr-xr-x | nonpublic/index.php | 6 | ||||
-rwxr-xr-x | nonpublic/schichtplan_beamer.php | 26 |
2 files changed, 18 insertions, 14 deletions
diff --git a/nonpublic/index.php b/nonpublic/index.php index 1aaf237e..0646714e 100755 --- a/nonpublic/index.php +++ b/nonpublic/index.php @@ -1,7 +1,7 @@ <? - $title = "Index"; $header = "Index"; +$Page["Public"] = "Y"; include ("./inc/db.php"); include ("./inc/crypt.php"); @@ -17,7 +17,6 @@ if (!IsSet($_SESSION['UID'])) { // anzahl zeilen $user_anz = mysql_num_rows($userstring); - if ($user_anz == 1) { // Check, ob User angemeldet wird... if (mysql_result($userstring, 0, "Passwort") == PassCrypt($password)) { // Passwort ok... // Session wird eingeleitet und Session-Variablen gesetzt.. @@ -60,7 +59,6 @@ if (!IsSet($_SESSION['UID'])) { include ("./inc/header.php"); echo Get_Text("pub_index_pass_no_ok"); - die(); include ("./inc/login_eingabefeld.php"); } // Ende Passwort-Check @@ -100,8 +98,6 @@ else <? include ("./inc/footer.php"); - - ?> diff --git a/nonpublic/schichtplan_beamer.php b/nonpublic/schichtplan_beamer.php index c862fefa..6274b289 100755 --- a/nonpublic/schichtplan_beamer.php +++ b/nonpublic/schichtplan_beamer.php @@ -1,16 +1,24 @@ <?php -$title = "Himmel"; -$header = "Schichtpläne für Beamer"; -$Page["Public"] = "Y"; -$Page["ShowTabel"] = "N"; -$Page["AutoReload"] = 30; +include ("./inc/config.php"); +include ("./inc/db.php"); +include ("./inc/funktion_lang.php"); -include ("./inc/header.php"); include ("./inc/funktion_user.php"); include ("./inc/funktionen.php"); include ("./inc/funktion_schichtplan_beamer.php"); $Time = time()+3600+3600; +//$Time = 1104241344; +?> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> +<HEAD> +<TITLE>Schichtpläne für Beamer</TITLE> +<!--<link rel=stylesheet type="text/css" href="./inc/css/style1.css">--> +<meta http-equiv="refresh" content="30; URL=<?substr($url, 0, strlen($url)-1). $ENGEL_ROOT. $Page["Name"]?>"> +</HEAD> +<BODY> +<? echo "<table border=\"1\" width=\"100%\" height=\"100%\" cellpadding=\"0\" cellspacing=\"0\" frame=\"void\">\n"; @@ -49,8 +57,8 @@ foreach( $Room as $RoomEntry ) echo $Out; } -echo "</table>"; - +echo "</table>\n"; -include ("./inc/footer.php"); ?> +</BODY> +</HTML> |