fixed all the files in /admin

git-svn-id: svn://svn.cccv.de/engel-system@284 29ba0400-6e00-0410-a75a-ca02368028f8
main
ichdasich 17 years ago
parent 0c4794c71f
commit 244d74474a

@ -1,8 +1,8 @@
<?php <?php
$title = "R&auml;ume"; $title = "R&auml;ume";
$header = "Verwaltung der R&auml;ume"; $header = "Verwaltung der R&auml;ume";
include ("./inc/header.php"); include ("../../includes/header.php");
include("./inc/funktion_db.php"); include("../../includes/funktion_db.php");
function runSQL( $SQL) function runSQL( $SQL)
{ {
@ -187,5 +187,5 @@ case 'delete':
} }
} }
include ("./inc/footer.php"); include ("../../includes/footer.php");
?> ?>

@ -2,7 +2,7 @@
$title = "ChangeLog"; $title = "ChangeLog";
$header = "Datenbank-Auszug"; $header = "Datenbank-Auszug";
include ("./inc/header.php"); include ("../../includes/header.php");
$SQL = "SELECT * FROM `ChangeLog` ORDER BY `Time` DESC LIMIT 0,10000"; $SQL = "SELECT * FROM `ChangeLog` ORDER BY `Time` DESC LIMIT 0,10000";
$Erg = mysql_query($SQL, $con); $Erg = mysql_query($SQL, $con);
@ -24,6 +24,6 @@ for ($n = 0 ; $n < mysql_num_rows($Erg) ; $n++)
echo "</table>\n"; echo "</table>\n";
include ("./inc/footer.php"); include ("../../includes/footer.php");
?> ?>

@ -1,8 +1,8 @@
<?php <?php
$title = "UserPicture"; $title = "UserPicture";
$header = "Verwaltung der User Picture"; $header = "Verwaltung der User Picture";
include ("./inc/header.php"); include ("../../includes/header.php");
include ("./inc/funktion_schichtplan_aray.php"); include ("../../includes/funktion_schichtplan_aray.php");
if( IsSet($_GET["action"]) ) if( IsSet($_GET["action"]) )
@ -145,5 +145,5 @@ echo "</table>";
echo "<br><a href=\"./UserPicture.php?action=FormUpload\">picture upload</a>\n"; echo "<br><a href=\"./UserPicture.php?action=FormUpload\">picture upload</a>\n";
include ("./inc/footer.php"); include ("../../includes/footer.php");
?> ?>

@ -2,8 +2,8 @@
$title = "akive Engel"; $title = "akive Engel";
$header = "Liste der aktiven Engel"; $header = "Liste der aktiven Engel";
include ("./inc/header.php"); include ("../../includes/header.php");
include ("./inc/funktion_db_list.php"); include ("../../includes/funktion_db_list.php");
echo "<form action=\"./aktiv.php\" method=\"post\">"; echo "<form action=\"./aktiv.php\" method=\"post\">";
echo Get_Text("pub_aktive_Text1")."<br>\n"; echo Get_Text("pub_aktive_Text1")."<br>\n";
@ -92,6 +92,6 @@ echo "</table>";
echo "<br>Anzahl eintraege: $aktivecount / $rowcount (Aktive/Mitschichten)<br><br>"; echo "<br>Anzahl eintraege: $aktivecount / $rowcount (Aktive/Mitschichten)<br><br>";
include ("./inc/footer.php"); include ("../../includes/footer.php");
?> ?>

