\n"; - - if (isset ($_SESSION['oldurl'])) - echo "hier gehts zurück...\n"; - else - echo "hier geht's zurück...\n"; - - exit (); -} -?> - - diff --git a/www-ssl_old/ShowUserPicture.php b/www-ssl_old/ShowUserPicture.php deleted file mode 100644 index 5a222c07..00000000 --- a/www-ssl_old/ShowUserPicture.php +++ /dev/null @@ -1,56 +0,0 @@ - diff --git a/www-ssl_old/admin/UserPicture.php b/www-ssl_old/admin/UserPicture.php deleted file mode 100644 index 25f8b54b..00000000 --- a/www-ssl_old/admin/UserPicture.php +++ /dev/null @@ -1,132 +0,0 @@ -\n"; - echo "\t\n"; - echo "\t\n"; - echo "\t\n"; - echo "\t(max " . get_cfg_var("post_max_size") . "Byte)
\n"; - echo "\t\n"; - echo "\n"; - break; - case 'sendPicture' : - if (($_FILES["file"]["size"] > 0) && (isset ($_POST["UID"]))) { - if (($_FILES["file"]["type"] == "image/jpeg") || ($_FILES["file"]["type"] == "image/png") || ($_FILES["file"]["type"] == "image/gif")) { - $data = addslashes(fread(fopen($_FILES["file"]["tmp_name"], "r"), filesize($_FILES["file"]["tmp_name"]))); - - if (GetPicturShow($_POST['UID']) == "") - $SQL = "INSERT INTO `UserPicture` " . - "( `UID`,`Bild`, `ContentType`, `show`) " . - "VALUES ('" . $_POST['UID'] . "', '$data', '" . $_FILES["file"]["type"] . "', 'N')"; - else - $SQL = "UPDATE `UserPicture` SET " . - "`Bild`='$data', " . - "`ContentType`='" . $_FILES["file"]["type"] . "' " . - "WHERE `UID`='" . $_POST['UID'] . "'"; - - echo "Upload Pictur:'" . $_FILES["file"]["name"] . "', " . - "MIME-Type: " . $_FILES["file"]["type"] . ", " . - $_FILES["file"]["size"] . " Byte " . - "for " . UID2Nick($_POST["UID"]); - } else - Print_Text("pub_einstellungen_send_KO"); - } else - Print_Text("pub_einstellungen_send_KO"); - break; - - case 'SetN' : - if (IsSet ($_GET["UID"])) { - echo "Bild von '" . UID2Nick($_GET["UID"]) . "' wurde gesperrt:
"; - $SQL = "UPDATE `UserPicture` SET `show`='N' WHERE `UID`='" . $_GET["UID"] . "'"; - } else - echo "Fehlerhafter Aufruf"; - break; - case 'SetY' : - if (IsSet ($_GET["UID"])) { - echo "Bild von '" . UID2Nick($_GET["UID"]) . "' wurde Freigegeben:
"; - $SQL = "UPDATE `UserPicture` SET `show`='Y' WHERE `UID`='" . $_GET["UID"] . "'"; - } else - echo "Fehlerhafter Aufruf"; - break; - case 'del' : - echo "Wollen Sie das Bild von '" . UID2Nick($_GET["UID"]) . "' wirklich löschen? " . - "Yes"; - break; - case 'delYes' : - if (IsSet ($_GET["UID"])) { - echo "Bild von '" . UID2Nick($_GET["UID"]) . "' wurde gelöscht:
"; - $SQL = "DELETE FROM `UserPicture` WHERE `UID`='" . $_GET["UID"] . "' LIMIT 1"; - } else - echo "Fehlerhafter Aufruf"; - break; - default : - echo "Fehlerhafter Aufruf"; - - } //switch - - // Update ??? - if (IsSet ($SQL)) { - // hier muesste das SQL ausgefuehrt werden... - $Erg = mysql_query($SQL, $con); - if ($Erg == 1) - echo "Änderung wurde gesichert...
"; - else { - echo "Fehler beim speichern... bitte noch ein mal probieren :)"; - echo "
" . mysql_error($con) . "
($SQL)
"; - } - } // Ende Update - echo "
\n
\n
\n\n"; -} //IF IsSet($action) - -//ausgabe der Liste -$Sql = "SELECT * FROM `UserPicture` WHERE `UID`>0;"; -$Erg = mysql_query($Sql, $con); - -echo "Hallo " . $_SESSION['Nick'] . ",
\nhier hast du die Möglichkeit, die Bilder der Engel freizugeben:
\n"; - -echo "
User | \n"; -echo "\tBild | \n"; -echo "\tStatus | \n"; -echo "\tLöschen | \n"; -echo "||
" . UID2Nick(mysql_result($Erg, $t, "UID")) . " | \n"; - echo "\t\t" . displayPictur($UIDs, 0) . " | \n"; - - if (GetPicturShow($UIDs) == "Y") - echo "\t\tsperren | \n"; - elseif (GetPicturShow($UIDs) == "N") echo "\t\tfreigeben | \n"; - else - echo "\t\tERROR: show='" . GetPicturShow($UIDs) . "' | \n"; - echo "\t\tdel | \n"; - echo "\t
picture upload\n"; - -include ("includes/footer.php"); -?> diff --git a/www-ssl_old/admin/aktiv.php b/www-ssl_old/admin/aktiv.php deleted file mode 100644 index 8db62f98..00000000 --- a/www-ssl_old/admin/aktiv.php +++ /dev/null @@ -1,105 +0,0 @@ -"; -echo Get_Text("pub_aktive_Text1") . "
\n"; -echo Get_Text("pub_aktive_Text2") . "
\n"; - -// auswahlbox -echo Get_Text("pub_aktive_Text31") . "\n"; -echo ""; -echo Get_Text("pub_aktive_Text32") . "
\n"; -echo "\n"; -echo "\n"; -echo "\n"; - -echo "\n"; - -if (Isset ($_POST["ResetActive"])) { - $SQLreset = "UPDATE `User` SET `Aktiv`='0'"; - $ErgReset = db_query($SQLreset, "Reset Active"); - if ($ErgReset != 1) - echo "Fehler beim zuruecksetzen der Activ\n"; - else - echo "Active wurde erfolgreich zurueckgesetzt\n"; -} - -if (IsSet ($_POST["Anzahl"])) - echo "
\n\n" . Get_Text("pub_aktive_Text5_1") . $_POST["Anzahl"] . Get_Text("pub_aktive_Text5_2") . ":"; - -echo "
\n\n"; - -//ausgabe tabelle -echo "
" . Get_Text("pub_aktive_Nick") . " | \n"; -echo "\t" . Get_Text("pub_aktive_Anzahl") . " | \n"; -echo "\t" . Get_Text("pub_aktive_Time") . " | \n"; -echo "\t" . Get_Text("pub_aktive_Time") . " Weight | \n"; -echo "\tFreeloader " . Get_Text("pub_aktive_Anzahl") . " | \n"; -echo "\tFreeloader " . Get_Text("pub_aktive_Time") . " | \n"; -echo "\t" . Get_Text("pub_aktive_Time") . " result | \n"; -echo "\t" . Get_Text("pub_aktive_Active") . " | \n"; -echo "
" . UID2Nick(mysql_result($Erg, $i, "UID")) . " | \n"; - echo "\t\t" . mysql_result($Erg, $i, "nr") . "x | \n"; - echo "\t\t" . mysql_result($Erg, $i, "len") . "h | \n"; - echo "\t\t" . mysql_result($Erg, $i, "lenWeight") . "h | \n"; - echo "\t\t" . mysql_result($Erg, $i, "nrFree") . "x | \n"; - echo "\t\t" . mysql_result($Erg, $i, "lenFree") . "h | \n"; - echo "\t\t" . mysql_result($Erg, $i, "lenReal") . "h | \n"; - - echo "\t\t"; - if (IsSet ($_POST["Anzahl"])) { - if ($_POST["Anzahl"] < mysql_result($Erg, $i, "lenReal")) { - $aktivecount++; - if ($_POST["SendType"] == "Show..") - echo "show set"; - else { - $SQL2 = "UPDATE `User` SET `Aktiv`='1' WHERE `UID`='" . mysql_result($Erg, $i, "UID") . "' LIMIT 1"; - $Erg2 = db_query($SQL2, "update Active State"); - if ($Erg2 != 1) - echo "Fehler beim speichern bei Engel " . UID2Nick(mysql_result($Erg, $i, "UID")); - else - echo "write set"; - } - } - } - echo " | \n"; - echo "\t
Anzahl eintraege: $aktivecount / $rowcount (Aktive/Mitschichten)
"; - -include ("includes/footer.php"); -?> - diff --git a/www-ssl_old/admin/dect.php b/www-ssl_old/admin/dect.php deleted file mode 100644 index 4e9f472a..00000000 --- a/www-ssl_old/admin/dect.php +++ /dev/null @@ -1,69 +0,0 @@ -\n"; -echo "
Number | h:m | |
---|---|---|
\n"; -// Listet alle Nicks auf -echo "\n"; - -echo "\n"; -echo " | \n"; - -echo ":"; -echo " | \n"; -echo "\n"; -echo " |
\n\nHier findest du alle Engel, welche zur Zeit in keiner Schicht verplant sind:
\n"; - -####################################################### -# Ermitteln freier Engel -# -# auslesen aller Engel und dazugehoerige Schichten -####################################################### - -// $SQL= "SELECT User.Nick, Schichtplan.*, Schichtbelegung. * FROM User LEFT JOIN Schichtplan ON User.UID=Schichtbelegung.UID, Schichtplan.SID LEFT JOIN Schichtbelegung.SID WHERE User.UID = Schichtbelegung.UID AND Schichtplan.SID = Schichtbelegung.SID AND Schichtplan.Date < now() and Schichtplan.EndDate > now() ORDER BY Nick"; - -/* geht nicht ??? unter stabel !! -$SQL= "SELECT User.Nick, Schichtplan.*, Schichtbelegung.* ". - "FROM Schichtplan, User LEFT OUTER ". - "JOIN Schichtbelegung ON User.UID=Schichtbelegung.UID ". - "WHERE Schichtplan.SID = Schichtbelegung.SID AND ". - "Schichtplan.Date < now() and ". - "Schichtplan.EndDate > now() ". - "ORDER BY Nick"; - -$SQL = "SELECT Shifts.*, ShiftEntry.*, User.Nick ". - "FROM User ". - "INNER JOIN (Shifts INNER JOIN ShiftEntry ON Shifts.SID = ShiftEntry.SID) ON User.UID = ShiftEntry.UID ". - "WHERE (Shifts.DateS<=Now() AND Shifts.DateE>=Now() );"; -*/ -$SQL = "SELECT Shifts.*, ShiftEntry.* " . -"FROM `Shifts` INNER JOIN ShiftEntry ON Shifts.SID = ShiftEntry.SID " . -"WHERE (Shifts.DateS<=Now() AND Shifts.DateE>=Now() AND ShiftEntry.UID>0);"; - -//SELECT User.Nick, Schichtplan.*, Schichtbelegung. * FROM User LEFT JOIN Schichtbelegung ON User.UID=Schichtbelegung.UID, Schichtplan LEFT JOIN Schichtbelegung ON Schichtplan.SID = Schichtbelegung.SID WHERE Schichtplan.Date < now() and Schichtplan.EndDate > now() ORDER BY Nick - -//echo "
$SQL"; - -$Erg = mysql_query($SQL, $con); -$Zeilen = mysql_num_rows($Erg); - -// for ($i = 1; $i < mysql_num_fields($Erg); $i++) -// echo "|".mysql_field_name($Erg, $i); - -echo "
Nick | \n"; -echo "\t\tSchicht | \n"; -echo "\t\tOrt | \n"; -echo "\t\tVon | \n"; -echo "\t\tBis | \n"; -echo "\t
" . - UID2Nick(mysql_result($Erg, $i, "UID")) . " | \n"; - echo "\n"; - echo " | " . mysql_result($Erg, $i, "RID") . " | \n"; - echo "" . mysql_result($Erg, $i, "DateS") . " | \n"; - echo "" . mysql_result($Erg, $i, "DateE") . " | \n"; - echo "
\n\nhier findest du alle Engel, welche zur Zeit in keiner Schichten verplant sind:
\n"; -echo "
Nick | \n\t\tDECT | \n\t
" . - mysql_result($Erg, $i, "Nick") . " | \n"; - echo "\t\t" . mysql_result($Erg, $i, "DECT") . " | \n"; - echo "\n
"; -} -?> - diff --git a/www-ssl_old/admin/schichtplan.1.php b/www-ssl_old/admin/schichtplan.1.php deleted file mode 100644 index fe8c0384..00000000 --- a/www-ssl_old/admin/schichtplan.1.php +++ /dev/null @@ -1,5 +0,0 @@ -
Schichtplan
- \ No newline at end of file diff --git a/www-ssl_old/admin/schichtplan.php b/www-ssl_old/admin/schichtplan.php deleted file mode 100644 index 70ef5a6a..00000000 --- a/www-ssl_old/admin/schichtplan.php +++ /dev/null @@ -1,362 +0,0 @@ -\n"; - if ($Erg == 1) { - echo "SQL war erfolgreich"; - } else { - echo "SQL Fehler (" . mysql_error($con) . ")"; - } -} - -if (!IsSet ($_GET["action"])) { - echo "Hallo " . $_SESSION['Nick'] . ",\n"; - echo "hier kannst du Schichten anlegen, ändern oder löschen.
"; - echo "Neue Schicht einplanen
\n\n"; - - echo "\n"; - -} else { - - // aus sicherheitzgr�nden wegen sp�terer genuzung - UnSet ($chSQL); - - switch ($_GET["action"]) { - - case 'change' : - if (!IsSet ($_GET["SID"])) { - echo "Fehlerhafter Aufruf!\n"; - } else { - - $sql = "SELECT * FROM `Shifts` WHERE (`SID` = '" . $_GET["SID"] . "' )"; - $Erg = mysql_query($sql, $con); - - echo "Schicht abändern:
\n"; - - // Anzeige Allgemeiner schaischt daten - echo "\n\n"; - - // L�schen - echo "\n\n"; - - echo "ACHTUNG:
\n"; - echo "Beim Löschen werden die bisher eingetragenen Engel für diese Schicht mitgelöscht.
\n"; - - echo "
\n\n\n\n"; - - //Freie Engelschichten - $sql3 = "SELECT `TID` FROM `ShiftEntry` WHERE `SID`='" . $_GET["SID"] . "' AND `UID`='0'"; - $Erg3 = mysql_query($sql3, $con); - $rowcount = mysql_num_rows($Erg3); - - echo "Folgende Engelschichten sind noch nicht vergeben.\n"; - echo "Und koenen, wenn diese nSchicht nicht benoetigt wird geloet werden:
\n"; - for ($j = 0; $j < $rowcount; $j++) { - $TID = mysql_result($Erg3, $j, 0); - echo "" . - "freie " . TID2Type($TID) . Get_Text("inc_schicht_Engel") . "schicht loeschen
\n"; - } - echo "
\n\n\n\n"; - - //Ausgabe eingetragener schischten - $sql3 = "SELECT * FROM `ShiftEntry` WHERE `SID`='" . $_GET["SID"] . "' AND NOT `UID`='0'"; - $Erg3 = mysql_query($sql3, $con); - $rowcount = mysql_num_rows($Erg3); - - echo "Folgende Engel Sind fuer die Schicht eingetargen.\n"; - echo "Und koennen, wenn diese nicht zu Schicht erschienen sind ausgetragen werden:
\n"; - echo "
nick | " . - "type | " . - "normal | " . - "freeloader :-( | " . - "
---|---|---|---|
" . UID2Nick($userUID) . " | \n"; - echo "\t\t" . TID2Type(mysql_result($Erg3, $j, "TID")) . Get_Text("inc_schicht_Engel") . " | \n"; - echo "\t\t###-austragen-### | \n"; - echo "\t\t###-austragen-freeloader-### | \n"; - echo "\t
\n\n\n\n"; - - //Nachtragen von Engeln - echo "Hat ein anderer Engel die Schicht übernommen, trage ihn bitte ein:"; - echo ""; - - } // IF ISSET( - break; - - case 'engeladd' : - if ($_GET["UIDs"] > 0) { - - $SQL = "SELECT * FROM `ShiftEntry` " . - "WHERE (`SID`='" . $_GET["SID"] . "' AND `TID`='" . $_GET["TID"] . "' AND `UID`='0')"; - $ERG = mysql_query($SQL, $con); - if (mysql_num_rows($ERG) != 0) { - $chSQL = "UPDATE `ShiftEntry` SET " . - "`UID`='" . $_GET["UIDs"] . "', `Comment`='shift added by " . $_SESSION['Nick'] . "' " . - "WHERE (`SID`='" . $_GET["SID"] . "' AND " . - "`TID`='" . $_GET["TID"] . "' AND `UID`='0' ) LIMIT 1"; - } else { - $chSQL = "INSERT INTO `ShiftEntry` (`SID`, `TID`, `UID`, `Comment`) VALUES (" . - "'" . $_GET["SID"] . "', '" . $_GET["TID"] . "', " . - "'" . $_GET["UIDs"] . "', 'shift added by " . $_SESSION['Nick'] . "')"; - } - echo "Es wird folgende Schicht zusätzlich eingetragen:
\n"; - echo "Engel: " . UID2Nick($_GET["UIDs"]) . "
\n"; - echo "Bemerkung: Schicht eingetragen durch Erzengel " . $_SESSION['Nick'] . "
\n
\n"; - } else { - echo "Es wird folgende Schicht wurde " . $_GET["eAnzahlNew"] . "x zusätzlich eingetragen:
\n"; - for ($i = 0; $i < $_GET["eAnzahlNew"]; $i++) { - echo "$i.
\n"; - $SQL = "INSERT INTO `ShiftEntry` (`SID`, `TID`, `UID`, `Comment`) VALUES ("; - $SQL .= "'" . $_GET["SID"] . "', '" . $_GET["TID"] . "', '0', NULL)"; - $ERG = mysql_query($SQL, $con); - if ($debug) - echo "DEBUG SQL: $SQL
\n"; - if ($ERG == 1) { - echo "Änderung wurde gesichert...
"; - } else { - echo "Fehler beim speichern... bitte noch ein mal probieren :)
"; - echo mysql_error($con); - } - echo "Es wird eine weitere Schicht eingetragen:
\n"; - } - } - break; - - case 'engeldel' : - $chSQL = "UPDATE `ShiftEntry` SET `UID`='0', `Comment`= 'NULL' WHERE (`SID`='" . $_GET["SID"] . - "' AND `UID`='" . $_GET["UIDs"] . "') LIMIT 1"; - if (isset ($_GET["freeloader"]) && $_GET["freeloader"] == 1) { - $sql = "SELECT * FROM `Shifts` WHERE (`SID` = '" . $_GET["SID"] . "' )"; - $Erg = mysql_query($sql, $con); - if (mysql_num_rows($Erg) == 1) { - $UID = $_GET["UIDs"]; - $Length = mysql_result($Erg, 0, "Len"); - $Comment = "Start: " . mysql_result($Erg, 0, "DateS") . "; " . - "Beschreibung: " . mysql_result($Erg, 0, "Man") . "; " . - "Removed by " . $_SESSION['Nick']; - $ch2SQL = "INSERT INTO `ShiftFreeloader` (`Remove_Time`, `UID`, `Length`, `Comment`) " . - "VALUES ( CURRENT_TIMESTAMP, '$UID', '$Length', '$Comment');"; - } - } - break; - - case 'engelshiftdel' : - $chSQL = "DELETE FROM `ShiftEntry` WHERE `SID`='" . $_GET["SID"] . "' AND `TID`='" . - $_GET["TID"] . "' AND `UID`='0' LIMIT 1"; - break; - - case 'changesave' : - $query = mysql_query("SELECT DATE_ADD('" . $_GET["eDate"] . "', INTERVAL '+0 " . $_GET["eDauer"] . "' DAY_HOUR)", $con); - $enddate = mysql_fetch_row($query); - - $chSQL = "UPDATE `Shifts` SET " . - "`DateS`='" . $_GET["eDate"] . "', " . - "`DateE`='" . $enddate[0] . "', " . - "`RID`='" . $_GET["eRID"] . "', " . - "`Len`='" . $_GET["eDauer"] . "', " . - "`Man`='" . $_GET["eName"] . "', " . - "`URL`='" . $_GET["eURL"] . "' " . - "WHERE `SID`='" . $_GET["SID"] . "'"; - SetHeaderGo2Back(); - break; - - case 'delete' : - $chSQL = "DELETE FROM `Shifts` WHERE `SID`='" . $_GET["SID"] . "' LIMIT 1"; - $ch2SQL = "DELETE FROM `ShiftEntry` WHERE `SID`='" . $_GET["SID"] . "'"; - SetHeaderGo2Back(); - break; - - case 'deleteShifs' : - foreach ($_GET as $k => $v) - if (strpos(" " . $k, "SID") == 1) { - echo "Shifts $v wird gel�scht..."; - executeSQL("DELETE FROM `Shifts` WHERE `SID`='$v' LIMIT 1"); - echo "
\n"; - echo "ShiftEntry $v wird gel�scht..."; - executeSQL("DELETE FROM `ShiftEntry` WHERE `SID`='$v'"); - echo "
\n"; - } - break; - - } // end switch - - if (IsSet ($chSQL)) { - // echo $chSQL; - // hier muesste das SQL ausgefuehrt werden... - $Erg = mysql_query($chSQL, $con); - if ($debug) - echo "DEBUG SQL: $chSQL
\n"; - if ($Erg == 1) { - echo "Änderung wurde gesichert...
"; - if ($debug) - echo "DEBUG: ergebniss" . $Erg . "
\n"; - if (IsSet ($ch2SQL)) { - $Erg = mysql_query($ch2SQL, $con); - if ($debug) - echo "DEBUG SQL: $ch2SQL
\n"; - if ($debug) - echo "DEBUG: ergebniss" . $Erg . "
\n"; - } - } else { - echo "Fehler beim speichern... bitte noch ein mal probieren :)
"; - echo mysql_error($con); - } - } // Ende Update - -} - -include ("includes/footer.php"); -?> diff --git a/www-ssl_old/admin/schichtplan_druck.1.php b/www-ssl_old/admin/schichtplan_druck.1.php deleted file mode 100644 index 30761390..00000000 --- a/www-ssl_old/admin/schichtplan_druck.1.php +++ /dev/null @@ -1,5 +0,0 @@ -
Schichtplan
- -\n"; - - foreach ($VeranstaltungsTage as $k => $v) { - - $res = mysql_query("SELECT Name, RID FROM `Room` WHERE `show`!='N' ORDER BY `Name`;", $con); - for ($i = 0; $i < mysql_num_rows($res); $i++) { - $Tag = $VeranstaltungsTage[$k]; - $RID = mysql_result($res, $i, "RID"); - $Rname = mysql_result($res, $i, "Name"); - echo "\t$Tag $Rname
\n"; - } - echo "
\n"; - } - echo "
"; - - include ("includes/footer.php"); -} else //################################################################# - { - if (IsSet ($_GET["Raum"]) AND IsSet ($_GET["ausdatum"])) { - $Raum = $_GET["Raum"]; - $ausdatum = $_GET["ausdatum"]; - - include ("config/config_db.php"); - include ("config/config.php"); - include ("includes/secure.php"); - //var wird nur gesetzt immer edit auszublenden, achtung sesion darf nicht gestart sein !!! - $_SESSION['CVS']["admin/schichtplan.php"] = "N"; - include ("includes/funktion_lang.php"); - include ("includes/funktion_schichtplan.php"); - include ("includes/funktion_schichtplan_aray.php"); - include ("includes/funktion_user.php"); -?> - - - - -
Schichtplan
- -- Datum: - - | -- Raum: - - | -
Uhrzeit | -Schichtplanbelegung | -"; - if ($i < 10) - $Spalten[$i * $GlobalZeileProStunde + $j] .= "0"; - $Spalten[$i * $GlobalZeileProStunde + $j] .= "$i:"; - if ((($j * 60) / $GlobalZeileProStunde) < 10) - $Spalten[$i * $GlobalZeileProStunde + $j] .= "0"; - $Spalten[$i * $GlobalZeileProStunde + $j] .= (($j * 60) / $GlobalZeileProStunde) . " | \n"; - - } - } - - CreateRoomShifts($Raum); - - // Ausgabe Zeilen - for ($i = 0; $i < (24 * $GlobalZeileProStunde); $i++) - echo $Spalten[$i]; - // Ende - echo "
---|
Start | \n"; - echo "\tEnd | \n"; - echo "\tlen | \n"; - echo "\tRID | \n"; - echo "\tBeschreibung | \n"; - echo "\tEntry 'Shifts' | \n"; - echo "\tSID | \n"; - echo "\tEntrys | \n"; - echo "
[" . $SQL . "]"; - - if ($Erg == 1) - echo "\t
\n" . mysql_error($con) . "$SQLFail
\t"; - while ($i++ < $_GET[$Temp]) { - if ($_GET["OnlyShow"] == "OFF") { - $SQL = "INSERT INTO `ShiftEntry` (`SID`, `TID`) VALUES ("; - $SQL .= "'" . $SID . "', "; - $SQL .= "'" . $TTemp["TID"] . "');"; - - $Erg = mysql_query($SQL, $con); - - if ($debug) - $SQLFail = "\n\t
[" . $SQL . "]"; - - if ($Erg == 1) - echo "'pass' "; - else - echo "'fail' " . mysql_error($con) . "$SQLFail
"; - } // IF $$TEMP - } // FOREACH - echo ""; - - echo "
-Hinter diesem erscheint ein Link, über den man eintragen kann, dass der Engel sein T-Shirt erhalten hat.
- -Liste aller aktiven Engel: - - -
Nick | -Aktiv? | -Grösse | -T-Shirt ausgeben: | - -\n"; - $eUID = mysql_result($Erg, $i, "UID"); - echo "\t\t" . UID2Nick($eUID) . " | \n"; - echo "\t\t" . mysql_result($Erg, $i, "Aktiv") . " | \n"; - echo "\t\t" . mysql_result($Erg, $i, "Size") . " | \n"; - - if (mysql_result($Erg, $i, "Tshirt") == "1") { - echo "\t\tbereits erhalten | "; - } else { - echo "\t\tXXXXXXXX | "; - } - echo "\t
" . Get_Text("pri_userArrived_WriteError") . " \"" . UID2Nick($_GET["arrived"]) . "\"
"; - } -} - -echo Get_Text("pri_userArrived_Text1") . ""; -echo Get_Text("pri_userArrived_Text2") . "
"; - -echo Get_Text("pri_userArrived_TableToppic"); -$SQL = "SELECT * FROM `User` ORDER BY `Nick` ASC"; -$Erg = mysql_query($SQL, $con); - -$rowcount = mysql_num_rows($Erg); - -echo "
" . Get_Text("pri_userArrived_TableTD_Nick") . " | \n"; -echo "\t\t" . Get_Text("pri_userArrived_TableTD_ArrivedShow") . " | \n"; -echo "\t\t" . Get_Text("pri_userArrived_TableTD_ArrivedSet") . " | \n"; -echo "\t\n"; - -for ($i = 0; $i < $rowcount; $i++) { - echo "\t|
" . UID2Nick($eUID) . " | \n"; - echo "\t\t" . mysql_result($Erg, $i, "Gekommen") . " | \n"; - - if (mysql_result($Erg, $i, "Gekommen") == "1") { - echo "\t\t" . Get_Text("pri_userArrived_TableEntry_Arrived") . " | "; - } else { - echo "\t\t" . Get_Text("pri_userArrived_TableEntry_Set") . " | "; - } - echo "\t
Tage
- -$Datum\n"; -} //function Printlink( - -if (isset ($VeranstaltungsTage)) - foreach ($VeranstaltungsTage as $k => $v) - Printlink($v); -?> diff --git a/www-ssl_old/nonpublic/schichtplan.2.php b/www-ssl_old/nonpublic/schichtplan.2.php deleted file mode 100644 index 92443e13..00000000 --- a/www-ssl_old/nonpublic/schichtplan.2.php +++ /dev/null @@ -1,22 +0,0 @@ -Raumübersicht
-" . - $RoomEntry["Name"] . "\n"; - else - echo "\t"; -if (isset ($ausdatum)) - echo "
" . -Get_Text("pub_schicht_beschreibung") . "
"; - -function ShowSwitchDay() { - global $VeranstaltungsTage, $VeranstaltungsTageMax, $ausdatum, $raum; - - echo "\n\n
" . - "" . $VeranstaltungsTage[$k -1] . " | \n"; - if ($k < $VeranstaltungsTageMax) - echo "\t\t\t" . - "" . $VeranstaltungsTage[$k +1] . " | \n"; - } - echo "\n\n
\n"; - -<<<<<<< HEAD - -if ( !isset($raum) ) -{ - // Ausgabe wenn kein Raum Ausgew�hlt: - echo Get_Text("pub_schicht_auswahl_raeume"). "
\n"; - - if( isset($Room)) - { -======= - if (isset ($Room)) { ->>>>>>> spezial_includes_camp - echo "\n"; - } - - echo "
"; - echo Get_Text("pub_schicht_alles_1") . " " . - Get_Text("pub_schicht_alles_2") . " " . Get_Text("pub_schicht_alles_3"); - echo "\n
\n\n"; - echo "
\n\n"; - echo Get_Text("pub_schicht_EmptyShifts") . "\n"; - - // zeit die naesten freien schichten -<<<<<<< HEAD - showEmptyShifts(); -} -else -{ // Wenn einraum Ausgew�hlt ist: - if( $raum == -1 ) - echo Get_Text("pub_schicht_Anzeige_1").$ausdatum.":
"; - elseif( substr( $raum, 0, 1) == ";" ) - echo Get_Text("pub_schicht_Anzeige_1").$ausdatum.":
"; - else - echo Get_Text("pub_schicht_Anzeige_1"). $ausdatum. - Get_Text("pub_schicht_Anzeige_2"). $RoomID[$raum]. "
"; -======= - showEmptyShifts(); -} else { // Wenn einraum Ausgew�hlt ist: - if ($raum == -1) - echo Get_Text("pub_schicht_Anzeige_1") . $ausdatum . ":
"; - elseif (substr($raum, 0, 1) == ";") echo Get_Text("pub_schicht_Anzeige_1") . $ausdatum . ":
"; - else - echo Get_Text("pub_schicht_Anzeige_1") . $ausdatum . - Get_Text("pub_schicht_Anzeige_2") . $RoomID[$raum] . "
"; ->>>>>>> spezial_includes_camp - - ShowSwitchDay(); - - echo "\n\n
start | \n"; - - //Ausgabe Spalten �berschrift -<<<<<<< HEAD - if( $raum == -1 ) - { - if( isset($Room)) - foreach( $Room as $RoomEntry ) - if (SummRoomShifts($RoomEntry["RID"]) > 0) - echo "\t\t". $RoomEntry["Name"]. " | \n"; -======= - if ($raum == -1) { - if (isset ($Room)) - foreach ($Room as $RoomEntry) - if (SummRoomShifts($RoomEntry["RID"]) > 0) - echo "\t\t" . $RoomEntry["Name"] . " | \n"; ->>>>>>> spezial_includes_camp - } - elseif (substr($raum, 0, 1) == ";") { - $words = preg_split("/;/", $raum); - foreach ($words as $word) { - if (strlen(trim($word)) > 0) - echo "\t\t" . $RoomID[trim($word)] . " | \n"; - } - } else - echo "\t\t" . $RoomID[$raum] . " | \n"; - echo "\t
---|---|---|---|---|
$SpaltenTemp | \n"; - $Spalten[$i * $GlobalZeileProStunde + $j] .= $SpaltenTemp; - } - - if ($raum == -1) { - if (isset ($Room)) - foreach ($Room as $RoomEntry) - if (SummRoomShifts($RoomEntry["RID"]) > 0) - CreateRoomShifts($RoomEntry["RID"]); - } - elseif (substr($raum, 0, 1) == ";") { - if (isset ($Room)) { - $words = preg_split("/;/", $raum); - foreach ($words as $word) { - if (strlen(trim($word)) > 0) - if (SummRoomShifts($word) > 0) - CreateRoomShifts($word); - } - } - } else - CreateRoomShifts($raum); - - //Ausageb Zeilen - for ($i = 0; $i < (24 * $GlobalZeileProStunde); $i++) { - echo $Spalten[$i] . "\t