summaryrefslogtreecommitdiff
path: root/nonpublic
diff options
context:
space:
mode:
Diffstat (limited to 'nonpublic')
-rwxr-xr-xnonpublic/index.php6
-rwxr-xr-xnonpublic/schichtplan_beamer.php26
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&auml;ne f&uuml;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&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";
@@ -49,8 +57,8 @@ foreach( $Room as $RoomEntry )
echo $Out;
}
-echo "</table>";
-
+echo "</table>\n";
-include ("./inc/footer.php");
?>
+</BODY>
+</HTML>