@ -1,8 +1,8 @@
<?PHP <?PHP
$title = "DB Update from XML"; $title = "DB Update from XML";
$header = "DB Update from XML"; $header = "DB Update from XML";
include ("./inc/header.php"); include ("../../includes/header.php");
include ("./inc/funktion_xml.php"); include ("../../includes/funktion_xml.php");
/////////// ///////////
// DEBUG // // DEBUG //
@ -271,10 +271,10 @@ echo "<hr>\n";
V e r s i o n V e r s i o n
##############################################################################################*/ ##############################################################################################*/
if( $EnableRoomFunctions) if( $EnableRoomFunctions)
include("./inc/funktion_xml_room.php"); include("../../includes/funktion_xml_room.php");
if( $EnableSchudleFunctions) if( $EnableSchudleFunctions)
include("./inc/funktion_xml_schudle.php"); include("../../includes/funktion_xml_schudle.php");
/*############################################################################################## /*##############################################################################################
@ -288,6 +288,6 @@ echo "</form>\n";
} //if XMLopenOOK } //if XMLopenOOK
include ("./inc/footer.php"); include ("../../includes/footer.php");
?> ?>

@ -2,8 +2,8 @@
$title = "Debug-Liste"; $title = "Debug-Liste";
$header = "Datenbank-Auszug"; $header = "Datenbank-Auszug";
include ("./inc/header.php"); include ("../../includes/header.php");
include ("./inc/funktion_db_list.php"); include ("../../includes/funktion_db_list.php");
echo "<h1>Web Counter</h1>"; echo "<h1>Web Counter</h1>";
funktion_db_list("Counter"); funktion_db_list("Counter");
@ -58,6 +58,6 @@ $rowcount = mysql_num_rows($Erg);
for ($i=0; $i<$rowcount; $i++) for ($i=0; $i<$rowcount; $i++)
echo mysql_result($Erg, $i, 1). "x '". mysql_result($Erg, $i, 0). "'<br>\n"; echo mysql_result($Erg, $i, 1). "x '". mysql_result($Erg, $i, 0). "'<br>\n";
include ("./inc/footer.php"); include ("../../includes/footer.php");
?> ?>

@ -2,11 +2,11 @@
$title = "Engelsystem - DECT"; $title = "Engelsystem - DECT";
$header = "DECT send call"; $header = "DECT send call";
include ("./inc/header.php"); include ("../../includes/header.php");
include ("./inc/config_IAX.php"); include ("../../includes/config_IAX.php");
//include ("./inc/funktion_modem.php"); //include ("../../includes/funktion_modem.php");
include ("./inc/funktion_cron.php"); include ("../../includes/funktion_cron.php");
if( !isset($_GET["dial"])) $_GET["dial"] = ""; if( !isset($_GET["dial"])) $_GET["dial"] = "";
if( !isset($_GET["custum"])) $_GET["custum"] = ""; if( !isset($_GET["custum"])) $_GET["custum"] = "";
@ -65,6 +65,6 @@ if( $_GET["dial"]=="dial")
echo "</form>"; echo "</form>";
include ("./inc/footer.php"); include ("../../includes/footer.php");
?> ?>

@ -1,7 +1,7 @@
<?PHP <?PHP
include ("./inc/header.php"); include ("../../includes/header.php");
include ("./inc/footer.php"); include ("../../includes/footer.php");
?> ?>

@ -2,8 +2,8 @@
$title = "Himmel"; $title = "Himmel";
$header = "FAQ / Fragen an die Erzengel"; $header = "FAQ / Fragen an die Erzengel";
$submenus = 1; $submenus = 1;
include ("./inc/header.php"); include ("../../includes/header.php");
include ("./inc/funktion_db.php"); include ("../../includes/funktion_db.php");
//var init //var init
$quest_bearb=0; $quest_bearb=0;
@ -279,5 +279,5 @@ else
echo "</ul>\n"; echo "</ul>\n";
} }
include ("./inc/footer.php"); include ("../../includes/footer.php");
?> ?>

@ -2,8 +2,8 @@
$title = "Erzengel"; $title = "Erzengel";
$header = "Freie Engel"; $header = "Freie Engel";
include ("./inc/header.php"); include ("../../includes/header.php");
include ("./inc/funktion_db_list.php"); include ("../../includes/funktion_db_list.php");
echo "Hallo ".$_SESSION['Nick'].",<br>\n"; echo "Hallo ".$_SESSION['Nick'].",<br>\n";
@ -99,6 +99,6 @@ for ($i=0; $i < $Zeilen; $i++)
} }
echo "</table>\n"; echo "</table>\n";
include ("./inc/footer.php"); include ("../../includes/footer.php");
?> ?>

@ -2,8 +2,8 @@
$title = "Erzengel"; $title = "Erzengel";
$header = "Index"; $header = "Index";
include ("./inc/header.php"); include ("../../includes/header.php");
include ("./inc/funktion_db_list.php"); include ("../../includes/funktion_db_list.php");
echo "Hallo Erzengel ".$_SESSION['Nick'].",<br>\n"; echo "Hallo Erzengel ".$_SESSION['Nick'].",<br>\n";
@ -14,6 +14,6 @@ du bist jetzt im Erzengel-Bereich. Hier kannst du die Engel-Verwaltung vornehmen
Bitte melde dich <a href="../logout.php">hier</a> nach getaner Arbeit immer ab, damit kein anderer hier &Auml;nderungen vornehmen kann. Bitte melde dich <a href="../logout.php">hier</a> nach getaner Arbeit immer ab, damit kein anderer hier &Auml;nderungen vornehmen kann.
<?PHP <?PHP
include ("./inc/footer.php"); include ("../../includes/footer.php");
?> ?>

@ -2,8 +2,8 @@
$title = "Newsverwaltung"; $title = "Newsverwaltung";
$header = "Verwaltung der News"; $header = "Verwaltung der News";
include ("./inc/header.php"); include ("../../includes/header.php");
include ("./inc/funktion_db_list.php"); include ("../../includes/funktion_db_list.php");
if (!IsSet($_GET["action"])) if (!IsSet($_GET["action"]))
@ -117,6 +117,6 @@ else
} }
}// IF-ELSE }// IF-ELSE
include ("./inc/footer.php"); include ("../../includes/footer.php");
?> ?>

@ -1,8 +1,8 @@
<?php <?php
$title = "R&auml;ume"; $title = "R&auml;ume";
$header = "Verwaltung der R&auml;ume"; $header = "Verwaltung der R&auml;ume";
include ("./inc/header.php"); include ("../../includes/header.php");
include ("./inc/funktion_schichtplan_aray.php"); include ("../../includes/funktion_schichtplan_aray.php");
$Sql = "SELECT * FROM `Room` ORDER BY `Number`, `Name`"; $Sql = "SELECT * FROM `Room` ORDER BY `Number`, `Name`";
$Erg = mysql_query($Sql, $con); $Erg = mysql_query($Sql, $con);
@ -195,5 +195,5 @@ if (IsSet($SQL)){
} //IF IsSet($action) } //IF IsSet($action)
include ("./inc/footer.php"); include ("../../includes/footer.php");
?> ?>

@ -2,7 +2,7 @@
$title = "Schichtplan"; $title = "Schichtplan";
$header = "Neue Schichten erfassen"; $header = "Neue Schichten erfassen";
$submenus = 1; $submenus = 1;
include ("./inc/header.php"); include ("../../includes/header.php");
function executeSQL( $SQL) function executeSQL( $SQL)
{ {
@ -353,5 +353,5 @@ if (IsSet($chSQL)){
} }
include ("./inc/footer.php"); include ("../../includes/footer.php");
?> ?>

@ -6,10 +6,10 @@ $submenus = 1;
if (!IsSet($_GET["action"])) if (!IsSet($_GET["action"]))
{ {
include ("./inc/header.php"); include ("../../includes/header.php");
include ("./inc/funktionen.php"); include ("../../includes/funktionen.php");
include ("./inc/funktion_schichtplan_aray.php"); include ("../../includes/funktion_schichtplan_aray.php");
include ("./inc/funktion_schichtplan.php"); include ("../../includes/funktion_schichtplan.php");
echo "Hallo ". $_SESSION['Nick']. "<br>\n". echo "Hallo ". $_SESSION['Nick']. "<br>\n".
"auf dieser Seite kannst du dir den Schichtplan in einer Druckansicht generieren lassen. W&auml;hle hierf&uuml;r ein Datum und den Raum:\n". "auf dieser Seite kannst du dir den Schichtplan in einer Druckansicht generieren lassen. W&auml;hle hierf&uuml;r ein Datum und den Raum:\n".
@ -30,7 +30,7 @@ if (!IsSet($_GET["action"]))
} }
echo "<br><br>"; echo "<br><br>";
include ("./inc/footer.php"); include ("../../includes/footer.php");
} }
else //################################################################# else //#################################################################
{ {
@ -39,15 +39,15 @@ else //#################################################################
$Raum = $_GET["Raum"]; $Raum = $_GET["Raum"];
$ausdatum = $_GET["ausdatum"]; $ausdatum = $_GET["ausdatum"];
include ("./inc/config_db.php"); include ("../../includes/config_db.php");
include ("./inc/config.php"); include ("../../includes/config.php");
include ("./inc/secure.php"); include ("../../includes/secure.php");
//var wird nur gesetzt immer edit auszublenden, achtung sesion darf nicht gestart sein !!! //var wird nur gesetzt immer edit auszublenden, achtung sesion darf nicht gestart sein !!!
$_SESSION['CVS'][ "admin/schichtplan.php" ] = "N"; $_SESSION['CVS'][ "admin/schichtplan.php" ] = "N";
include ("./inc/funktion_lang.php"); include ("../../includes/funktion_lang.php");
include ("./inc/funktion_schichtplan.php"); include ("../../includes/funktion_schichtplan.php");
include ("./inc/funktion_schichtplan_aray.php"); include ("../../includes/funktion_schichtplan_aray.php");
include ("./inc/funktion_user.php"); include ("../../includes/funktion_user.php");
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

@ -2,7 +2,7 @@
$title = "Schicht Hinzufügen"; $title = "Schicht Hinzufügen";
$header = "Neue Schichten erfassen"; $header = "Neue Schichten erfassen";
include ("./inc/header.php"); include ("../../includes/header.php");
$Time = time()+3600+3600; $Time = time()+3600+3600;
@ -354,5 +354,5 @@ function CreateNewEntry()
echo "</tr>\n"; echo "</tr>\n";
} }
include ("./inc/footer.php"); include ("../../includes/footer.php");
?> ?>

@ -2,7 +2,7 @@
$title = "Sprache"; $title = "Sprache";
$header = "Liste der existierenden Sprcheintr&auml;ge"; $header = "Liste der existierenden Sprcheintr&auml;ge";
include ("./inc/header.php"); include ("../../includes/header.php");
if( !isset( $_GET["TextID"] ) ) if( !isset( $_GET["TextID"] ) )
@ -117,6 +117,6 @@ else
} }
include ("./inc/footer.php"); include ("../../includes/footer.php");
?> ?>

@ -2,8 +2,8 @@
$title = "T-Shirt-Ausgabe"; $title = "T-Shirt-Ausgabe";
$header = "T-Shirt-Ausgabe f&uuml;r aktiven Engel"; $header = "T-Shirt-Ausgabe f&uuml;r aktiven Engel";
include ("./inc/header.php"); include ("../../includes/header.php");
include ("./inc/funktion_db_list.php"); include ("../../includes/funktion_db_list.php");
If (IsSet($_GET["aktiv"])) { If (IsSet($_GET["aktiv"])) {
@ -54,6 +54,6 @@ for ($i=0; $i<$rowcount; $i++){
echo "</table>"; echo "</table>";
include ("./inc/footer.php"); include ("../../includes/footer.php");
?> ?>

@ -2,8 +2,8 @@
$title = "User-Liste"; $title = "User-Liste";
$header = "Editieren der Engelliste"; $header = "Editieren der Engelliste";
include ("./inc/header.php"); include ("../../includes/header.php");
include ("./inc/funktion_db_list.php"); include ("../../includes/funktion_db_list.php");
if (!IsSet($_GET["enterUID"])) if (!IsSet($_GET["enterUID"]))
{ {
@ -291,7 +291,7 @@ else
} }
} }
include ("./inc/footer.php"); include ("../../includes/footer.php");
?> ?>

@ -2,10 +2,10 @@
$title = "User-Liste"; $title = "User-Liste";
$header = "Index"; $header = "Index";
include ("./inc/header.php"); include ("../../includes/header.php");
include ("./inc/funktion_db_list.php"); include ("../../includes/funktion_db_list.php");
include ("./inc/crypt.php"); include ("../../includes/crypt.php");
include ("./inc/funktion_db.php"); include ("../../includes/funktion_db.php");
if (IsSet($_GET["action"])) if (IsSet($_GET["action"]))
{ {
@ -150,6 +150,6 @@ else
echo "Unzul&auml;ssiger Aufruf.<br>Bitte neu editieren..."; echo "Unzul&auml;ssiger Aufruf.<br>Bitte neu editieren...";
} }
include ("./inc/footer.php"); include ("../../includes/footer.php");
?> ?>

@ -2,8 +2,8 @@
$title = "Defalut User Setting"; $title = "Defalut User Setting";
$header = "Defalut User Setting"; $header = "Defalut User Setting";
include ("./inc/header.php"); include ("../../includes/header.php");
include ("./inc/funktion_db_list.php"); include ("../../includes/funktion_db_list.php");
echo "Hallo ".$_SESSION['Nick']. echo "Hallo ".$_SESSION['Nick'].
",<br>\nhier hast du die M&ouml;glichkeit, die Defaulteinstellungen f&uuml;r neue User einzustellen:<br><br>\n"; ",<br>\nhier hast du die M&ouml;glichkeit, die Defaulteinstellungen f&uuml;r neue User einzustellen:<br><br>\n";
@ -105,6 +105,6 @@ echo "\t</tr>\n";
echo "</table>\n"; echo "</table>\n";
include ("./inc/footer.php"); include ("../../includes/footer.php");
?> ?>

Loading…
Cancel
Save