diff options
author | cookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8> | 2005-10-21 16:45:07 +0000 |
---|---|---|
committer | cookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8> | 2005-10-21 16:45:07 +0000 |
commit | ca393d00c26dec7722f249aea75bcd71a4268bac (patch) | |
tree | 8d845ae3293e70efda7a44117356531b48321630 | |
parent | 92839966eb430c642841d4e1abf12fe6667bc067 (diff) |
bugfix eingabefeld: ausgabe der fehlermeldungen wieder aktiv
coptimize beamer ausgabe
git-svn-id: svn://svn.cccv.de/engel-system@4 29ba0400-6e00-0410-a75a-ca02368028f8
-rwxr-xr-x | inc/config.php | 1 | ||||
-rwxr-xr-x | inc/login_eingabefeld.php | 9 | ||||
-rwxr-xr-x | nonpublic/index.php | 6 | ||||
-rwxr-xr-x | nonpublic/schichtplan_beamer.php | 26 |
4 files changed, 25 insertions, 17 deletions
diff --git a/inc/config.php b/inc/config.php index d9ebb624..46d91eec 100755 --- a/inc/config.php +++ b/inc/config.php @@ -1,5 +1,4 @@ <? - // Adresse des Webservers $url = "https://linuxeurobook/"; diff --git a/inc/login_eingabefeld.php b/inc/login_eingabefeld.php index 24fe4da1..def62f25 100755 --- a/inc/login_eingabefeld.php +++ b/inc/login_eingabefeld.php @@ -1,6 +1,9 @@ -<!-- <form action="<?echo $url.$ENGEL_ROOT; ?>nonpublic/index.php" method="post">--> -<form action="./nonpublic/index.php" method="post"> + +<form action="<? +include ("./inc/config.php"); +echo substr($url, 0, strlen($url)-1). $ENGEL_ROOT +?>nonpublic/index.php" method="post"> <table> <tr> <td align="right"><? echo Get_Text("index_lang_nick");?></td> @@ -14,3 +17,5 @@ <br> <input type="submit" value="<? echo Get_Text("index_lang_send");?>"> </form> + + 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> |