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
This commit is contained in:
cookie 2005-10-21 16:45:07 +00:00
parent 92839966eb
commit ca393d00c2
4 changed files with 25 additions and 17 deletions

View File

@ -1,5 +1,4 @@
<? <?
// Adresse des Webservers // Adresse des Webservers
$url = "https://linuxeurobook/"; $url = "https://linuxeurobook/";

View File

@ -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> <table>
<tr> <tr>
<td align="right"><? echo Get_Text("index_lang_nick");?></td> <td align="right"><? echo Get_Text("index_lang_nick");?></td>
@ -14,3 +17,5 @@
<br> <br>
<input type="submit" value="<? echo Get_Text("index_lang_send");?>"> <input type="submit" value="<? echo Get_Text("index_lang_send");?>">
</form> </form>

View File

@ -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");
?> ?>

View File

@ -1,16 +1,24 @@
<?php <?php
$title = "Himmel"; include ("./inc/config.php");
$header = "Schichtpl&auml;ne f&uuml;r Beamer"; include ("./inc/db.php");
$Page["Public"] = "Y"; include ("./inc/funktion_lang.php");
$Page["ShowTabel"] = "N";
$Page["AutoReload"] = 30;
include ("./inc/header.php");
include ("./inc/funktion_user.php"); include ("./inc/funktion_user.php");
include ("./inc/funktionen.php"); include ("./inc/funktionen.php");
include ("./inc/funktion_schichtplan_beamer.php"); include ("./inc/funktion_schichtplan_beamer.php");
$Time = time()+3600+3600; $Time = time()+3600+3600;
//$Time = 1104241344;
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Schichtpl&auml;ne f&uuml;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"; 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 $Out;
} }
echo "</table>"; echo "</table>\n";
include ("./inc/footer.php");
?> ?>
</BODY>
</HTML>