diff options
Diffstat (limited to 'www-ssl')
637 files changed, 7106 insertions, 0 deletions
diff --git a/www-ssl/admin/EngelType.php b/www-ssl/admin/EngelType.php new file mode 100755 index 00000000..964d861b --- /dev/null +++ b/www-ssl/admin/EngelType.php @@ -0,0 +1,166 @@ +<?php +$title = "Räume"; +$header = "Verwaltung der Räume"; +include ("./inc/header.php"); +include ("./inc/funktion_user.php"); + +function runSQL( $SQL) +{ + include( "./inc/db.php"); + // hier muesste das SQL ausgefuehrt werden... + $Erg = mysql_query($SQL, $con); + if ($Erg == 1) { + echo "Änderung wurde gesichert...<br>"; + echo "[$SQL]<br>"; + return 1; + } else { + echo "Fehler beim speichern... bitte noch ein mal probieren :)"; + echo "<br><br>".mysql_error( $con ). "<br>"; + echo "[$SQL]<br>"; + return 0; + } +} + + +$Sql = "SELECT * FROM `EngelType`"; +$Erg = mysql_query($Sql, $con); + +if( !IsSet($_GET["action"]) ) +{ + echo "Hallo ".$_SESSION['Nick']. + ",<br>\nhier hast du die Möglichkeit, neue Engeltypen für die Schichtpläne einzutragen ". + "oder vorhandene abzuändern:<br><br>\n"; + + echo "<a href=\"./EngelType.php?action=new\">- Neuen EngelType eintragen</a><br>\n"; + + echo "<table width=\"100%\" class=\"border\" cellpadding=\"2\" cellspacing=\"1\">\n"; + echo "<tr class=\"contenttopic\">\n"; + + for( $i = 1; $i < mysql_num_fields($Erg); $i++ ) + { + echo "\t<td>". mysql_field_name($Erg, $i). "</td>"; + } + echo "\t<td>Ändern</td>"; + echo "</tr>"; + + for( $t = 0; $t < mysql_num_rows($Erg); $t++ ) + { + echo "\t<tr class=\"content\">\n"; + for ($j = 1; $j < mysql_num_fields($Erg); $j++) + { + echo "\t\t<td>".mysql_result($Erg, $t, $j)."</td>\n"; + } + echo "\t\t<td><a href=\"./EngelType.php?action=change&TID=".mysql_result($Erg, $t, "TID")."\">###</a></td>\n"; + echo "\t</tr>\n"; + } // ende Auflistung Raeume + echo "</table>"; +} +else +{ + +switch ($_GET["action"]) { + +case 'new': + echo "Neuen EngelType einrichten: <br>"; + echo "<form action=\"./EngelType.php\" method=\"GET\">\n"; + echo "<table>\n"; + + for( $Uj = 1; $Uj < mysql_num_fields($Erg); $Uj++ ) + { + echo "<td>".mysql_field_name($Erg, $Uj)."</td>". + "<td><input type=\"text\" size=\"40\" name=\"".mysql_field_name($Erg, $Uj)."\"></td></tr>\n"; + } + echo "</table>\n"; + echo "<input type=\"hidden\" name=\"action\" value=\"newsave\">\n"; + echo "<input type=\"submit\" value=\"sichern...\">\n"; + echo "</form>"; + break; + +case 'newsave': + $vars = $HTTP_GET_VARS; + $count = count($vars) - 1; + $vars = array_splice($vars, 0, $count); + $Keys=""; + $Values=""; + foreach($vars as $key => $value){ + $Keys .= ", `$key`"; + $Values .= ", '$value'"; + } + + if( runSQL( "INSERT INTO `EngelType` (". substr($Keys, 2). ") VALUES (". substr($Values, 2). ")") ) + { + SetHeaderGo2Back(); + + $SQL2 = "SELECT * FROM `EngelType` WHERE `Name`='". $_GET["Name"]. "'"; + $ERG = mysql_query($SQL2, $con); + + if( mysql_num_rows($ERG) == 1) + runSQL( "ALTER TABLE `Room` ADD `DEFAULT_EID_". + mysql_result( $ERG, 0, 0). + "` INT DEFAULT '0' NOT NULL;"); + } + break; + +case 'change': + if (! IsSet($_GET["TID"])) { + echo "Fehlerhafter Aufruf!"; + } else { + + echo "Raum abändern:\n"; + + echo "Hier kannst du eintragen, den EngelType ändern."; + + echo "<form action=\"./EngelType.php\" method=\"GET\">\n"; + echo "<table>\n"; + + $SQL2 = "SELECT * FROM `EngelType` WHERE `TID`='". $_GET["TID"]. "'"; + $ERG = mysql_query($SQL2, $con); + + for ($Uj = 1; $Uj < mysql_num_fields($ERG); $Uj++) + { + echo "<tr><td>". mysql_field_name($ERG, $Uj). "</td>". + "<td><input type=\"text\" size=\"40\" name=\"e". mysql_field_name($ERG, $Uj). "\" ". + "value=\"". mysql_result($ERG, 0, $Uj). "\"></td></tr>\n"; + } + echo "</table>\n"; + echo "<input type=\"hidden\" name=\"eTID\" value=\"". $_GET["TID"]. "\">\n"; + echo "<input type=\"hidden\" name=\"action\" value=\"changesave\">\n"; + echo "<input type=\"submit\" value=\"sichern...\">\n"; + echo "</form>"; + echo "<form action=\"./EngelType.php\" method=\"GET\">\n"; + echo "<input type=\"hidden\" name=\"TID\" value=\"". $_GET["TID"]. "\">\n"; + echo "<input type=\"hidden\" name=\"action\" value=\"delete\">\n"; + echo "<input type=\"submit\" value=\"Löschen...\">"; + echo "</form>"; + } + break; + +case 'changesave': + $vars = $HTTP_GET_VARS; + $count = count($vars) - 2; + $vars = array_splice($vars, 0, $count); + $keys=""; + $sql=""; + foreach($vars as $key => $value){ + $keys = substr($key,1); + $sql .= ", `".$keys."`='".$value."'"; + } + runSQL( "UPDATE `EngelType` SET ". substr($sql, 2). " WHERE `TID`='". $_GET["eTID"]. "'"); + SetHeaderGo2Back(); + break; + +case 'delete': + if (IsSet($_GET["TID"])) + { + runSQL( "DELETE FROM `EngelType` WHERE `TID`='". $_GET["TID"]. "'"); + runSQL( "ALTER TABLE `Room` DROP `DEFAULT_EID_". $_GET["TID"]. "`;"); + } else { + echo "Fehlerhafter Aufruf"; + } + SetHeaderGo2Back(); + break; +} +} + +include ("./inc/footer.php"); +?> diff --git a/www-ssl/admin/aktiv.php b/www-ssl/admin/aktiv.php new file mode 100755 index 00000000..e0ddf3a4 --- /dev/null +++ b/www-ssl/admin/aktiv.php @@ -0,0 +1,96 @@ +<?PHP + +$title = "akive Engel"; +$header = "Liste der aktiven Engel"; +include ("./inc/header.php"); +include ("./inc/funktion_db_list.php"); +include ("./inc/funktion_user.php"); + +echo "<form action=\"./aktiv.php\" method=\"post\">"; +echo Get_Text("pub_aktive_Text1")."<br>\n"; +echo Get_Text("pub_aktive_Text2")."<br><br>\n"; + +// auswahlbox +echo Get_Text("pub_aktive_Text31")."\n"; +echo "<select name=\"Anzahl\">\n"; +for( $i=0; $i<50; $i++) + echo "\t<option value=\"$i\">$i</option>\n"; +echo "</select>"; +echo Get_Text("pub_aktive_Text32")."<br><br>\n"; +echo "<input type=\"submit\" name=\"SendType\" value=\"Show..\">\n"; +echo "<input type=\"submit\" name=\"SendType\" value=\"Write..\">\n"; +echo "</form>\n"; + +echo "<form action=\"./aktiv.php\" method=\"post\">\n"; + echo "\t<br><input type=\"submit\" name=\"ResetActive\" value=\"reset Active setting\">\n"; +echo "</form>\n"; + +if( Isset($_POST["ResetActive"]) ) +{ + $SQLreset = "UPDATE `User` SET `Aktiv` = '0'"; + $ErgReset = mysql_query($SQLreset, $con); + if ($ErgReset != 1) + echo "Fehler beim zuruecksetzen der Activ\n"; + else + echo "Active wurde erfolgreich zurueckgesetzt\n"; +} + +if( IsSet($_POST["Anzahl"]) ) + echo "<br>\n\n".Get_Text("pub_aktive_Text5_1"). $_POST["Anzahl"]. Get_Text("pub_aktive_Text5_2"). ":"; + +echo "<br><br>\n\n"; + +//ausgabe tabelle +echo "<table width=\"100%\" class=\"border\" cellpadding=\"2\" cellspacing=\"1\">\n"; +echo "<tr class=\"contenttopic\">\n"; +echo "\t<td>". Get_Text("pub_aktive_Nick"). "</td>\n"; +echo "\t<td>". Get_Text("pub_aktive_Anzahl"). "</td>\n"; +echo "\t<td>". Get_Text("pub_aktive_Time"). "</td>\n"; +echo "\t<td>". Get_Text("pub_aktive_Active"). "</td>\n"; +echo "</tr>\n"; + +$SQL = "SELECT ShiftEntry.UID, COUNT(ShiftEntry.UID) AS NR, SUM(Shifts.Len) as LEN ". + "FROM `ShiftEntry` ". + "LEFT JOIN `Shifts` ON ShiftEntry.SID=Shifts.SID ". + "WHERE NOT UID=0 ". + "GROUP BY UID ". + "ORDER BY LEN DESC, NR DESC, UID "; +$Erg = mysql_query($SQL, $con); +echo mysql_error($con); +$rowcount = mysql_num_rows($Erg); + +echo "Anzahl eintraege: $rowcount<br><br>"; + +for ($i=0; $i<$rowcount; $i++) +{ + echo "\n\n\t<tr class=\"content\">\n"; + echo "\t\t<td>". UID2Nick(mysql_result($Erg, $i, "UID")). "</td>\n"; + echo "\t\t<td>". mysql_result($Erg, $i, "NR"). "</td>\n"; + echo "\t\t<td>". mysql_result($Erg, $i, "LEN"). "h</td>\n"; + echo "\t\t<td>"; + if (IsSet($_POST["Anzahl"])) + { + if( $_POST["Anzahl"] < mysql_result($Erg, $i, "LEN") ) + { + if( $_POST["SendType"]=="Show..") + echo "show set"; + else + { + $SQL2="UPDATE User SET Aktiv=1 WHERE UID=". mysql_result($Erg, $i, "UID"). " LIMIT 1"; + $Erg2 = mysql_query($SQL2, $con); + if ($Erg2 != 1) + echo "Fehler beim speichern bei Engel ".UID2Nick(mysql_result($Erg, $i, "UID")); + else + echo "write set"; + } + } + } + echo "</td>\n"; + echo "\t</tr>\n"; +} // ende Auflistung aktive Engel + +echo "</table>"; + +include ("./inc/footer.php"); +?> + diff --git a/www-ssl/admin/dbUpdateFromXLS.php b/www-ssl/admin/dbUpdateFromXLS.php new file mode 100755 index 00000000..88f7a0f5 --- /dev/null +++ b/www-ssl/admin/dbUpdateFromXLS.php @@ -0,0 +1,448 @@ +<?PHP + +$title = "DB Update from XML"; +$header = "DB Update from XML"; +$Page["Public"] = "N"; +include ("./inc/header.php"); +include ("./inc/funktion_user.php"); +include ("./inc/funktion_xml.php"); + +/////////// +// DEBUG // +/////////// +$EnableRooms = true; +$EnableRoomsDB = true; +$EnableSchudle = true; +$EnableSchudleDB = true; +//$EnableRooms = false; +//$EnableRoomsDB = false; +//$EnableSchudle = false; +//$EnableSchudleDB = false; + +/*############################################################################################## + F I L E + ##############################################################################################*/ +echo "\n\n<br>\n<h1>XML File:</h1>\n"; +if( isset($_POST["PentabarfUser"]) && isset($_POST["PentabarfPasswd"]) && isset($_POST["PentabarfURL"])) +{ + echo "Update XML-File from Pentabarf.."; +/* $Command = "wget --http-user=". $_POST["PentabarfUser"]. " --http-passwd=".$_POST["PentabarfPasswd"]. " ". + $_POST["PentabarfURL"]. + " --output-file=/tmp/engelXMLwgetLog --output-document=/tmp/engelXML"; +*/ + $Command = "lynx -auth=". $_POST["PentabarfUser"]. ":".$_POST["PentabarfPasswd"]. " -dump ". + $_POST["PentabarfURL"]. " > /tmp/engelXML"; + echo system( $Command, $Status); + + if( $Status==0) + echo "OK.<br>"; + else + echo "fail ($Status)($Command).<br>"; +} +else +{ + echo "<form action=\"dbUpdateFromXLS.php\" method=\"post\">\n"; + echo "<table border=\"0\">\n"; + echo "\t<tr><td>XML-File:</td>". + "<td><input name=\"PentabarfURL\" type=\"text\" size=\"100\" maxlength=\"1000\" ". + "value=\"https://pentabarf.cccv.de/pentabarf/xml/fahrplan/conference/1\"></td></tr>\n"; + echo "\t<tr><td>Username:</td>". + "<td><input name=\"PentabarfUser\" type=\"text\" size=\"30\" maxlength=\"30\"></td></tr>\n"; + echo "\t<tr><td>Password:</td>". + "<td><input name=\"PentabarfPasswd\" type=\"password\" size=\"30\" maxlength=\"30\"></td></tr>\n"; + echo "\t<tr><td></td><td><input type=\"submit\" name=\"FileUpload\" value=\"upload\"></td></tr>\n"; + echo "</table>\n"; + echo "</form>\n"; +} + + + +//readXMLfile("xml.php.xml"); +if( readXMLfile("/tmp/engelXML") == 0) +{ +/* +echo "<pre><br>"; +echo $XMLmain->name; +echo "<br>"; +//print_r(array_values ($XMLmain->sub)); + + +echo "<br>"; +$Feld=7; +echo "$Feld#". $XMLmain->sub[$Feld]->name. "<br>"; +echo "$Feld#". $XMLmain->sub[$Feld]->sub; +//print_r(array_values ($XMLmain->sub[$Feld]->sub)); +while(list($key, $value) = each($XMLmain->sub[$Feld]->sub)) + echo "?ID".$value->sub[1]->data. "=". $value->sub[2]->data. "\n"; + +echo "</pre>"; +*/ + +/*############################################################################################## + V e r s i o n + ##############################################################################################*/ +echo "<hr>\n"; +$XMLrelease = getXMLsubPease( $XMLmain, "RELEASE"); +echo "release: ". $XMLrelease->data. "<br>\n"; +$XMLreleaseDate = getXMLsubPease( $XMLmain, "RELEASE-DATE"); +echo "release date: ". $XMLreleaseDate->data. "<br>\n"; +echo "<hr>\n"; + + + +/*############################################################################################## + R o o m + ##############################################################################################*/ +echo "\n\n<br>\n<h1>Rooms:</h1>\n"; + +function saveRoomData() +{ + include ("./inc/db.php"); + if( isset($_GET["RID"]) && isset($_GET["NumberXML"]) && isset($_GET["NameXML"])) + { + $SQL1 = "SELECT `RID` FROM `Room` ". + "WHERE `RID` = '". $_GET["RID"]. "';"; + $Erg1 = mysql_query($SQL1, $con); + + if( mysql_num_rows($Erg1)==1 ) + $SQL= "UPDATE `Room` SET `Name` = '". mysql_escape_string($_GET["NameXML"]). + "', `FromPentabarf`='Y', `Number`='". $_GET["NumberXML"]. "' ". + "WHERE `RID` = '". $_GET["RID"]. "' LIMIT 1;"; + else + $SQL= "INSERT INTO `Room` ( `RID` , `Name`, `FromPentabarf`, `Number` ) ". + "VALUES ('". $_GET["RID"]. "', '". mysql_escape_string($_GET["NameXML"]). + "', 'Y', ". $_GET["NumberXML"]. ");"; + $Erg = mysql_query($SQL, $con); + if( $Erg ) + echo "Aenderung, an Raum ". $_GET["NameXML"]. ", war erfogreich<br>"; + else + echo "Aenderung, an Raum ". $_GET["NameXML"]. ", war <u>nicht</u> erfogreich.(". + mysql_error($con). ")<br>[$SQL]<br>"; + } + else + echo "Fehler in den Parametern!<br>"; +} /*function saveRoomData*/ + +function getDBRoomName( $RID) +{ + include ("./inc/db.php"); + $SQL = "SELECT Name FROM `Room` WHERE RID=$RID"; + $Erg = mysql_query($SQL, $con); + if(mysql_num_rows($Erg)>0) + return mysql_result($Erg, 0, 0); + else + return ""; +} /*function getDBRoomName*/ + +function getDBRoomNumber( $RID) +{ + include ("./inc/db.php"); + $SQL = "SELECT Number FROM `Room` WHERE RID=$RID"; + $Erg = mysql_query($SQL, $con); + if(mysql_num_rows($Erg)>0) + return mysql_result($Erg, 0, 0); + else + return ""; +} /*function getDBRoomNumber*/ + + + +if( isset($_GET["RoomUpdate"])) + saveRoomData(); + +//INIT Status counter +$DS_OK = 0; +$DS_KO = 0; +$Where = ""; + +//Ausgabe +echo "<table border=\"0\">\n"; +echo "<tr><th>RID</th><th>NumberXML</th><th>NumberDB</th><th>NameXML</th><th>NameDB</th><th>state</th></tr>\n"; +$XMLroom = getXMLsubPease( $XMLmain, "ROOMS"); +while( (list($key, $value) = each($XMLroom->sub)) && $EnableRooms) +{ + $XMLRID = getXMLsubPease( $value, "ID"); + $RID = $XMLRID->data; + $XMLNumber = getXMLsubPease( $value, "NUMBER"); + $NumberXML = trim($XMLNumber->data); + $XMLName = getXMLsubPease( $value, "NAME"); + $NameXML = trim($XMLName->data); + + if( isset($_GET["UpdateALL"])) + { + $_GET["NameXML"] = $NameXML; + $_GET["NumberXML"] = $NumberXML; + $_GET["RID"] = $RID; + saveRoomData(); + } + + $NameDB = convertValues(getDBRoomName($RID)); + $NumberDB = convertValues(getDBRoomNumber($RID)); + + echo "<form action=\"dbUpdateFromXLS.php\">\n"; + echo "\t<tr>\n"; + echo "\t<td><input name=\"RID\" type=\"text\" value=\"$RID\" size=\"1\" eadonly></td>\n"; + echo "\t<td><input name=\"NumberXML\" type=\"text\" value=\"$NumberXML\" size=\"1\" readonly></td>\n"; + echo "\t<td><input name=\"NumberDB\" type=\"text\" value=\"$NumberDB\" size=\"1\"readonly></td>\n"; + echo "\t<td><input name=\"NameXML\" type=\"text\" value=\"$NameXML\" readonly></td>\n"; + echo "\t<td><input name=\"NameDB\" type=\"text\" value=\"$NameDB\" readonly></td>\n"; + if( !( $NameXML==$NameDB && $NumberXML==$NumberDB) ) + { + echo "\t<td><input type=\"submit\" name=\"RoomUpdate\" value=\"update\"></td>\n"; + $DS_KO++; + } + else + { + echo "\t<td>OK</td>\n"; + $DS_OK++; + } + echo "\t</tr>\n"; + echo "</form>\n"; + $Where.= " OR RID=$RID"; +} +echo "<tr><td colspan=\"6\">status: $DS_KO/$DS_OK nicht Aktuel.</td></tr>\n"; + +//Anzeige von nicht im XML File vorkommende entraege +$SQL2 = "SELECT * FROM `Room` WHERE NOT (".substr( $Where, 4). ") AND FromPentabarf = 'Y';"; +$Erg2 = mysql_query($SQL2, $con); +if( mysql_num_rows($Erg2)>0 && $EnableRoomsDB ) + for( $i=0; $i<mysql_num_rows( $Erg2); $i++) + { + $RID = mysql_result( $Erg2, $i, "RID"); + $NumberDB = mysql_result( $Erg2, $i, "Number"); + $NameDB = mysql_result( $Erg2, $i, "Name"); + echo "\t<tr>\n"; + echo "\t<td><input name=\"RID\" type=\"text\" value=\"$RID\" size=\"1\" eadonly></td>\n"; + echo "\t<td><input name=\"NumberXML\" type=\"text\" value=\"\" size=\"1\" readonly></td>\n"; + echo "\t<td><input name=\"NumberDB\" type=\"text\" value=\"$NumberDB\" size=\"1\"readonly></td>\n"; + echo "\t<td><input name=\"NameXML\" type=\"text\" value=\"\" readonly></td>\n"; + echo "\t<td><input name=\"NameDB\" type=\"text\" value=\"$NameDB\" readonly></td>\n"; + echo "\t<td><a href=\"./room.php?action=change&RID=$RID\">edit</a></td>\n"; + echo "\t<tr>\n"; + } + +echo "</table>\n"; + + + + +/*############################################################################################## + S c h e d u l e + ##############################################################################################*/ +echo "\n\n<h1>Schudle:</h1>\n"; + +// erstellt ein Array der Reume + $sql = "SELECT * FROM `Room` ". + "ORDER BY `Number`, `Name`;"; + $Erg = mysql_query($sql, $con); + for( $i=0; $i<mysql_num_rows($Erg); $i++) + for( $j=0; $j<mysql_num_fields( $Erg); $j++) + $RoomID[ mysql_result($Erg, $i, "RID")] + [ mysql_field_name($Erg, $j)] = mysql_result($Erg, $i, $j); + + +function SaveSchedule() +{ + global $RoomID; + + include ("./inc/db.php"); + if( isset($_GET["SIDXML"]) && + isset($_GET["DateXML"]) && + isset($_GET["RIDXML"]) && + isset($_GET["LenXML"]) && + isset($_GET["ManXML"]) ) + { + //erzeuge von `DateE` + $TimeStart = substr( $_GET["DateXML"], 11, 2) + (substr($_GET["DateXML"], 14, 2)/60); + $TimeEnd = ($_GET["LenXML"] + $TimeStart) * 60; + $TimeM = $TimeEnd % 60; + $TimeH = ($TimeEnd - $TimeM)/60; + if( $TimeH>=24 ) + { + $TimeH -= 24; + $DateEnd = substr($_GET["DateXML"], 0, 8). + (substr($_GET["DateXML"], 8, 2)+1). " "; + } + else + $DateEnd = substr($_GET["DateXML"], 0, 11); + $DateEnd .= "$TimeH:$TimeM:00"; + + //Update OR insert ? + $SQL1 = "Select `SID` FROM `Shifts` WHERE `SID`='". $_GET["SIDXML"]. "';"; + $Erg1 = mysql_query($SQL1, $con); + + if( mysql_num_rows($Erg1)==0) + $SQL= "INSERT INTO `Shifts` (`SID`, `DateS`, `DateE`, `Len`, `RID`, `Man`, `FromPentabarf`) ". + "VALUES ('". $_GET["SIDXML"]. "', '". $_GET["DateXML"]. "', '". + $DateEnd. "', '". $_GET["LenXML"]. "', '". + $_GET["RIDXML"]. "', '". mysql_escape_string($_GET["ManXML"]). "', 'Y');"; + else + $SQL= "UPDATE `Shifts` SET ". + "`DateS` = '". $_GET["DateXML"]. "', ". + "`DateE` = '". $DateEnd. "', ". + "`Len` = '". $_GET["LenXML"]. "', ". + "`RID` = '". $_GET["RIDXML"]. "', ". + "`Man` = '". mysql_escape_string($_GET["ManXML"]). "', ". + "`FromPentabarf`= 'Y' ". + "WHERE `SID` = '". $_GET["SIDXML"]. "' LIMIT 1;"; + $Erg = mysql_query($SQL, $con); + if( $Erg ) + { + echo "Aenderung, am Schedule '". $_GET["SIDXML"]. "', war erfogreich<br>\n"; + if( mysql_num_rows($Erg1)==0) + { + echo "-->Create Shifts:<br>\n"; + foreach ($RoomID[ $_GET["RIDXML"]] as $Key => $Value) + if( substr( $Key, 0, 12)=="DEFAULT_EID_" && $Value > 0 ) + { + echo "---->Create engeltype: ". substr( $Key, 12). " ". $Value. "x<br>\n"; + $i=0; + while( $i++ < $Value ) + { + $SQL3 = "INSERT INTO `ShiftEntry` (`SID`, `TID`) VALUES (". + "'". $_GET["SIDXML"]. "', '". substr( $Key, 12). "');"; + + $Erg = mysql_query($SQL3, $con); + + if ($Erg == 1) + echo "------>pass<br>\n"; + else + echo "------>fail <u>". mysql_error($con). + "</u>($SQL3)<br>\n"; + } + + } + echo "<br>\n"; + } + } + else + echo "Aenderung, am Schedule '". $_GET["SIDXML"]. "', war <u>nicht</u> erfogreich.(". + mysql_error($con). ")<br>[$SQL]<br>\n"; + } + else + echo "Fehler in den Parametern!<br>"; +} /*SaveSchedule*/ + +if( isset($_GET["ScheduleUpdate"])) + SaveSchedule(); + +//INIT Status counter +$DS_OK = 0; +$DS_KO = 0; +$Where = ""; + +//ausgabe +echo "<table border=\"0\">\n"; +echo "<tr><th>SID</th><th>Date</th>". + "<th>Room</th><th>Len</th><th>Name</th><th>state</th></tr>\n"; +echo "<tr align=\"center\"><td>XML - DB</td><td>XML - DB</td>". + "<td>XML - DB</td><td>XML - DB</td><td>XML - DB</td><td></td></tr>\n"; +$XMLevents = getXMLsubPease( $XMLmain, "EVENTS"); +while( (list($EventKey, $Event) = each($XMLevents->sub)) && $EnableSchudle) +{ + echo "<form action=\"dbUpdateFromXLS.php\">\n"; + echo "\t<tr>\n"; + + $DateXML = substr($Event->attributes["START"], 0, 10). " ". + substr($Event->attributes["START"], 11). ":00"; + $LenXML = $Event->attributes["DURATION"]; + $LenXML = substr( $LenXML, 0, 2) + (substr($LenXML, 3, 2)/60); + $XMLeventID = getXMLsubPease( $Event, "ID"); + $SIDXML = $XMLeventID->data; + $RIDXML = $Event->attributes["ROOM-ID"]; + $XMLTitle = getXMLsubPease( $Event, "TITLE"); + $ManXML = $XMLTitle->data; + + if( isset($_GET["UpdateALL"])) + { + $_GET["SIDXML"] = $SIDXML; + $_GET["DateXML"] = "$DateXML $TimeXML"; + $_GET["LenXML"] = $LenXML; + $_GET["RIDXML"] = $RIDXML; + $_GET["ManXML"] = $ManXML; + SaveSchedule(); + } + + $SQL = "SELECT * FROM `Shifts` WHERE SID=$SIDXML"; + $Erg = mysql_query($SQL, $con); + if(mysql_num_rows($Erg)>0) + { + $SIDDB = mysql_result($Erg, 0, "SID"); + $TimeDB = mysql_result($Erg, 0, "DateS"); + $LenDB = mysql_result($Erg, 0, "Len"); + $RIDDB = mysql_result($Erg, 0, "RID"); + $ManDB = mysql_result($Erg, 0, "Man"); + } + else + $SIDDB = $TimeDB = $LenDB = $RIDDB = $ManDB= ""; + echo "\t<td><input name=\"SIDXML\" type=\"text\" value=\"$SIDXML\" size=\"2\" eadonly></td>\n"; + echo "\t<td><input name=\"DateXML\" type=\"text\" value=\"$DateXML\" size=\"17\" readonly>\n\t\t". + "<input name=\"DateDB\" type=\"text\" value=\"$TimeDB\" size=\"17\" readonly></td>\n"; + echo "\t<td><input name=\"RIDXML\" type=\"text\" value=\"$RIDXML\" size=\"1\" readonly>\n\t\t". + "<input name=\"RIDDB\" type=\"text\" value=\"$RIDDB\" size=\"1\" readonly></td>\n"; + echo "\t<td><input name=\"LenXML\" type=\"text\" value=\"$LenXML\" size=\"1\"readonly>\n\t\t". + "<input name=\"LenDB\" type=\"text\" value=\"$LenDB\" size=\"1\"readonly></td>\n"; + echo "\t<td><input name=\"ManXML\" type=\"text\" value=\"$ManXML\" size=\"40\"readonly>\n\t\t". + "<input name=\"ManDB\" type=\"text\" value=\"$ManDB\" size=\"40\"readonly></td>\n"; + if( !( $SIDXML==$SIDDB && + $DateXML==$TimeDB && + $RIDXML==$RIDDB && + $LenXML==$LenDB && + $ManXML==$ManDB) ) + { + echo "\t<td><input type=\"submit\" name=\"ScheduleUpdate\" value=\"update\"></td>\n"; + $DS_KO++; + } + else + { + echo "\t<td>OK</td>\n"; + $DS_OK++; + } + echo "\t</tr>\n"; + echo "</form>\n"; + $Where.= " OR SID=$SIDXML"; +} +echo "<tr><td colspan=\"6\">status: $DS_KO/$DS_OK nicht Aktuel.</td></tr>\n"; + +//Anzeige von nicht im XML File vorkommende entraege +$SQL2 = "SELECT * FROM `Shifts` WHERE NOT (".substr( $Where, 4). ") AND FromPentabarf = 'Y';"; +$Erg2 = mysql_query($SQL2, $con); +if(mysql_num_rows($Erg2)>0 && $EnableSchudleDB ) + for( $i=0; $i<mysql_num_rows( $Erg2); $i++) + { + echo "\t<tr>\n"; + $SID = mysql_result($Erg2, $i, "SID"); + $Time = mysql_result($Erg2, $i, "DateS"); + $Len = mysql_result($Erg2, $i, "Len"); + $RID = mysql_result($Erg2, $i, "RID"); + $Man = mysql_result($Erg2, $i, "Man"); + echo "\t<td><input name=\"SIDXML\" type=\"text\" value=\"$SID\" size=\"2\" eadonly></td>\n"; + echo "\t<td><input name=\"DateXML\" type=\"text\" value=\"\" size=\"17\" readonly>\n\t\t". + "<input name=\"DateDB\" type=\"text\" value=\"$Time\" size=\"17\" readonly></td>\n"; + echo "\t<td><input name=\"RIDXML\" type=\"text\" value=\"\" size=\"1\" readonly>\n\t\t". + "<input name=\"RIDDB\" type=\"text\" value=\"$RID\" size=\"1\" readonly></td>\n"; + echo "\t<td><input name=\"LenXML\" type=\"text\" value=\"\" size=\"1\"readonly>\n\t\t". + "<input name=\"LenDB\" type=\"text\" value=\"$Len\" size=\"1\"readonly></td>\n"; + echo "\t<td><input name=\"ManXML\" type=\"text\" value=\"\" size=\"40\"readonly>\n\t\t". + "<input name=\"ManDB\" type=\"text\" value=\"$Man\" size=\"40\"readonly></td>\n"; + echo "\t<td><a href=\"./schichtplan.php?action=change&SID=$SID\">edit</a></td>\n"; + echo "\t<tr>\n"; + } +echo "</table>"; + + + +/*############################################################################################## + U P D A T E A L L + ##############################################################################################*/ +echo "\n\n<br>\n<h1>Update ALL:</h1>\n"; + +echo "<form action=\"dbUpdateFromXLS.php\">\n"; +echo "\t<input type=\"submit\" name=\"UpdateALL\" value=\"now\">\n"; +echo "</form>\n"; + +} //if XMLopenOOK + +include ("./inc/footer.php"); +?> + diff --git a/www-ssl/admin/dect.php b/www-ssl/admin/dect.php new file mode 100755 index 00000000..99a58028 --- /dev/null +++ b/www-ssl/admin/dect.php @@ -0,0 +1,68 @@ +<?PHP + +$title = "Engelsystem - DECT"; +$header = "DECT send call"; +$Page["Public"] = "N"; +include ("./inc/header.php"); + +include ("./inc/funktion_modem.php"); + +if( !isset($_GET["dial"])) $_GET["dial"] = ""; +if( !isset($_GET["custum"])) $_GET["custum"] = ""; + +if( $_GET["dial"]=="dial") +{ + if( $_GET["DECT"]=="") + $Number = $_GET["custum"]; + else + $Number = $_GET["DECT"]; + + if( strlen( $_GET["timeh"])== 1) + $_GET["timeh"] = "0". $_GET["timeh"]; + + if( strlen( $_GET["timem"])== 1) + $_GET["timem"] = "0". $_GET["timem"]; + + SetWackeup( $Number, $_GET["timeh"], $_GET["timem"]); + + $_GET["custum"] = $Number; +} + + + echo "<form action=\"./dect.php\" method=\"GET\">\n"; + echo "<table>\n"; + + echo "<tr><th>Number</th><th>h:m</th><th></th></tr>\n"; + + echo "<tr><td>\n"; + // Listet alle Nicks auf + echo "<select name=\"DECT\">\n"; + echo "\t<option value=\"\">costum</option>\n"; + + $usql="SELECT * FROM User WHERE NOT DECT='' ORDER BY Nick"; + $uErg = mysql_query($usql, $con); + $urowcount = mysql_num_rows($uErg); + for ($k=0; $k<$urowcount; $k++) + { + echo "\t<option value=\"".mysql_result($uErg, $k, "DECT")."\">". + mysql_result($uErg, $k, "Nick"). + " (". mysql_result($uErg, $k, "DECT"). ")". + "</option>\n"; + } + echo "</select>\n"; + + echo "<input type=\"text\" name=\"custum\" size=\"4\" maxlength=\"4\" value=\"". $_GET["custum"]. "\">\n"; + echo "</td>\n"; + + echo "<td><input type=\"text\" name=\"timeh\" size=\"2\" maxlength=\"2\" value=\"". gmdate("H", time()+90+3600). "\">:"; + echo "<input type=\"text\" name=\"timem\" size=\"2\" maxlength=\"2\" value=\"". gmdate("i", time()+90+3600). "\"></td>\n"; + echo "<td><input type=\"submit\" name=\"dial\" value=\"dial\"></td>\n"; + echo "</tr>"; + echo "</table>\n"; + + echo "</form>"; + + +include ("./inc/footer.php"); +?> + diff --git a/www-ssl/admin/dect_clear.php b/www-ssl/admin/dect_clear.php new file mode 100755 index 00000000..2b20d6c5 --- /dev/null +++ b/www-ssl/admin/dect_clear.php @@ -0,0 +1,25 @@ +<?PHP + + +include ("./inc/db.php"); +include ("./inc/config.php"); +include ("./inc/funktion_modem.php"); + + +$SQL = "SELECT DECT FROM `User`;"; + +$Erg = mysql_query($SQL, $con); + +echo mysql_error($con); + +for( $i=0; $i<mysql_num_rows($Erg); $i++) +{ + $Number = "#10". mysql_result($Erg, $i, "DECT"); + if( strlen($Number)==7) + DialNumber( $Number); +} + +return 0; + +?> + diff --git a/www-ssl/admin/dect_cron.php b/www-ssl/admin/dect_cron.php new file mode 100755 index 00000000..00119567 --- /dev/null +++ b/www-ssl/admin/dect_cron.php @@ -0,0 +1,69 @@ +<?PHP + + +include ("./inc/db.php"); +include ("./inc/config.php"); +include ("./inc/funktion_modem.php"); + +//ausfuerungs Ruetmuss (in s) +$StartTimeBeforEvent = (60/4)*60; + + + + +function UID2DECT($UID) +{ + include ("./inc/db.php"); + + $SQL = "SELECT DECT FROM `User` WHERE UID='$UID'"; + $Erg = mysql_query($SQL, $con); + + return mysql_result($Erg, 0); +} + + +$SQL = "SELECT Shifts.DateS, ShiftEntry.UID ". + "FROM `Shifts` INNER JOIN `ShiftEntry` ON `Shifts`.`SID` = `ShiftEntry`.`SID` ". + "WHERE ((`Shifts`.`DateS`>'". gmdate("Y-m-d H:i:s", time()+3600+120). "') AND ". + "(`Shifts`.`DateS`<='". gmdate("Y-m-d H:i:s", time()+3600+120+$StartTimeBeforEvent). "') );"; +// "WHERE (Shifts.DateS>'2004-12-27 10:45:00' AND ". +// "Shifts.DateS<='2004-12-27 11:00:00');"; + +$Erg = mysql_query($SQL, $con); + +echo mysql_error($con); + +for( $i=0; $i<mysql_num_rows($Erg); $i++) +{ +// echo mysql_result($Erg, $i, "UID"); + if( mysql_result($Erg, $i, "UID")>0) + { + $SQL2 = "SELECT DECT FROM `User` WHERE ( `UID`='". mysql_result($Erg, $i, "UID"). "');"; + $Erg2 = mysql_query($SQL2, $con); + + $Number = mysql_result($Erg2, 0, "DECT"); + if( $Number!="") + { + $TimeH = substr( mysql_result($Erg, $i, "DateS"), 11, 2); + $TimeM = substr( mysql_result($Erg, $i, "DateS"), 14, 2); + $TimeM = substr( mysql_result($Erg, $i, "DateS"), 14, 2) - 5; + if( $TimeM < 0 ) + { + $TimeM += 60; + $TimeH -= 1; + } + if( $TimeH < 0 ) + $TimeH += 24; + + if( strlen( $TimeH) == 1) + $TimeH = "0".$TimeH; + + SetWackeup( $Number, $TimeH, $TimeM); + } + } +} + +return 0; + +?> + diff --git a/www-ssl/admin/faq.1.php b/www-ssl/admin/faq.1.php new file mode 100755 index 00000000..ee2bbb53 --- /dev/null +++ b/www-ssl/admin/faq.1.php @@ -0,0 +1,6 @@ +<h4 class="menu"> Anfragen und FAQ </h4> + +<li><a href="faq.php?quest=all">Alle Anfragen</a></li> +<li><a href="faq.php?quest=open">Offene Anfragen (<? noAnswer(); ?>)</a></li> +<li><a href="faq.php?quest=faq">FAQ-Liste editiern</a></li> + diff --git a/www-ssl/admin/faq.php b/www-ssl/admin/faq.php new file mode 100755 index 00000000..e4123841 --- /dev/null +++ b/www-ssl/admin/faq.php @@ -0,0 +1,340 @@ +<?php +$title = "Himmel"; +$header = "FAQ / Fragen an die Erzengel"; +$submenus = 1; +include ("./inc/header.php"); +include ("./inc/funktion_user.php"); + +//var init +$quest_bearb=0; + +if (IsSet($_GET["quest"])) { + +switch ($_GET["quest"]) +{ + +// *--------------------------------------------------------------------------- +// * Anfragen - Bearbeitung +// *--------------------------------------------------------------------------- +// * je nach Übergabeoption ($quest) koennen Anfragen beantwortet werden oder +// * als FAQ uebergeben werden +// *--------------------------------------------------------------------------- + +case "all": + $SQL="Select * from Questions ORDER BY QID DESC"; +?> + Alle Anfragen:<br> + <table width="100%" class="border" cellpadding="2" cellspacing="1"> + <tr class="contenttopic"> + <th>Frage</th> + <th>Anfragender</th> + <th>Beantwortet?</th> + <th>Antwort</th> + <th>Antwort von</th> + <th>change</th> + </tr> + +<? + + $Erg = mysql_query($SQL, $con); + // anzahl zeilen + $Zeilen = mysql_num_rows($Erg); + for ($n = 0 ; $n < $Zeilen ; $n++) { + echo "<tr class=\"content\">\n"; + echo "<td>".mysql_result($Erg, $n, "Question")."</td>\n"; + echo "<td>".UID2Nick(mysql_result($Erg, $n, "UID"))."</td>\n"; + echo "<td>"; + if (mysql_result($Erg, $n, "AID")>0) { + echo "Ja</td>\n"; + echo "<td>".mysql_result($Erg, $n, "Answer")."</td>\n"; + echo "<td>".UID2Nick(mysql_result($Erg, $n, "AID"))."</td>\n"; + } else { + echo "Nein</td>\n"; + echo "<td> </td>\n"; + echo "<td> </td>\n"; + } + echo "<td><a href=\"faq.php?quest=edit&QID=".mysql_result($Erg, $n, "QID")."\">xxx</a></td>"; + echo "</tr>\n"; + } + echo "</table>\n"; + break; +case "open": + $SQL="Select * from Questions where AID = \"0\" ORDER BY QID DESC"; + $quest_bearb=1; // Fragenliste anzeigen +?> + Offene Anfragen:<br> +<?php + break; +case "edit": + $quest_bearb=0; // keine Fragenliste anzeigen, Frage editieren... + if (!IsSet($_GET["QID"])){ +?> + Fehlerhafter Aufruf...<br>Bitte die Bearbeitung nochmals beginnen :) +<?php + } else { + $SQL = "SELECT * FROM Questions where QID=". $_GET["QID"]; + $Erg = mysql_query($SQL, $con); +?> + <form action="./faq.php" method="GET"> + Anfrage von <b><?php echo UID2NICK(mysql_result($Erg, 0, "UID")); ?></b>:<br> + <textarea name="Question" rows="3" cols="80"><?php echo mysql_result($Erg, 0, "Question"); ?></textarea> + <br><br> + Antwort der Erzengel:<br> +<?php + if (mysql_result($Erg, 0, "Answer")=="") { +?> + <textarea name="Answer" rows="5" cols="80">Bitte hier die Antwort eintragen...</textarea> + <br> +<?php + } else { +?> + <textarea name="Answer" rows="5" cols="80"><?php echo mysql_result($Erg, 0, "Answer"); ?></textarea> + <br> +<?php + } +?> + <input type="hidden" name="QID" value="<? echo $_GET["QID"]; ?>"> + <input type="hidden" name="quest" value="save"> + <input type="submit" value="Sichern..."> + </form> + Wenn diese Anfrage bereits beantwortet wurde, kannst du diese so wie sie ist als Engel-FAQ eintrag übernehmen.<br> + In diesem Falle erscheint hier der Link: +<?php + if (mysql_result($Erg, 0, "AID")<>"0") { +?> + <a href="./faq.php?quest=transfer&QID=<?php echo $QID; ?>">Als FAQ-Eintrag sichern...</a> +<?php + } + + } // Abfrage der QID + break; + +case "save": + if (!IsSet($_GET["QID"])){ +?> + Fehlerhafter Aufruf... Bitte die Bearbeitung nochmal starten... +<?php + } else { + $SQL = "UPDATE Questions SET Question=\"". $_GET["Question"]. + "\", AID=\"". $_SESSION['UID']. "\" , Answer=\"". $_GET["Answer"]. "\" ". + "where QID = \"". $_GET["QID"]. "\" LIMIT 1"; + $Erg = mysql_query($SQL, $con); + if ($Erg == 1) { +?> + Der Eintrag wurde geändert<br> +<?php + } else { +?> + Ein Fehler ist aufgetreten. Sorry, du kannst es aber ja nochmal probieren :) +<?php + } + } + break; + +case "transfer": + if (!IsSet($_GET["QID"])){ +?> + Fehlerhafter Aufruf... Bitte die Bearbeitung nochmal starten... +<?php + } else { + + $SQL1="Select * from Questions where QID=". $_GET["QID"]; + $Erg = mysql_query($SQL1, $con); + $SQL2="Insert into FAQ Values (\"\", \"". + mysql_result($Erg, 0, "Question")."\", \"".mysql_result($Erg, 0, "Answer")."\")"; + $Erg = mysql_query($SQL2, $con); + if ($Erg == 1) { +?> + Der Eintrag wurde übertragen.<br> +<?php + } else { +?> + Ein Fehler ist aufgetreten. Sorry, du kannst es aber ja nochmal probieren :) +<?php + } + } + + break; + +// *--------------------------------------------------------------------------- +// * FAQ - Bearbeitung +// *--------------------------------------------------------------------------- +// * je nach Übergabeoption ($quest) koennen FAQ's erfasst werden, +// * geaendert oder geloscht werden... +// *--------------------------------------------------------------------------- + + +case "faq": + $quest_bearb=0; // keine Fragenliste anzeigen, FAQ editieren... +?> + FAQ-Liste:<br> + <a href="./faq.php?quest=faqnew">Neuen Eintrag</a> +<?php + $SQL = "SELECT * FROM `FAQ`"; + $Erg = mysql_query($SQL, $con); + + // anzahl zeilen + $Zeilen = mysql_num_rows($Erg); + + for ($n = 0 ; $n < $Zeilen ; $n++) { + if (mysql_result($Erg, $n, "Antwort")!="") { +?> + <p class='question'><?php echo mysql_result($Erg, $n, "Frage"); ?></p> + <p class='answetion'><?php echo mysql_result($Erg, $n, "Antwort"); ?></p> + <a href="./faq.php?quest=faqedit&FAQID=<?php echo mysql_result($Erg, $n, "FID"); ?>">Bearbeiten</a> + <br>---<br> +<?php +} + } + break; + +case "faqedit": + if (!IsSet($_GET["FAQID"])) + { +?> + Fehlerhafter Aufruf...<br>Bitte die Bearbeitung nochmals beginnen :) +<?php + } else { + + $SQL = "SELECT * FROM FAQ where FID=". $_GET["FAQID"]; + $Erg = mysql_query($SQL, $con); + + // anzahl zeilen + $Zeilen = mysql_num_rows($Erg); +?> + <form action="./faq.php" method="GET"> + Frage:<br> + <textarea name="Frage" rows="3" cols="80"><?php echo mysql_result($Erg, 0, "Frage"); ?></textarea> + <br><br> + Antwort:<br> + <textarea name="Antwort" rows="5" cols="80"><?php echo mysql_result($Erg, 0, "Antwort"); ?></textarea><br> + <input type="hidden" name="FAQID" value="<? echo $_GET["FAQID"]; ?>"> + <input type="hidden" name="quest" value="faqsave"> + <input type="submit" value="Sichern..."> + </form> + <form action="./faq.php"> + <input type="hidden" name="FAQID" value="<? echo $_GET["FAQID"]; ?>"> + <input type="hidden" name="quest" value="faqdelete"> + <input type="submit" value="Löschen..."> + </form> +<?php + } + break; + +case "faqdelete"; + if (!IsSet($_GET["FAQID"])) + { +?> + Fehlerhafter Aufruf... Bitte die Bearbeitung nochmal starten... +<?php + } else { + $SQL = "delete from FAQ where FID = \"". $_GET["FAQID"]. "\" LIMIT 1"; + $Erg = mysql_query($SQL, $con); + if ($Erg == 1) { +?> + Der Eintrag wurde gelöscht<br> +<?php + } else { +?> + Ein Fehler ist aufgetreten. Ist der Eintag bereits gelöscht gewesen? +<?php + } + } + break; + +case "faqsave"; + if (!IsSet($_GET["FAQID"])) + { +?> + Fehlerhafter Aufruf... Bitte die Bearbeitung nochmal starten... +<?php + } else { + $SQL = "UPDATE FAQ SET Frage=\"". $_GET["Frage"]. "\", Antwort=\"". $_GET["Antwort"]. + "\" where FID = \"". $_GET["FAQID"]. "\" LIMIT 1"; + $Erg = mysql_query($SQL, $con); + if ($Erg == 1) { +?> + Der Eintrag wurde geändert<br> +<?php + } else { +?> + Ein Fehler ist aufgetreten. Sorry, du kannst es aber ja nochmal probieren :) +<?php + } + } + break; + +case "faqnew": +?> + <form action="./faq.php" method="GET"> + Frage:<br> + <textarea name="Frage" rows="3" cols="80">Frage...</textarea><br><br> + Antwort:<br> + <textarea name="Antwort" rows="5" cols="80">Antwort</textarea><br> + <input type="hidden" name="quest" value="faqnewsave"> + <input type="submit" value="Sichern..."> + </form> +<?php + break; +case "faqnewsave"; + $SQL = "INSERT INTO FAQ VALUES (\"\", \"". $_GET["Frage"]. "\", \"". $_GET["Antwort"]. "\")"; + $Erg = mysql_query($SQL, $con); + if ($Erg == 1) { +?> + Der Eintrag wurde erfasst.<br> +<?php + } else { +?> + Ein Fehler ist aufgetreten. Sorry, du kannst es aber ja nochmal probieren :) +<?php + } + break; + +} + +// Hilfsroutine für die Anfragen: +// Fragenliste anzeigen??? + +if ($quest_bearb==1) { + + $Erg = mysql_query($SQL, $con); + // anzahl zeilen + $Zeilen = mysql_num_rows($Erg); + + if ($Zeilen==0){ +?> + keine vorhanden... +<?php + } else { + for ($n = 0 ; $n < $Zeilen ; $n++) { +?> +<p> +<?php echo nl2br(mysql_result($Erg, $n, "Question"))."\n"; ?> +</p> + <br> + <a href="./faq.php?quest=edit&QID=<?php echo mysql_result($Erg, $n, "QID"); ?>">Bearbeiten</a> + <br>---<br> +<?php + } + } + + +} + +} else { + +?> +Bitte wähle aus, ob du: + +<ul> + <li><a href="./faq.php?quest=all">Alle Anfragen anzeigen/bearbeiten möchtest</a></li> + <li><a href="./faq.php?quest=open">Alle offenen Anfragen anzeigen/bearbeiten möchtest</a></li> + <li><a href="./faq.php?quest=faq">Die FAQ's anzeigen/bearbeiten</a></li> +</ul> + +<?php + +} + +include ("./inc/footer.php"); +?> diff --git a/www-ssl/admin/free.php b/www-ssl/admin/free.php new file mode 100755 index 00000000..1e7bd259 --- /dev/null +++ b/www-ssl/admin/free.php @@ -0,0 +1,108 @@ +<?PHP + +$title = "Erzengel"; +$header = "Freie Engel"; +include ("./inc/header.php"); +include ("./inc/funktion_db_list.php"); +include ("./inc/funktion_user.php"); + + +echo "Hallo ".$_SESSION['Nick'].",<br>\n"; + +?> +hier findest du alle Engel, welche zur Zeit in Schichten verplant sind: +<br><br> + + +<? +####################################################### +# 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() );"; + +//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 "<pre>$SQL</pre>"; + +$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 "<table width=\"100%\" class=\"border\" cellpadding=\"2\" cellspacing=\"1\">\n"; +echo "\t<tr class=\"contenttopic\">\n"; +echo "\t\t<td>Nick</td>\n"; +echo "\t\t<td>Schicht</td>\n"; +echo "\t\t<td>Ort</td>\n"; +echo "\t\t<td>Von</td>\n"; +echo "\t\t<td>Bis</td>\n"; +echo "\t</tr>\n"; + + +$inuse=""; +for ($i=0; $i < $Zeilen; $i++) +{ + echo "<tr class=\"content\">\n"; + echo "<td><a href=\"./user.php?Type=Normal&enterUID=". mysql_result($Erg, $i, "UID"). "\">". + mysql_result($Erg, $i, "Nick"). "</td></a>\n"; + echo "<td>". UID2Nick(mysql_result($Erg, $i, "UID")). "</td>\n"; + echo "<td>". mysql_result($Erg, $i, "RID"). "</td>\n"; + echo "<td>". mysql_result($Erg, $i, "DateS"). "</td>\n"; + echo "<td>". mysql_result($Erg, $i, "DateE"). "</td>\n"; + echo "</tr>\n"; + + if ($inuse!="") + $inuse.= " OR "; + $inuse.= "(Nick = \"". UID2Nick(mysql_result($Erg, $i, "UID")). "\")"; +} +if ($inuse!="") + $inuse=" WHERE NOT (".$inuse.")"; +echo "</table>\n"; + + +//########################################################################################################## + +echo "<br><br>\n\nhier findest du alle Engel, welche zur Zeit in keiner Schichten verplant sind:<br><br>\n"; +echo "<table width=\"100%\" class=\"border\" cellpadding=\"2\" cellspacing=\"1\"\>\n"; +echo "\t<tr class=\"contenttopic\">\n\t\t<td>Nick</td>\n\t\t<td>DECT</td>\n\t</tr>\n"; + +$SQL = "SELECT Nick, UID, DECT FROM User".$inuse.";"; +$Erg = mysql_query($SQL, $con); +$Zeilen = mysql_num_rows($Erg); +for ($i=0; $i < $Zeilen; $i++) +{ + echo "\t<tr class=\"content\">\n"; + echo "\t\t<td><a href=\"./user.php?Type=Normal&enterUID=". mysql_result($Erg, $i, "UID"). "\">". + mysql_result($Erg, $i, "Nick"). "</a></td>\n"; + echo "\t\t<td>". mysql_result($Erg, $i, "DECT"). "</td>\n"; + echo "\n</tr>\n"; +} +echo "</table>\n"; + +include ("./inc/footer.php"); +?> + diff --git a/www-ssl/admin/inc b/www-ssl/admin/inc new file mode 120000 index 00000000..22dc542a --- /dev/null +++ b/www-ssl/admin/inc @@ -0,0 +1 @@ +../inc
\ No newline at end of file diff --git a/www-ssl/admin/index.php b/www-ssl/admin/index.php new file mode 100755 index 00000000..c7ae3a14 --- /dev/null +++ b/www-ssl/admin/index.php @@ -0,0 +1,19 @@ +<?PHP + +$title = "Erzengel"; +$header = "Index"; +include ("./inc/header.php"); +include ("./inc/funktion_db_list.php"); + +echo "Hallo Erzengel ".$_SESSION['Nick'].",<br>\n"; + +?> + +du bist jetzt im Erzengel-Bereich. Hier kannst du die Engel-Verwaltung vornehmen.<br><br> + +Bitte melde dich <a href="../logout.php">hier</a> nach getaner Arbeit immer ab, damit kein anderer hier Änderungen vornehmen kann. + +<? +include ("./inc/footer.php"); +?> + diff --git a/www-ssl/admin/list.php b/www-ssl/admin/list.php new file mode 100755 index 00000000..6ae8a336 --- /dev/null +++ b/www-ssl/admin/list.php @@ -0,0 +1,34 @@ +<?PHP + +$title = "Debug-Liste"; +$header = "Datenbank-Auszug"; +include ("./inc/header.php"); +include ("./inc/funktion_db_list.php"); + + +/* +echo "<h1>Raeume</h1> <br>"; +funktion_db_list("Raeume"); + +echo "<h1>Schichtbelegung</h1> <br>"; +funktion_db_list("Schichtbelegung"); + +echo "<h1>Schichtplan</h1> <br>Hier findest du alle bisher eingetragenen Schichten:"; +funktion_db_list("Schichtplan"); + +echo "<h1>User</h1> <br>"; +funktion_db_list("User"); + +echo "<h1>News</h1> <br>"; +funktion_db_list("News"); + +echo "<h1>FAQ</h1> <br>"; +funktion_db_list("FAQ"); + +*/ + +echo "Deaktiviert"; + +include ("./inc/footer.php"); +?> + diff --git a/www-ssl/admin/menu.php b/www-ssl/admin/menu.php new file mode 100755 index 00000000..bd0761ed --- /dev/null +++ b/www-ssl/admin/menu.php @@ -0,0 +1,46 @@ +<?PHP +include ("./inc/funktion_faq.php"); + +$Menu["Path"] = "admin/"; +$Menu["Name"] = "Kategorie"; +$Menu["Entry"][1]["File"] = "room.php"; +$Menu["Entry"][1]["Name"] = "Räume"; +$Menu["Entry"][12]["File"] = "EngelType.php"; +$Menu["Entry"][12]["Name"] = "Engeltypen"; +$Menu["Entry"][2]["File"] = "schichtplan.php"; +$Menu["Entry"][2]["Name"] = "Schichtplan"; +$Menu["Entry"][2]["Line"] = "<br>"; +$Menu["Entry"][3]["File"] = "dbUpdateFromXLS.php"; +$Menu["Entry"][3]["Name"] = "UpdateDB"; +$Menu["Entry"][13]["File"] = "dect.php"; +$Menu["Entry"][13]["Name"] = "Dect"; +$Menu["Entry"][13]["Line"] = "<br>"; +$Menu["Entry"][4]["File"] = "user.php"; +$Menu["Entry"][4]["Name"] = "Engelliste"; +$Menu["Entry"][5]["File"] = "aktiv.php"; +$Menu["Entry"][5]["Name"] = "Aktivliste"; +$Menu["Entry"][6]["File"] = "tshirt.php"; +$Menu["Entry"][6]["Name"] = "T-Shirtausgabe"; +$Menu["Entry"][6]["Line"] = "<br><br>"; +$Menu["Entry"][7]["File"] = "news.php"; +$Menu["Entry"][7]["Name"] = "News-Verwaltung"; +$Menu["Entry"][8]["File"] = "faq.php"; +$Menu["Entry"][8]["Name"] = "FAQ (". noAnswer(). ")"; +$Menu["Entry"][9]["File"] = "free.php"; +$Menu["Entry"][9]["Name"] = "Freie Engel"; +$Menu["Entry"][9]["Line"] = "<br><br>"; +$Menu["Entry"][11]["File"] = "sprache.php"; +$Menu["Entry"][11]["Name"] = "Language"; +$Menu["Entry"][11]["Line"] = "<br><br>"; +$Menu["Entry"][10]["File"] = "list.php"; +$Menu["Entry"][10]["Name"] = "Debug"; + +if ($_SESSION['CVS']["MenueShowAdminSection"] == "Y") { + $MenuAdmin["Name"] = "Erzengel"; + $MenuAdmin["Entry"][0]["File"] = "../nonpublic/index.php"; + $MenuAdmin["Entry"][0]["Name"] = "Engel-Menü"; +} // MenueShowAdminSection + + + +?> diff --git a/www-ssl/admin/news.php b/www-ssl/admin/news.php new file mode 100755 index 00000000..7c501751 --- /dev/null +++ b/www-ssl/admin/news.php @@ -0,0 +1,109 @@ +<?PHP + +$title = "Newsverwaltung"; +$header = "Verwaltung der News"; +include ("./inc/header.php"); +include ("./inc/funktion_db_list.php"); +include ("./inc/funktion_user.php"); + + +if (!IsSet($_GET["action"])) { + +$SQL = "SELECT * from News order by Datum DESC"; +$Erg = mysql_query($SQL, $con); + +$rowcount = mysql_num_rows($Erg); +?> +Hallo <? echo $_SESSION['Nick'] ?>, <br> +hier kannst du die News säbern... falls jemand auf die Idee kommt, +hier herumzuspamen oder aus Versehen falsche Informationen zu hinterlegen :)<br><br> + +<table width="100%" class="border" cellpadding="2" cellspacing="1"> + <tr class="contenttopic"> + <td>Datum</td> + <td>Betreff</td> + <td>Text</td> + <td>Erfasser</td> + <td>Engeltreff</td> + <td>Änd.</td> + </tr> +<? + +for ($i=0; $i < $rowcount; $i++) { + echo "\t<tr class=\"content\">\n"; + echo "\t <td>".mysql_result($Erg, $i, "Datum")."</td>"; + echo "\t <td>".mysql_result($Erg, $i, "Betreff")."</td>"; + echo "\t <td>".mysql_result($Erg, $i, "Text")."</td>"; + echo "\t <td>".UID2Nick(mysql_result($Erg, $i, "UID"))."</td>"; + echo "\t <td>".mysql_result($Erg, $i, "Treffen")."</td>"; + echo "\t <td><a href=\"./news.php?action=change&date=".mysql_result($Erg, $i, "Datum")."\">XXX</a></td>"; + echo "\t</tr>\n"; +} +echo "</table>"; + + +} else { + +switch ($_GET["action"]) +{ + +case 'change': + $SQL = "SELECT * from News where (Datum='". $_GET["date"]. "')"; + $Erg = mysql_query($SQL, $con); + + echo "<form action=\"./news.php\" method=\"GET\">\n"; + + echo "<table>\n"; + echo " <tr><td>Datum</td><td><input type=\"text\" size=\"40\" name=\"date\" value=\"". + mysql_result($Erg, 0, "Datum")."\" disabled></td></tr>\n"; + echo " <tr><td>Betreff</td><td><input type=\"text\" size=\"40\" name=\"eBetreff\" value=\"". + mysql_result($Erg, 0, "Betreff")."\"></td></tr>\n"; + echo " <tr><td>Text</td><td><textarea rows=\"10\" cols=\"80\" name=\"eText\">". + mysql_result($Erg, 0, "Text")."</textarea></td></tr>\n"; + echo " <tr><td>Engel</td><td><input type=\"text\" size=\"40\" name=\"eUser\" value=\"". + UID2Nick(mysql_result($Erg, 0, "UID"))."\" disabled></td></tr>\n"; + echo " <tr><td>Treffen</td><td><input type=\"text\" size=\"40\" name=\"eTreffen\" value=\"". + mysql_result($Erg, 0, "Treffen")."\"></td></tr>\n"; + echo "</table>"; + + echo "<input type=\"hidden\" name=\"date\" value=\"". $_GET["date"]. "\">\n"; + echo "<input type=\"hidden\" name=\"action\" value=\"change_save\">\n"; + echo "<input type=\"submit\" value=\"Abschicken...\">\n"; + echo "</form>"; + + echo "<form action=\"./news.php?action=delete\" method=\"POST\">\n"; + echo "<input type=\"hidden\" name=\"date\" value=\"". $_GET["date"]. "\">\n"; + echo "<input type=\"submit\" value=\"löschen...\">\n"; + echo "</form>"; + + break; + +case 'change_save': + $chsql="UPDATE News set Betreff = \"". $_GET["eBetreff"]. "\", Text = \"". $_GET["eText"]. + "\", Treffen=". $_GET["eTreffen"]. " where (Datum = '". $_GET["date"]. "') limit 1"; + break; + +case 'delete': + $chsql="DELETE from News where Datum = '". $_POST["date"]. "' limit 1"; + break; +} + +if (IsSet($chsql)) { +// SQL-Statement ausführen... + $Erg = mysql_query($chsql, $con); + If ($Erg == 1) + { + echo "Änderung erfolgreich gesichert..."; + } + else + { + echo "Ein Fehler ist aufgetreten... probiere es am besten nocheinmal... :)<br><br>\n"; + echo mysql_error($con); + echo "<br><br>\n[$chsql]"; + } +} + +} +include ("./inc/footer.php"); +?> + diff --git a/www-ssl/admin/pic b/www-ssl/admin/pic new file mode 120000 index 00000000..a21de85f --- /dev/null +++ b/www-ssl/admin/pic @@ -0,0 +1 @@ +../pic
\ No newline at end of file diff --git a/www-ssl/admin/room.php b/www-ssl/admin/room.php new file mode 100755 index 00000000..3b8cb63c --- /dev/null +++ b/www-ssl/admin/room.php @@ -0,0 +1,184 @@ +<?php +$title = "Räume"; +$header = "Verwaltung der Räume"; +include ("./inc/header.php"); +include ("./inc/funktion_user.php"); +include ("./inc/funktion_schichtplan.php"); + +$Sql = "SELECT * FROM `Room` ORDER BY Number, Name"; +$Erg = mysql_query($Sql, $con); + +if( !IsSet($_GET["action"]) ) +{ + echo "Hallo ".$_SESSION['Nick']. + ",<br>\nhier hast du die Möglichkeit, neue Räume für die Schichtpläne einzutragen ". + "oder vorhandene abzuändern:<br><br>\n"; + + echo "<a href=\"./room.php?action=new\">- Neuen Raum/Ort eintragen</a><br>\n"; + + echo "<table width=\"100%\" class=\"border\" cellpadding=\"2\" cellspacing=\"1\">\n"; + echo "<tr class=\"contenttopic\">\n"; + + for( $i = 1; $i < mysql_num_fields($Erg); $i++ ) + { + if( substr( mysql_field_name($Erg, $i), 0, 12) == "DEFAULT_EID_") + echo "\t<td> Anzahl ". $EngelTypeID[substr( mysql_field_name($Erg, $i), 12)]. "</td>"; + else + echo "\t<td>". mysql_field_name($Erg, $i)."</td>"; + } + echo "\t<td>Ändern</td>"; + echo "</tr>"; + + for( $t = 0; $t < mysql_num_rows($Erg); $t++ ) + { + echo "\t<tr class=\"content\">\n"; + for ($j = 1; $j < mysql_num_fields($Erg); $j++) + { + echo "\t\t<td>".mysql_result($Erg, $t, $j)."</td>\n"; + } + echo "\t\t<td><a href=\"./room.php?action=change&RID=".mysql_result($Erg, $t, "RID")."\">###</a></td>\n"; + echo "\t</tr>\n"; + } // ende Auflistung Raeume + echo "</table>"; +} +else +{ + +UnSet($SQL); + +switch ($_GET["action"]) { + +case 'new': + echo "Neuen Raum einrichten: <br>"; + echo "<form action=\"./room.php\" method=\"GET\">\n"; + echo "<table>\n"; + + for( $Uj = 1; $Uj < mysql_num_fields($Erg); $Uj++ ) + { + //sonderfall fuer Default Engel + if( substr( mysql_field_name($Erg, $Uj), 0, 12) == "DEFAULT_EID_") + $FeldName = "Anzahl ". $EngelTypeID[substr( mysql_field_name($Erg, $Uj), 12)]; + else + $FeldName = mysql_field_name($Erg, $Uj); + + echo "<td>$FeldName</td>". + "<td><input type=\"text\" size=\"40\" name=\"".mysql_field_name($Erg, $Uj)."\">"; + echo "</td></tr>\n"; + } + echo "</table>\n"; + echo "<input type=\"hidden\" name=\"action\" value=\"newsave\">\n"; + echo "<input type=\"submit\" value=\"sichern...\">\n"; + echo "</form>"; + break; + +case 'newsave': + $vars = $HTTP_GET_VARS; + $count = count($vars) - 1; + $vars = array_splice($vars, 0, $count); + $Keys = ""; + $Values = ""; + foreach($vars as $key => $value) + { + $Keys .= ", `$key`"; + $Values .= ", '$value'"; + } + + //ermitteln des letzten eintrages + $SQLin = "SELECT `RID` FROM `Room` ". + "WHERE NOT (`FromPentabarf` = 'Y') ". + "ORDER BY `RID` DESC"; + $Ergin = mysql_query($SQLin, $con); + if( mysql_num_rows( $Ergin) > 0) + $RID = mysql_result( $Ergin, 0, 0)+1; + else + $RID = 10000; + + $SQL = "INSERT INTO `Room` (`RID`$Keys) VALUES ( '$RID'$Values)"; + SetHeaderGo2Back(); + break; + +case 'change': + if (! IsSet($_GET["RID"])) { + echo "Fehlerhafter Aufruf!"; + } else { + + echo "Raum abändern:\n"; + + echo "Hier kannst du eintragen, welche und wieviele Engel für den Raum zur Verfügung stehen müssen."; + + echo "<form action=\"./room.php\" method=\"GET\">\n"; + echo "<table>\n"; + + $SQL2 = "SELECT * FROM `Room` WHERE `RID`='". $_GET["RID"]. "'"; + $ERG = mysql_query($SQL2, $con); + + for ($Uj = 1; $Uj < mysql_num_fields($ERG); $Uj++) + { + //sonderfall fuer Default Engel + if( substr( mysql_field_name($ERG, $Uj), 0, 12) == "DEFAULT_EID_") + $FeldName = "Anzahl ". $EngelTypeID[substr( mysql_field_name($ERG, $Uj), 12)]; + else + $FeldName = mysql_field_name($ERG, $Uj); + + echo "<tr><td>$FeldName</td>". + "<td><input type=\"text\" size=\"40\" name=\"e".mysql_field_name($ERG, $Uj)."\" ". + "value=\"".mysql_result($ERG, 0, $Uj)."\">"; + echo"</td></tr>\n"; + } + echo "</table>\n"; + echo "<input type=\"hidden\" name=\"eRID\" value=\"". $_GET["RID"]. "\">\n"; + echo "<input type=\"hidden\" name=\"action\" value=\"changesave\">\n"; + echo "<input type=\"submit\" value=\"sichern...\">\n"; + echo "</form>"; + echo "<form action=\"./room.php\" method=\"GET\">\n"; + echo "<input type=\"hidden\" name=\"RID\" value=\"". $_GET["RID"]. "\">\n"; + echo "<input type=\"hidden\" name=\"action\" value=\"delete\">\n"; + echo "<input type=\"submit\" value=\"Löschen...\">"; + echo "</form>"; + } + break; + +case 'changesave': + $sql=""; + $vars = $HTTP_GET_VARS; + $count = count($vars) - 2; + $vars = array_splice($vars, 0, $count); + foreach($vars as $key => $value){ + $keys = substr($key,1); + $sql .= ", `".$keys."`='".$value."' "; + + } + $SQL = "UPDATE `Room` SET ". substr($sql, 2). " WHERE `RID`='". $_GET["eRID"]. "'"; + SetHeaderGo2Back(); + break; + +case 'delete': + if (IsSet($_GET["RID"])) { + $SQL="DELETE FROM `Room` WHERE `RID`='". $_GET["RID"]. "'"; + } else { + echo "Fehlerhafter Aufruf"; + } + SetHeaderGo2Back(); + break; + +} //switch + + +// Update ??? + +if (IsSet($SQL)){ +// echo $SQL; + // hier muesste das SQL ausgefuehrt werden... + $Erg = mysql_query($SQL, $con); + if ($Erg == 1) { + echo "Änderung wurde gesichert...<br>"; + } else { + echo "Fehler beim speichern... bitte noch ein mal probieren :)"; + echo "<br><br>".mysql_error( $con ). "<br>($SQL)<br>"; + } +} // Ende Update + +} //IF IsSet($action) + +include ("./inc/footer.php"); +?> diff --git a/www-ssl/admin/schichtplan.1.php b/www-ssl/admin/schichtplan.1.php new file mode 100755 index 00000000..30761390 --- /dev/null +++ b/www-ssl/admin/schichtplan.1.php @@ -0,0 +1,5 @@ +<h4 class="menu"> Schichtplan </h4> + +<li><a href="./schichtplan.php">Ein-/Austragen</a></li> +<li><a href="./schichtplan_druck.php">Druckversion</a></li> + diff --git a/www-ssl/admin/schichtplan.php b/www-ssl/admin/schichtplan.php new file mode 100755 index 00000000..9e7ec81b --- /dev/null +++ b/www-ssl/admin/schichtplan.php @@ -0,0 +1,291 @@ +<?php +$title = "Schichtplan"; +$header = "Neue Schichten erfassen"; +$submenus = 1; +include ("./inc/header.php"); +include ("./inc/funktion_user.php"); + +if (!IsSet($_GET["action"])) { +echo "Hallo ".$_SESSION['Nick'].",<br>\n"; +echo "hier kannst du Schichten anlegen, ändern oder löschen.<br><br>"; +echo "<a href=\"./shiftadd.php\">Neue Schicht einplanen</a><br><br>\n\n"; + +?> +<table width="100%" class="border" cellpadding="2" cellspacing="1"> + <tr class="contenttopic"> + <td>Datum</td> + <td>Raum</td> + <td>Dauer</td> + <td>Ändern</td> + </tr> +<? + +$sql = "SELECT `SID`, `DateS`, `RID`, `Len` FROM `Shifts` ". + "ORDER BY RID, DateS "; +$Erg = mysql_query($sql, $con); +$rowcount = mysql_num_rows($Erg); +for( $i = 0; $i < $rowcount; $i++) +{ + echo "\t<tr class=\"content\">\n"; + echo "\t\t<td>".mysql_result($Erg, $i, "DateS")."</td>\n"; + + $sql2= "SELECT `Name` FROM `Room` WHERE `RID`=\"".mysql_result($Erg, $i, "RID")."\""; + $Erg2 = mysql_query($sql2, $con); + if( mysql_num_rows($Erg2) > 0) + echo "\t\t<td>".mysql_result($Erg2, 0, "Name")."</td>\n"; + else + echo "\t\t<td>Unbenkannt (RID=". mysql_result($Erg, $i, "RID"). ")</td>\n"; + echo "\t\t<td>".mysql_result($Erg, $i, "Len")." Std. </td>\n"; + echo "\t\t<td><a href=\"./schichtplan.php?action=change&SID=". + mysql_result($Erg, $i, "SID")."\">####</a></td>\n"; + echo "\t</tr>\n"; +} +echo "</table>"; + + +} 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: <br>\n"; + + // Anzeige Allgemeiner schaischt daten + echo "<form action=\"".$_SERVER['SCRIPT_NAME']."\" method=\"GET\" >"; + echo "<table>\n"; + echo " <tr><td>Schichtbeginn</td>". + "<td><input value=\"". mysql_result($Erg, 0, "DateS"). + "\" type=\"text\" size=\"40\" name=\"eDate\"></td></tr>\n"; + echo " <tr><td>Raum</td><td>\n<select name=\"eRID\">\n"; + + $sql2 = "SELECT `RID`, `Name` FROM `Room`"; + $Erg2 = mysql_query($sql2, $con); + $rowcount = mysql_num_rows($Erg2); + for( $i = 0; $i < $rowcount; $i++ ) + { + $RID=mysql_result($Erg2, $i, "RID"); + echo " <option value=\"".$RID."\""; + if( $RID == mysql_result($Erg, 0, "RID") ) + echo " selected"; + echo ">".mysql_result($Erg2, $i, "Name")."</option>\n"; + } + echo " </select>\n</td></tr>\n"; + + echo " <tr><td>Dauer in h</td>". + "<td><input value=\"". mysql_result($Erg, 0, "Len"). + "\" type=\"text\" size=\"40\" name=\"eDauer\"></td></tr>\n"; + echo " <tr><td>Beschreibung</td>". + "<td><input value=\"". mysql_result($Erg, 0, "Man"). + "\" type=\"text\" size=\"40\" name=\"eName\"></td></tr>\n"; + echo "</table>\n"; + + echo "<input type=\"hidden\" name=\"SID\" value=\"". $_GET["SID"]. "\">\n"; + echo "<input type=\"hidden\" name=\"action\" value=\"changesave\">\n"; + echo "<input type=\"submit\" value=\"sichern...\">\n"; + echo "</form>\n\n"; + + // Löschen + echo "<form action=\"". $_SERVER['SCRIPT_NAME']. "\" method=\"GET\" >\n"; + echo "<input type=\"hidden\" name=\"SID\" value=\"". $_GET["SID"]. "\">\n"; + echo "<input type=\"hidden\" name=\"action\" value=\"delete\">\n"; + echo "<input type=\"submit\" value=\"Löschen...\">\n"; + echo "</form>\n\n"; + + echo "<b>ACHTUNG:</b><br>\n"; + echo "Beim Löschen werden die bisher eingetragenen Engel für diese Schicht mitgelöscht.<br>\n"; + + echo "<br><hr>\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:<br>\n"; + for ($j=0; $j < $rowcount; $j++) + { + $TID = mysql_result($Erg3, $j, 0); + echo "<a href=\"./schichtplan.php?action=engelshiftdel&SID=". $_GET["SID"]. "&TID=$TID\">". + "freie ". TID2Type($TID). Get_Text("inc_schicht_Engel"). "schicht loeschen</a><br>\n"; + } + echo "<br><hr>\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:<br>\n"; + for ($j=0; $j < $rowcount; $j++) + { + $userUID=mysql_result($Erg3, $j, "UID"); + echo "<a href=\"./schichtplan.php?action=engeldel&SID=". $_GET["SID"]. "&UIDs=$userUID\">". + UID2Nick($userUID). + " (". TID2Type(mysql_result($Erg3, $j, "TID")). Get_Text("inc_schicht_Engel"). + ") austragen</a><br>\n"; + } // FOR + + echo "<br><hr>\n\n\n\n"; + + //Nachtragen von Engeln + echo "Hat ein anderer Engel die Schicht übernommen, trage ihn bitte ein:"; + echo "<form action=\"".$_SERVER['SCRIPT_NAME']."\" method=\"GET\" >\n"; + echo "<input type=\"hidden\" name=\"SID\" value=\"". $_GET["SID"]. "\">\n"; + echo "<input type=\"hidden\" name=\"action\" value=\"engeladd\">\n"; + + // Listet alle Nicks auf + echo "<select name=\"UIDs\">\n"; + echo "\t<option value=\"0\">--neu--</option>\n"; + + $usql="select * from User order by Nick"; + $uErg = mysql_query($usql, $con); + $urowcount = mysql_num_rows($uErg); + for ($k=0; $k<$urowcount; $k++) + { + echo "\t<option value=\"".mysql_result($uErg, $k, "UID")."\">". + mysql_result($uErg, $k, "Nick"). + "</option>\n"; + } + echo "</select>\n"; + + echo " als \n"; + + // holt eine liste der benötigten Engel zu dieser Schischt + $sql3 = "SELECT Count(`TID`) AS `CTID`, `TID` FROM `ShiftEntry` "; + $sql3.= "WHERE (`SID`='". $_GET["SID"]. "' AND `UID`='0') "; + $sql3.= "GROUP BY `SID`, `TID`, `UID` "; + $Erg3 = mysql_query($sql3, $con); + $i=-1; + while( ++$i < mysql_num_rows($Erg3)) + { + $EngelNeed[mysql_result($Erg3, $i, "TID")] = mysql_result($Erg3, $i, "CTID"); + } + + // Gibt dei möglich Engeltypen aus und zeigt wíefiel noch beötigt werden + echo "<select name=\"TID\">\n"; + $SQL2 = "SELECT `TID`, `Name` FROM `EngelType` ORDER BY `Name`"; + $Erg2 = mysql_query($SQL2, $con); + for ($l = 0; $l < mysql_num_rows($Erg2); $l++) + { + $EngelTID = mysql_result($Erg2, $l, "TID"); + echo "<option value=\"$EngelTID\">"; + echo mysql_result($Erg2, $l, "Name"). Get_Text("inc_schicht_engel"); + if( !isset($EngelNeed[$EngelTID]) ) + echo " (0)"; + else + echo " (".$EngelNeed[$EngelTID].")"; + echo "</option>\n"; + } + echo "</select>\n"; + + echo "<input type=\"submit\" value=\"eintragen...\">\n"; + echo "</form>"; + + } // 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']."' "; + $chSQL .= "WHERE (`SID`='". $_GET["SID"]. "' AND ". + "`TID`='". $_GET["TID"]. "' AND `UID`='0' ) LIMIT 1"; + } + else + { + $chSQL = "INSERT INTO `ShiftEntry` (`SID`, `TID`, `UID`, `Comment`) VALUES ("; + $chSQL .= "'". $_GET["SID"]. "', '". $_GET["TID"]. "', ". + "'". $_GET["UIDs"]. "', 'shift added by ".$_SESSION['Nick']."')"; + } + + echo "Es wird folgende Schicht zusätzlich eingetragen:<br>\n"; + echo "Engel: ".UID2Nick($_GET["UIDs"])."<br>\n"; + echo "Bemerkung: Schicht eingetragen durch Erzengel ".$_SESSION['Nick']."<br>\n<br>\n"; + } + else + { + $chSQL = "INSERT INTO `ShiftEntry` (`SID`, `TID`, `UID`, `Comment`) VALUES ("; + $chSQL .= "'". $_GET["SID"]. "', '". $_GET["TID"]. "', '0', NULL)"; + echo "Es wird eine weitere Schicht eingetragen:<br>\n"; + } + break; + +case 'engeldel': + $chSQL = "UPDATE `ShiftEntry` SET `UID`='0', `Comment`= 'NULL' WHERE (`SID`='". $_GET["SID"]. + "' AND `UID`='". $_GET["UIDs"]. "') LIMIT 1"; + 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"]. "' 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; + +} // end switch + +if (IsSet($chSQL)){ +// echo $chSQL; + // hier muesste das SQL ausgefuehrt werden... + $Erg = mysql_query($chSQL, $con); + if( $DEBUG ) + echo "DEBUG SQL: $chSQL<br>\n"; + if ($Erg == 1) + { + echo "Änderung wurde gesichert...<br>"; + if( $DEBUG ) + echo "DEBUG: ergebniss". $Erg. "<br>\n"; + if (IsSet($ch2SQL)) + { + $Erg = mysql_query($ch2SQL, $con); + if( $DEBUG ) + echo "DEBUG SQL: $ch2SQL<br>\n"; + if( $DEBUG ) echo "DEBUG: ergebniss". $Erg. "<br>\n"; + } + } + else + { + echo "Fehler beim speichern... bitte noch ein mal probieren :)<br>"; + echo mysql_error($con); + } +} // Ende Update + +} + + +include ("./inc/footer.php"); +?> diff --git a/www-ssl/admin/schichtplan_druck.1.php b/www-ssl/admin/schichtplan_druck.1.php new file mode 100755 index 00000000..30761390 --- /dev/null +++ b/www-ssl/admin/schichtplan_druck.1.php @@ -0,0 +1,5 @@ +<h4 class="menu"> Schichtplan </h4> + +<li><a href="./schichtplan.php">Ein-/Austragen</a></li> +<li><a href="./schichtplan_druck.php">Druckversion</a></li> + diff --git a/www-ssl/admin/schichtplan_druck.php b/www-ssl/admin/schichtplan_druck.php new file mode 100755 index 00000000..a6ec2dbd --- /dev/null +++ b/www-ssl/admin/schichtplan_druck.php @@ -0,0 +1,169 @@ +<?php +$title = "Himmel"; +$header = "Schichtpläne"; +$submenus = 1; + + +if (!IsSet($action)) { +include ("./inc/header.php"); +include ("./inc/funktionen.php"); + +include ("./inc/funktion_schichtplan.php"); +include ("./inc/funktion_user.php"); + + +?> + +Hallo <? echo $_SESSION['Nick']?>,<br> +auf dieser Seite kannst du dir den Schichtplan in einer Druckansicht generieren lassen. Wähle hierfür ein Datum und den Raum: +<br><br> +<form action="./schichtplan_druck.php" method="post" target="_print"> +<input type="hidden" name="action" value="1"> + + +<table> + <tr> + <td align="right">Datum:</td> + <td align="left"> + <select name="ausdatum"> +<? +$SQL = "SELECT DateS FROM `Shifts` ORDER BY 'DateS'"; +$Erg = mysql_query($SQL, $con); +if (!isset($ausdatum)) + $ausdatum = substr(mysql_result($Erg, $i , 0), 0,10); + +for ($i = 0 ; $i < mysql_fetch_row($Erg) ; $i++) +{ + if ($tmp != substr(mysql_result($Erg, $i , 0), 0,10)) + { + $tmp = substr(mysql_result($Erg, $i , 0), 0,10); + echo "\t\t\t\t<option value=\"$tmp\">$tmp</option>\n"; + } +} + +?> + </select> + </td> + </tr> + <tr> + <td align="right">Raum:</td> + <td align="left"> + <select name="Raum"> +<?php + +$res = mysql_query("SELECT Name, RID FROM `Room` WHERE `show`!='N' ORDER BY Name;",$con); + +for ($i = 0; $i < mysql_num_rows($res); $i++) +{ + $rid=mysql_result($res,$i,"RID"); + $raum_name=mysql_result($res, $i, "Name"); + echo "\t\t\t\t<option value=\"$rid\">$raum_name</option>\n"; +} + + +?> + </select> + </td> + </tr> + +</table> +<br> +<input type="submit" value="generieren..."> +</form> + +<br><br> +<? + +include ("./inc/footer.php"); + +} +else +{ + + +if (IsSet($Raum) AND IsSet($ausdatum)) +{ +include ("./inc/db.php"); +include ("./inc/config.php"); +include ("./inc/funktion_lang.php"); +include ("./inc/funktion_schichtplan.php"); +include ("./inc/funktion_user.php"); +?> + +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<title>Schichtplan</title> +<meta name="keywords" content="Engel, Himmelsverwaltung"> +<meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> +<meta http-equiv="Content-Style-Type" content="text/css"> +<meta http-equiv="expires" content="0"> +<meta name="robots" content="index"> +<meta name="revisit-after" content="1 days"> +<meta http-equiv="content-language" content="de"> +</head> +<body> + +<h1>Schichtplan</h1> + +<table> + <tr> + <td width="250" align="left"> + <span style="font-weight:bold;font-size:100%">Datum:</span> + <span style="font-weight:bold;font-size:200%"><? echo $date; ?></span> + </td> + <td width="350" align="right"> + <span style="font-weight:bold;font-size:100%">Raum:</span> + <span style="font-weight:bold;font-size:200%"><? echo $RoomID[$Raum]; ?> </span> + </td> + </tr> +</table> + +<table border="2" width="650" class="border" cellpadding="2" cellspacing="1"> +<? +//Ausgabe Spalten überschrift +?> + <tr class="contenttopic"> + <th bgcolor="#E0E0E0">Uhrzeit</th> + <th bgcolor="#E0E0E0">Schichtplanbelegung</th> + </tr> +<? + +//Zeit Ausgeben +for( $i = 0; $i < 24; $i++ ) + for( $j = 0; $j < $GlobalZeileProStunde; $j++) + { + $Spalten[$i * $GlobalZeileProStunde + $j] = + "\t<tr class=\"content\">\n"; + if( $j==0) + { + $Spalten[$i * $GlobalZeileProStunde + $j].= + "\t\t<td rowspan=\"$GlobalZeileProStunde\">"; + 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). "</td>\n"; + + } + } + + +CreateRoomShifts( $Raum ); + + +// Ausgabe Zeilen + for ($i = 0; $i < (24 * $GlobalZeileProStunde); $i++) echo $Spalten[$i]; +// Ende +echo "</table>\n"; + +echo "Stand: ". gmdate("Y-m-d H:i"). "\n"; +echo "</body>\n"; +echo "</html>\n"; + +} //isset($Vars) +} //isset($Action) + +?> diff --git a/www-ssl/admin/shiftadd.php b/www-ssl/admin/shiftadd.php new file mode 100755 index 00000000..8b2f6451 --- /dev/null +++ b/www-ssl/admin/shiftadd.php @@ -0,0 +1,329 @@ +<?php +$title = "Schicht Hinzufügen"; +$header = "Neue Schichten erfassen"; + +include ("./inc/header.php"); +include ("./inc/funktion_user.php"); + +echo "Hallo ".$_SESSION['Nick'].",<br>\n"; + +// erstellt ein Array der Reume + $sql = "SELECT `RID`, `Name` FROM `Room` ORDER BY `Name`"; + $Erg = mysql_query($sql, $con); + $rowcount = mysql_num_rows($Erg); + + for ($i=0; $i<$rowcount; $i++) + { + $Room[$i]["RID"] = mysql_result($Erg, $i, "RID"); + $Room[$i]["Name"] = mysql_result($Erg, $i, "Name"); + } + +// erstellt ein Aray der Engeltypen + $sql = "SELECT `TID`, `Name` FROM `EngelType` ORDER BY `Name`"; + $Erg = mysql_query($sql, $con); + $rowcount = mysql_num_rows($Erg); + + for ($i=0; $i<$rowcount; $i++) + { + $EngelType[$i]["TID"] = mysql_result($Erg, $i, "TID"); + $EngelType[$i]["Name"] = mysql_result($Erg, $i, "Name").Get_Text("inc_schicht_engel"); + } + + +if (!IsSet($_GET["action"])) + $_GET["action"] = "new"; + +$Time = time()+3600+3600; + +switch( $_GET["action"]) +{ + +case 'new': +?> +Hier kannst du neue Schichten eintragen. Dazu musst du den Anfang und das Ende der Schichten eintragen. +Über die Länge der Schichten errechnet sich dadurch die Anzahl dieser. Dadurch können gleich +mehrere Schichten auf einmal erfasst werden: + +<form action="<? echo $_SERVER['SCRIPT_NAME']; ?>" > + <table> + <tr> + <td align="right">Name:</td> + <td><input type="text" name="SchichtName" size="50" value="--???--"></td> + </tr> + <tr> + <td align="right">Ort:</td> + <td><select name="RID"> + <? + foreach ($Room As $RTemp) + echo "\t<option value=\"". $RTemp["RID"]. "\">". $RTemp["Name"]. "</option>\n"; + ?> + </select></td> + </tr> + + <tr><td><u>Zeit:</u></td></tr> + <tr> + <td align="right">Month.Jahr:</td> + <td><input type="ext" name="MonthJahr" size="7" value="<?echo gmdate("Y-m", $Time)?>"></td> + </tr> + <tr> + <td align="right">Beginn:</td> + <td>Date<input type="text" name="SDatum" size="5" value="<?echo gmdate("d", $Time)?>"> + Time<input type="text" name="STime" size="5" value="10"></td> + </tr> + <tr> + <td align="right">More then One</td> + <td><input type="checkbox" name="MoreThenOne" value="ON" checked></td> + </tr> + <tr> + <td align="right">End:</td> + <td>Date<input type="text" name="EDatum" size="5" value="<?echo gmdate("d", $Time)?>"> + Time<input type="text" name="ETime" size="5" value="12"></td> + </tr> + <tr> + <td align="right">Länge in h:</td> + <td><input type="text" name="len" size="5" value="2"></td> + </tr> + <tr> + <td align="right">Sonderschichten ein:</td> + <td><input type="checkbox" name="NachtON" value="ON"></td> + </tr> + <tr> + <td align="right">Sonder in h (Time;Time):</td> + <td><input type="text" name="len_night" size="50" value="0;4;8;10;12;14;16;18;20;22;24"></td> + </tr> + + <tr><td><u>Anzahl Engel je Type:</u></td></tr> +<? + foreach ($EngelType As $TTemp) + { + echo " <tr><td align=\"right\">". $TTemp["Name"]. ":</td>\n"; + echo " <td><input type=\"text\" name=\"EngelType". $TTemp["TID"]. "\" size=\"5\" value=\"0\"></td>\n"; + } +?> +</table> + <br> +<input type="hidden" name="OnlyShow" value="ON"> +<input type="hidden" name="action" value="newsave"> +<input type="submit" value="zeig mal Gabriel!"> +</form> + +<? + break; // Ende new + +case 'newsave': + if (isset($_GET["SDatum"]) && ($_GET["len"] > 0)) + { + $lenOrg = $_GET["len"]; + if( !isset($_GET["NachtON"])) + $_GET["NachtON"] = "OFF"; + if( $_GET["NachtON"] == "ON" ) + { + $lenArrayDummy = explode( ";", $_GET["len_night"]); + foreach ( $lenArrayDummy as $Temp ) + { + if( isset($Temp2) ) + { + $lenArray[$Temp2] = $Temp-$Temp2; + } + $Temp2 = $Temp; + + }//foreach + }//IF( $NachtON == "ON" ) + + echo "<table border=\"1\">\n"; + echo "<tr>\n"; + echo "\t<td valign=\"top\" align=\"center\">Start</td>\n"; + echo "\t<td valign=\"top\" align=\"center\">End</td>\n"; + echo "\t<td valign=\"top\" align=\"center\">len</td>\n"; + echo "\t<td valign=\"top\" align=\"center\">RID</td>\n"; + echo "\t<td valign=\"top\" align=\"center\">Beschreibung</td>\n"; + echo "\t<td valign=\"top\" align=\"center\">Entry 'Shifts'</td>\n"; + echo "\t<td valign=\"top\" align=\"center\">SID</td>\n"; + echo "\t<td valign=\"top\" align=\"center\">Entrys</td>\n"; + echo "</tr>\n"; + + $DateEnd = $_GET["SDatum"]; + $TimeEnd = $_GET["STime"]; + $len=0; + do + { + // define Start time + $Date = $DateEnd; + $Time = $TimeEnd; + $_DateS = $_GET["MonthJahr"]. "-". $Date. " ". $Time. ":00:00"; + + // define End time + if( $_GET["NachtON"] == "ON" ) + { + $_GET["len"] = $lenArray[$Time]; + } + $TimeEnd = $Time+ $_GET["len"]; + + //Tagesüberschreitung + while( $TimeEnd >= 24 ) + { + $TimeEnd -= 24; + $DateEnd += 1; + } + //ist schischt zu lang dan verkürzen + if( $DateEnd > $_GET["EDatum"] || ($DateEnd == $_GET["EDatum"] && $TimeEnd >= $_GET["ETime"]) ) + { + $_GET["len"] -= ($DateEnd- $_GET["EDatum"])*24; + $_GET["len"] -= ($TimeEnd- $_GET["ETime"]); // -(-) ->> + + $DateEnd = $_GET["EDatum"]; + $TimeEnd = $_GET["ETime"]; + } + $_DateE = $_GET["MonthJahr"]. "-". $DateEnd. " ". $TimeEnd. ":00:00"; + + if( $_DateS != $_DateE ) + CreateNewEntry(); + + if( $_GET["MoreThenOne"]!="ON" ) break; + if( $DateEnd == $_GET["EDatum"] && $TimeEnd >= $_GET["ETime"] ) break; + } while( true ); + echo "</table>"; + + if( $_GET["OnlyShow"]=="ON" ) + { + echo "<form action=\"". $_SERVER['SCRIPT_NAME']. "\">"; + echo "\n\t<Input type=\"hidden\" name=\"SchichtName\" value=\"". $_GET["SchichtName"]. "\">"; + echo "\n\t<input type=\"hidden\" name=\"MonthJahr\" value=\"". $_GET["MonthJahr"]. "\">"; + echo "\n\t<input type=\"hidden\" name=\"SDatum\" value=\"". $_GET["SDatum"]. "\">"; + echo "\n\t<input type=\"hidden\" name=\"STime\" value=\"". $_GET["STime"]. "\">"; + echo "\n\t<input type=\"hidden\" name=\"MoreThenOne\" value=\"". $_GET["MoreThenOne"]. "\">"; + echo "\n\t<input type=\"hidden\" name=\"EDatum\" value=\"". $_GET["EDatum"]. "\">"; + echo "\n\t<input type=\"hidden\" name=\"ETime\" value=\"". $_GET["ETime"]. "\">"; + echo "\n\t<input type=\"hidden\" name=\"len\" value=\"". $lenOrg. "\">"; + echo "\n\t<input type=\"hidden\" name=\"RID\" value=\"". $_GET["RID"]. "\">"; + echo "\n\t<input type=\"hidden\" name=\"NachtON\" value=\"". $_GET["NachtON"]. "\">"; + echo "\n\t<input type=\"hidden\" name=\"len_night\" value=\"". $_GET["len_night"]. "\">"; + echo "\n\t<input type=\"hidden\" name=\"OnlyShow\" value=\"OFF\">"; + foreach ($EngelType As $TTemp) + { + $Temp = "EngelType".$TTemp["TID"]; + echo "\n\t<input type=\"hidden\" name=\"". $Temp. "\" value=\"". $_GET[$Temp]. "\">"; + } + echo "\n\t<input type=\"hidden\" name=\"action\" value=\"newsave\">"; + echo "\n\t<input type=\"submit\" value=\"mach mal Gabriel!\">"; + echo "\n</form>"; + } //if + } //IF + break; + +case 'engeldel': + break; + +} // end switch + + + +function CreateNewEntry() +{ + global $con, $_DateS, $_DateE, $EngelType, $DEBUG; + foreach ($EngelType As $TTemp) + { + $Temp = "EngelType".$TTemp["TID"]; + global $$Temp; + } + + echo "<tr>\n"; + + echo "\t<td>$_DateS</td>\n"; + echo "\t<td>$_DateE</td>\n"; + echo "\t<td>". $_GET["len"]. "</td>\n"; + echo "\t<td>". $_GET["RID"]. "</td>\n"; + echo "\t<td>". $_GET["SchichtName"]. "</td>\n"; + + + // Ist eintarg schon vorhanden? + $SQL = "SELECT SID FROM `Shifts` "; + $SQL .= "WHERE (". + "`DateS` = '". $_DateS. "' AND ". + "`DateE` = '". $_DateE. "' AND ". + "`RID` = '". $_GET["RID"]. "');"; + $Erg = mysql_query($SQL, $con); + + if( mysql_num_rows($Erg) != 0 ) + echo "\t<td>exists</td>"; + elseif( $_GET["OnlyShow"] == "OFF" ) + { + //Suchet nach letzter SID + $SQLin = "SELECT `SID` FROM `Shifts` ". + "WHERE NOT (`FromPentabarf` = 'Y') ". + "ORDER BY `SID` DESC"; + $Ergin = mysql_query($SQLin, $con); + if( mysql_num_rows( $Ergin) > 0) + $newSID = mysql_result( $Ergin, 0, 0)+1; + else + $newSID = 10000; + + // erstellt Eintrag in Shifts für die algemeine schicht + $SQL = "INSERT INTO `Shifts` (`SID`, `DateS`, `DateE`, `Len`, `RID`, `Man`) VALUES ('$newSID', "; + $SQL .= "'". $_DateS. "', '". $_DateE. "', "; + $SQL .= "'". $_GET["len"]. "', '". $_GET["RID"]. "', "; + $SQL .= "'". $_GET["SchichtName"]. "');"; + $Erg = mysql_query($SQL, $con); + + $SQLFail = "\n\t<br>[".$SQL. "]"; + + if ($Erg == 1) echo "\t<td>pass</td>\n"; + else echo "\t<td>fail <br>\n<u>". mysql_error($con). "</u>$SQLFail</td>\n"; + + } else + echo "\t<td>only show</td>\n"; + + // sucht SID von eingetragennen schiten + $SQL = "SELECT SID FROM `Shifts` "; + $SQL .= "WHERE (". + "`DateS` = '". $_DateS. "' AND ". + "`DateE` = '". $_DateE. "' AND ". + "`Len` = '". $_GET["len"]. "' AND ". + "`RID` = '". $_GET["RID"]. "');"; + $Erg = mysql_query($SQL, $con); + if( mysql_num_rows($Erg) == 0 ) + echo "\t<td>?</td>"; + else + { + $SID = mysql_result($Erg, 0, "SID"); + echo "\t<td>". $SID. "</td>"; + } + + // erstellt für jeden Engeltypen die eintrage in 'ShiftEntry' + echo "\t<td>"; + foreach ($EngelType As $TTemp) + { + $Temp = "EngelType".$TTemp["TID"]; + + if( $_GET[$Temp] > 0 ) + { + $i = 0; + echo $_GET[$Temp]. " ".$TTemp["Name"]. "<br>\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<br>[".$SQL. "]"; + + if ($Erg == 1) echo "'pass' "; + else echo "'fail' <u>". mysql_error($con). "</u>$SQLFail</td>\n"; + + } + else + echo "+"; + } + echo "<br>"; + } // IF $$TEMP + } // FOREACH + echo "</td>"; + + echo "</tr>\n"; +} + +include ("./inc/footer.php"); +?> diff --git a/www-ssl/admin/sprache.php b/www-ssl/admin/sprache.php new file mode 100755 index 00000000..af5db2ba --- /dev/null +++ b/www-ssl/admin/sprache.php @@ -0,0 +1,116 @@ +<?PHP + +$title = "Sprache"; +$header = "Liste der existierenden Sprcheinträge"; +include ("./inc/header.php"); + + +if( !isset( $_GET["TextID"] ) ) +{ + echo Get_Text("Hello").$_SESSION['Nick'].", <br>\n"; + echo Get_Text("pub_sprache_text1")."<br><br>\n"; + + // ausgabe Tabellenueberschift + $SQL_Sprachen = "SELECT `Sprache` FROM `Sprache` GROUP BY `Sprache`;"; + $erg_Sprachen = mysql_query($SQL_Sprachen, $con); + echo mysql_error($con); + + for( $i=0; $i<mysql_num_rows( $erg_Sprachen ); $i++ ) + $Sprachen[mysql_result( $erg_Sprachen, $i, "Sprache" )] = $i; + + echo "\t<table border=\"0\" class=\"border\" cellpadding=\"2\" cellspacing=\"1\">\n\t\t<tr>"; + echo "\t\t<td class=\"contenttopic\"><b>". Get_Text("pub_sprache_TextID"). "</b></td>"; + foreach( $Sprachen as $Name => $Value ) + echo "<td class=\"contenttopic\"><b>". + Get_Text("pub_sprache_Sprache"). " ". $Name. + "</b></td>"; + echo "\t\t<td class=\"contenttopic\"><b>". Get_Text("pub_sprache_Edit"). "</b></td>"; + echo "\t\t</tr>"; + + + // ausgabe eintraege + $SQL = "SELECT * FROM `Sprache` ORDER BY `TextID`;"; + $erg = mysql_query($SQL, $con); + echo mysql_error($con); + + $TextID_Old = mysql_result( $erg, 0, "TextID" ); + for( $i=0; $i<mysql_num_rows( $erg ); $i++ ) + { + $TextID_New = mysql_result( $erg, $i, "TextID" ); + if( $TextID_Old != $TextID_New ) + { + echo "<form action=\"sprache.php\">"; + echo "<tr class=\"content\">\n"; + echo "\t\t<td>$TextID_Old ". + "<input name=\"TextID\" type=\"hidden\" value=\"$TextID_Old\"> </td>\n"; + + foreach( $Sprachen as $Name => $Value ) + { + echo "\t\t<td><textarea name=\"$Name\" cols=\"22\" rows=\"8\">$Value</textarea></td>\n"; + $Sprachen[ $Name ] = ""; + } + + echo "\t\t<td><input type=\"submit\" value=\"Save\"></td>\n"; + echo "</tr>"; + echo "</form>\n"; + $TextID_Old = $TextID_New; + } + $Sprachen[ mysql_result( $erg, $i, "Sprache" ) ] = mysql_result( $erg, $i, "Text" ); + } /*FOR*/ + + //fuer neu eintraege + echo "<form action=\"sprache.php\">"; + echo "<tr class=\"content\">\n"; + echo "\t\t<td><input name=\"TextID\" type=\"text\" value=\"new\"> </td>\n"; + + foreach( $Sprachen as $Name => $Value ) + echo "\t\t<td><textarea name=\"$Name\" cols=\"22\" rows=\"8\">$Name Text</textarea></td>\n"; + + echo "\t\t<td><input type=\"submit\" value=\"Save\"></td>\n"; + echo "</tr>"; + echo "</form>\n"; + + + echo "</table>\n"; +} /*if( !isset( $TextID ) )*/ +else +{ + echo "edit: ". $_GET["TextID"]. "<br><br>"; + foreach ($_GET as $k => $v) { + if( $k != "TextID" ) + { + $sql_test = "SELECT * FROM `Sprache` ". + "WHERE `TextID`='". $_GET["TextID"]. "' AND `Sprache`='$k'"; + $erg_test = mysql_query($sql_test, $con); + + if( mysql_num_rows($erg_test)==0 ) + { + $sql_save = "INSERT INTO `Sprache` (`TextID`, `Sprache`, `Text`) ". + "VALUES ('". $_GET["TextID"]. "', '$k', '$v')"; + $Erg = mysql_query($sql_save, $con); + if ($Erg == 1) + echo "\t $k Save: OK<br>\n"; + else + echo "\t $k Save: KO<br>\n"; + } + else if( mysql_result($erg_test, 0, "Text")!=$v ) + { + $sql_save = "UPDATE `Sprache` SET `Text`='$v' ". + "WHERE `TextID`='". $_GET["TextID"]. "' AND `Sprache`='$k' "; + echo $sql_save."<br>"; + $Erg = mysql_query($sql_save, $con); + if ($Erg == 1) + echo "\t $k Update: OK<br>\n"; + else + echo "\t $k Update: KO<br>\n"; + } + else + echo "\t $k no changes<br>\n"; + } + } + +} + +include ("./inc/footer.php"); +?> + diff --git a/www-ssl/admin/tshirt.php b/www-ssl/admin/tshirt.php new file mode 100755 index 00000000..2a3ea500 --- /dev/null +++ b/www-ssl/admin/tshirt.php @@ -0,0 +1,60 @@ +<?PHP + +$title = "T-Shirt-Ausgabe"; +$header = "T-Shirt-Ausgabe für aktiven Engel"; +include ("./inc/header.php"); +include ("./inc/funktion_db_list.php"); +include ("./inc/funktion_user.php"); + + +If (IsSet($_GET["aktiv"])) { + + $SQL="Update User set Tshirt=\"1\" where UID=\"". $_GET["aktiv"]. "\" limit 1"; + $Erg = mysql_query($SQL, $con); + if ($Erg == 1) { + } else { + echo "Fehler beim speichern bei Engel ". UID2Nick($_GET["aktive"]). "<br>"; + } +} + +?> + +Über die Suchen-Funktion des Browsers kann diese Liste schnell nach einem Nick abgesucht werden.<br> +Hinter diesem erscheint ein Link, über den man eintragen kann, dass der Engel sein T-Shirt erhalten hat.<br><br> + +Liste aller aktiven Engel: + +<? +$SQL = "SELECT * from User where (Aktiv = 1) ORDER BY Nick ASC"; +$Erg = mysql_query($SQL, $con); + +$rowcount = mysql_num_rows($Erg); +?> +<table width="100%" class="border" cellpadding="2" cellspacing="1"> + <tr class="contenttopic"> + <td>Nick</td> + <td>Aktiv?</td> + <td>Grösse</td> + <td>T-Shirt ausgeben:</td> + </td> +<? +for ($i=0; $i<$rowcount; $i++){ + echo "\t<tr class=\"content\">\n"; + $eUID=mysql_result($Erg, $i, "UID"); + echo "\t\t<td>".UID2Nick($eUID)."</td>\n"; + echo "\t\t<td>".mysql_result($Erg, $i, "Aktiv")."</td>\n"; + echo "\t\t<td>".mysql_result($Erg, $i, "Size")."</td>\n"; + + if (mysql_result($Erg, $i, "Tshirt") =="1") { + echo "\t\t<td>bereits erhalten</td>"; + } else { + echo "\t\t<td><a href=\"./tshirt.php?aktiv=$eUID\">XXXXXXXX</a></td>"; + } + echo "\t</tr>\n"; +} + +echo "</table>"; + +include ("./inc/footer.php"); +?> + diff --git a/www-ssl/admin/user.php b/www-ssl/admin/user.php new file mode 100755 index 00000000..a1c2aa4b --- /dev/null +++ b/www-ssl/admin/user.php @@ -0,0 +1,249 @@ +<?PHP + +$title = "User-Liste"; +$header = "Editieren der Engelliste"; +include ("./inc/header.php"); +include ("./inc/funktion_db_list.php"); + +if (!IsSet($_GET["enterUID"])) +{ + // Userliste, keine UID uebergeben... + + echo "<a href=\"../makeuser.php\">Neuen Engel eintragen</a><br><br>\n"; + + if( !isset($_GET["OrderBy"]) ) $_GET["OrderBy"] = "Nick"; + $SQL = "SELECT * FROM User ORDER BY ". $_GET["OrderBy"]. " ASC"; + $Erg = mysql_query($SQL, $con); + echo mysql_error($con); + + // anzahl zeilen + $Zeilen = mysql_num_rows($Erg); + + echo "Anzahl Engel: $Zeilen<br><br>\n"; + + ?><table width="100%" class="border" cellpadding="2" cellspacing="1"> + <tr class="contenttopic"> + <td><a href="<? echo $PHP_SELF; ?>?OrderBy=Nick">Nick</a></td> + <td><a href="<? echo $PHP_SELF; ?>?OrderBy=Name">Name</a></td> + <td><a href="<? echo $PHP_SELF; ?>?OrderBy=Vorname">Vorname</a></td> + <td>Alter</td> + <td>Telefon <a href="<? echo $PHP_SELF; ?>?OrderBy=email">@</a></td> + <td><a href="<? echo $PHP_SELF; ?>?OrderBy=Size">Größe</a></td> + <td><a href="<? echo $PHP_SELF; ?>?OrderBy=Gekommen">G</a></td> + <td><a href="<? echo $PHP_SELF; ?>?OrderBy=Aktiv">A</a></td> + <td><a href="<? echo $PHP_SELF; ?>?OrderBy=Tshirt">T</a></td> + <td>Änd.</td> + <td>Secure</td> + </tr> + + + <? + $Gekommen = 0; + $Active = 0; + $Tshirt = 0; + + for ($n = 0 ; $n < $Zeilen ; $n++) { + echo "<tr class=\"content\">\n"; + echo "\t<td>".mysql_result($Erg, $n, "Nick"). "</td>\n"; + echo "\t<td>".mysql_result($Erg, $n, "Name")."</td>\n"; + echo "\t<td>".mysql_result($Erg, $n, "Vorname")."</td>\n"; + echo "\t<td>".mysql_result($Erg, $n, "Alter")."</td>\n"; + echo "\t<td>"; + if( strlen( mysql_result($Erg, $n, "Telefon"))>0) + echo "\n\t\tTel: ". mysql_result($Erg, $n, "Telefon"). "<br>"; + if( strlen( mysql_result($Erg, $n, "Handy"))>0) + echo "\n\t\tHandy: ". mysql_result($Erg, $n, "Handy"). "<br>"; + if( strlen( mysql_result($Erg, $n, "DECT"))>0) + echo "\n\t\tDECT: <a href=\"./dect.php?custum=". mysql_result($Erg, $n, "DECT"). "\">". + mysql_result($Erg, $n, "DECT"). "</a><br>"; + if( strlen( mysql_result($Erg, $n, "email"))>0) + echo "\n\t\temail: <a href=\"mailto:".mysql_result($Erg, $n, "email")."\">". + mysql_result($Erg, $n, "email")."</a>"; + echo "</td>\n"; + echo "\t<td>".mysql_result($Erg, $n, "Size")."</td>\n"; + $Gekommen += mysql_result($Erg, $n, "Gekommen"); + echo "\t<td>".mysql_result($Erg, $n, "Gekommen")."</td>\n"; + $Active += mysql_result($Erg, $n, "Aktiv"); + echo "\t<td>".mysql_result($Erg, $n, "Aktiv")."</td>\n"; + $Tshirt += mysql_result($Erg, $n, "Tshirt"); + echo "\t<td>".mysql_result($Erg, $n, "Tshirt")."</td>\n"; + echo "\t<td><a href=\"./user.php?enterUID=". + mysql_result($Erg, $n, "UID")."&Type=Normal\">Änd.</a></td>\n"; + echo "\t<td>"; + + //check userCVS=OK + $SQL2 = "SELECT UID FROM UserCVS WHERE (UID=". mysql_result($Erg, $n, "UID"). ")"; + $Erg2 = mysql_query($SQL2, $con); + echo mysql_error($con); + if( mysql_num_rows($Erg2)==0) + { + $SQL3 = "INSERT INTO `UserCVS` ( `UID`) VALUES ( '". mysql_result($Erg, $n, "UID"). "');"; + $Erg3 = mysql_query($SQL3, $con); + if( $Erg3 ) + echo "was create<br>\n"; + else + echo mysql_error($con); + } + echo "<a href=\"./user.php?enterUID=". + mysql_result($Erg, $n, "UID")."&Type=Secure\">Secure</a></td>\n"; + echo "</tr>\n"; + } + echo "<tr>". + "<td></td><td></td><td></td><td></td><td></td><td></td>". + "<td>$Gekommen</td><td>$Active</td><td>$Tshirt</td><td></td></tr>\n"; + echo "\t</table>\n"; + // Ende Userliste +} +else +{ + // UserID wurde mit uebergeben --> Aendern... + + $SQL = "SELECT * FROM User where UID=". $_GET["enterUID"]; + $Erg = mysql_query($SQL, $con); + + $anzahl = mysql_num_rows($Erg); + + if ($anzahl != 1) + echo "Sorry, der Engel (UID=". $_GET["enterUID"]. ") wurde in der Liste nicht gefunden."; + else + { + echo "Hallo,<br>". + "hier kannst du den Eintrag ändern. Unter dem Punkt 'Gekommen' ". + "wird der Engel als anwesend markiert, ein Ja bei Aktiv bedeutet, ". + "dass der Engel aktiv war und damit ein Anspruch auf ein T-Shirt hat. ". + "Wenn T-Shirt ein 'Ja' enthält, bedeutet dies, dass der Engel ". + "bereits sein T-Shirt erhalten hat.<br><br>\n"; + + echo "<form action=\"./user2.php?action=change\" method=\"POST\">\n"; + echo "<table>\n"; + echo "<input type=\"hidden\" name=\"Type\" value=\"". $_GET["Type"]. "\">\n"; + + if( $_GET["Type"] == "Normal" ) + { + echo " <tr><td>Nick</td><td>". + "<input type=\"text\" size=\"40\" name=\"eNick\" value=\"". + mysql_result($Erg, 0, "Nick")."\"></td></tr>\n"; + echo " <tr><td>lastLogIn</td><td>". + "<input type=\"text\" size=\"20\" name=\"elastLogIn\" value=\"". + mysql_result($Erg, 0, "lastLogIn"). "\" disabled></td></tr>\n"; + echo " <tr><td>Name</td><td>". + "<input type=\"text\" size=\"40\" name=\"eName\" value=\"". + mysql_result($Erg, 0, "Name")."\"></td></tr>\n"; + echo " <tr><td>Vorname</td><td>". + "<input type=\"text\" size=\"40\" name=\"eVorname\" value=\"". + mysql_result($Erg, 0, "Vorname")."\"></td></tr>\n"; + echo " <tr><td>Alter</td><td>". + "<input type=\"text\" size=\"5\" name=\"eAlter\" value=\"". + mysql_result($Erg, 0, "Alter")."\"></td></tr>\n"; + echo " <tr><td>Telefon</td><td>". + "<input type=\"text\" size=\"40\" name=\"eTelefon\" value=\"". + mysql_result($Erg, 0, "Telefon")."\"></td></tr>\n"; + echo " <tr><td>Handy</td><td>". + "<input type=\"text\" size=\"40\" name=\"eHandy\" value=\"". + mysql_result($Erg, 0, "Handy")."\"></td></tr>\n"; + echo " <tr><td>DECT</td><td>". + "<input type=\"text\" size=\"4\" name=\"eDECT\" value=\"". + mysql_result($Erg, 0, "DECT")."\"></td></tr>\n"; + echo " <tr><td>email</td><td>". + "<input type=\"text\" size=\"40\" name=\"eemail\" value=\"". + mysql_result($Erg, 0, "email")."\"></td></tr>\n"; + echo " <tr><td>Size</td><td>". + "<input type=\"text\" size=\"5\" name=\"eSize\" value=\"". + mysql_result($Erg, 0, "Size")."\"></td></tr>\n"; + echo " <tr><td>Passwort</td><td>". + "<input type=\"text\" size=\"40\" name=\"ePasswort\" value=\"". + mysql_result($Erg, 0, "Passwort")."\" disabled> ". + "<a href=\"./user2.php?action=newpw&eUID=" + .mysql_result($Erg, 0, "UID")."\">neues Kennwort setzen</a></td></tr>\n"; + + // Gekommen? + echo " <tr><td>Gekommen</td><td>\n"; + echo " <input type=\"radio\" name=\"eGekommen\" value=\"0\""; + if (mysql_result($Erg, 0, "Gekommen")=='0') + echo " checked"; + echo ">No \n"; + echo " <input type=\"radio\" name=\"eGekommen\" value=\"1\""; + if (mysql_result($Erg, 0, "Gekommen")=='1') + echo " checked"; + echo ">Yes \n"; + echo "</td></tr>\n"; + + // Aktiv? + echo " <tr><td>Aktiv</td><td>\n"; + echo " <input type=\"radio\" name=\"eAktiv\" value=\"0\""; + if (mysql_result($Erg, 0, "Aktiv")=='0') + echo " checked"; + echo ">No \n"; + echo " <input type=\"radio\" name=\"eAktiv\" value=\"1\""; + if (mysql_result($Erg, 0, "Aktiv")=='1') + echo " checked"; + echo ">Yes \n"; + echo "</td></tr>\n"; + + // T-Shirt bekommen? + echo " <tr><td>T-Shirt</td><td>\n"; + echo " <input type=\"radio\" name=\"eTshirt\" value=\"0\""; + if (mysql_result($Erg, 0, "Tshirt")=='0') + echo " checked"; + echo ">No \n"; + echo " <input type=\"radio\" name=\"eTshirt\" value=\"1\""; + if (mysql_result($Erg, 0, "Tshirt")=='1') + echo " checked"; + echo ">Yes \n"; + echo "</td></tr>\n"; + } //IF TYPE + + if( $_GET["Type"] == "Secure" ) + { + // CVS-Rechte + echo " <tr><td><br><u>Rights of \"". mysql_result($Erg, 0, "Nick"). "\":</u></td></tr>\n"; + + $SQL_CVS = "SELECT * FROM `UserCVS` WHERE UID=". $_GET["enterUID"]; + $Erg_CVS = mysql_query($SQL_CVS, $con); + $CVS_Data = mysql_fetch_array($Erg_CVS); + $CVS_Data_i = 1; + foreach ($CVS_Data as $CVS_Data_Name => $CVS_Data_Value) + { + $CVS_Data_i++; + //nur jeder zweiter sonst wird für jeden text noch die position (Zahl) ausgegeben + if( $CVS_Data_i%2 && $CVS_Data_Name!="UID") + { + echo "<tr><td>$CVS_Data_Name</td>\n<td>"; + echo "<input type=\"radio\" name=\"".($CVS_Data_i-1)."\" value=\"Y\" "; + if( $CVS_Data_Value == "Y" ) + echo " checked"; + echo ">allow \n"; + echo "<input type=\"radio\" name=\"".($CVS_Data_i-1)."\" value=\"N\" "; + if( $CVS_Data_Value == "N" ) + echo " checked"; + echo ">denied \n"; + echo "</td></tr>"; + } //IF + } //Foreach + echo "</td></tr>\n"; + } // IF TYPE + + + // Ende Formular + echo "</td></tr>\n"; + echo "</table>\n"; + echo "<input type=\"hidden\" name=\"enterUID\" value=\"". $_GET["enterUID"]. "\">\n"; + echo "<input type=\"submit\" value=\"sichern...\">\n"; + echo "</form>"; + + if( $_GET["Type"] == "Normal" ) + { + echo "<form action=\"./user2.php?action=delete\" method=\"POST\">\n"; + echo "<input type=\"hidden\" name=\"enterUID\" value=\"". $_GET["enterUID"]. "\">\n"; + echo "<input type=\"submit\" value=\"löschen...\">\n"; + echo "</form>"; + } + + } + +} + +include ("./inc/footer.php"); +?> + + diff --git a/www-ssl/admin/user2.php b/www-ssl/admin/user2.php new file mode 100755 index 00000000..5f94c093 --- /dev/null +++ b/www-ssl/admin/user2.php @@ -0,0 +1,128 @@ +<?PHP + +$title = "User-Liste"; +$header = "Index"; +include ("./inc/header.php"); +include ("./inc/funktion_db_list.php"); +include ("./inc/crypt.php"); + +if (IsSet($_GET["action"])) +{ + + function SQLExec( $SQL ) + { + global $con; + + $Erg = mysql_query($SQL, $con); + if ($Erg == 1) { + echo "Änderung wurde gesichert...\n"; + } else { + echo "Fehler beim speichern...\n"; + } + + } + + SetHeaderGo2Back(); + echo "Gesendeter Befehl: ". $_GET["action"]. "<br>"; + + switch ($_GET["action"]) + { + case "change": + if (IsSet($_POST["enterUID"])) + { + if ($_POST["Type"] == "Normal") + { + $SQL = "UPDATE `User` SET "; + $SQL.= " `Nick` = '". $_POST["eNick"]. "', `Name` = '". $_POST["eName"]. "', ". + "`Vorname` = '". $_POST["eVorname"]. "', ". + "`Telefon` = '". $_POST["eTelefon"]. "', ". + "`Handy` = '". $_POST["eHandy"]. "', ". + "`DECT` = '". $_POST["eDECT"]. "', ". + "`email` = '". $_POST["eemail"]. "', ". + "`Size` = '". $_POST["eSize"]. "', ". + "`Gekommen`= '". $_POST["eGekommen"]. "', ". + "`Aktiv`= '". $_POST["eAktiv"]. "', ". + "`Tshirt` = '". $_POST["eTshirt"]. "' ". + "WHERE `UID` = '". $_POST["enterUID"]. + "' LIMIT 1;"; + echo "User-"; + SQLExec( $SQL ); + } + if ($_POST["Type"] == "Secure") + { + $SQL2 = "UPDATE `UserCVS` SET "; + $SQL_CVS = "SELECT * FROM `UserCVS` WHERE UID=". $_POST["enterUID"]; + $Erg_CVS = mysql_query($SQL_CVS, $con); + $CVS_Data = mysql_fetch_array($Erg_CVS); + $CVS_Data_i = 1; + foreach ($CVS_Data as $CVS_Data_Name => $CVS_Data_Value) + { + if( ($CVS_Data_i+1)%2 && $CVS_Data_Name!="UID") + $SQL2.= "`$CVS_Data_Name` = '". $_POST[$CVS_Data_i]."', "; + $CVS_Data_i++; + } + $SQL2 = substr( $SQL2, 0, strlen($SQL2)-2 ); + $SQL2.= " WHERE `UID` = '". $_POST["enterUID"]. "' LIMIT 1;"; + echo "<br>Secure-"; + SQLExec( $SQL2 ); + } + } + break; + + case "delete": + if (IsSet($_POST["enterUID"])) + { + echo "delate User..."; + $SQL="delete from `User` WHERE `UID` = '". $_POST["enterUID"]. "' LIMIT 1;"; + SQLExec( $SQL ); + echo "<br>\ndelate UserCVS..."; + $SQL2="delete from `UserCVS` WHERE `UID` = '". $_POST["enterUID"]. "' LIMIT 1;"; + SQLExec( $SQL2 ); + echo "<br>\ndelate UserEntry..."; + $SQL3="UPDATE `ShiftEntry` SET `UID` = '0', `Comment` = NULL ". + "WHERE `UID` = '". $_POST["enterUID"]. "' LIMIT 1;"; + SQLExec( $SQL3 ); + } + break; + + + case "newpw": + echo "Bitte neues Kennwort für <b>"; + // Get Nick + $USQL = "SELECT * FROM User where UID=". $_POST["eUID"]; + $Erg = mysql_query($USQL, $con); + echo mysql_result($Erg, 0, "Nick"); + echo "</b> eingeben:<br>"; + echo "<form action=\"./user2.php\" method=\"POST\">\n"; + echo "<input type=\"Password\" name=\"ePasswort\">"; + echo "<input type=\"Password\" name=\"ePasswort2\">"; + echo "<input type=\"hidden\" name=\"eUID\" value=\"". $_POST["eUID"]. "\">"; + echo "<input type=\"hidden\" name=\"action\" value=\"newpwsave\">\n"; + echo "<input type=\"submit\" value=\"sichern...\">\n"; + echo "</form>"; + break; + + case "newpwsave": + if ($_POST["ePasswort"] == $_POST["ePasswort2"]) + { // beide Passwoerter passen... + $_POST["ePasswort"] = PassCrypt($_POST["ePasswort"]); + $SQL = "UPDATE `User` SET `Passwort`='". $_POST["ePasswort"]. "' ". + "where `UID` = '". $_POST["eUID"]. "'"; + SQLExec( $SQL ); + } + else + echo "Das Passwort wurde nicht übereinstimmend eingegeben!"; + break; + } // end switch + +// ende - Action ist gesetzt +} +else +{ + // kein Action gesetzt -> abbruch + echo "Unzulässiger Aufruf.<br>Bitte neu editieren..."; +} + +include ("./inc/footer.php"); +?> + diff --git a/www-ssl/faq.php b/www-ssl/faq.php new file mode 100755 index 00000000..90f73fb5 --- /dev/null +++ b/www-ssl/faq.php @@ -0,0 +1,23 @@ +<?php +$title = "Index"; +$header = "FAQ"; +$Page["Public"] = "Y"; +include ("./inc/header.php"); + + +$SQL = "SELECT * FROM `FAQ`"; +$Erg = mysql_query($SQL, $con); + +// anzahl zeilen +$Zeilen = mysql_num_rows($Erg); + +for ($n = 0 ; $n < $Zeilen ; $n++) { + if (mysql_result($Erg, $n, "Antwort")!="") { + echo "<p class='question'>".mysql_result($Erg, $n, "Frage")."</p>"; + echo "<p class='answetion'>".mysql_result($Erg, $n, "Antwort")."</p>"; + } +} + +include ("./inc/footer.php"); +?> + diff --git a/www-ssl/inc/UserCVS.php b/www-ssl/inc/UserCVS.php new file mode 100755 index 00000000..48e4d012 --- /dev/null +++ b/www-ssl/inc/UserCVS.php @@ -0,0 +1,30 @@ +<?php + +if( !isset($Page["Public"])) $Page["Public"]="N"; + +$Page["Name"] = substr( $_SERVER['PHP_SELF'], strlen($ENGEL_ROOT) ); +if( isset( $_SESSION['CVS'][ $Page["Name"] ])) + $Page["CVS"] = $_SESSION['CVS'][ $Page["Name"] ]; +else + $Page["CVS"] = ""; + +if( $DEBUG ) +{ +// echo "UserID:". $_SESSION["UID"]. "<br>"; +// echo "Nick:". $_SESSION["Nick"]. "<br>"; + + foreach( $_SESSION as $k => $v) + echo "$k = $v<br>\n"; + + if( strlen($Page["CVS"]) == 0 ) + echo "<h1><u> CVS ERROR, on page '". $Page["Name"]. "'</u></h1>"; + else + echo "CVS: ". $Page["Name"]. " => '". $Page["CVS"]. "'<br>"; + + if( $Page["Public"] == "Y") + echo "<h3>Page is Public !!!</h3>"; + else + echo "<h4>Page is non Public</h4>"; +} + +?> diff --git a/www-ssl/inc/avatar/avatar1.gif b/www-ssl/inc/avatar/avatar1.gif Binary files differnew file mode 100755 index 00000000..1404f299 --- /dev/null +++ b/www-ssl/inc/avatar/avatar1.gif diff --git a/www-ssl/inc/avatar/avatar10.gif b/www-ssl/inc/avatar/avatar10.gif Binary files differnew file mode 100755 index 00000000..6ef61330 --- /dev/null +++ b/www-ssl/inc/avatar/avatar10.gif diff --git a/www-ssl/inc/avatar/avatar100.gif b/www-ssl/inc/avatar/avatar100.gif Binary files differnew file mode 100755 index 00000000..1e00f0d3 --- /dev/null +++ b/www-ssl/inc/avatar/avatar100.gif diff --git a/www-ssl/inc/avatar/avatar101.gif b/www-ssl/inc/avatar/avatar101.gif Binary files differnew file mode 100755 index 00000000..15a41959 --- /dev/null +++ b/www-ssl/inc/avatar/avatar101.gif diff --git a/www-ssl/inc/avatar/avatar102.gif b/www-ssl/inc/avatar/avatar102.gif Binary files differnew file mode 100755 index 00000000..325d9173 --- /dev/null +++ b/www-ssl/inc/avatar/avatar102.gif diff --git a/www-ssl/inc/avatar/avatar103.gif b/www-ssl/inc/avatar/avatar103.gif Binary files differnew file mode 100755 index 00000000..c842fcdf --- /dev/null +++ b/www-ssl/inc/avatar/avatar103.gif diff --git a/www-ssl/inc/avatar/avatar104.gif b/www-ssl/inc/avatar/avatar104.gif Binary files differnew file mode 100755 index 00000000..83483253 --- /dev/null +++ b/www-ssl/inc/avatar/avatar104.gif diff --git a/www-ssl/inc/avatar/avatar105.gif b/www-ssl/inc/avatar/avatar105.gif Binary files differnew file mode 100755 index 00000000..1cdc0d10 --- /dev/null +++ b/www-ssl/inc/avatar/avatar105.gif diff --git a/www-ssl/inc/avatar/avatar106.gif b/www-ssl/inc/avatar/avatar106.gif Binary files differnew file mode 100755 index 00000000..be773e15 --- /dev/null +++ b/www-ssl/inc/avatar/avatar106.gif diff --git a/www-ssl/inc/avatar/avatar107.gif b/www-ssl/inc/avatar/avatar107.gif Binary files differnew file mode 100755 index 00000000..b111f9c8 --- /dev/null +++ b/www-ssl/inc/avatar/avatar107.gif diff --git a/www-ssl/inc/avatar/avatar108.gif b/www-ssl/inc/avatar/avatar108.gif Binary files differnew file mode 100755 index 00000000..12a21a94 --- /dev/null +++ b/www-ssl/inc/avatar/avatar108.gif diff --git a/www-ssl/inc/avatar/avatar109.gif b/www-ssl/inc/avatar/avatar109.gif Binary files differnew file mode 100755 index 00000000..32534f83 --- /dev/null +++ b/www-ssl/inc/avatar/avatar109.gif diff --git a/www-ssl/inc/avatar/avatar11.gif b/www-ssl/inc/avatar/avatar11.gif Binary files differnew file mode 100755 index 00000000..199b085d --- /dev/null +++ b/www-ssl/inc/avatar/avatar11.gif diff --git a/www-ssl/inc/avatar/avatar110.gif b/www-ssl/inc/avatar/avatar110.gif Binary files differnew file mode 100755 index 00000000..e2c70f54 --- /dev/null +++ b/www-ssl/inc/avatar/avatar110.gif diff --git a/www-ssl/inc/avatar/avatar111.gif b/www-ssl/inc/avatar/avatar111.gif Binary files differnew file mode 100755 index 00000000..f197ea67 --- /dev/null +++ b/www-ssl/inc/avatar/avatar111.gif diff --git a/www-ssl/inc/avatar/avatar112.gif b/www-ssl/inc/avatar/avatar112.gif Binary files differnew file mode 100755 index 00000000..ff4ec284 --- /dev/null +++ b/www-ssl/inc/avatar/avatar112.gif diff --git a/www-ssl/inc/avatar/avatar113.gif b/www-ssl/inc/avatar/avatar113.gif Binary files differnew file mode 100755 index 00000000..1dbd37aa --- /dev/null +++ b/www-ssl/inc/avatar/avatar113.gif diff --git a/www-ssl/inc/avatar/avatar114.gif b/www-ssl/inc/avatar/avatar114.gif Binary files differnew file mode 100755 index 00000000..6b4b107e --- /dev/null +++ b/www-ssl/inc/avatar/avatar114.gif diff --git a/www-ssl/inc/avatar/avatar115.gif b/www-ssl/inc/avatar/avatar115.gif Binary files differnew file mode 100755 index 00000000..2af52d2b --- /dev/null +++ b/www-ssl/inc/avatar/avatar115.gif diff --git a/www-ssl/inc/avatar/avatar116.gif b/www-ssl/inc/avatar/avatar116.gif Binary files differnew file mode 100755 index 00000000..7db21919 --- /dev/null +++ b/www-ssl/inc/avatar/avatar116.gif diff --git a/www-ssl/inc/avatar/avatar117.gif b/www-ssl/inc/avatar/avatar117.gif Binary files differnew file mode 100755 index 00000000..5cb57d35 --- /dev/null +++ b/www-ssl/inc/avatar/avatar117.gif diff --git a/www-ssl/inc/avatar/avatar118.gif b/www-ssl/inc/avatar/avatar118.gif Binary files differnew file mode 100755 index 00000000..fb1e43b5 --- /dev/null +++ b/www-ssl/inc/avatar/avatar118.gif diff --git a/www-ssl/inc/avatar/avatar119.gif b/www-ssl/inc/avatar/avatar119.gif Binary files differnew file mode 100755 index 00000000..6a78fee5 --- /dev/null +++ b/www-ssl/inc/avatar/avatar119.gif diff --git a/www-ssl/inc/avatar/avatar12.gif b/www-ssl/inc/avatar/avatar12.gif Binary files differnew file mode 100755 index 00000000..c6ee6937 --- /dev/null +++ b/www-ssl/inc/avatar/avatar12.gif diff --git a/www-ssl/inc/avatar/avatar120.gif b/www-ssl/inc/avatar/avatar120.gif Binary files differnew file mode 100755 index 00000000..278c5b14 --- /dev/null +++ b/www-ssl/inc/avatar/avatar120.gif diff --git a/www-ssl/inc/avatar/avatar121.gif b/www-ssl/inc/avatar/avatar121.gif Binary files differnew file mode 100755 index 00000000..77bb5793 --- /dev/null +++ b/www-ssl/inc/avatar/avatar121.gif diff --git a/www-ssl/inc/avatar/avatar122.gif b/www-ssl/inc/avatar/avatar122.gif Binary files differnew file mode 100755 index 00000000..67c03bfd --- /dev/null +++ b/www-ssl/inc/avatar/avatar122.gif diff --git a/www-ssl/inc/avatar/avatar123.gif b/www-ssl/inc/avatar/avatar123.gif Binary files differnew file mode 100755 index 00000000..351c7ee0 --- /dev/null +++ b/www-ssl/inc/avatar/avatar123.gif diff --git a/www-ssl/inc/avatar/avatar124.gif b/www-ssl/inc/avatar/avatar124.gif Binary files differnew file mode 100755 index 00000000..13a090bc --- /dev/null +++ b/www-ssl/inc/avatar/avatar124.gif diff --git a/www-ssl/inc/avatar/avatar125.gif b/www-ssl/inc/avatar/avatar125.gif Binary files differnew file mode 100755 index 00000000..e4338b9f --- /dev/null +++ b/www-ssl/inc/avatar/avatar125.gif diff --git a/www-ssl/inc/avatar/avatar126.gif b/www-ssl/inc/avatar/avatar126.gif Binary files differnew file mode 100755 index 00000000..80759725 --- /dev/null +++ b/www-ssl/inc/avatar/avatar126.gif diff --git a/www-ssl/inc/avatar/avatar127.gif b/www-ssl/inc/avatar/avatar127.gif Binary files differnew file mode 100755 index 00000000..e3c7e056 --- /dev/null +++ b/www-ssl/inc/avatar/avatar127.gif diff --git a/www-ssl/inc/avatar/avatar128.gif b/www-ssl/inc/avatar/avatar128.gif Binary files differnew file mode 100755 index 00000000..fb00ebd9 --- /dev/null +++ b/www-ssl/inc/avatar/avatar128.gif diff --git a/www-ssl/inc/avatar/avatar129.gif b/www-ssl/inc/avatar/avatar129.gif Binary files differnew file mode 100755 index 00000000..40651db7 --- /dev/null +++ b/www-ssl/inc/avatar/avatar129.gif diff --git a/www-ssl/inc/avatar/avatar13.gif b/www-ssl/inc/avatar/avatar13.gif Binary files differnew file mode 100755 index 00000000..8328c337 --- /dev/null +++ b/www-ssl/inc/avatar/avatar13.gif diff --git a/www-ssl/inc/avatar/avatar130.gif b/www-ssl/inc/avatar/avatar130.gif Binary files differnew file mode 100755 index 00000000..45faa378 --- /dev/null +++ b/www-ssl/inc/avatar/avatar130.gif diff --git a/www-ssl/inc/avatar/avatar131.gif b/www-ssl/inc/avatar/avatar131.gif Binary files differnew file mode 100755 index 00000000..92cff06c --- /dev/null +++ b/www-ssl/inc/avatar/avatar131.gif diff --git a/www-ssl/inc/avatar/avatar132.gif b/www-ssl/inc/avatar/avatar132.gif Binary files differnew file mode 100755 index 00000000..8835d905 --- /dev/null +++ b/www-ssl/inc/avatar/avatar132.gif diff --git a/www-ssl/inc/avatar/avatar133.gif b/www-ssl/inc/avatar/avatar133.gif Binary files differnew file mode 100755 index 00000000..15abbcbe --- /dev/null +++ b/www-ssl/inc/avatar/avatar133.gif diff --git a/www-ssl/inc/avatar/avatar134.gif b/www-ssl/inc/avatar/avatar134.gif Binary files differnew file mode 100755 index 00000000..f559359f --- /dev/null +++ b/www-ssl/inc/avatar/avatar134.gif diff --git a/www-ssl/inc/avatar/avatar135.gif b/www-ssl/inc/avatar/avatar135.gif Binary files differnew file mode 100755 index 00000000..d9a07c47 --- /dev/null +++ b/www-ssl/inc/avatar/avatar135.gif diff --git a/www-ssl/inc/avatar/avatar136.gif b/www-ssl/inc/avatar/avatar136.gif Binary files differnew file mode 100755 index 00000000..e7f9f76c --- /dev/null +++ b/www-ssl/inc/avatar/avatar136.gif diff --git a/www-ssl/inc/avatar/avatar137.gif b/www-ssl/inc/avatar/avatar137.gif Binary files differnew file mode 100755 index 00000000..b62b374b --- /dev/null +++ b/www-ssl/inc/avatar/avatar137.gif diff --git a/www-ssl/inc/avatar/avatar138.gif b/www-ssl/inc/avatar/avatar138.gif Binary files differnew file mode 100755 index 00000000..49c44308 --- /dev/null +++ b/www-ssl/inc/avatar/avatar138.gif diff --git a/www-ssl/inc/avatar/avatar139.gif b/www-ssl/inc/avatar/avatar139.gif Binary files differnew file mode 100755 index 00000000..4281e84a --- /dev/null +++ b/www-ssl/inc/avatar/avatar139.gif diff --git a/www-ssl/inc/avatar/avatar14.gif b/www-ssl/inc/avatar/avatar14.gif Binary files differnew file mode 100755 index 00000000..1edaa2ca --- /dev/null +++ b/www-ssl/inc/avatar/avatar14.gif diff --git a/www-ssl/inc/avatar/avatar140.gif b/www-ssl/inc/avatar/avatar140.gif Binary files differnew file mode 100755 index 00000000..b058941a --- /dev/null +++ b/www-ssl/inc/avatar/avatar140.gif diff --git a/www-ssl/inc/avatar/avatar141.gif b/www-ssl/inc/avatar/avatar141.gif Binary files differnew file mode 100755 index 00000000..33def8f5 --- /dev/null +++ b/www-ssl/inc/avatar/avatar141.gif diff --git a/www-ssl/inc/avatar/avatar142.gif b/www-ssl/inc/avatar/avatar142.gif Binary files differnew file mode 100755 index 00000000..416e7c26 --- /dev/null +++ b/www-ssl/inc/avatar/avatar142.gif diff --git a/www-ssl/inc/avatar/avatar143.gif b/www-ssl/inc/avatar/avatar143.gif Binary files differnew file mode 100755 index 00000000..18ee70d9 --- /dev/null +++ b/www-ssl/inc/avatar/avatar143.gif diff --git a/www-ssl/inc/avatar/avatar144.gif b/www-ssl/inc/avatar/avatar144.gif Binary files differnew file mode 100755 index 00000000..e322ac57 --- /dev/null +++ b/www-ssl/inc/avatar/avatar144.gif diff --git a/www-ssl/inc/avatar/avatar145.gif b/www-ssl/inc/avatar/avatar145.gif Binary files differnew file mode 100755 index 00000000..5f047a5f --- /dev/null +++ b/www-ssl/inc/avatar/avatar145.gif diff --git a/www-ssl/inc/avatar/avatar146.gif b/www-ssl/inc/avatar/avatar146.gif Binary files differnew file mode 100755 index 00000000..3d2fe843 --- /dev/null +++ b/www-ssl/inc/avatar/avatar146.gif diff --git a/www-ssl/inc/avatar/avatar147.gif b/www-ssl/inc/avatar/avatar147.gif Binary files differnew file mode 100755 index 00000000..d1d54f74 --- /dev/null +++ b/www-ssl/inc/avatar/avatar147.gif diff --git a/www-ssl/inc/avatar/avatar148.gif b/www-ssl/inc/avatar/avatar148.gif Binary files differnew file mode 100755 index 00000000..0e715ed8 --- /dev/null +++ b/www-ssl/inc/avatar/avatar148.gif diff --git a/www-ssl/inc/avatar/avatar149.gif b/www-ssl/inc/avatar/avatar149.gif Binary files differnew file mode 100755 index 00000000..9cbe72c6 --- /dev/null +++ b/www-ssl/inc/avatar/avatar149.gif diff --git a/www-ssl/inc/avatar/avatar15.gif b/www-ssl/inc/avatar/avatar15.gif Binary files differnew file mode 100755 index 00000000..d197e82a --- /dev/null +++ b/www-ssl/inc/avatar/avatar15.gif diff --git a/www-ssl/inc/avatar/avatar150.gif b/www-ssl/inc/avatar/avatar150.gif Binary files differnew file mode 100755 index 00000000..b790d296 --- /dev/null +++ b/www-ssl/inc/avatar/avatar150.gif diff --git a/www-ssl/inc/avatar/avatar151.gif b/www-ssl/inc/avatar/avatar151.gif Binary files differnew file mode 100755 index 00000000..afc3b333 --- /dev/null +++ b/www-ssl/inc/avatar/avatar151.gif diff --git a/www-ssl/inc/avatar/avatar152.gif b/www-ssl/inc/avatar/avatar152.gif Binary files differnew file mode 100755 index 00000000..e30287d6 --- /dev/null +++ b/www-ssl/inc/avatar/avatar152.gif diff --git a/www-ssl/inc/avatar/avatar153.gif b/www-ssl/inc/avatar/avatar153.gif Binary files differnew file mode 100755 index 00000000..82bb1775 --- /dev/null +++ b/www-ssl/inc/avatar/avatar153.gif diff --git a/www-ssl/inc/avatar/avatar154.gif b/www-ssl/inc/avatar/avatar154.gif Binary files differnew file mode 100755 index 00000000..872008da --- /dev/null +++ b/www-ssl/inc/avatar/avatar154.gif diff --git a/www-ssl/inc/avatar/avatar155.gif b/www-ssl/inc/avatar/avatar155.gif Binary files differnew file mode 100755 index 00000000..51931858 --- /dev/null +++ b/www-ssl/inc/avatar/avatar155.gif diff --git a/www-ssl/inc/avatar/avatar156.gif b/www-ssl/inc/avatar/avatar156.gif Binary files differnew file mode 100755 index 00000000..8b3781ff --- /dev/null +++ b/www-ssl/inc/avatar/avatar156.gif diff --git a/www-ssl/inc/avatar/avatar157.gif b/www-ssl/inc/avatar/avatar157.gif Binary files differnew file mode 100755 index 00000000..7c8667cf --- /dev/null +++ b/www-ssl/inc/avatar/avatar157.gif diff --git a/www-ssl/inc/avatar/avatar158.gif b/www-ssl/inc/avatar/avatar158.gif Binary files differnew file mode 100755 index 00000000..ce3472cd --- /dev/null +++ b/www-ssl/inc/avatar/avatar158.gif diff --git a/www-ssl/inc/avatar/avatar159.gif b/www-ssl/inc/avatar/avatar159.gif Binary files differnew file mode 100755 index 00000000..c54f2b29 --- /dev/null +++ b/www-ssl/inc/avatar/avatar159.gif diff --git a/www-ssl/inc/avatar/avatar16.gif b/www-ssl/inc/avatar/avatar16.gif Binary files differnew file mode 100755 index 00000000..d76a15cd --- /dev/null +++ b/www-ssl/inc/avatar/avatar16.gif diff --git a/www-ssl/inc/avatar/avatar160.gif b/www-ssl/inc/avatar/avatar160.gif Binary files differnew file mode 100755 index 00000000..deb3507c --- /dev/null +++ b/www-ssl/inc/avatar/avatar160.gif diff --git a/www-ssl/inc/avatar/avatar161.gif b/www-ssl/inc/avatar/avatar161.gif Binary files differnew file mode 100755 index 00000000..f425b1f2 --- /dev/null +++ b/www-ssl/inc/avatar/avatar161.gif diff --git a/www-ssl/inc/avatar/avatar162.gif b/www-ssl/inc/avatar/avatar162.gif Binary files differnew file mode 100755 index 00000000..5625fe09 --- /dev/null +++ b/www-ssl/inc/avatar/avatar162.gif diff --git a/www-ssl/inc/avatar/avatar163.gif b/www-ssl/inc/avatar/avatar163.gif Binary files differnew file mode 100755 index 00000000..8146a09d --- /dev/null +++ b/www-ssl/inc/avatar/avatar163.gif diff --git a/www-ssl/inc/avatar/avatar164.gif b/www-ssl/inc/avatar/avatar164.gif Binary files differnew file mode 100755 index 00000000..4690f9cb --- /dev/null +++ b/www-ssl/inc/avatar/avatar164.gif diff --git a/www-ssl/inc/avatar/avatar165.gif b/www-ssl/inc/avatar/avatar165.gif Binary files differnew file mode 100755 index 00000000..efe72a35 --- /dev/null +++ b/www-ssl/inc/avatar/avatar165.gif diff --git a/www-ssl/inc/avatar/avatar166.gif b/www-ssl/inc/avatar/avatar166.gif Binary files differnew file mode 100755 index 00000000..a1720be3 --- /dev/null +++ b/www-ssl/inc/avatar/avatar166.gif diff --git a/www-ssl/inc/avatar/avatar167.gif b/www-ssl/inc/avatar/avatar167.gif Binary files differnew file mode 100755 index 00000000..04d31691 --- /dev/null +++ b/www-ssl/inc/avatar/avatar167.gif diff --git a/www-ssl/inc/avatar/avatar168.gif b/www-ssl/inc/avatar/avatar168.gif Binary files differnew file mode 100755 index 00000000..4d804c2a --- /dev/null +++ b/www-ssl/inc/avatar/avatar168.gif diff --git a/www-ssl/inc/avatar/avatar169.gif b/www-ssl/inc/avatar/avatar169.gif Binary files differnew file mode 100755 index 00000000..afe58a3f --- /dev/null +++ b/www-ssl/inc/avatar/avatar169.gif diff --git a/www-ssl/inc/avatar/avatar17.gif b/www-ssl/inc/avatar/avatar17.gif Binary files differnew file mode 100755 index 00000000..994836b7 --- /dev/null +++ b/www-ssl/inc/avatar/avatar17.gif diff --git a/www-ssl/inc/avatar/avatar170.gif b/www-ssl/inc/avatar/avatar170.gif Binary files differnew file mode 100755 index 00000000..dae4c36a --- /dev/null +++ b/www-ssl/inc/avatar/avatar170.gif diff --git a/www-ssl/inc/avatar/avatar171.gif b/www-ssl/inc/avatar/avatar171.gif Binary files differnew file mode 100755 index 00000000..774aa9c2 --- /dev/null +++ b/www-ssl/inc/avatar/avatar171.gif diff --git a/www-ssl/inc/avatar/avatar172.gif b/www-ssl/inc/avatar/avatar172.gif Binary files differnew file mode 100755 index 00000000..e6f7bc6c --- /dev/null +++ b/www-ssl/inc/avatar/avatar172.gif diff --git a/www-ssl/inc/avatar/avatar173.gif b/www-ssl/inc/avatar/avatar173.gif Binary files differnew file mode 100755 index 00000000..3222ac99 --- /dev/null +++ b/www-ssl/inc/avatar/avatar173.gif diff --git a/www-ssl/inc/avatar/avatar174.gif b/www-ssl/inc/avatar/avatar174.gif Binary files differnew file mode 100755 index 00000000..a64201ca --- /dev/null +++ b/www-ssl/inc/avatar/avatar174.gif diff --git a/www-ssl/inc/avatar/avatar175.gif b/www-ssl/inc/avatar/avatar175.gif Binary files differnew file mode 100755 index 00000000..c172a6eb --- /dev/null +++ b/www-ssl/inc/avatar/avatar175.gif diff --git a/www-ssl/inc/avatar/avatar176.gif b/www-ssl/inc/avatar/avatar176.gif Binary files differnew file mode 100755 index 00000000..bda3bae5 --- /dev/null +++ b/www-ssl/inc/avatar/avatar176.gif diff --git a/www-ssl/inc/avatar/avatar177.gif b/www-ssl/inc/avatar/avatar177.gif Binary files differnew file mode 100755 index 00000000..d2951985 --- /dev/null +++ b/www-ssl/inc/avatar/avatar177.gif diff --git a/www-ssl/inc/avatar/avatar178.gif b/www-ssl/inc/avatar/avatar178.gif Binary files differnew file mode 100755 index 00000000..400ae2eb --- /dev/null +++ b/www-ssl/inc/avatar/avatar178.gif diff --git a/www-ssl/inc/avatar/avatar179.gif b/www-ssl/inc/avatar/avatar179.gif Binary files differnew file mode 100755 index 00000000..cfb7a1cf --- /dev/null +++ b/www-ssl/inc/avatar/avatar179.gif diff --git a/www-ssl/inc/avatar/avatar18.gif b/www-ssl/inc/avatar/avatar18.gif Binary files differnew file mode 100755 index 00000000..4c1d9b57 --- /dev/null +++ b/www-ssl/inc/avatar/avatar18.gif diff --git a/www-ssl/inc/avatar/avatar180.gif b/www-ssl/inc/avatar/avatar180.gif Binary files differnew file mode 100755 index 00000000..5be98c79 --- /dev/null +++ b/www-ssl/inc/avatar/avatar180.gif diff --git a/www-ssl/inc/avatar/avatar181.gif b/www-ssl/inc/avatar/avatar181.gif Binary files differnew file mode 100755 index 00000000..44918224 --- /dev/null +++ b/www-ssl/inc/avatar/avatar181.gif diff --git a/www-ssl/inc/avatar/avatar182.gif b/www-ssl/inc/avatar/avatar182.gif Binary files differnew file mode 100755 index 00000000..914c3efc --- /dev/null +++ b/www-ssl/inc/avatar/avatar182.gif diff --git a/www-ssl/inc/avatar/avatar183.gif b/www-ssl/inc/avatar/avatar183.gif Binary files differnew file mode 100755 index 00000000..27d55f8f --- /dev/null +++ b/www-ssl/inc/avatar/avatar183.gif diff --git a/www-ssl/inc/avatar/avatar184.gif b/www-ssl/inc/avatar/avatar184.gif Binary files differnew file mode 100755 index 00000000..2ce57015 --- /dev/null +++ b/www-ssl/inc/avatar/avatar184.gif diff --git a/www-ssl/inc/avatar/avatar185.gif b/www-ssl/inc/avatar/avatar185.gif Binary files differnew file mode 100755 index 00000000..8eb60378 --- /dev/null +++ b/www-ssl/inc/avatar/avatar185.gif diff --git a/www-ssl/inc/avatar/avatar186.gif b/www-ssl/inc/avatar/avatar186.gif Binary files differnew file mode 100755 index 00000000..d30bc664 --- /dev/null +++ b/www-ssl/inc/avatar/avatar186.gif diff --git a/www-ssl/inc/avatar/avatar187.gif b/www-ssl/inc/avatar/avatar187.gif Binary files differnew file mode 100755 index 00000000..34bcc7d2 --- /dev/null +++ b/www-ssl/inc/avatar/avatar187.gif diff --git a/www-ssl/inc/avatar/avatar188.gif b/www-ssl/inc/avatar/avatar188.gif Binary files differnew file mode 100755 index 00000000..3056d45a --- /dev/null +++ b/www-ssl/inc/avatar/avatar188.gif diff --git a/www-ssl/inc/avatar/avatar189.gif b/www-ssl/inc/avatar/avatar189.gif Binary files differnew file mode 100755 index 00000000..9fb4cd83 --- /dev/null +++ b/www-ssl/inc/avatar/avatar189.gif diff --git a/www-ssl/inc/avatar/avatar19.gif b/www-ssl/inc/avatar/avatar19.gif Binary files differnew file mode 100755 index 00000000..40d42724 --- /dev/null +++ b/www-ssl/inc/avatar/avatar19.gif diff --git a/www-ssl/inc/avatar/avatar190.gif b/www-ssl/inc/avatar/avatar190.gif Binary files differnew file mode 100755 index 00000000..f8c38853 --- /dev/null +++ b/www-ssl/inc/avatar/avatar190.gif diff --git a/www-ssl/inc/avatar/avatar191.gif b/www-ssl/inc/avatar/avatar191.gif Binary files differnew file mode 100755 index 00000000..e6af0d88 --- /dev/null +++ b/www-ssl/inc/avatar/avatar191.gif diff --git a/www-ssl/inc/avatar/avatar192.gif b/www-ssl/inc/avatar/avatar192.gif Binary files differnew file mode 100755 index 00000000..123ed736 --- /dev/null +++ b/www-ssl/inc/avatar/avatar192.gif diff --git a/www-ssl/inc/avatar/avatar193.gif b/www-ssl/inc/avatar/avatar193.gif Binary files differnew file mode 100755 index 00000000..f82524d9 --- /dev/null +++ b/www-ssl/inc/avatar/avatar193.gif diff --git a/www-ssl/inc/avatar/avatar194.gif b/www-ssl/inc/avatar/avatar194.gif Binary files differnew file mode 100755 index 00000000..ae1d743b --- /dev/null +++ b/www-ssl/inc/avatar/avatar194.gif diff --git a/www-ssl/inc/avatar/avatar195.gif b/www-ssl/inc/avatar/avatar195.gif Binary files differnew file mode 100755 index 00000000..e22c9ba0 --- /dev/null +++ b/www-ssl/inc/avatar/avatar195.gif diff --git a/www-ssl/inc/avatar/avatar196.gif b/www-ssl/inc/avatar/avatar196.gif Binary files differnew file mode 100755 index 00000000..87e6293d --- /dev/null +++ b/www-ssl/inc/avatar/avatar196.gif diff --git a/www-ssl/inc/avatar/avatar197.gif b/www-ssl/inc/avatar/avatar197.gif Binary files differnew file mode 100755 index 00000000..88764c73 --- /dev/null +++ b/www-ssl/inc/avatar/avatar197.gif diff --git a/www-ssl/inc/avatar/avatar198.gif b/www-ssl/inc/avatar/avatar198.gif Binary files differnew file mode 100755 index 00000000..58a64280 --- /dev/null +++ b/www-ssl/inc/avatar/avatar198.gif diff --git a/www-ssl/inc/avatar/avatar199.gif b/www-ssl/inc/avatar/avatar199.gif Binary files differnew file mode 100755 index 00000000..e3861e3e --- /dev/null +++ b/www-ssl/inc/avatar/avatar199.gif diff --git a/www-ssl/inc/avatar/avatar2.gif b/www-ssl/inc/avatar/avatar2.gif Binary files differnew file mode 100755 index 00000000..6c1e79a7 --- /dev/null +++ b/www-ssl/inc/avatar/avatar2.gif diff --git a/www-ssl/inc/avatar/avatar20.gif b/www-ssl/inc/avatar/avatar20.gif Binary files differnew file mode 100755 index 00000000..7480ddd1 --- /dev/null +++ b/www-ssl/inc/avatar/avatar20.gif diff --git a/www-ssl/inc/avatar/avatar200.gif b/www-ssl/inc/avatar/avatar200.gif Binary files differnew file mode 100755 index 00000000..bcee18dd --- /dev/null +++ b/www-ssl/inc/avatar/avatar200.gif diff --git a/www-ssl/inc/avatar/avatar201.gif b/www-ssl/inc/avatar/avatar201.gif Binary files differnew file mode 100755 index 00000000..7ff54bd0 --- /dev/null +++ b/www-ssl/inc/avatar/avatar201.gif diff --git a/www-ssl/inc/avatar/avatar202.gif b/www-ssl/inc/avatar/avatar202.gif Binary files differnew file mode 100755 index 00000000..9b9ad5aa --- /dev/null +++ b/www-ssl/inc/avatar/avatar202.gif diff --git a/www-ssl/inc/avatar/avatar203.gif b/www-ssl/inc/avatar/avatar203.gif Binary files differnew file mode 100755 index 00000000..777e6ab9 --- /dev/null +++ b/www-ssl/inc/avatar/avatar203.gif diff --git a/www-ssl/inc/avatar/avatar204.gif b/www-ssl/inc/avatar/avatar204.gif Binary files differnew file mode 100755 index 00000000..6e16ed30 --- /dev/null +++ b/www-ssl/inc/avatar/avatar204.gif diff --git a/www-ssl/inc/avatar/avatar205.gif b/www-ssl/inc/avatar/avatar205.gif Binary files differnew file mode 100755 index 00000000..f780d7d8 --- /dev/null +++ b/www-ssl/inc/avatar/avatar205.gif diff --git a/www-ssl/inc/avatar/avatar206.gif b/www-ssl/inc/avatar/avatar206.gif Binary files differnew file mode 100755 index 00000000..6a5b3ad7 --- /dev/null +++ b/www-ssl/inc/avatar/avatar206.gif diff --git a/www-ssl/inc/avatar/avatar207.gif b/www-ssl/inc/avatar/avatar207.gif Binary files differnew file mode 100755 index 00000000..d956d1f9 --- /dev/null +++ b/www-ssl/inc/avatar/avatar207.gif diff --git a/www-ssl/inc/avatar/avatar208.gif b/www-ssl/inc/avatar/avatar208.gif Binary files differnew file mode 100755 index 00000000..571e059f --- /dev/null +++ b/www-ssl/inc/avatar/avatar208.gif diff --git a/www-ssl/inc/avatar/avatar209.gif b/www-ssl/inc/avatar/avatar209.gif Binary files differnew file mode 100755 index 00000000..d2976d85 --- /dev/null +++ b/www-ssl/inc/avatar/avatar209.gif diff --git a/www-ssl/inc/avatar/avatar21.gif b/www-ssl/inc/avatar/avatar21.gif Binary files differnew file mode 100755 index 00000000..45b1b8a3 --- /dev/null +++ b/www-ssl/inc/avatar/avatar21.gif diff --git a/www-ssl/inc/avatar/avatar210.gif b/www-ssl/inc/avatar/avatar210.gif Binary files differnew file mode 100755 index 00000000..2bd579b9 --- /dev/null +++ b/www-ssl/inc/avatar/avatar210.gif diff --git a/www-ssl/inc/avatar/avatar211.gif b/www-ssl/inc/avatar/avatar211.gif Binary files differnew file mode 100755 index 00000000..6e95b7d5 --- /dev/null +++ b/www-ssl/inc/avatar/avatar211.gif diff --git a/www-ssl/inc/avatar/avatar212.gif b/www-ssl/inc/avatar/avatar212.gif Binary files differnew file mode 100755 index 00000000..39e012b7 --- /dev/null +++ b/www-ssl/inc/avatar/avatar212.gif diff --git a/www-ssl/inc/avatar/avatar213.gif b/www-ssl/inc/avatar/avatar213.gif Binary files differnew file mode 100755 index 00000000..659fbb65 --- /dev/null +++ b/www-ssl/inc/avatar/avatar213.gif diff --git a/www-ssl/inc/avatar/avatar214.gif b/www-ssl/inc/avatar/avatar214.gif Binary files differnew file mode 100755 index 00000000..822d3530 --- /dev/null +++ b/www-ssl/inc/avatar/avatar214.gif diff --git a/www-ssl/inc/avatar/avatar215.gif b/www-ssl/inc/avatar/avatar215.gif Binary files differnew file mode 100755 index 00000000..e0909042 --- /dev/null +++ b/www-ssl/inc/avatar/avatar215.gif diff --git a/www-ssl/inc/avatar/avatar216.gif b/www-ssl/inc/avatar/avatar216.gif Binary files differnew file mode 100755 index 00000000..7ba52487 --- /dev/null +++ b/www-ssl/inc/avatar/avatar216.gif diff --git a/www-ssl/inc/avatar/avatar217.gif b/www-ssl/inc/avatar/avatar217.gif Binary files differnew file mode 100755 index 00000000..1d69bb45 --- /dev/null +++ b/www-ssl/inc/avatar/avatar217.gif diff --git a/www-ssl/inc/avatar/avatar218.gif b/www-ssl/inc/avatar/avatar218.gif Binary files differnew file mode 100755 index 00000000..508bff13 --- /dev/null +++ b/www-ssl/inc/avatar/avatar218.gif diff --git a/www-ssl/inc/avatar/avatar219.gif b/www-ssl/inc/avatar/avatar219.gif Binary files differnew file mode 100755 index 00000000..6c695dd8 --- /dev/null +++ b/www-ssl/inc/avatar/avatar219.gif diff --git a/www-ssl/inc/avatar/avatar22.gif b/www-ssl/inc/avatar/avatar22.gif Binary files differnew file mode 100755 index 00000000..7f7d9a26 --- /dev/null +++ b/www-ssl/inc/avatar/avatar22.gif diff --git a/www-ssl/inc/avatar/avatar220.gif b/www-ssl/inc/avatar/avatar220.gif Binary files differnew file mode 100755 index 00000000..76604ced --- /dev/null +++ b/www-ssl/inc/avatar/avatar220.gif diff --git a/www-ssl/inc/avatar/avatar221.gif b/www-ssl/inc/avatar/avatar221.gif Binary files differnew file mode 100755 index 00000000..2d5ed7db --- /dev/null +++ b/www-ssl/inc/avatar/avatar221.gif diff --git a/www-ssl/inc/avatar/avatar222.gif b/www-ssl/inc/avatar/avatar222.gif Binary files differnew file mode 100755 index 00000000..607887e5 --- /dev/null +++ b/www-ssl/inc/avatar/avatar222.gif diff --git a/www-ssl/inc/avatar/avatar223.gif b/www-ssl/inc/avatar/avatar223.gif Binary files differnew file mode 100755 index 00000000..5c7f782f --- /dev/null +++ b/www-ssl/inc/avatar/avatar223.gif diff --git a/www-ssl/inc/avatar/avatar224.gif b/www-ssl/inc/avatar/avatar224.gif Binary files differnew file mode 100755 index 00000000..46e7f845 --- /dev/null +++ b/www-ssl/inc/avatar/avatar224.gif diff --git a/www-ssl/inc/avatar/avatar225.gif b/www-ssl/inc/avatar/avatar225.gif Binary files differnew file mode 100755 index 00000000..7eb3bfcd --- /dev/null +++ b/www-ssl/inc/avatar/avatar225.gif diff --git a/www-ssl/inc/avatar/avatar226.gif b/www-ssl/inc/avatar/avatar226.gif Binary files differnew file mode 100755 index 00000000..a030d2f9 --- /dev/null +++ b/www-ssl/inc/avatar/avatar226.gif diff --git a/www-ssl/inc/avatar/avatar227.gif b/www-ssl/inc/avatar/avatar227.gif Binary files differnew file mode 100755 index 00000000..fe631b92 --- /dev/null +++ b/www-ssl/inc/avatar/avatar227.gif diff --git a/www-ssl/inc/avatar/avatar228.gif b/www-ssl/inc/avatar/avatar228.gif Binary files differnew file mode 100755 index 00000000..459ed140 --- /dev/null +++ b/www-ssl/inc/avatar/avatar228.gif diff --git a/www-ssl/inc/avatar/avatar229.gif b/www-ssl/inc/avatar/avatar229.gif Binary files differnew file mode 100755 index 00000000..35546746 --- /dev/null +++ b/www-ssl/inc/avatar/avatar229.gif diff --git a/www-ssl/inc/avatar/avatar23.gif b/www-ssl/inc/avatar/avatar23.gif Binary files differnew file mode 100755 index 00000000..55f84741 --- /dev/null +++ b/www-ssl/inc/avatar/avatar23.gif diff --git a/www-ssl/inc/avatar/avatar230.gif b/www-ssl/inc/avatar/avatar230.gif Binary files differnew file mode 100755 index 00000000..22ffccb0 --- /dev/null +++ b/www-ssl/inc/avatar/avatar230.gif diff --git a/www-ssl/inc/avatar/avatar231.gif b/www-ssl/inc/avatar/avatar231.gif Binary files differnew file mode 100755 index 00000000..52a82830 --- /dev/null +++ b/www-ssl/inc/avatar/avatar231.gif diff --git a/www-ssl/inc/avatar/avatar232.gif b/www-ssl/inc/avatar/avatar232.gif Binary files differnew file mode 100755 index 00000000..a442015b --- /dev/null +++ b/www-ssl/inc/avatar/avatar232.gif diff --git a/www-ssl/inc/avatar/avatar233.gif b/www-ssl/inc/avatar/avatar233.gif Binary files differnew file mode 100755 index 00000000..ad676d9c --- /dev/null +++ b/www-ssl/inc/avatar/avatar233.gif diff --git a/www-ssl/inc/avatar/avatar234.gif b/www-ssl/inc/avatar/avatar234.gif Binary files differnew file mode 100755 index 00000000..bf9200c2 --- /dev/null +++ b/www-ssl/inc/avatar/avatar234.gif diff --git a/www-ssl/inc/avatar/avatar235.gif b/www-ssl/inc/avatar/avatar235.gif Binary files differnew file mode 100755 index 00000000..80aee34d --- /dev/null +++ b/www-ssl/inc/avatar/avatar235.gif diff --git a/www-ssl/inc/avatar/avatar236.gif b/www-ssl/inc/avatar/avatar236.gif Binary files differnew file mode 100755 index 00000000..036c71e1 --- /dev/null +++ b/www-ssl/inc/avatar/avatar236.gif diff --git a/www-ssl/inc/avatar/avatar237.gif b/www-ssl/inc/avatar/avatar237.gif Binary files differnew file mode 100755 index 00000000..bf78ace7 --- /dev/null +++ b/www-ssl/inc/avatar/avatar237.gif diff --git a/www-ssl/inc/avatar/avatar238.gif b/www-ssl/inc/avatar/avatar238.gif Binary files differnew file mode 100755 index 00000000..276187e1 --- /dev/null +++ b/www-ssl/inc/avatar/avatar238.gif diff --git a/www-ssl/inc/avatar/avatar239.gif b/www-ssl/inc/avatar/avatar239.gif Binary files differnew file mode 100755 index 00000000..818b54a3 --- /dev/null +++ b/www-ssl/inc/avatar/avatar239.gif diff --git a/www-ssl/inc/avatar/avatar24.gif b/www-ssl/inc/avatar/avatar24.gif Binary files differnew file mode 100755 index 00000000..99226b50 --- /dev/null +++ b/www-ssl/inc/avatar/avatar24.gif diff --git a/www-ssl/inc/avatar/avatar240.gif b/www-ssl/inc/avatar/avatar240.gif Binary files differnew file mode 100755 index 00000000..ccfa1346 --- /dev/null +++ b/www-ssl/inc/avatar/avatar240.gif diff --git a/www-ssl/inc/avatar/avatar241.gif b/www-ssl/inc/avatar/avatar241.gif Binary files differnew file mode 100755 index 00000000..b2afaa82 --- /dev/null +++ b/www-ssl/inc/avatar/avatar241.gif diff --git a/www-ssl/inc/avatar/avatar242.gif b/www-ssl/inc/avatar/avatar242.gif Binary files differnew file mode 100755 index 00000000..dfdb3baa --- /dev/null +++ b/www-ssl/inc/avatar/avatar242.gif diff --git a/www-ssl/inc/avatar/avatar243.gif b/www-ssl/inc/avatar/avatar243.gif Binary files differnew file mode 100755 index 00000000..14b7e935 --- /dev/null +++ b/www-ssl/inc/avatar/avatar243.gif diff --git a/www-ssl/inc/avatar/avatar244.gif b/www-ssl/inc/avatar/avatar244.gif Binary files differnew file mode 100755 index 00000000..bfc10515 --- /dev/null +++ b/www-ssl/inc/avatar/avatar244.gif diff --git a/www-ssl/inc/avatar/avatar245.gif b/www-ssl/inc/avatar/avatar245.gif Binary files differnew file mode 100755 index 00000000..79dd0453 --- /dev/null +++ b/www-ssl/inc/avatar/avatar245.gif diff --git a/www-ssl/inc/avatar/avatar246.gif b/www-ssl/inc/avatar/avatar246.gif Binary files differnew file mode 100755 index 00000000..26878722 --- /dev/null +++ b/www-ssl/inc/avatar/avatar246.gif diff --git a/www-ssl/inc/avatar/avatar247.gif b/www-ssl/inc/avatar/avatar247.gif Binary files differnew file mode 100755 index 00000000..0b041108 --- /dev/null +++ b/www-ssl/inc/avatar/avatar247.gif diff --git a/www-ssl/inc/avatar/avatar248.gif b/www-ssl/inc/avatar/avatar248.gif Binary files differnew file mode 100755 index 00000000..7aa13465 --- /dev/null +++ b/www-ssl/inc/avatar/avatar248.gif diff --git a/www-ssl/inc/avatar/avatar249.gif b/www-ssl/inc/avatar/avatar249.gif Binary files differnew file mode 100755 index 00000000..c5cdf5d8 --- /dev/null +++ b/www-ssl/inc/avatar/avatar249.gif diff --git a/www-ssl/inc/avatar/avatar25.gif b/www-ssl/inc/avatar/avatar25.gif Binary files differnew file mode 100755 index 00000000..d5e29f52 --- /dev/null +++ b/www-ssl/inc/avatar/avatar25.gif diff --git a/www-ssl/inc/avatar/avatar250.gif b/www-ssl/inc/avatar/avatar250.gif Binary files differnew file mode 100755 index 00000000..61c2b962 --- /dev/null +++ b/www-ssl/inc/avatar/avatar250.gif diff --git a/www-ssl/inc/avatar/avatar252.gif b/www-ssl/inc/avatar/avatar252.gif Binary files differnew file mode 100755 index 00000000..6656fe75 --- /dev/null +++ b/www-ssl/inc/avatar/avatar252.gif diff --git a/www-ssl/inc/avatar/avatar253.gif b/www-ssl/inc/avatar/avatar253.gif Binary files differnew file mode 100755 index 00000000..4aaa9318 --- /dev/null +++ b/www-ssl/inc/avatar/avatar253.gif diff --git a/www-ssl/inc/avatar/avatar254.gif b/www-ssl/inc/avatar/avatar254.gif Binary files differnew file mode 100755 index 00000000..4439c722 --- /dev/null +++ b/www-ssl/inc/avatar/avatar254.gif diff --git a/www-ssl/inc/avatar/avatar255.gif b/www-ssl/inc/avatar/avatar255.gif Binary files differnew file mode 100755 index 00000000..3a5fd768 --- /dev/null +++ b/www-ssl/inc/avatar/avatar255.gif diff --git a/www-ssl/inc/avatar/avatar256.gif b/www-ssl/inc/avatar/avatar256.gif Binary files differnew file mode 100755 index 00000000..200dc450 --- /dev/null +++ b/www-ssl/inc/avatar/avatar256.gif diff --git a/www-ssl/inc/avatar/avatar257.gif b/www-ssl/inc/avatar/avatar257.gif Binary files differnew file mode 100755 index 00000000..9d9c823c --- /dev/null +++ b/www-ssl/inc/avatar/avatar257.gif diff --git a/www-ssl/inc/avatar/avatar258.gif b/www-ssl/inc/avatar/avatar258.gif Binary files differnew file mode 100755 index 00000000..044edc01 --- /dev/null +++ b/www-ssl/inc/avatar/avatar258.gif diff --git a/www-ssl/inc/avatar/avatar259.gif b/www-ssl/inc/avatar/avatar259.gif Binary files differnew file mode 100755 index 00000000..83334fb9 --- /dev/null +++ b/www-ssl/inc/avatar/avatar259.gif diff --git a/www-ssl/inc/avatar/avatar26.gif b/www-ssl/inc/avatar/avatar26.gif Binary files differnew file mode 100755 index 00000000..40d42724 --- /dev/null +++ b/www-ssl/inc/avatar/avatar26.gif diff --git a/www-ssl/inc/avatar/avatar260.gif b/www-ssl/inc/avatar/avatar260.gif Binary files differnew file mode 100755 index 00000000..8ec72dbe --- /dev/null +++ b/www-ssl/inc/avatar/avatar260.gif diff --git a/www-ssl/inc/avatar/avatar261.gif b/www-ssl/inc/avatar/avatar261.gif Binary files differnew file mode 100755 index 00000000..90505322 --- /dev/null +++ b/www-ssl/inc/avatar/avatar261.gif diff --git a/www-ssl/inc/avatar/avatar262.gif b/www-ssl/inc/avatar/avatar262.gif Binary files differnew file mode 100755 index 00000000..4656c222 --- /dev/null +++ b/www-ssl/inc/avatar/avatar262.gif diff --git a/www-ssl/inc/avatar/avatar263.gif b/www-ssl/inc/avatar/avatar263.gif Binary files differnew file mode 100755 index 00000000..6954e902 --- /dev/null +++ b/www-ssl/inc/avatar/avatar263.gif diff --git a/www-ssl/inc/avatar/avatar264.gif b/www-ssl/inc/avatar/avatar264.gif Binary files differnew file mode 100755 index 00000000..4e46f7b9 --- /dev/null +++ b/www-ssl/inc/avatar/avatar264.gif diff --git a/www-ssl/inc/avatar/avatar265.gif b/www-ssl/inc/avatar/avatar265.gif Binary files differnew file mode 100755 index 00000000..df18535c --- /dev/null +++ b/www-ssl/inc/avatar/avatar265.gif diff --git a/www-ssl/inc/avatar/avatar266.gif b/www-ssl/inc/avatar/avatar266.gif Binary files differnew file mode 100755 index 00000000..838305a7 --- /dev/null +++ b/www-ssl/inc/avatar/avatar266.gif diff --git a/www-ssl/inc/avatar/avatar267.gif b/www-ssl/inc/avatar/avatar267.gif Binary files differnew file mode 100755 index 00000000..8ac405e4 --- /dev/null +++ b/www-ssl/inc/avatar/avatar267.gif diff --git a/www-ssl/inc/avatar/avatar268.gif b/www-ssl/inc/avatar/avatar268.gif Binary files differnew file mode 100755 index 00000000..fe61c645 --- /dev/null +++ b/www-ssl/inc/avatar/avatar268.gif diff --git a/www-ssl/inc/avatar/avatar269.gif b/www-ssl/inc/avatar/avatar269.gif Binary files differnew file mode 100755 index 00000000..c71da25a --- /dev/null +++ b/www-ssl/inc/avatar/avatar269.gif diff --git a/www-ssl/inc/avatar/avatar27.gif b/www-ssl/inc/avatar/avatar27.gif Binary files differnew file mode 100755 index 00000000..43cf2125 --- /dev/null +++ b/www-ssl/inc/avatar/avatar27.gif diff --git a/www-ssl/inc/avatar/avatar270.gif b/www-ssl/inc/avatar/avatar270.gif Binary files differnew file mode 100755 index 00000000..9c11d479 --- /dev/null +++ b/www-ssl/inc/avatar/avatar270.gif diff --git a/www-ssl/inc/avatar/avatar271.gif b/www-ssl/inc/avatar/avatar271.gif Binary files differnew file mode 100755 index 00000000..ac95c950 --- /dev/null +++ b/www-ssl/inc/avatar/avatar271.gif diff --git a/www-ssl/inc/avatar/avatar272.gif b/www-ssl/inc/avatar/avatar272.gif Binary files differnew file mode 100755 index 00000000..4d451488 --- /dev/null +++ b/www-ssl/inc/avatar/avatar272.gif diff --git a/www-ssl/inc/avatar/avatar273.gif b/www-ssl/inc/avatar/avatar273.gif Binary files differnew file mode 100755 index 00000000..e26b9106 --- /dev/null +++ b/www-ssl/inc/avatar/avatar273.gif diff --git a/www-ssl/inc/avatar/avatar274.gif b/www-ssl/inc/avatar/avatar274.gif Binary files differnew file mode 100755 index 00000000..a941aa4c --- /dev/null +++ b/www-ssl/inc/avatar/avatar274.gif diff --git a/www-ssl/inc/avatar/avatar275.gif b/www-ssl/inc/avatar/avatar275.gif Binary files differnew file mode 100755 index 00000000..f324f6c0 --- /dev/null +++ b/www-ssl/inc/avatar/avatar275.gif diff --git a/www-ssl/inc/avatar/avatar276.gif b/www-ssl/inc/avatar/avatar276.gif Binary files differnew file mode 100755 index 00000000..6b0d8fee --- /dev/null +++ b/www-ssl/inc/avatar/avatar276.gif diff --git a/www-ssl/inc/avatar/avatar277.gif b/www-ssl/inc/avatar/avatar277.gif Binary files differnew file mode 100755 index 00000000..6fddc745 --- /dev/null +++ b/www-ssl/inc/avatar/avatar277.gif diff --git a/www-ssl/inc/avatar/avatar278.gif b/www-ssl/inc/avatar/avatar278.gif Binary files differnew file mode 100755 index 00000000..59e3b51d --- /dev/null +++ b/www-ssl/inc/avatar/avatar278.gif diff --git a/www-ssl/inc/avatar/avatar279.gif b/www-ssl/inc/avatar/avatar279.gif Binary files differnew file mode 100755 index 00000000..c8c0bb84 --- /dev/null +++ b/www-ssl/inc/avatar/avatar279.gif diff --git a/www-ssl/inc/avatar/avatar28.gif b/www-ssl/inc/avatar/avatar28.gif Binary files differnew file mode 100755 index 00000000..9251bdb6 --- /dev/null +++ b/www-ssl/inc/avatar/avatar28.gif diff --git a/www-ssl/inc/avatar/avatar280.gif b/www-ssl/inc/avatar/avatar280.gif Binary files differnew file mode 100755 index 00000000..954920d5 --- /dev/null +++ b/www-ssl/inc/avatar/avatar280.gif diff --git a/www-ssl/inc/avatar/avatar281.gif b/www-ssl/inc/avatar/avatar281.gif Binary files differnew file mode 100755 index 00000000..68ebd8cc --- /dev/null +++ b/www-ssl/inc/avatar/avatar281.gif diff --git a/www-ssl/inc/avatar/avatar282.gif b/www-ssl/inc/avatar/avatar282.gif Binary files differnew file mode 100755 index 00000000..ec06f9f5 --- /dev/null +++ b/www-ssl/inc/avatar/avatar282.gif diff --git a/www-ssl/inc/avatar/avatar283.gif b/www-ssl/inc/avatar/avatar283.gif Binary files differnew file mode 100755 index 00000000..2d0fad8a --- /dev/null +++ b/www-ssl/inc/avatar/avatar283.gif diff --git a/www-ssl/inc/avatar/avatar284.gif b/www-ssl/inc/avatar/avatar284.gif Binary files differnew file mode 100755 index 00000000..9cc79890 --- /dev/null +++ b/www-ssl/inc/avatar/avatar284.gif diff --git a/www-ssl/inc/avatar/avatar285.gif b/www-ssl/inc/avatar/avatar285.gif Binary files differnew file mode 100755 index 00000000..baf2c0b0 --- /dev/null +++ b/www-ssl/inc/avatar/avatar285.gif diff --git a/www-ssl/inc/avatar/avatar286.gif b/www-ssl/inc/avatar/avatar286.gif Binary files differnew file mode 100755 index 00000000..d74af8d4 --- /dev/null +++ b/www-ssl/inc/avatar/avatar286.gif diff --git a/www-ssl/inc/avatar/avatar287.gif b/www-ssl/inc/avatar/avatar287.gif Binary files differnew file mode 100755 index 00000000..0e4169ef --- /dev/null +++ b/www-ssl/inc/avatar/avatar287.gif diff --git a/www-ssl/inc/avatar/avatar288.gif b/www-ssl/inc/avatar/avatar288.gif Binary files differnew file mode 100755 index 00000000..41c2e9b4 --- /dev/null +++ b/www-ssl/inc/avatar/avatar288.gif diff --git a/www-ssl/inc/avatar/avatar289.gif b/www-ssl/inc/avatar/avatar289.gif Binary files differnew file mode 100755 index 00000000..c68b431a --- /dev/null +++ b/www-ssl/inc/avatar/avatar289.gif diff --git a/www-ssl/inc/avatar/avatar29.gif b/www-ssl/inc/avatar/avatar29.gif Binary files differnew file mode 100755 index 00000000..10063690 --- /dev/null +++ b/www-ssl/inc/avatar/avatar29.gif diff --git a/www-ssl/inc/avatar/avatar290.gif b/www-ssl/inc/avatar/avatar290.gif Binary files differnew file mode 100755 index 00000000..f2ca018b --- /dev/null +++ b/www-ssl/inc/avatar/avatar290.gif diff --git a/www-ssl/inc/avatar/avatar291.gif b/www-ssl/inc/avatar/avatar291.gif Binary files differnew file mode 100755 index 00000000..b9b0bbc3 --- /dev/null +++ b/www-ssl/inc/avatar/avatar291.gif diff --git a/www-ssl/inc/avatar/avatar292.gif b/www-ssl/inc/avatar/avatar292.gif Binary files differnew file mode 100755 index 00000000..6eecd4d1 --- /dev/null +++ b/www-ssl/inc/avatar/avatar292.gif diff --git a/www-ssl/inc/avatar/avatar293.gif b/www-ssl/inc/avatar/avatar293.gif Binary files differnew file mode 100755 index 00000000..a1834818 --- /dev/null +++ b/www-ssl/inc/avatar/avatar293.gif diff --git a/www-ssl/inc/avatar/avatar294.gif b/www-ssl/inc/avatar/avatar294.gif Binary files differnew file mode 100755 index 00000000..6ef5611a --- /dev/null +++ b/www-ssl/inc/avatar/avatar294.gif diff --git a/www-ssl/inc/avatar/avatar295.gif b/www-ssl/inc/avatar/avatar295.gif Binary files differnew file mode 100755 index 00000000..4c9fa7c6 --- /dev/null +++ b/www-ssl/inc/avatar/avatar295.gif diff --git a/www-ssl/inc/avatar/avatar296.gif b/www-ssl/inc/avatar/avatar296.gif Binary files differnew file mode 100755 index 00000000..b6ab2095 --- /dev/null +++ b/www-ssl/inc/avatar/avatar296.gif diff --git a/www-ssl/inc/avatar/avatar297.gif b/www-ssl/inc/avatar/avatar297.gif Binary files differnew file mode 100755 index 00000000..38d1d659 --- /dev/null +++ b/www-ssl/inc/avatar/avatar297.gif diff --git a/www-ssl/inc/avatar/avatar298.gif b/www-ssl/inc/avatar/avatar298.gif Binary files differnew file mode 100755 index 00000000..f1ee804c --- /dev/null +++ b/www-ssl/inc/avatar/avatar298.gif diff --git a/www-ssl/inc/avatar/avatar299.gif b/www-ssl/inc/avatar/avatar299.gif Binary files differnew file mode 100755 index 00000000..0d0b77b6 --- /dev/null +++ b/www-ssl/inc/avatar/avatar299.gif diff --git a/www-ssl/inc/avatar/avatar3.gif b/www-ssl/inc/avatar/avatar3.gif Binary files differnew file mode 100755 index 00000000..d8cd4306 --- /dev/null +++ b/www-ssl/inc/avatar/avatar3.gif diff --git a/www-ssl/inc/avatar/avatar30.gif b/www-ssl/inc/avatar/avatar30.gif Binary files differnew file mode 100755 index 00000000..b339d48d --- /dev/null +++ b/www-ssl/inc/avatar/avatar30.gif diff --git a/www-ssl/inc/avatar/avatar300.gif b/www-ssl/inc/avatar/avatar300.gif Binary files differnew file mode 100755 index 00000000..2582b3a4 --- /dev/null +++ b/www-ssl/inc/avatar/avatar300.gif diff --git a/www-ssl/inc/avatar/avatar301.gif b/www-ssl/inc/avatar/avatar301.gif Binary files differnew file mode 100755 index 00000000..2350bc8f --- /dev/null +++ b/www-ssl/inc/avatar/avatar301.gif diff --git a/www-ssl/inc/avatar/avatar302.gif b/www-ssl/inc/avatar/avatar302.gif Binary files differnew file mode 100755 index 00000000..2e05d242 --- /dev/null +++ b/www-ssl/inc/avatar/avatar302.gif diff --git a/www-ssl/inc/avatar/avatar303.gif b/www-ssl/inc/avatar/avatar303.gif Binary files differnew file mode 100755 index 00000000..776cec3b --- /dev/null +++ b/www-ssl/inc/avatar/avatar303.gif diff --git a/www-ssl/inc/avatar/avatar304.gif b/www-ssl/inc/avatar/avatar304.gif Binary files differnew file mode 100755 index 00000000..219a1184 --- /dev/null +++ b/www-ssl/inc/avatar/avatar304.gif diff --git a/www-ssl/inc/avatar/avatar305.gif b/www-ssl/inc/avatar/avatar305.gif Binary files differnew file mode 100755 index 00000000..27071b78 --- /dev/null +++ b/www-ssl/inc/avatar/avatar305.gif diff --git a/www-ssl/inc/avatar/avatar306.gif b/www-ssl/inc/avatar/avatar306.gif Binary files differnew file mode 100755 index 00000000..6ab781bf --- /dev/null +++ b/www-ssl/inc/avatar/avatar306.gif diff --git a/www-ssl/inc/avatar/avatar307.gif b/www-ssl/inc/avatar/avatar307.gif Binary files differnew file mode 100755 index 00000000..d40998b8 --- /dev/null +++ b/www-ssl/inc/avatar/avatar307.gif diff --git a/www-ssl/inc/avatar/avatar308.gif b/www-ssl/inc/avatar/avatar308.gif Binary files differnew file mode 100755 index 00000000..aafbe741 --- /dev/null +++ b/www-ssl/inc/avatar/avatar308.gif diff --git a/www-ssl/inc/avatar/avatar309.gif b/www-ssl/inc/avatar/avatar309.gif Binary files differnew file mode 100755 index 00000000..fe701cbf --- /dev/null +++ b/www-ssl/inc/avatar/avatar309.gif diff --git a/www-ssl/inc/avatar/avatar31.gif b/www-ssl/inc/avatar/avatar31.gif Binary files differnew file mode 100755 index 00000000..d5a9caf6 --- /dev/null +++ b/www-ssl/inc/avatar/avatar31.gif diff --git a/www-ssl/inc/avatar/avatar310.gif b/www-ssl/inc/avatar/avatar310.gif Binary files differnew file mode 100755 index 00000000..e6072552 --- /dev/null +++ b/www-ssl/inc/avatar/avatar310.gif diff --git a/www-ssl/inc/avatar/avatar311.gif b/www-ssl/inc/avatar/avatar311.gif Binary files differnew file mode 100755 index 00000000..9b77a2a3 --- /dev/null +++ b/www-ssl/inc/avatar/avatar311.gif diff --git a/www-ssl/inc/avatar/avatar312.gif b/www-ssl/inc/avatar/avatar312.gif Binary files differnew file mode 100755 index 00000000..89acef5f --- /dev/null +++ b/www-ssl/inc/avatar/avatar312.gif diff --git a/www-ssl/inc/avatar/avatar313.gif b/www-ssl/inc/avatar/avatar313.gif Binary files differnew file mode 100755 index 00000000..fee5e41b --- /dev/null +++ b/www-ssl/inc/avatar/avatar313.gif diff --git a/www-ssl/inc/avatar/avatar314.gif b/www-ssl/inc/avatar/avatar314.gif Binary files differnew file mode 100755 index 00000000..e706e088 --- /dev/null +++ b/www-ssl/inc/avatar/avatar314.gif diff --git a/www-ssl/inc/avatar/avatar315.gif b/www-ssl/inc/avatar/avatar315.gif Binary files differnew file mode 100755 index 00000000..fb3ee057 --- /dev/null +++ b/www-ssl/inc/avatar/avatar315.gif diff --git a/www-ssl/inc/avatar/avatar316.gif b/www-ssl/inc/avatar/avatar316.gif Binary files differnew file mode 100755 index 00000000..662fe276 --- /dev/null +++ b/www-ssl/inc/avatar/avatar316.gif diff --git a/www-ssl/inc/avatar/avatar317.gif b/www-ssl/inc/avatar/avatar317.gif Binary files differnew file mode 100755 index 00000000..0a858151 --- /dev/null +++ b/www-ssl/inc/avatar/avatar317.gif diff --git a/www-ssl/inc/avatar/avatar318.gif b/www-ssl/inc/avatar/avatar318.gif Binary files differnew file mode 100755 index 00000000..4ca84803 --- /dev/null +++ b/www-ssl/inc/avatar/avatar318.gif diff --git a/www-ssl/inc/avatar/avatar319.gif b/www-ssl/inc/avatar/avatar319.gif Binary files differnew file mode 100755 index 00000000..503cae0a --- /dev/null +++ b/www-ssl/inc/avatar/avatar319.gif diff --git a/www-ssl/inc/avatar/avatar32.gif b/www-ssl/inc/avatar/avatar32.gif Binary files differnew file mode 100755 index 00000000..5f3b5d43 --- /dev/null +++ b/www-ssl/inc/avatar/avatar32.gif diff --git a/www-ssl/inc/avatar/avatar320.gif b/www-ssl/inc/avatar/avatar320.gif Binary files differnew file mode 100755 index 00000000..0cd51805 --- /dev/null +++ b/www-ssl/inc/avatar/avatar320.gif diff --git a/www-ssl/inc/avatar/avatar321.gif b/www-ssl/inc/avatar/avatar321.gif Binary files differnew file mode 100755 index 00000000..eefbbda9 --- /dev/null +++ b/www-ssl/inc/avatar/avatar321.gif diff --git a/www-ssl/inc/avatar/avatar322.gif b/www-ssl/inc/avatar/avatar322.gif Binary files differnew file mode 100755 index 00000000..0243065b --- /dev/null +++ b/www-ssl/inc/avatar/avatar322.gif diff --git a/www-ssl/inc/avatar/avatar323.gif b/www-ssl/inc/avatar/avatar323.gif Binary files differnew file mode 100755 index 00000000..b1e08c05 --- /dev/null +++ b/www-ssl/inc/avatar/avatar323.gif diff --git a/www-ssl/inc/avatar/avatar324.gif b/www-ssl/inc/avatar/avatar324.gif Binary files differnew file mode 100755 index 00000000..a2168e48 --- /dev/null +++ b/www-ssl/inc/avatar/avatar324.gif diff --git a/www-ssl/inc/avatar/avatar325.gif b/www-ssl/inc/avatar/avatar325.gif Binary files differnew file mode 100755 index 00000000..dac85af5 --- /dev/null +++ b/www-ssl/inc/avatar/avatar325.gif diff --git a/www-ssl/inc/avatar/avatar326.gif b/www-ssl/inc/avatar/avatar326.gif Binary files differnew file mode 100755 index 00000000..afe5442f --- /dev/null +++ b/www-ssl/inc/avatar/avatar326.gif diff --git a/www-ssl/inc/avatar/avatar327.gif b/www-ssl/inc/avatar/avatar327.gif Binary files differnew file mode 100755 index 00000000..7db04c45 --- /dev/null +++ b/www-ssl/inc/avatar/avatar327.gif diff --git a/www-ssl/inc/avatar/avatar328.gif b/www-ssl/inc/avatar/avatar328.gif Binary files differnew file mode 100755 index 00000000..4d1d8a4a --- /dev/null +++ b/www-ssl/inc/avatar/avatar328.gif diff --git a/www-ssl/inc/avatar/avatar329.gif b/www-ssl/inc/avatar/avatar329.gif Binary files differnew file mode 100755 index 00000000..ede4d487 --- /dev/null +++ b/www-ssl/inc/avatar/avatar329.gif diff --git a/www-ssl/inc/avatar/avatar33.gif b/www-ssl/inc/avatar/avatar33.gif Binary files differnew file mode 100755 index 00000000..03ca160e --- /dev/null +++ b/www-ssl/inc/avatar/avatar33.gif diff --git a/www-ssl/inc/avatar/avatar330.gif b/www-ssl/inc/avatar/avatar330.gif Binary files differnew file mode 100755 index 00000000..e4a0a821 --- /dev/null +++ b/www-ssl/inc/avatar/avatar330.gif diff --git a/www-ssl/inc/avatar/avatar331.gif b/www-ssl/inc/avatar/avatar331.gif Binary files differnew file mode 100755 index 00000000..6a047501 --- /dev/null +++ b/www-ssl/inc/avatar/avatar331.gif diff --git a/www-ssl/inc/avatar/avatar332.gif b/www-ssl/inc/avatar/avatar332.gif Binary files differnew file mode 100755 index 00000000..6bde912c --- /dev/null +++ b/www-ssl/inc/avatar/avatar332.gif diff --git a/www-ssl/inc/avatar/avatar333.gif b/www-ssl/inc/avatar/avatar333.gif Binary files differnew file mode 100755 index 00000000..1bb07ba9 --- /dev/null +++ b/www-ssl/inc/avatar/avatar333.gif diff --git a/www-ssl/inc/avatar/avatar334.gif b/www-ssl/inc/avatar/avatar334.gif Binary files differnew file mode 100755 index 00000000..c4ec9f85 --- /dev/null +++ b/www-ssl/inc/avatar/avatar334.gif diff --git a/www-ssl/inc/avatar/avatar335.gif b/www-ssl/inc/avatar/avatar335.gif Binary files differnew file mode 100755 index 00000000..3ce39e43 --- /dev/null +++ b/www-ssl/inc/avatar/avatar335.gif diff --git a/www-ssl/inc/avatar/avatar336.gif b/www-ssl/inc/avatar/avatar336.gif Binary files differnew file mode 100755 index 00000000..e9876066 --- /dev/null +++ b/www-ssl/inc/avatar/avatar336.gif diff --git a/www-ssl/inc/avatar/avatar337.gif b/www-ssl/inc/avatar/avatar337.gif Binary files differnew file mode 100755 index 00000000..f4e15213 --- /dev/null +++ b/www-ssl/inc/avatar/avatar337.gif diff --git a/www-ssl/inc/avatar/avatar338.gif b/www-ssl/inc/avatar/avatar338.gif Binary files differnew file mode 100755 index 00000000..0b70f568 --- /dev/null +++ b/www-ssl/inc/avatar/avatar338.gif diff --git a/www-ssl/inc/avatar/avatar339.gif b/www-ssl/inc/avatar/avatar339.gif Binary files differnew file mode 100755 index 00000000..08afad48 --- /dev/null +++ b/www-ssl/inc/avatar/avatar339.gif diff --git a/www-ssl/inc/avatar/avatar34.gif b/www-ssl/inc/avatar/avatar34.gif Binary files differnew file mode 100755 index 00000000..49c49577 --- /dev/null +++ b/www-ssl/inc/avatar/avatar34.gif diff --git a/www-ssl/inc/avatar/avatar340.gif b/www-ssl/inc/avatar/avatar340.gif Binary files differnew file mode 100755 index 00000000..640984a3 --- /dev/null +++ b/www-ssl/inc/avatar/avatar340.gif diff --git a/www-ssl/inc/avatar/avatar341.gif b/www-ssl/inc/avatar/avatar341.gif Binary files differnew file mode 100755 index 00000000..a4556966 --- /dev/null +++ b/www-ssl/inc/avatar/avatar341.gif diff --git a/www-ssl/inc/avatar/avatar342.gif b/www-ssl/inc/avatar/avatar342.gif Binary files differnew file mode 100755 index 00000000..8022e7a2 --- /dev/null +++ b/www-ssl/inc/avatar/avatar342.gif diff --git a/www-ssl/inc/avatar/avatar343.gif b/www-ssl/inc/avatar/avatar343.gif Binary files differnew file mode 100755 index 00000000..71a99e9a --- /dev/null +++ b/www-ssl/inc/avatar/avatar343.gif diff --git a/www-ssl/inc/avatar/avatar344.gif b/www-ssl/inc/avatar/avatar344.gif Binary files differnew file mode 100755 index 00000000..fcdc99e8 --- /dev/null +++ b/www-ssl/inc/avatar/avatar344.gif diff --git a/www-ssl/inc/avatar/avatar345.gif b/www-ssl/inc/avatar/avatar345.gif Binary files differnew file mode 100755 index 00000000..57a63f4b --- /dev/null +++ b/www-ssl/inc/avatar/avatar345.gif diff --git a/www-ssl/inc/avatar/avatar346.gif b/www-ssl/inc/avatar/avatar346.gif Binary files differnew file mode 100755 index 00000000..f41dcd30 --- /dev/null +++ b/www-ssl/inc/avatar/avatar346.gif diff --git a/www-ssl/inc/avatar/avatar347.gif b/www-ssl/inc/avatar/avatar347.gif Binary files differnew file mode 100755 index 00000000..8d8a54cb --- /dev/null +++ b/www-ssl/inc/avatar/avatar347.gif diff --git a/www-ssl/inc/avatar/avatar348.gif b/www-ssl/inc/avatar/avatar348.gif Binary files differnew file mode 100755 index 00000000..7c54eb39 --- /dev/null +++ b/www-ssl/inc/avatar/avatar348.gif diff --git a/www-ssl/inc/avatar/avatar349.gif b/www-ssl/inc/avatar/avatar349.gif Binary files differnew file mode 100755 index 00000000..64de8b9e --- /dev/null +++ b/www-ssl/inc/avatar/avatar349.gif diff --git a/www-ssl/inc/avatar/avatar35.gif b/www-ssl/inc/avatar/avatar35.gif Binary files differnew file mode 100755 index 00000000..29eec4ac --- /dev/null +++ b/www-ssl/inc/avatar/avatar35.gif diff --git a/www-ssl/inc/avatar/avatar350.gif b/www-ssl/inc/avatar/avatar350.gif Binary files differnew file mode 100755 index 00000000..c57f1061 --- /dev/null +++ b/www-ssl/inc/avatar/avatar350.gif diff --git a/www-ssl/inc/avatar/avatar351.gif b/www-ssl/inc/avatar/avatar351.gif Binary files differnew file mode 100755 index 00000000..8ccb8185 --- /dev/null +++ b/www-ssl/inc/avatar/avatar351.gif diff --git a/www-ssl/inc/avatar/avatar352.gif b/www-ssl/inc/avatar/avatar352.gif Binary files differnew file mode 100755 index 00000000..8737e658 --- /dev/null +++ b/www-ssl/inc/avatar/avatar352.gif diff --git a/www-ssl/inc/avatar/avatar353.gif b/www-ssl/inc/avatar/avatar353.gif Binary files differnew file mode 100755 index 00000000..b6da0623 --- /dev/null +++ b/www-ssl/inc/avatar/avatar353.gif diff --git a/www-ssl/inc/avatar/avatar354.gif b/www-ssl/inc/avatar/avatar354.gif Binary files differnew file mode 100755 index 00000000..7565e6f9 --- /dev/null +++ b/www-ssl/inc/avatar/avatar354.gif diff --git a/www-ssl/inc/avatar/avatar355.gif b/www-ssl/inc/avatar/avatar355.gif Binary files differnew file mode 100755 index 00000000..3b08b30f --- /dev/null +++ b/www-ssl/inc/avatar/avatar355.gif diff --git a/www-ssl/inc/avatar/avatar356.gif b/www-ssl/inc/avatar/avatar356.gif Binary files differnew file mode 100755 index 00000000..7d0dc95b --- /dev/null +++ b/www-ssl/inc/avatar/avatar356.gif diff --git a/www-ssl/inc/avatar/avatar358.gif b/www-ssl/inc/avatar/avatar358.gif Binary files differnew file mode 100755 index 00000000..2dc844a5 --- /dev/null +++ b/www-ssl/inc/avatar/avatar358.gif diff --git a/www-ssl/inc/avatar/avatar359.gif b/www-ssl/inc/avatar/avatar359.gif Binary files differnew file mode 100755 index 00000000..8ac3f7fd --- /dev/null +++ b/www-ssl/inc/avatar/avatar359.gif diff --git a/www-ssl/inc/avatar/avatar36.gif b/www-ssl/inc/avatar/avatar36.gif Binary files differnew file mode 100755 index 00000000..cab160e5 --- /dev/null +++ b/www-ssl/inc/avatar/avatar36.gif diff --git a/www-ssl/inc/avatar/avatar360.gif b/www-ssl/inc/avatar/avatar360.gif Binary files differnew file mode 100755 index 00000000..b01fb184 --- /dev/null +++ b/www-ssl/inc/avatar/avatar360.gif diff --git a/www-ssl/inc/avatar/avatar361.gif b/www-ssl/inc/avatar/avatar361.gif Binary files differnew file mode 100755 index 00000000..c4573da7 --- /dev/null +++ b/www-ssl/inc/avatar/avatar361.gif diff --git a/www-ssl/inc/avatar/avatar362.gif b/www-ssl/inc/avatar/avatar362.gif Binary files differnew file mode 100755 index 00000000..189c9276 --- /dev/null +++ b/www-ssl/inc/avatar/avatar362.gif diff --git a/www-ssl/inc/avatar/avatar363.gif b/www-ssl/inc/avatar/avatar363.gif Binary files differnew file mode 100755 index 00000000..8ff0b39c --- /dev/null +++ b/www-ssl/inc/avatar/avatar363.gif diff --git a/www-ssl/inc/avatar/avatar364.gif b/www-ssl/inc/avatar/avatar364.gif Binary files differnew file mode 100755 index 00000000..8f22d79f --- /dev/null +++ b/www-ssl/inc/avatar/avatar364.gif diff --git a/www-ssl/inc/avatar/avatar365.gif b/www-ssl/inc/avatar/avatar365.gif Binary files differnew file mode 100755 index 00000000..950aea2a --- /dev/null +++ b/www-ssl/inc/avatar/avatar365.gif diff --git a/www-ssl/inc/avatar/avatar366.gif b/www-ssl/inc/avatar/avatar366.gif Binary files differnew file mode 100755 index 00000000..b1dc12d2 --- /dev/null +++ b/www-ssl/inc/avatar/avatar366.gif diff --git a/www-ssl/inc/avatar/avatar367.gif b/www-ssl/inc/avatar/avatar367.gif Binary files differnew file mode 100755 index 00000000..0de8fe4b --- /dev/null +++ b/www-ssl/inc/avatar/avatar367.gif diff --git a/www-ssl/inc/avatar/avatar368.gif b/www-ssl/inc/avatar/avatar368.gif Binary files differnew file mode 100755 index 00000000..b3f7e0f6 --- /dev/null +++ b/www-ssl/inc/avatar/avatar368.gif diff --git a/www-ssl/inc/avatar/avatar369.gif b/www-ssl/inc/avatar/avatar369.gif Binary files differnew file mode 100755 index 00000000..0efb8393 --- /dev/null +++ b/www-ssl/inc/avatar/avatar369.gif diff --git a/www-ssl/inc/avatar/avatar37.gif b/www-ssl/inc/avatar/avatar37.gif Binary files differnew file mode 100755 index 00000000..32b73e09 --- /dev/null +++ b/www-ssl/inc/avatar/avatar37.gif diff --git a/www-ssl/inc/avatar/avatar370.gif b/www-ssl/inc/avatar/avatar370.gif Binary files differnew file mode 100755 index 00000000..d5dbc5df --- /dev/null +++ b/www-ssl/inc/avatar/avatar370.gif diff --git a/www-ssl/inc/avatar/avatar371.gif b/www-ssl/inc/avatar/avatar371.gif Binary files differnew file mode 100755 index 00000000..868546f7 --- /dev/null +++ b/www-ssl/inc/avatar/avatar371.gif diff --git a/www-ssl/inc/avatar/avatar372.gif b/www-ssl/inc/avatar/avatar372.gif Binary files differnew file mode 100755 index 00000000..6458885d --- /dev/null +++ b/www-ssl/inc/avatar/avatar372.gif diff --git a/www-ssl/inc/avatar/avatar373.gif b/www-ssl/inc/avatar/avatar373.gif Binary files differnew file mode 100755 index 00000000..b1e04070 --- /dev/null +++ b/www-ssl/inc/avatar/avatar373.gif diff --git a/www-ssl/inc/avatar/avatar374.gif b/www-ssl/inc/avatar/avatar374.gif Binary files differnew file mode 100755 index 00000000..e29653ba --- /dev/null +++ b/www-ssl/inc/avatar/avatar374.gif diff --git a/www-ssl/inc/avatar/avatar375.gif b/www-ssl/inc/avatar/avatar375.gif Binary files differnew file mode 100755 index 00000000..e5aefc87 --- /dev/null +++ b/www-ssl/inc/avatar/avatar375.gif diff --git a/www-ssl/inc/avatar/avatar376.gif b/www-ssl/inc/avatar/avatar376.gif Binary files differnew file mode 100755 index 00000000..b5785477 --- /dev/null +++ b/www-ssl/inc/avatar/avatar376.gif diff --git a/www-ssl/inc/avatar/avatar377.gif b/www-ssl/inc/avatar/avatar377.gif Binary files differnew file mode 100755 index 00000000..67fd7cf4 --- /dev/null +++ b/www-ssl/inc/avatar/avatar377.gif diff --git a/www-ssl/inc/avatar/avatar378.gif b/www-ssl/inc/avatar/avatar378.gif Binary files differnew file mode 100755 index 00000000..c3924d9c --- /dev/null +++ b/www-ssl/inc/avatar/avatar378.gif diff --git a/www-ssl/inc/avatar/avatar379.gif b/www-ssl/inc/avatar/avatar379.gif Binary files differnew file mode 100755 index 00000000..def8a49d --- /dev/null +++ b/www-ssl/inc/avatar/avatar379.gif diff --git a/www-ssl/inc/avatar/avatar38.gif b/www-ssl/inc/avatar/avatar38.gif Binary files differnew file mode 100755 index 00000000..109ce01a --- /dev/null +++ b/www-ssl/inc/avatar/avatar38.gif diff --git a/www-ssl/inc/avatar/avatar380.gif b/www-ssl/inc/avatar/avatar380.gif Binary files differnew file mode 100755 index 00000000..d02ed852 --- /dev/null +++ b/www-ssl/inc/avatar/avatar380.gif diff --git a/www-ssl/inc/avatar/avatar381.gif b/www-ssl/inc/avatar/avatar381.gif Binary files differnew file mode 100755 index 00000000..762871c2 --- /dev/null +++ b/www-ssl/inc/avatar/avatar381.gif diff --git a/www-ssl/inc/avatar/avatar382.gif b/www-ssl/inc/avatar/avatar382.gif Binary files differnew file mode 100755 index 00000000..201872f9 --- /dev/null +++ b/www-ssl/inc/avatar/avatar382.gif diff --git a/www-ssl/inc/avatar/avatar383.gif b/www-ssl/inc/avatar/avatar383.gif Binary files differnew file mode 100755 index 00000000..a71bbad9 --- /dev/null +++ b/www-ssl/inc/avatar/avatar383.gif diff --git a/www-ssl/inc/avatar/avatar384.gif b/www-ssl/inc/avatar/avatar384.gif Binary files differnew file mode 100755 index 00000000..6a9e2a45 --- /dev/null +++ b/www-ssl/inc/avatar/avatar384.gif diff --git a/www-ssl/inc/avatar/avatar385.gif b/www-ssl/inc/avatar/avatar385.gif Binary files differnew file mode 100755 index 00000000..8b51fdef --- /dev/null +++ b/www-ssl/inc/avatar/avatar385.gif diff --git a/www-ssl/inc/avatar/avatar386.gif b/www-ssl/inc/avatar/avatar386.gif Binary files differnew file mode 100755 index 00000000..e1d42707 --- /dev/null +++ b/www-ssl/inc/avatar/avatar386.gif diff --git a/www-ssl/inc/avatar/avatar387.gif b/www-ssl/inc/avatar/avatar387.gif Binary files differnew file mode 100755 index 00000000..186869c5 --- /dev/null +++ b/www-ssl/inc/avatar/avatar387.gif diff --git a/www-ssl/inc/avatar/avatar388.gif b/www-ssl/inc/avatar/avatar388.gif Binary files differnew file mode 100755 index 00000000..369f01bb --- /dev/null +++ b/www-ssl/inc/avatar/avatar388.gif diff --git a/www-ssl/inc/avatar/avatar389.gif b/www-ssl/inc/avatar/avatar389.gif Binary files differnew file mode 100755 index 00000000..d0cb95e4 --- /dev/null +++ b/www-ssl/inc/avatar/avatar389.gif diff --git a/www-ssl/inc/avatar/avatar39.gif b/www-ssl/inc/avatar/avatar39.gif Binary files differnew file mode 100755 index 00000000..307632c4 --- /dev/null +++ b/www-ssl/inc/avatar/avatar39.gif diff --git a/www-ssl/inc/avatar/avatar390.gif b/www-ssl/inc/avatar/avatar390.gif Binary files differnew file mode 100755 index 00000000..901e2a4e --- /dev/null +++ b/www-ssl/inc/avatar/avatar390.gif diff --git a/www-ssl/inc/avatar/avatar391.gif b/www-ssl/inc/avatar/avatar391.gif Binary files differnew file mode 100755 index 00000000..65f58627 --- /dev/null +++ b/www-ssl/inc/avatar/avatar391.gif diff --git a/www-ssl/inc/avatar/avatar393.gif b/www-ssl/inc/avatar/avatar393.gif Binary files differnew file mode 100755 index 00000000..693be70b --- /dev/null +++ b/www-ssl/inc/avatar/avatar393.gif diff --git a/www-ssl/inc/avatar/avatar394.gif b/www-ssl/inc/avatar/avatar394.gif Binary files differnew file mode 100755 index 00000000..baf43448 --- /dev/null +++ b/www-ssl/inc/avatar/avatar394.gif diff --git a/www-ssl/inc/avatar/avatar395.gif b/www-ssl/inc/avatar/avatar395.gif Binary files differnew file mode 100755 index 00000000..bff14e63 --- /dev/null +++ b/www-ssl/inc/avatar/avatar395.gif diff --git a/www-ssl/inc/avatar/avatar396.gif b/www-ssl/inc/avatar/avatar396.gif Binary files differnew file mode 100755 index 00000000..882469c0 --- /dev/null +++ b/www-ssl/inc/avatar/avatar396.gif diff --git a/www-ssl/inc/avatar/avatar397.gif b/www-ssl/inc/avatar/avatar397.gif Binary files differnew file mode 100755 index 00000000..de246f0d --- /dev/null +++ b/www-ssl/inc/avatar/avatar397.gif diff --git a/www-ssl/inc/avatar/avatar398.gif b/www-ssl/inc/avatar/avatar398.gif Binary files differnew file mode 100755 index 00000000..07bae656 --- /dev/null +++ b/www-ssl/inc/avatar/avatar398.gif diff --git a/www-ssl/inc/avatar/avatar399.gif b/www-ssl/inc/avatar/avatar399.gif Binary files differnew file mode 100755 index 00000000..c3b92047 --- /dev/null +++ b/www-ssl/inc/avatar/avatar399.gif diff --git a/www-ssl/inc/avatar/avatar4.gif b/www-ssl/inc/avatar/avatar4.gif Binary files differnew file mode 100755 index 00000000..e525aa86 --- /dev/null +++ b/www-ssl/inc/avatar/avatar4.gif diff --git a/www-ssl/inc/avatar/avatar40.gif b/www-ssl/inc/avatar/avatar40.gif Binary files differnew file mode 100755 index 00000000..34e32133 --- /dev/null +++ b/www-ssl/inc/avatar/avatar40.gif diff --git a/www-ssl/inc/avatar/avatar400.gif b/www-ssl/inc/avatar/avatar400.gif Binary files differnew file mode 100755 index 00000000..fe77d5a7 --- /dev/null +++ b/www-ssl/inc/avatar/avatar400.gif diff --git a/www-ssl/inc/avatar/avatar401.gif b/www-ssl/inc/avatar/avatar401.gif Binary files differnew file mode 100755 index 00000000..a4d84be4 --- /dev/null +++ b/www-ssl/inc/avatar/avatar401.gif diff --git a/www-ssl/inc/avatar/avatar402.gif b/www-ssl/inc/avatar/avatar402.gif Binary files differnew file mode 100755 index 00000000..f8b7834f --- /dev/null +++ b/www-ssl/inc/avatar/avatar402.gif diff --git a/www-ssl/inc/avatar/avatar403.gif b/www-ssl/inc/avatar/avatar403.gif Binary files differnew file mode 100755 index 00000000..7f5f4bcb --- /dev/null +++ b/www-ssl/inc/avatar/avatar403.gif diff --git a/www-ssl/inc/avatar/avatar404.gif b/www-ssl/inc/avatar/avatar404.gif Binary files differnew file mode 100755 index 00000000..00ac94bc --- /dev/null +++ b/www-ssl/inc/avatar/avatar404.gif diff --git a/www-ssl/inc/avatar/avatar405.gif b/www-ssl/inc/avatar/avatar405.gif Binary files differnew file mode 100755 index 00000000..c8b2506c --- /dev/null +++ b/www-ssl/inc/avatar/avatar405.gif diff --git a/www-ssl/inc/avatar/avatar406.gif b/www-ssl/inc/avatar/avatar406.gif Binary files differnew file mode 100755 index 00000000..831ccfc6 --- /dev/null +++ b/www-ssl/inc/avatar/avatar406.gif diff --git a/www-ssl/inc/avatar/avatar407.gif b/www-ssl/inc/avatar/avatar407.gif Binary files differnew file mode 100755 index 00000000..9b989638 --- /dev/null +++ b/www-ssl/inc/avatar/avatar407.gif diff --git a/www-ssl/inc/avatar/avatar408.gif b/www-ssl/inc/avatar/avatar408.gif Binary files differnew file mode 100755 index 00000000..5699f755 --- /dev/null +++ b/www-ssl/inc/avatar/avatar408.gif diff --git a/www-ssl/inc/avatar/avatar409.gif b/www-ssl/inc/avatar/avatar409.gif Binary files differnew file mode 100755 index 00000000..4300f609 --- /dev/null +++ b/www-ssl/inc/avatar/avatar409.gif diff --git a/www-ssl/inc/avatar/avatar41.gif b/www-ssl/inc/avatar/avatar41.gif Binary files differnew file mode 100755 index 00000000..f6f631ba --- /dev/null +++ b/www-ssl/inc/avatar/avatar41.gif diff --git a/www-ssl/inc/avatar/avatar410.gif b/www-ssl/inc/avatar/avatar410.gif Binary files differnew file mode 100755 index 00000000..a2ddb3e0 --- /dev/null +++ b/www-ssl/inc/avatar/avatar410.gif diff --git a/www-ssl/inc/avatar/avatar411.gif b/www-ssl/inc/avatar/avatar411.gif Binary files differnew file mode 100755 index 00000000..8658510f --- /dev/null +++ b/www-ssl/inc/avatar/avatar411.gif diff --git a/www-ssl/inc/avatar/avatar412.gif b/www-ssl/inc/avatar/avatar412.gif Binary files differnew file mode 100755 index 00000000..1a4bae4b --- /dev/null +++ b/www-ssl/inc/avatar/avatar412.gif diff --git a/www-ssl/inc/avatar/avatar413.gif b/www-ssl/inc/avatar/avatar413.gif Binary files differnew file mode 100755 index 00000000..14eb3a92 --- /dev/null +++ b/www-ssl/inc/avatar/avatar413.gif diff --git a/www-ssl/inc/avatar/avatar414.gif b/www-ssl/inc/avatar/avatar414.gif Binary files differnew file mode 100755 index 00000000..5f23cc79 --- /dev/null +++ b/www-ssl/inc/avatar/avatar414.gif diff --git a/www-ssl/inc/avatar/avatar415.gif b/www-ssl/inc/avatar/avatar415.gif Binary files differnew file mode 100755 index 00000000..c7312a64 --- /dev/null +++ b/www-ssl/inc/avatar/avatar415.gif diff --git a/www-ssl/inc/avatar/avatar416.gif b/www-ssl/inc/avatar/avatar416.gif Binary files differnew file mode 100755 index 00000000..fee5e41b --- /dev/null +++ b/www-ssl/inc/avatar/avatar416.gif diff --git a/www-ssl/inc/avatar/avatar417.gif b/www-ssl/inc/avatar/avatar417.gif Binary files differnew file mode 100755 index 00000000..d3b3dbbe --- /dev/null +++ b/www-ssl/inc/avatar/avatar417.gif diff --git a/www-ssl/inc/avatar/avatar418.gif b/www-ssl/inc/avatar/avatar418.gif Binary files differnew file mode 100755 index 00000000..3f648c4f --- /dev/null +++ b/www-ssl/inc/avatar/avatar418.gif diff --git a/www-ssl/inc/avatar/avatar419.gif b/www-ssl/inc/avatar/avatar419.gif Binary files differnew file mode 100755 index 00000000..87587fe5 --- /dev/null +++ b/www-ssl/inc/avatar/avatar419.gif diff --git a/www-ssl/inc/avatar/avatar42.gif b/www-ssl/inc/avatar/avatar42.gif Binary files differnew file mode 100755 index 00000000..5828d2af --- /dev/null +++ b/www-ssl/inc/avatar/avatar42.gif diff --git a/www-ssl/inc/avatar/avatar420.gif b/www-ssl/inc/avatar/avatar420.gif Binary files differnew file mode 100755 index 00000000..2aca0620 --- /dev/null +++ b/www-ssl/inc/avatar/avatar420.gif diff --git a/www-ssl/inc/avatar/avatar421.gif b/www-ssl/inc/avatar/avatar421.gif Binary files differnew file mode 100755 index 00000000..152f5252 --- /dev/null +++ b/www-ssl/inc/avatar/avatar421.gif diff --git a/www-ssl/inc/avatar/avatar422.gif b/www-ssl/inc/avatar/avatar422.gif Binary files differnew file mode 100755 index 00000000..228f17d5 --- /dev/null +++ b/www-ssl/inc/avatar/avatar422.gif diff --git a/www-ssl/inc/avatar/avatar423.gif b/www-ssl/inc/avatar/avatar423.gif Binary files differnew file mode 100755 index 00000000..5f25f9c4 --- /dev/null +++ b/www-ssl/inc/avatar/avatar423.gif diff --git a/www-ssl/inc/avatar/avatar424.gif b/www-ssl/inc/avatar/avatar424.gif Binary files differnew file mode 100755 index 00000000..d8e9b029 --- /dev/null +++ b/www-ssl/inc/avatar/avatar424.gif diff --git a/www-ssl/inc/avatar/avatar425.gif b/www-ssl/inc/avatar/avatar425.gif Binary files differnew file mode 100755 index 00000000..ec35e12b --- /dev/null +++ b/www-ssl/inc/avatar/avatar425.gif diff --git a/www-ssl/inc/avatar/avatar426.gif b/www-ssl/inc/avatar/avatar426.gif Binary files differnew file mode 100755 index 00000000..9e13452d --- /dev/null +++ b/www-ssl/inc/avatar/avatar426.gif diff --git a/www-ssl/inc/avatar/avatar427.gif b/www-ssl/inc/avatar/avatar427.gif Binary files differnew file mode 100755 index 00000000..aca392ec --- /dev/null +++ b/www-ssl/inc/avatar/avatar427.gif diff --git a/www-ssl/inc/avatar/avatar428.gif b/www-ssl/inc/avatar/avatar428.gif Binary files differnew file mode 100755 index 00000000..2663bb30 --- /dev/null +++ b/www-ssl/inc/avatar/avatar428.gif diff --git a/www-ssl/inc/avatar/avatar429.gif b/www-ssl/inc/avatar/avatar429.gif Binary files differnew file mode 100755 index 00000000..f6ae8487 --- /dev/null +++ b/www-ssl/inc/avatar/avatar429.gif diff --git a/www-ssl/inc/avatar/avatar43.gif b/www-ssl/inc/avatar/avatar43.gif Binary files differnew file mode 100755 index 00000000..4ba29bd2 --- /dev/null +++ b/www-ssl/inc/avatar/avatar43.gif diff --git a/www-ssl/inc/avatar/avatar430.gif b/www-ssl/inc/avatar/avatar430.gif Binary files differnew file mode 100755 index 00000000..f64e8229 --- /dev/null +++ b/www-ssl/inc/avatar/avatar430.gif diff --git a/www-ssl/inc/avatar/avatar431.gif b/www-ssl/inc/avatar/avatar431.gif Binary files differnew file mode 100755 index 00000000..28791161 --- /dev/null +++ b/www-ssl/inc/avatar/avatar431.gif diff --git a/www-ssl/inc/avatar/avatar432.gif b/www-ssl/inc/avatar/avatar432.gif Binary files differnew file mode 100755 index 00000000..7edc6132 --- /dev/null +++ b/www-ssl/inc/avatar/avatar432.gif diff --git a/www-ssl/inc/avatar/avatar433.gif b/www-ssl/inc/avatar/avatar433.gif Binary files differnew file mode 100755 index 00000000..b300940b --- /dev/null +++ b/www-ssl/inc/avatar/avatar433.gif diff --git a/www-ssl/inc/avatar/avatar434.gif b/www-ssl/inc/avatar/avatar434.gif Binary files differnew file mode 100755 index 00000000..020863e3 --- /dev/null +++ b/www-ssl/inc/avatar/avatar434.gif diff --git a/www-ssl/inc/avatar/avatar436.gif b/www-ssl/inc/avatar/avatar436.gif Binary files differnew file mode 100755 index 00000000..7698c886 --- /dev/null +++ b/www-ssl/inc/avatar/avatar436.gif diff --git a/www-ssl/inc/avatar/avatar437.gif b/www-ssl/inc/avatar/avatar437.gif Binary files differnew file mode 100755 index 00000000..262ace97 --- /dev/null +++ b/www-ssl/inc/avatar/avatar437.gif diff --git a/www-ssl/inc/avatar/avatar438.gif b/www-ssl/inc/avatar/avatar438.gif Binary files differnew file mode 100755 index 00000000..84033e11 --- /dev/null +++ b/www-ssl/inc/avatar/avatar438.gif diff --git a/www-ssl/inc/avatar/avatar439.gif b/www-ssl/inc/avatar/avatar439.gif Binary files differnew file mode 100755 index 00000000..04fb6876 --- /dev/null +++ b/www-ssl/inc/avatar/avatar439.gif diff --git a/www-ssl/inc/avatar/avatar44.gif b/www-ssl/inc/avatar/avatar44.gif Binary files differnew file mode 100755 index 00000000..9db2cd9f --- /dev/null +++ b/www-ssl/inc/avatar/avatar44.gif diff --git a/www-ssl/inc/avatar/avatar440.gif b/www-ssl/inc/avatar/avatar440.gif Binary files differnew file mode 100755 index 00000000..b414dfcb --- /dev/null +++ b/www-ssl/inc/avatar/avatar440.gif diff --git a/www-ssl/inc/avatar/avatar441.gif b/www-ssl/inc/avatar/avatar441.gif Binary files differnew file mode 100755 index 00000000..db79f0c8 --- /dev/null +++ b/www-ssl/inc/avatar/avatar441.gif diff --git a/www-ssl/inc/avatar/avatar442.gif b/www-ssl/inc/avatar/avatar442.gif Binary files differnew file mode 100755 index 00000000..341395ac --- /dev/null +++ b/www-ssl/inc/avatar/avatar442.gif diff --git a/www-ssl/inc/avatar/avatar443.gif b/www-ssl/inc/avatar/avatar443.gif Binary files differnew file mode 100755 index 00000000..063034ac --- /dev/null +++ b/www-ssl/inc/avatar/avatar443.gif diff --git a/www-ssl/inc/avatar/avatar444.gif b/www-ssl/inc/avatar/avatar444.gif Binary files differnew file mode 100755 index 00000000..c4f6aa92 --- /dev/null +++ b/www-ssl/inc/avatar/avatar444.gif diff --git a/www-ssl/inc/avatar/avatar445.gif b/www-ssl/inc/avatar/avatar445.gif Binary files differnew file mode 100755 index 00000000..5c26ccb3 --- /dev/null +++ b/www-ssl/inc/avatar/avatar445.gif diff --git a/www-ssl/inc/avatar/avatar446.gif b/www-ssl/inc/avatar/avatar446.gif Binary files differnew file mode 100755 index 00000000..0e14a043 --- /dev/null +++ b/www-ssl/inc/avatar/avatar446.gif diff --git a/www-ssl/inc/avatar/avatar447.gif b/www-ssl/inc/avatar/avatar447.gif Binary files differnew file mode 100755 index 00000000..8622aafb --- /dev/null +++ b/www-ssl/inc/avatar/avatar447.gif diff --git a/www-ssl/inc/avatar/avatar448.gif b/www-ssl/inc/avatar/avatar448.gif Binary files differnew file mode 100755 index 00000000..3e35bfe4 --- /dev/null +++ b/www-ssl/inc/avatar/avatar448.gif diff --git a/www-ssl/inc/avatar/avatar449.gif b/www-ssl/inc/avatar/avatar449.gif Binary files differnew file mode 100755 index 00000000..d53551f8 --- /dev/null +++ b/www-ssl/inc/avatar/avatar449.gif diff --git a/www-ssl/inc/avatar/avatar45.gif b/www-ssl/inc/avatar/avatar45.gif Binary files differnew file mode 100755 index 00000000..c216f489 --- /dev/null +++ b/www-ssl/inc/avatar/avatar45.gif diff --git a/www-ssl/inc/avatar/avatar450.gif b/www-ssl/inc/avatar/avatar450.gif Binary files differnew file mode 100755 index 00000000..6e0ab918 --- /dev/null +++ b/www-ssl/inc/avatar/avatar450.gif diff --git a/www-ssl/inc/avatar/avatar451.gif b/www-ssl/inc/avatar/avatar451.gif Binary files differnew file mode 100755 index 00000000..7d0d79bd --- /dev/null +++ b/www-ssl/inc/avatar/avatar451.gif diff --git a/www-ssl/inc/avatar/avatar452.gif b/www-ssl/inc/avatar/avatar452.gif Binary files differnew file mode 100755 index 00000000..c64e07fc --- /dev/null +++ b/www-ssl/inc/avatar/avatar452.gif diff --git a/www-ssl/inc/avatar/avatar453.gif b/www-ssl/inc/avatar/avatar453.gif Binary files differnew file mode 100755 index 00000000..22f597a4 --- /dev/null +++ b/www-ssl/inc/avatar/avatar453.gif diff --git a/www-ssl/inc/avatar/avatar454.gif b/www-ssl/inc/avatar/avatar454.gif Binary files differnew file mode 100755 index 00000000..81fd63c4 --- /dev/null +++ b/www-ssl/inc/avatar/avatar454.gif diff --git a/www-ssl/inc/avatar/avatar455.gif b/www-ssl/inc/avatar/avatar455.gif Binary files differnew file mode 100755 index 00000000..8e6e39ee --- /dev/null +++ b/www-ssl/inc/avatar/avatar455.gif diff --git a/www-ssl/inc/avatar/avatar456.gif b/www-ssl/inc/avatar/avatar456.gif Binary files differnew file mode 100755 index 00000000..6fba116c --- /dev/null +++ b/www-ssl/inc/avatar/avatar456.gif diff --git a/www-ssl/inc/avatar/avatar457.gif b/www-ssl/inc/avatar/avatar457.gif Binary files differnew file mode 100755 index 00000000..1a685aa9 --- /dev/null +++ b/www-ssl/inc/avatar/avatar457.gif diff --git a/www-ssl/inc/avatar/avatar458.gif b/www-ssl/inc/avatar/avatar458.gif Binary files differnew file mode 100755 index 00000000..20f5e33a --- /dev/null +++ b/www-ssl/inc/avatar/avatar458.gif diff --git a/www-ssl/inc/avatar/avatar459.gif b/www-ssl/inc/avatar/avatar459.gif Binary files differnew file mode 100755 index 00000000..049cfc17 --- /dev/null +++ b/www-ssl/inc/avatar/avatar459.gif diff --git a/www-ssl/inc/avatar/avatar46.gif b/www-ssl/inc/avatar/avatar46.gif Binary files differnew file mode 100755 index 00000000..112346ca --- /dev/null +++ b/www-ssl/inc/avatar/avatar46.gif diff --git a/www-ssl/inc/avatar/avatar460.gif b/www-ssl/inc/avatar/avatar460.gif Binary files differnew file mode 100755 index 00000000..155e84b5 --- /dev/null +++ b/www-ssl/inc/avatar/avatar460.gif diff --git a/www-ssl/inc/avatar/avatar461.gif b/www-ssl/inc/avatar/avatar461.gif Binary files differnew file mode 100755 index 00000000..28057664 --- /dev/null +++ b/www-ssl/inc/avatar/avatar461.gif diff --git a/www-ssl/inc/avatar/avatar462.gif b/www-ssl/inc/avatar/avatar462.gif Binary files differnew file mode 100755 index 00000000..acd3d942 --- /dev/null +++ b/www-ssl/inc/avatar/avatar462.gif diff --git a/www-ssl/inc/avatar/avatar463.gif b/www-ssl/inc/avatar/avatar463.gif Binary files differnew file mode 100755 index 00000000..caf0b9c5 --- /dev/null +++ b/www-ssl/inc/avatar/avatar463.gif diff --git a/www-ssl/inc/avatar/avatar464.gif b/www-ssl/inc/avatar/avatar464.gif Binary files differnew file mode 100755 index 00000000..30a066f3 --- /dev/null +++ b/www-ssl/inc/avatar/avatar464.gif diff --git a/www-ssl/inc/avatar/avatar465.gif b/www-ssl/inc/avatar/avatar465.gif Binary files differnew file mode 100755 index 00000000..768c4003 --- /dev/null +++ b/www-ssl/inc/avatar/avatar465.gif diff --git a/www-ssl/inc/avatar/avatar466.gif b/www-ssl/inc/avatar/avatar466.gif Binary files differnew file mode 100755 index 00000000..ddf8c54c --- /dev/null +++ b/www-ssl/inc/avatar/avatar466.gif diff --git a/www-ssl/inc/avatar/avatar467.gif b/www-ssl/inc/avatar/avatar467.gif Binary files differnew file mode 100755 index 00000000..c293c4c8 --- /dev/null +++ b/www-ssl/inc/avatar/avatar467.gif diff --git a/www-ssl/inc/avatar/avatar468.gif b/www-ssl/inc/avatar/avatar468.gif Binary files differnew file mode 100755 index 00000000..ec0c778f --- /dev/null +++ b/www-ssl/inc/avatar/avatar468.gif diff --git a/www-ssl/inc/avatar/avatar469.gif b/www-ssl/inc/avatar/avatar469.gif Binary files differnew file mode 100755 index 00000000..12a62367 --- /dev/null +++ b/www-ssl/inc/avatar/avatar469.gif diff --git a/www-ssl/inc/avatar/avatar47.gif b/www-ssl/inc/avatar/avatar47.gif Binary files differnew file mode 100755 index 00000000..f9edc8c9 --- /dev/null +++ b/www-ssl/inc/avatar/avatar47.gif diff --git a/www-ssl/inc/avatar/avatar470.gif b/www-ssl/inc/avatar/avatar470.gif Binary files differnew file mode 100755 index 00000000..a6feb187 --- /dev/null +++ b/www-ssl/inc/avatar/avatar470.gif diff --git a/www-ssl/inc/avatar/avatar471.gif b/www-ssl/inc/avatar/avatar471.gif Binary files differnew file mode 100755 index 00000000..3ce796c4 --- /dev/null +++ b/www-ssl/inc/avatar/avatar471.gif diff --git a/www-ssl/inc/avatar/avatar472.gif b/www-ssl/inc/avatar/avatar472.gif Binary files differnew file mode 100755 index 00000000..467432c9 --- /dev/null +++ b/www-ssl/inc/avatar/avatar472.gif diff --git a/www-ssl/inc/avatar/avatar473.gif b/www-ssl/inc/avatar/avatar473.gif Binary files differnew file mode 100755 index 00000000..47bf9a19 --- /dev/null +++ b/www-ssl/inc/avatar/avatar473.gif diff --git a/www-ssl/inc/avatar/avatar474.gif b/www-ssl/inc/avatar/avatar474.gif Binary files differnew file mode 100755 index 00000000..7518dc8d --- /dev/null +++ b/www-ssl/inc/avatar/avatar474.gif diff --git a/www-ssl/inc/avatar/avatar475.gif b/www-ssl/inc/avatar/avatar475.gif Binary files differnew file mode 100755 index 00000000..1cd12980 --- /dev/null +++ b/www-ssl/inc/avatar/avatar475.gif diff --git a/www-ssl/inc/avatar/avatar476.gif b/www-ssl/inc/avatar/avatar476.gif Binary files differnew file mode 100755 index 00000000..b300940b --- /dev/null +++ b/www-ssl/inc/avatar/avatar476.gif diff --git a/www-ssl/inc/avatar/avatar477.gif b/www-ssl/inc/avatar/avatar477.gif Binary files differnew file mode 100755 index 00000000..d2ea55a0 --- /dev/null +++ b/www-ssl/inc/avatar/avatar477.gif diff --git a/www-ssl/inc/avatar/avatar478.gif b/www-ssl/inc/avatar/avatar478.gif Binary files differnew file mode 100755 index 00000000..924b2282 --- /dev/null +++ b/www-ssl/inc/avatar/avatar478.gif diff --git a/www-ssl/inc/avatar/avatar479.gif b/www-ssl/inc/avatar/avatar479.gif Binary files differnew file mode 100755 index 00000000..1b4756ee --- /dev/null +++ b/www-ssl/inc/avatar/avatar479.gif diff --git a/www-ssl/inc/avatar/avatar48.gif b/www-ssl/inc/avatar/avatar48.gif Binary files differnew file mode 100755 index 00000000..c34d4a50 --- /dev/null +++ b/www-ssl/inc/avatar/avatar48.gif diff --git a/www-ssl/inc/avatar/avatar480.gif b/www-ssl/inc/avatar/avatar480.gif Binary files differnew file mode 100755 index 00000000..5fa9878f --- /dev/null +++ b/www-ssl/inc/avatar/avatar480.gif diff --git a/www-ssl/inc/avatar/avatar481.gif b/www-ssl/inc/avatar/avatar481.gif Binary files differnew file mode 100755 index 00000000..f48cf52f --- /dev/null +++ b/www-ssl/inc/avatar/avatar481.gif diff --git a/www-ssl/inc/avatar/avatar482.gif b/www-ssl/inc/avatar/avatar482.gif Binary files differnew file mode 100755 index 00000000..754fa21c --- /dev/null +++ b/www-ssl/inc/avatar/avatar482.gif diff --git a/www-ssl/inc/avatar/avatar483.gif b/www-ssl/inc/avatar/avatar483.gif Binary files differnew file mode 100755 index 00000000..d72a4c09 --- /dev/null +++ b/www-ssl/inc/avatar/avatar483.gif diff --git a/www-ssl/inc/avatar/avatar484.gif b/www-ssl/inc/avatar/avatar484.gif Binary files differnew file mode 100755 index 00000000..7429a913 --- /dev/null +++ b/www-ssl/inc/avatar/avatar484.gif diff --git a/www-ssl/inc/avatar/avatar485.gif b/www-ssl/inc/avatar/avatar485.gif Binary files differnew file mode 100755 index 00000000..aab93132 --- /dev/null +++ b/www-ssl/inc/avatar/avatar485.gif diff --git a/www-ssl/inc/avatar/avatar486.gif b/www-ssl/inc/avatar/avatar486.gif Binary files differnew file mode 100755 index 00000000..99278401 --- /dev/null +++ b/www-ssl/inc/avatar/avatar486.gif diff --git a/www-ssl/inc/avatar/avatar487.gif b/www-ssl/inc/avatar/avatar487.gif Binary files differnew file mode 100755 index 00000000..2e41a5e9 --- /dev/null +++ b/www-ssl/inc/avatar/avatar487.gif diff --git a/www-ssl/inc/avatar/avatar488.gif b/www-ssl/inc/avatar/avatar488.gif Binary files differnew file mode 100755 index 00000000..3444526d --- /dev/null +++ b/www-ssl/inc/avatar/avatar488.gif diff --git a/www-ssl/inc/avatar/avatar489.gif b/www-ssl/inc/avatar/avatar489.gif Binary files differnew file mode 100755 index 00000000..6f63b13d --- /dev/null +++ b/www-ssl/inc/avatar/avatar489.gif diff --git a/www-ssl/inc/avatar/avatar49.gif b/www-ssl/inc/avatar/avatar49.gif Binary files differnew file mode 100755 index 00000000..2c637ed0 --- /dev/null +++ b/www-ssl/inc/avatar/avatar49.gif diff --git a/www-ssl/inc/avatar/avatar490.gif b/www-ssl/inc/avatar/avatar490.gif Binary files differnew file mode 100755 index 00000000..80a07e2b --- /dev/null +++ b/www-ssl/inc/avatar/avatar490.gif diff --git a/www-ssl/inc/avatar/avatar491.gif b/www-ssl/inc/avatar/avatar491.gif Binary files differnew file mode 100755 index 00000000..65bb584e --- /dev/null +++ b/www-ssl/inc/avatar/avatar491.gif diff --git a/www-ssl/inc/avatar/avatar492.gif b/www-ssl/inc/avatar/avatar492.gif Binary files differnew file mode 100755 index 00000000..c8ce0d9d --- /dev/null +++ b/www-ssl/inc/avatar/avatar492.gif diff --git a/www-ssl/inc/avatar/avatar493.gif b/www-ssl/inc/avatar/avatar493.gif Binary files differnew file mode 100755 index 00000000..4ed86532 --- /dev/null +++ b/www-ssl/inc/avatar/avatar493.gif diff --git a/www-ssl/inc/avatar/avatar494.gif b/www-ssl/inc/avatar/avatar494.gif Binary files differnew file mode 100755 index 00000000..47d5e2e2 --- /dev/null +++ b/www-ssl/inc/avatar/avatar494.gif diff --git a/www-ssl/inc/avatar/avatar495.gif b/www-ssl/inc/avatar/avatar495.gif Binary files differnew file mode 100755 index 00000000..9b7bdd44 --- /dev/null +++ b/www-ssl/inc/avatar/avatar495.gif diff --git a/www-ssl/inc/avatar/avatar496.gif b/www-ssl/inc/avatar/avatar496.gif Binary files differnew file mode 100755 index 00000000..2a4429e8 --- /dev/null +++ b/www-ssl/inc/avatar/avatar496.gif diff --git a/www-ssl/inc/avatar/avatar497.gif b/www-ssl/inc/avatar/avatar497.gif Binary files differnew file mode 100755 index 00000000..aebb9cad --- /dev/null +++ b/www-ssl/inc/avatar/avatar497.gif diff --git a/www-ssl/inc/avatar/avatar498.gif b/www-ssl/inc/avatar/avatar498.gif Binary files differnew file mode 100755 index 00000000..2dab371f --- /dev/null +++ b/www-ssl/inc/avatar/avatar498.gif diff --git a/www-ssl/inc/avatar/avatar499.gif b/www-ssl/inc/avatar/avatar499.gif Binary files differnew file mode 100755 index 00000000..c23e44fd --- /dev/null +++ b/www-ssl/inc/avatar/avatar499.gif diff --git a/www-ssl/inc/avatar/avatar5.gif b/www-ssl/inc/avatar/avatar5.gif Binary files differnew file mode 100755 index 00000000..c0134ee8 --- /dev/null +++ b/www-ssl/inc/avatar/avatar5.gif diff --git a/www-ssl/inc/avatar/avatar50.gif b/www-ssl/inc/avatar/avatar50.gif Binary files differnew file mode 100755 index 00000000..101883c4 --- /dev/null +++ b/www-ssl/inc/avatar/avatar50.gif diff --git a/www-ssl/inc/avatar/avatar500.gif b/www-ssl/inc/avatar/avatar500.gif Binary files differnew file mode 100755 index 00000000..98122e5b --- /dev/null +++ b/www-ssl/inc/avatar/avatar500.gif diff --git a/www-ssl/inc/avatar/avatar501.gif b/www-ssl/inc/avatar/avatar501.gif Binary files differnew file mode 100755 index 00000000..ff98710d --- /dev/null +++ b/www-ssl/inc/avatar/avatar501.gif diff --git a/www-ssl/inc/avatar/avatar503.gif b/www-ssl/inc/avatar/avatar503.gif Binary files differnew file mode 100755 index 00000000..ed1157a0 --- /dev/null +++ b/www-ssl/inc/avatar/avatar503.gif diff --git a/www-ssl/inc/avatar/avatar504.gif b/www-ssl/inc/avatar/avatar504.gif Binary files differnew file mode 100755 index 00000000..01c2a370 --- /dev/null +++ b/www-ssl/inc/avatar/avatar504.gif diff --git a/www-ssl/inc/avatar/avatar51.gif b/www-ssl/inc/avatar/avatar51.gif Binary files differnew file mode 100755 index 00000000..310d6f66 --- /dev/null +++ b/www-ssl/inc/avatar/avatar51.gif diff --git a/www-ssl/inc/avatar/avatar52.gif b/www-ssl/inc/avatar/avatar52.gif Binary files differnew file mode 100755 index 00000000..01ce7062 --- /dev/null +++ b/www-ssl/inc/avatar/avatar52.gif diff --git a/www-ssl/inc/avatar/avatar53.gif b/www-ssl/inc/avatar/avatar53.gif Binary files differnew file mode 100755 index 00000000..7ba2db43 --- /dev/null +++ b/www-ssl/inc/avatar/avatar53.gif diff --git a/www-ssl/inc/avatar/avatar54.gif b/www-ssl/inc/avatar/avatar54.gif Binary files differnew file mode 100755 index 00000000..2f4ef2a0 --- /dev/null +++ b/www-ssl/inc/avatar/avatar54.gif diff --git a/www-ssl/inc/avatar/avatar55.gif b/www-ssl/inc/avatar/avatar55.gif Binary files differnew file mode 100755 index 00000000..7e9cd013 --- /dev/null +++ b/www-ssl/inc/avatar/avatar55.gif diff --git a/www-ssl/inc/avatar/avatar56.gif b/www-ssl/inc/avatar/avatar56.gif Binary files differnew file mode 100755 index 00000000..e9d115b5 --- /dev/null +++ b/www-ssl/inc/avatar/avatar56.gif diff --git a/www-ssl/inc/avatar/avatar57.gif b/www-ssl/inc/avatar/avatar57.gif Binary files differnew file mode 100755 index 00000000..a4d85078 --- /dev/null +++ b/www-ssl/inc/avatar/avatar57.gif diff --git a/www-ssl/inc/avatar/avatar58.gif b/www-ssl/inc/avatar/avatar58.gif Binary files differnew file mode 100755 index 00000000..597b70bd --- /dev/null +++ b/www-ssl/inc/avatar/avatar58.gif diff --git a/www-ssl/inc/avatar/avatar59.gif b/www-ssl/inc/avatar/avatar59.gif Binary files differnew file mode 100755 index 00000000..9032b75b --- /dev/null +++ b/www-ssl/inc/avatar/avatar59.gif diff --git a/www-ssl/inc/avatar/avatar6.gif b/www-ssl/inc/avatar/avatar6.gif Binary files differnew file mode 100755 index 00000000..6c0416b1 --- /dev/null +++ b/www-ssl/inc/avatar/avatar6.gif diff --git a/www-ssl/inc/avatar/avatar60.gif b/www-ssl/inc/avatar/avatar60.gif Binary files differnew file mode 100755 index 00000000..33744c36 --- /dev/null +++ b/www-ssl/inc/avatar/avatar60.gif diff --git a/www-ssl/inc/avatar/avatar61.gif b/www-ssl/inc/avatar/avatar61.gif Binary files differnew file mode 100755 index 00000000..a88f6971 --- /dev/null +++ b/www-ssl/inc/avatar/avatar61.gif diff --git a/www-ssl/inc/avatar/avatar62.gif b/www-ssl/inc/avatar/avatar62.gif Binary files differnew file mode 100755 index 00000000..4f8d1bee --- /dev/null +++ b/www-ssl/inc/avatar/avatar62.gif diff --git a/www-ssl/inc/avatar/avatar63.gif b/www-ssl/inc/avatar/avatar63.gif Binary files differnew file mode 100755 index 00000000..d55fe2bd --- /dev/null +++ b/www-ssl/inc/avatar/avatar63.gif diff --git a/www-ssl/inc/avatar/avatar64.gif b/www-ssl/inc/avatar/avatar64.gif Binary files differnew file mode 100755 index 00000000..b7cf7a83 --- /dev/null +++ b/www-ssl/inc/avatar/avatar64.gif diff --git a/www-ssl/inc/avatar/avatar65.gif b/www-ssl/inc/avatar/avatar65.gif Binary files differnew file mode 100755 index 00000000..e7d2ad6b --- /dev/null +++ b/www-ssl/inc/avatar/avatar65.gif diff --git a/www-ssl/inc/avatar/avatar66.gif b/www-ssl/inc/avatar/avatar66.gif Binary files differnew file mode 100755 index 00000000..0ce01bfc --- /dev/null +++ b/www-ssl/inc/avatar/avatar66.gif diff --git a/www-ssl/inc/avatar/avatar67.gif b/www-ssl/inc/avatar/avatar67.gif Binary files differnew file mode 100755 index 00000000..a99192c7 --- /dev/null +++ b/www-ssl/inc/avatar/avatar67.gif diff --git a/www-ssl/inc/avatar/avatar68.gif b/www-ssl/inc/avatar/avatar68.gif Binary files differnew file mode 100755 index 00000000..d41c748c --- /dev/null +++ b/www-ssl/inc/avatar/avatar68.gif diff --git a/www-ssl/inc/avatar/avatar69.gif b/www-ssl/inc/avatar/avatar69.gif Binary files differnew file mode 100755 index 00000000..d8e3a099 --- /dev/null +++ b/www-ssl/inc/avatar/avatar69.gif diff --git a/www-ssl/inc/avatar/avatar7.gif b/www-ssl/inc/avatar/avatar7.gif Binary files differnew file mode 100755 index 00000000..32e2aab7 --- /dev/null +++ b/www-ssl/inc/avatar/avatar7.gif diff --git a/www-ssl/inc/avatar/avatar70.gif b/www-ssl/inc/avatar/avatar70.gif Binary files differnew file mode 100755 index 00000000..c38e5813 --- /dev/null +++ b/www-ssl/inc/avatar/avatar70.gif diff --git a/www-ssl/inc/avatar/avatar71.gif b/www-ssl/inc/avatar/avatar71.gif Binary files differnew file mode 100755 index 00000000..bc81138d --- /dev/null +++ b/www-ssl/inc/avatar/avatar71.gif diff --git a/www-ssl/inc/avatar/avatar72.gif b/www-ssl/inc/avatar/avatar72.gif Binary files differnew file mode 100755 index 00000000..7105469a --- /dev/null +++ b/www-ssl/inc/avatar/avatar72.gif diff --git a/www-ssl/inc/avatar/avatar73.gif b/www-ssl/inc/avatar/avatar73.gif Binary files differnew file mode 100755 index 00000000..c5cf7b5f --- /dev/null +++ b/www-ssl/inc/avatar/avatar73.gif diff --git a/www-ssl/inc/avatar/avatar74.gif b/www-ssl/inc/avatar/avatar74.gif Binary files differnew file mode 100755 index 00000000..3c6b4e38 --- /dev/null +++ b/www-ssl/inc/avatar/avatar74.gif diff --git a/www-ssl/inc/avatar/avatar75.gif b/www-ssl/inc/avatar/avatar75.gif Binary files differnew file mode 100755 index 00000000..c193589f --- /dev/null +++ b/www-ssl/inc/avatar/avatar75.gif diff --git a/www-ssl/inc/avatar/avatar76.gif b/www-ssl/inc/avatar/avatar76.gif Binary files differnew file mode 100755 index 00000000..7926bb97 --- /dev/null +++ b/www-ssl/inc/avatar/avatar76.gif diff --git a/www-ssl/inc/avatar/avatar77.gif b/www-ssl/inc/avatar/avatar77.gif Binary files differnew file mode 100755 index 00000000..72991ce6 --- /dev/null +++ b/www-ssl/inc/avatar/avatar77.gif diff --git a/www-ssl/inc/avatar/avatar78.gif b/www-ssl/inc/avatar/avatar78.gif Binary files differnew file mode 100755 index 00000000..2972aa4f --- /dev/null +++ b/www-ssl/inc/avatar/avatar78.gif diff --git a/www-ssl/inc/avatar/avatar79.gif b/www-ssl/inc/avatar/avatar79.gif Binary files differnew file mode 100755 index 00000000..d20e13af --- /dev/null +++ b/www-ssl/inc/avatar/avatar79.gif diff --git a/www-ssl/inc/avatar/avatar8.gif b/www-ssl/inc/avatar/avatar8.gif Binary files differnew file mode 100755 index 00000000..b3e710cb --- /dev/null +++ b/www-ssl/inc/avatar/avatar8.gif diff --git a/www-ssl/inc/avatar/avatar80.gif b/www-ssl/inc/avatar/avatar80.gif Binary files differnew file mode 100755 index 00000000..4c6afccc --- /dev/null +++ b/www-ssl/inc/avatar/avatar80.gif diff --git a/www-ssl/inc/avatar/avatar81.gif b/www-ssl/inc/avatar/avatar81.gif Binary files differnew file mode 100755 index 00000000..2513d085 --- /dev/null +++ b/www-ssl/inc/avatar/avatar81.gif diff --git a/www-ssl/inc/avatar/avatar82.gif b/www-ssl/inc/avatar/avatar82.gif Binary files differnew file mode 100755 index 00000000..ba761468 --- /dev/null +++ b/www-ssl/inc/avatar/avatar82.gif diff --git a/www-ssl/inc/avatar/avatar83.gif b/www-ssl/inc/avatar/avatar83.gif Binary files differnew file mode 100755 index 00000000..085cab2b --- /dev/null +++ b/www-ssl/inc/avatar/avatar83.gif diff --git a/www-ssl/inc/avatar/avatar84.gif b/www-ssl/inc/avatar/avatar84.gif Binary files differnew file mode 100755 index 00000000..07ee7424 --- /dev/null +++ b/www-ssl/inc/avatar/avatar84.gif diff --git a/www-ssl/inc/avatar/avatar85.gif b/www-ssl/inc/avatar/avatar85.gif Binary files differnew file mode 100755 index 00000000..cd510ece --- /dev/null +++ b/www-ssl/inc/avatar/avatar85.gif diff --git a/www-ssl/inc/avatar/avatar86.gif b/www-ssl/inc/avatar/avatar86.gif Binary files differnew file mode 100755 index 00000000..0c791d78 --- /dev/null +++ b/www-ssl/inc/avatar/avatar86.gif diff --git a/www-ssl/inc/avatar/avatar87.gif b/www-ssl/inc/avatar/avatar87.gif Binary files differnew file mode 100755 index 00000000..dac9b589 --- /dev/null +++ b/www-ssl/inc/avatar/avatar87.gif diff --git a/www-ssl/inc/avatar/avatar88.gif b/www-ssl/inc/avatar/avatar88.gif Binary files differnew file mode 100755 index 00000000..e27c3b3b --- /dev/null +++ b/www-ssl/inc/avatar/avatar88.gif diff --git a/www-ssl/inc/avatar/avatar89.gif b/www-ssl/inc/avatar/avatar89.gif Binary files differnew file mode 100755 index 00000000..c07019c0 --- /dev/null +++ b/www-ssl/inc/avatar/avatar89.gif diff --git a/www-ssl/inc/avatar/avatar9.gif b/www-ssl/inc/avatar/avatar9.gif Binary files differnew file mode 100755 index 00000000..448c6ecc --- /dev/null +++ b/www-ssl/inc/avatar/avatar9.gif diff --git a/www-ssl/inc/avatar/avatar90.gif b/www-ssl/inc/avatar/avatar90.gif Binary files differnew file mode 100755 index 00000000..f71a5957 --- /dev/null +++ b/www-ssl/inc/avatar/avatar90.gif diff --git a/www-ssl/inc/avatar/avatar91.gif b/www-ssl/inc/avatar/avatar91.gif Binary files differnew file mode 100755 index 00000000..9b12113f --- /dev/null +++ b/www-ssl/inc/avatar/avatar91.gif diff --git a/www-ssl/inc/avatar/avatar92.gif b/www-ssl/inc/avatar/avatar92.gif Binary files differnew file mode 100755 index 00000000..c3c22c89 --- /dev/null +++ b/www-ssl/inc/avatar/avatar92.gif diff --git a/www-ssl/inc/avatar/avatar93.gif b/www-ssl/inc/avatar/avatar93.gif Binary files differnew file mode 100755 index 00000000..1c33f2af --- /dev/null +++ b/www-ssl/inc/avatar/avatar93.gif diff --git a/www-ssl/inc/avatar/avatar94.gif b/www-ssl/inc/avatar/avatar94.gif Binary files differnew file mode 100755 index 00000000..a91b90a2 --- /dev/null +++ b/www-ssl/inc/avatar/avatar94.gif diff --git a/www-ssl/inc/avatar/avatar95.gif b/www-ssl/inc/avatar/avatar95.gif Binary files differnew file mode 100755 index 00000000..dc7fe45f --- /dev/null +++ b/www-ssl/inc/avatar/avatar95.gif diff --git a/www-ssl/inc/avatar/avatar96.gif b/www-ssl/inc/avatar/avatar96.gif Binary files differnew file mode 100755 index 00000000..f9aec5bf --- /dev/null +++ b/www-ssl/inc/avatar/avatar96.gif diff --git a/www-ssl/inc/avatar/avatar97.gif b/www-ssl/inc/avatar/avatar97.gif Binary files differnew file mode 100755 index 00000000..018fd0dc --- /dev/null +++ b/www-ssl/inc/avatar/avatar97.gif diff --git a/www-ssl/inc/avatar/avatar98.gif b/www-ssl/inc/avatar/avatar98.gif Binary files differnew file mode 100755 index 00000000..e963d44f --- /dev/null +++ b/www-ssl/inc/avatar/avatar98.gif diff --git a/www-ssl/inc/avatar/avatar99.gif b/www-ssl/inc/avatar/avatar99.gif Binary files differnew file mode 100755 index 00000000..3270bd87 --- /dev/null +++ b/www-ssl/inc/avatar/avatar99.gif diff --git a/www-ssl/inc/config.php b/www-ssl/inc/config.php new file mode 100755 index 00000000..46d91eec --- /dev/null +++ b/www-ssl/inc/config.php @@ -0,0 +1,38 @@ +<? +// Adresse des Webservers +$url = "https://linuxeurobook/"; + +// Startverzeichnis des Engelhome +$ENGEL_ROOT = "/engel/"; + +// Anzahl der News, die auf einer Seite ausgeben werden koennen... +$DISPLAY_NEWS = 6; + +// Anzahl Stunden bis zum Austragen eigener Schichten +$LETZTES_AUSTRAGEN=3; + +//Setzt den zu verwendenden Crypto algorismis +// mp5 oder crypt +// achtung crypt schaltet password ändern ab +$crypt_system="md5"; +//$crypt_system="crypt"; + + +// für Developen 1, sonst = 0 +$DEBUG = 0; + +//the link to the CCC page +//$CCC_Start = "https://pentabarf.cccv.de/pentabarf/event/"; +$CCC_Start = "http://www.ccc.de/congress/2004/fahrplan/event/"; +$CCC_End = ".de.html"; + +// SSL Cert-KEY +$show_SSLCERT = "MD5:<br>AF:32:B9:BE:3F:AE:53:78:1E:1B:6E:82:48:E0:DB:94<br>SHA1:<br>B8:07:E8:A4:F3:1A:EF:03:81:C2:44:0C:50:25:3D:1A:A0:E4:AA:76"; + +//globale const. fuer schischtplan +$GlobalZeileProStunde = 4; + +//ist ein modem angeschlossen +$ModemEnable = false; + +?> diff --git a/www-ssl/inc/crypt.php b/www-ssl/inc/crypt.php new file mode 100755 index 00000000..38867064 --- /dev/null +++ b/www-ssl/inc/crypt.php @@ -0,0 +1,18 @@ +<?php + + +function PassCrypt($passwort) { +include "./inc/config.php"; + +switch ($crypt_system) { + case "crypt": + return "{crypt}".crypt($passwort, "77"); + case "md5": + return md5($passwort); + } + +} + + + +?> diff --git a/www-ssl/inc/css/style.css.old b/www-ssl/inc/css/style.css.old new file mode 100755 index 00000000..254fb1b7 --- /dev/null +++ b/www-ssl/inc/css/style.css.old @@ -0,0 +1,53 @@ +H1 { + font-family : Helvetica,Arial,Verdana; + font-size : 25pt; +} +H4 { + font-family : Arial,Verdana; +} +A { + font-family : Arial; + font-size : small; + text-decoration : none; + color : #0000a0; +} +A:Visited { + font-family : Arial; + font-size : small; + color : #0000a0; + text-decoration : none; +} + A:Active { + text-decoration : none; + font-family : Arial; + font-size : small; +} +A:Hover { + font-family : Arial; + font-size : small; + color : #0000a0; + text-decoration : underline; + font-weight : bold; +} +B { + font-weight : bold; + font-family : Arial; + font-size : small; +} + +TD { + font-size : small; + font-family : Arial; + padding-left : 1cm; +} + +BODY { + font-size : small; + font-family : Arial; + background-color : #f3b115; + color : navy; +} +a.title { + color:#ffa000; +} + diff --git a/www-ssl/inc/css/style.css.old2 b/www-ssl/inc/css/style.css.old2 new file mode 100755 index 00000000..9f7c0c90 --- /dev/null +++ b/www-ssl/inc/css/style.css.old2 @@ -0,0 +1,69 @@ +H1 { + font-family : Helvetica,Arial,Verdana; + font-size : 25pt; +} + +H4 { + font-family : Arial,Verdana; +} + +A { + font-family : Arial; + font-size : small; + text-decoration : none; + color : #778899; +} + +A:Visited { + font-family : Arial; + font-size : small; + color : #778899; + text-decoration : none; +} + +A:Active { + text-decoration : none; + font-family : Arial; + font-size : small; +} + +A:Hover { + font-family : Arial; + font-size : small; + color : #778899; + text-decoration : underline; + font-weight : bold; +} + +B { + font-weight : bold; + font-family : Arial; + font-size : small; +} + +TD { + font-size : small; + font-family : Arial; +} + +BODY { + font-size : small; + font-family : Arial; + background-color : #f3b115; + color : navy; +} + + +a.title { +color:#ffa000; +} + + +p.question { + font-weight: bold; +} + +p.answer { + margin-left: 30px; + margin-right: 30px; +} diff --git a/www-ssl/inc/css/style1.css b/www-ssl/inc/css/style1.css new file mode 100755 index 00000000..4a597f35 --- /dev/null +++ b/www-ssl/inc/css/style1.css @@ -0,0 +1,79 @@ + +body { + font-family: Arial; + background-color: #3e9fef; + color: #000000; + font-size: small +} + +a { + text-decoration: none; + color: #304930 +} + +td { + font-size: small +} + +a:active, a:hover { + font-weight: bold +} + +li { + font-size: small +} + +.content { + background-color: #bdd9ef; + color: #000000 +} + +.contenttopic { + font-weight: bold; + font-size: small; + color: #fe961e; + background-color: #157cc1 +} + +.border { + background-color: #050509 +} + +.menu { + background-color: #bdd9ef; + color: #000022; + font-size: small +} +h4.menu { + font-weight: bold; + font-size: small; + color: #3e9fef +} + +.linkbox { + background-color: #ffffff +} + +.linkboxtitle { + font-weight: bold; + background-color: #000000; + color: #bdd9ef +} + +.question { + font-weight: bold; + font-size: 9pt +} + +.engeltreffen { + font-weight: bold; + font-size: 9pt; + color: #ff0000; +} + +.answer { + font-size: 9pt; +} +.comment { + font-size : 6pt; +} diff --git a/www-ssl/inc/css/style2.css b/www-ssl/inc/css/style2.css new file mode 100755 index 00000000..e8510809 --- /dev/null +++ b/www-ssl/inc/css/style2.css @@ -0,0 +1,117 @@ +body { + font-size : small; + font-family : Arial; + background-color : #f3b115; + color : navy; +} +a { + font-family : Arial; + font-size : small; + text-decoration : none; + color : #0000a0; +} + +td { + font-size : small; +} + +A:Visited { + font-family : Arial; + font-size : small; + color : #0000a0; + text-decoration : none; +} + +A:Active { + text-decoration : none; + font-family : Arial; + font-size : small; +} + +A:Hover { + font-family : Arial; + font-size : small; + color : #0000a0; + text-decoration : underline; + font-weight : bold; +} + +li { + font-size: small +} + + +H4 { + font-family : Arial,Verdana; +} + + +B { + font-weight : bold; + font-family : Arial; + font-size : small; +} + +.content { + background-color: #aa8822; +<!-- #ffeba2 --> + color: #000000 +} + +.contenttopic { + font-weight: bold; + font-size: small; + color: #ffffff; + background-color: #ff1111 +} +<!-- #157cc1 --> + + +a.title { + color:#ffa000; +} +.border { + background-color: #050509 + } + +.menu { + background-color: #bdd9ef; + color: #000022; + font-size: small +} + +h4.menu { + font-weight: bold; + font-size: small; + color: #3e9fef +} + +.linkbox { + background-color: #ffffff +} + +.linkboxtitle { + font-weight: bold; + background-color: #000000; + color: #bdd9ef +} + +.question { + font-weight: bold; + font-size: 9pt +} + +.engeltreffen { + font-weight: bold; + font-size: 9pt; + color: #ff0000; +} + +.answer { + font-size: 9pt; +} + +.comment { + font-size : 6pt; +} + diff --git a/www-ssl/inc/css/style3.css b/www-ssl/inc/css/style3.css new file mode 100755 index 00000000..ca45d73c --- /dev/null +++ b/www-ssl/inc/css/style3.css @@ -0,0 +1,105 @@ +body { + font-size : small; + font-family : Arial; + background-color : #f3b115; + color : navy; +} +a { + font-family : Arial; + font-size : small; + text-decoration : none; + color : #0000a0; +} + +td { + font-size : small; +} + +A:Visited { + font-family : Arial; + font-size : small; + color : #0000a0; + text-decoration : none; +} + +A:Active { + text-decoration : none; + font-family : Arial; + font-size : small; +} + +A:Hover { + font-family : Arial; + font-size : small; + color : #0000a0; + text-decoration : underline; + font-weight : bold; +} + +li { + font-size: small +} + + +H4 { + font-family : Arial,Verdana; +} + + +B { + font-weight : bold; + font-family : Arial; + font-size : small; +} + +.content { + background-color: #ffeba2; + color: #000000 +} + +.contenttopic { + font-weight: bold; + font-size: small; + color: #ffa000; + background-color: navy +} + + + +a.title { + color:#ffa000; +} +.border { + background-color: #050509 + } + +.menu { + background-color: #ffeba2; + color: navy; + font-size: small +} + +h4.menu { + font-weight: bold; + font-size: small; +} + +.question { + font-weight: bold; + font-size: 9pt +} + +.engeltreffen { + font-weight: bold; + font-size: 9pt; + color: #ff0000; +} + +.answer { + font-size: 9pt; +} + +.comment { + font-size : 6pt; +} + diff --git a/www-ssl/inc/css/style4.css b/www-ssl/inc/css/style4.css new file mode 100755 index 00000000..b818c9c9 --- /dev/null +++ b/www-ssl/inc/css/style4.css @@ -0,0 +1,70 @@ + +body { + font-family: Arial; + background-color: #00009f; + color: #e0a09f; + font-size: small +} + +a { + text-decoration: none; + color: #e0ffff +} + +td { + font-size: small; + color: #e0a09f + +} + +a:active, a:hover { + font-weight: bold +} + +li { + font-size: small +} + +.content { + background-color: #90009f; + color: #e0a09f +} + +.contenttopic { + font-weight: bold; + font-size: small; + color: #e0e09f; + background-color: #740057 +} + +.border { + background-color: #0000FF +} + +.menu { + background-color: #5f0043; + color: #e0ff9f; + font-size: small +} +h4.menu { + font-weight: bold; + font-size: small; + color: #e0ff9f +} +.question { + font-weight: bold; + font-size: 9pt +} + +.engeltreffen { + font-weight: bold; + font-size: 9pt; + color: #ff0000; +} + +.answer { + font-size: 9pt; +} +.comment { + font-size : 6pt; +} diff --git a/www-ssl/inc/css/style5.css b/www-ssl/inc/css/style5.css new file mode 100755 index 00000000..4a8f7bcc --- /dev/null +++ b/www-ssl/inc/css/style5.css @@ -0,0 +1,79 @@ + +body { + font-family: Verdana,Helvetica,Arial; + background-color: #e1d6d6; + color: #8a0000; + font-size: small +} + +a { + text-decoration: none; + color: #583a3a +} + +td { + font-size: small +} + +a:active, a:hover { + font-weight: bold +} + +li { + font-size: small +} + +.content { + background-color: #e7e2e2; + color: #8a0000 +} + +.contenttopic { + font-weight: bold; + font-size: small; + color: #ffeded; + background-color: #8a0000 +} + +.border { + background-color: #8a0000 +} + +.menu { + background-color: #e7e2e2; + color: #8a0000; + font-size: small +} +h4.menu { + font-weight: bold; + font-size: small; + color: #8a0000 +} + +.linkbox { + background-color: #e7e2e2 +} + +.linkboxtitle { + font-weight: bold; + background-color: #e7e2e2; + color: #8a0000 +} + +.question { + font-weight: bold; + font-size: 9pt +} + +.engeltreffen { + font-weight: bold; + font-size: 9pt; + color: #ff0000; +} + +.answer { + font-size: 9pt; +} +.comment { + font-size : 6pt; +} diff --git a/www-ssl/inc/css/style6.css b/www-ssl/inc/css/style6.css new file mode 100755 index 00000000..72e1024d --- /dev/null +++ b/www-ssl/inc/css/style6.css @@ -0,0 +1,68 @@ + +body { + font-family: Arial, Helvetica, sans-serif; + background-color: #121327; + color: #FFFFFF; + font-size: small +} + +a { + text-decoration: none; + color: #ff9900 +} + +td { + font-size: small +} + +a:active, a:hover { + font-weight: bold +} + +li { + font-size: small +} + +.content { + background-color: #636e77; + color: #FFFFFF +} + +.contenttopic { + font-weight: bold; + font-size: small; + color: #FF9900; + background-color: #333e47 +} + +.border { + background-color: #000000 +} + +.menu { + background-color: #1f203f; + color: #fff3bf; + font-size: small +} +h4.menu { + font-weight: bold; + font-size: small; + color: #fff3bf +} +.question { + font-weight: bold; + font-size: 9pt +} + +.engeltreffen { + font-weight: bold; + font-size: 9pt; + color: #FF0000; +} + +.answer { + font-size: 9pt; +} +.comment { + font-size : 6pt; +} diff --git a/www-ssl/inc/css/style7.css b/www-ssl/inc/css/style7.css new file mode 100755 index 00000000..297f1d0c --- /dev/null +++ b/www-ssl/inc/css/style7.css @@ -0,0 +1,70 @@ + +body { + font-family: Arial; + background-color: #353d87; + color: #FFFFFF; + font-size: small +} + +a { + text-decoration: none; + color: #832fb8 +} + +td { + font-size: small; + color: #353d87 + +} + +a:active, a:hover { + font-weight: bold +} + +li { + font-size: small +} + +.content { + background-color: #fff3bf; + color: #353d87 +} + +.contenttopic { + font-weight: bold; + font-size: small; + color: #fff3bf; + background-color: #353daa +} + +.border { + background-color: #0000FF +} + +.menu { + background-color: #c5bfff; + color: #973cff; + font-size: small +} +h4.menu { + font-weight: bold; + font-size: small; + color: #973cff +} +.question { + font-weight: bold; + font-size: 9pt +} + +.engeltreffen { + font-weight: bold; + font-size: 9pt; + color: #ff0000; +} + +.answer { + font-size: 9pt; +} +.comment { + font-size : 6pt; +} diff --git a/www-ssl/inc/css/style8.css b/www-ssl/inc/css/style8.css new file mode 100755 index 00000000..91d3b325 --- /dev/null +++ b/www-ssl/inc/css/style8.css @@ -0,0 +1,70 @@ + +body { + font-family: Arial; + background-color: #a4ffff; + color: #f7ff00; + font-size: small +} + +a { + text-decoration: none; + color: #a45f9f +} + +td { + font-size: small; + color: #f7ff00 + +} + +a:active, a:hover { + font-weight: bold +} + +li { + font-size: small +} + +.content { + background-color: #bd9bff; + color: #f7ff00 +} + +.contenttopic { + font-weight: bold; + font-size: small; + color: #f7ff00; + background-color: #ffb2ff +} + +.border { + background-color: #0000FF +} + +.menu { + background-color: #ffb2ff; + color: #f7ff00; + font-size: small +} +h4.menu { + font-weight: bold; + font-size: small; + color: #f7ff00 +} +.question { + font-weight: bold; + font-size: 9pt +} + +.engeltreffen { + font-weight: bold; + font-size: 9pt; + color: #ff0000; +} + +.answer { + font-size: 9pt; +} +.comment { + font-size : 6pt; +} diff --git a/www-ssl/inc/css/style9.css b/www-ssl/inc/css/style9.css new file mode 100755 index 00000000..4310ca8c --- /dev/null +++ b/www-ssl/inc/css/style9.css @@ -0,0 +1,84 @@ + +body { + background-color: #ffffff; + + color: black; + + line-height: 150%; + font-family: Trebuchet MS, Lucida Grande, Arial, sans-serif; + + margin-bottom: 20px; +} + +a { + text-decoration: none; + color: #304930 +} + +td { + font-size: small +} + +a:active, a:hover { + font-weight: bold +} + +li { + font-size: small +} + +.content { + background-color: #ffffff; + color: #000000 +} + +.contenttopic { + font-weight: bold; + font-size: small; + color: #000000; + background-color: #A4C93C +} + +.border { + background-color: #A4C93C +} + +.menu { + background-color: #ffffff; + color: #000000; + font-size: small +} +h4.menu { + background-color: #A4C93C; + font-weight: bold; + font-size: small; + color: #000000 +} + +.linkbox { + background-color: #ffffff +} + +.linkboxtitle { + font-weight: bold; + background-color: #000000; + color: #ffffff +} + +.question { + font-weight: bold; + font-size: 9pt +} + +.engeltreffen { + font-weight: bold; + font-size: 9pt; + color: #ff0000; +} + +.answer { + font-size: 9pt; +} +.comment { + font-size : 6pt; +} diff --git a/www-ssl/inc/db.php b/www-ssl/inc/db.php new file mode 100755 index 00000000..143c9c3f --- /dev/null +++ b/www-ssl/inc/db.php @@ -0,0 +1,4 @@ +<?php +$con = mysql_connect("localhost", "engel", "engel") or die ("connection failed"); +$sel = mysql_select_db("Himmel") or die (mysql_error()); +?>
\ No newline at end of file diff --git a/www-ssl/inc/footer.php b/www-ssl/inc/footer.php new file mode 100755 index 00000000..5f4edf35 --- /dev/null +++ b/www-ssl/inc/footer.php @@ -0,0 +1,130 @@ +<?PHP + +if( $Page["ShowTabel"]=="Y" ) +{ +//############################### ShowTable Start ############################## + +?> + + + +<!-- anfang des footers //--> + + + + + <br> + <p align="center"> + <?PHP If (IsSet($_SESSION['oldurl'])) + echo "<a href=\"". $_SESSION["oldurl"]. "\">".Get_Text(11)."</a> "; + ?> + <a href="#top"><?PHP echo Get_Text(12); ?></a> + </p> + </td> + </tr> +</table> + </td> + + + + +<!-- anfang des menue parts //--> + + + <td width="160" valign="top"> +<? +$MenueTableStart=" +<table align=\"center\" class=\"border\" cellpadding=\"3\" cellspacing=\"1\"> + <tr> + <td width=\"160\" class=\"menu\"> +"; +$MenueTableEnd=" + <br> + </td> + </tr> +</table> +"; + +include("./inc/funktion_menu.php"); +include("./menu.php"); + +if( isset( $Menu)) +{ + ShowMenu( $Menu ); + echo "<br>"; +} +if( isset( $MenuAdmin)) + ShowMenu( $MenuAdmin ); + +echo "<br>"; + +if( !isset($submenus)) + $submenus = 0; + +if ($submenus >= 1 ) { + $inc_name=$_SERVER['PHP_SELF']; + $filenamepos=strrpos($inc_name, '/'); + $filenamepos+=1; + $filename = substr ($inc_name, $filenamepos ); + $filepost = substr ($filename, 0, -4); + $filepre = substr ($filename, -4 ); + $verzeichnis = substr ($inc_name, 0 , $filenamepos); + + for ($index_nummer=1; $index_nummer <= $submenus; $index_nummer++) { +?> +<table align="center" class="border" cellpadding="3" cellspacing="1"> + <tr> + <td width="160" class="menu"> + <?php include ("./".$filepost.".".$index_nummer.$filepre); ?> + </td> + </tr> +</table> + +<br> +<? + } +} + +if( isset($_SESSION['UID'])) +{ +?> +<table align="center" class="border" cellpadding="3" cellspacing="1"> + <tr> + <td width="160" class="menu"> + <?php include("./inc/funktion_activeUser.php"); ?> + </td> + </tr> +</table> +<? +} +?> + + </td> + + + +<!-- ende des menue parts //--> + + + + </tr> + <tr> + <td colspan="2"> + <h5 align="center"> © copyleft - <a href="mailto:erzengel@lists.ccc.de">Kontakt</a></h5> + </td> + </tr> +</table> + +<!-- </div> --> +<?php mysql_close($con); ?> +</div> + + +<? +//############################### ShowTable Start ############################## +} /* if (ShowTabel....*/ +?> + + +</BODY> +</HTML> diff --git a/www-ssl/inc/funktion_activeUser.php b/www-ssl/inc/funktion_activeUser.php new file mode 100755 index 00000000..020302b1 --- /dev/null +++ b/www-ssl/inc/funktion_activeUser.php @@ -0,0 +1,36 @@ +<?PHP + +echo "<h4 class=\"menu\">Engels Online</h4>"; + +$SQL = "SELECT Nick, lastLogIn ". + "FROM User ". + "WHERE (`lastLogIn` > '". gmdate("YmdHis", time()-(60*60)). "' AND NOT (UID=". $_SESSION['UID']. ")) ". + "ORDER BY lastLogIn DESC;"; + +$Erg = mysql_query( $SQL, $con); + + +$Tist = (gmdate("d", time()) * 60 * 60 * 24) + // Tag + (gmdate("H", time()) * 60 * 60) + // Stunde + (gmdate("i", time()) * 60) + // Minute + (gmdate("s", time()) ); // Sekunde + + +for( $i=0; $i<mysql_num_rows($Erg); $i++) +{ + echo "\t\t\t<li>"; + echo mysql_result( $Erg, $i, "Nick"); + $Tlog = (substr( mysql_result( $Erg, $i, "lastLogIn"), 8, 2) * 60 * 60 * 24) + // Tag + (substr( mysql_result( $Erg, $i, "lastLogIn"), 11, 2) * 60 * 60) + // Stunde + (substr( mysql_result( $Erg, $i, "lastLogIn"), 14, 2) * 60) + // Minute + (substr( mysql_result( $Erg, $i, "lastLogIn"), 17, 2) ); // Sekunde + + $Tlog = $Tist-$Tlog; + echo " ". bcmod( $Tlog/60, 60). ":"; + if( strlen(bcmod( $Tlog, 60))==1) + echo "0"; + echo bcmod( $Tlog, 60); + echo "</li>\n"; +} + +?> diff --git a/www-ssl/inc/funktion_db_list.php b/www-ssl/inc/funktion_db_list.php new file mode 100755 index 00000000..894de5e5 --- /dev/null +++ b/www-ssl/inc/funktion_db_list.php @@ -0,0 +1,34 @@ +<?PHP + +function funktion_db_list($Table_Name) { + +include ("./inc/db.php"); + +$SQL = "SELECT * FROM `".$Table_Name."`"; +$Erg = mysql_query($SQL, $con); + +// anzahl zeilen +$Zeilen = mysql_num_rows($Erg); + +$Anzahl_Felder = mysql_num_fields($Erg); + +echo "<table border=1>"; + +echo "<tr>"; +for ($m = 0 ; $m < $Anzahl_Felder ; $m++) { + echo "<th>". mysql_field_name($Erg, $m). "</th>"; + } +echo "</tr>"; + +for ($n = 0 ; $n < $Zeilen ; $n++) { + echo "<tr>"; + for ($m = 0 ; $m < $Anzahl_Felder ; $m++) { + echo "<td>".mysql_result($Erg, $n, $m). "</td>"; + } + echo "</tr>"; +} + +echo "</table>"; +} + +?> diff --git a/www-ssl/inc/funktion_faq.php b/www-ssl/inc/funktion_faq.php new file mode 100755 index 00000000..36e3170b --- /dev/null +++ b/www-ssl/inc/funktion_faq.php @@ -0,0 +1,12 @@ +<?PHP + +function noAnswer() { + include ("./inc/db.php"); + + $SQL = "SELECT UID FROM Questions WHERE (Answer=\"\")"; + $Res=mysql_query($SQL, $con); + + return mysql_num_rows($Res); +} + +?> diff --git a/www-ssl/inc/funktion_lang.php b/www-ssl/inc/funktion_lang.php new file mode 100755 index 00000000..9a6dc220 --- /dev/null +++ b/www-ssl/inc/funktion_lang.php @@ -0,0 +1,30 @@ +<?PHP + +function Get_Text ($TextID) +{ +if( !isset($_SESSION['Sprache'])) $_SESSION['Sprache'] = "EN"; +if( $_SESSION['Sprache']=="") $_SESSION['Sprache']="EN"; + +GLOBAL $con; +$SQL = "SELECT * FROM `Sprache` WHERE TextID=\"$TextID\" AND Sprache ='".$_SESSION['Sprache']."'"; +@$Erg = mysql_query($SQL, $con); +if(!mysql_error($con)) + return (@mysql_result($Erg, 0, "Text")); +else + return "Error Data"; + +} + +function Print_Text ($TextID){ +GLOBAL $con; + +$SQL = "SELECT * FROM `Sprache` WHERE TextID=\"$TextID\" AND Sprache ='".$_SESSION['Sprache']."'"; +@$Erg = mysql_query($SQL, $con); + +if(!mysql_error($con)) + echo nl2br(@mysql_result($Erg, 0, "Text")); +else + echo "Error Data"; +} + +?> diff --git a/www-ssl/inc/funktion_menu.php b/www-ssl/inc/funktion_menu.php new file mode 100755 index 00000000..d66700e8 --- /dev/null +++ b/www-ssl/inc/funktion_menu.php @@ -0,0 +1,41 @@ +<?PHP + +function ShowMenu( $Menu ) +{ + if( !isset($Menu["Entry"]) ) return; + + global $MenueTableStart, $MenueTableEnd, $_SESSION, $DEBUG; + + echo $MenueTableStart; + echo "<h4 class=\"menu\">". $Menu["Name"]. "</h4>"; + + foreach( $Menu["Entry"] as $Entry ) + { + //wenn File mit ../ beginnt wird "../" abgeschnitten und der Ordener weggelassen + if( strstr( $Entry["File"], "../" ) != FALSE ) + $MenuFile = substr( $Entry["File"], strpos( $Entry["File"], "../" )+ 3) ; + else + $MenuFile = $Menu["Path"]. $Entry["File"]; + + if( $_SESSION['CVS'][$MenuFile] == "Y") + echo "\t\t\t<li><a href=\"". $Entry["File"]. "\">". $Entry["Name"]. "</a></li>\n"; + if( isset($Entry["Line"])) + echo $Entry["Line"]; + + + //DEBUG + if( $DEBUG ) + { + if( !isset($_SESSION['CVS'][$MenuFile] ) ) + echo "ERROR CVS: '". $MenuFile. "' not set"; + + if( $_SESSION['CVS'][$MenuFile] != "Y") + echo "\t\t\t<li>". $Entry["File"]. " (". $Entry["Name"]. ")</li>\n"; + } // DEBUG + } //foreach + + echo $MenueTableEnd; +} //function ShowMenue + + +?> diff --git a/www-ssl/inc/funktion_modem.php b/www-ssl/inc/funktion_modem.php new file mode 100755 index 00000000..a8ae010d --- /dev/null +++ b/www-ssl/inc/funktion_modem.php @@ -0,0 +1,43 @@ +<?PHP + +$Dev="/dev/ttyS0"; // COM port +$WackupNumber="**3"; + +//ob_end_flush(); //ausgabe obwohl skript nich in arbeit +set_time_limit(50000); //Timeout erhöhen; + +function DialNumber( $Number ) +{ + global $Dev, $ModemEnable; + +echo $Number; + + if( $ModemEnable) + { + $fp = fopen( $Dev, "w"); + sleep(1); + fwrite( $fp, "+++"); + sleep(1); + fwrite( $fp, "ATZ\n"); + sleep(1); + fwrite( $fp, "ATX1\n"); + sleep(1); + fwrite( $fp, "ATD $Number \n"); + sleep(8); + fclose($fp); + sleep(1); + } + else + { + echo "Modem is Disable, number: '<u>$Number</u>' was called<br>\n"; + } +} + + +function SetWackeup( $Number, $TimeH, $TimeM) +{ + global $WackupNumber; + DialNumber( "$WackupNumber$TimeH$TimeM$Number"); +} + +?> diff --git a/www-ssl/inc/funktion_schichtplan.php b/www-ssl/inc/funktion_schichtplan.php new file mode 100755 index 00000000..6810f6df --- /dev/null +++ b/www-ssl/inc/funktion_schichtplan.php @@ -0,0 +1,378 @@ +<?php + +/*####################################################### +# Aufbau von Standart Feldern # +#######################################################*/ + +// erstellt ein Array der Reume + $sql = "SELECT `RID`, `Name` FROM `Room` ". + "WHERE `Show`='Y'". + "ORDER BY `Number`, `Name`;"; + + $Erg = mysql_query($sql, $con); + $rowcount = mysql_num_rows($Erg); + + for ($i=0; $i<$rowcount; $i++) + { + $Room[$i]["RID"] = mysql_result($Erg, $i, "RID"); + $Room[$i]["Name"] = mysql_result($Erg, $i, "Name"); + + $RoomID[ mysql_result($Erg, $i, "RID") ] = mysql_result($Erg, $i, "Name"); + } + +// erstellt ein Aray der Engeltypen + $sql = "SELECT `TID`, `Name` FROM `EngelType` ORDER BY `Name`"; + $Erg = mysql_query($sql, $con); + $rowcount = mysql_num_rows($Erg); + for ($i=0; $i<$rowcount; $i++) + { + $EngelType[$i]["TID"] = mysql_result($Erg, $i, "TID"); + $EngelType[$i]["Name"] = mysql_result($Erg, $i, "Name").Get_Text("inc_schicht_engel"); + + $EngelTypeID[ mysql_result($Erg, $i, "TID") ] = + mysql_result($Erg, $i, "Name").Get_Text("inc_schicht_engel"); + } + + +/*####################################################### +# gibt die engelschischten aus # +#######################################################*/ +function ausgabe_Feld_Inhalt( $SID, $Man ) +{ +// gibt, nach übergabe der der SchichtID (SID) und der RaumBeschreibung, +// die eingetragenden und und offenden Schichteintäge zurück + global $EngelType, $EngelTypeID, $con; + //form Config + global $CCC_Start, $CCC_End, $DEBUG; + + $Spalten = ""; + + /////////////////////////////////////////////////////////////////// + // Schow Admin Page + /////////////////////////////////////////////////////////////////// + if( $_SESSION['CVS'][ "admin/schichtplan.php" ] == "Y" ) + { + $Spalten.= "<a href=\"./../admin/schichtplan.php?action=change&SID=$SID\">edit</a><br>\n\t\t"; + } + + + /////////////////////////////////////////////////////////////////// + // Ausgabe des Schischtnamens + /////////////////////////////////////////////////////////////////// + if( isset($CCC_Start) && $SID<10000) + $Spalten.="<a href=\"$CCC_Start$SID$CCC_End\" target=\"_black\"><u>$Man:</u></a><br>"; + else + $Spalten.="<u>".$Man.":</u><br>"; + + + /////////////////////////////////////////////////////////////////// + // SQL abfrage für die benötigten schichten + /////////////////////////////////////////////////////////////////// + $SQL = "SELECT * FROM `ShiftEntry` WHERE (`SID` = '$SID') ORDER BY `TID`, `UID` DESC ;"; + $Erg = mysql_query($SQL, $con); + + $Anzahl = mysql_num_rows($Erg); + $Feld=0; + $Temp_TID_old=-1; + for( $i = 0; $i < $Anzahl; $i++ ) + { + if( isset($Temp[$Feld]["TID"])) + $Temp_TID_old = $Temp[$Feld]["TID"]; + if( isset($Temp[$Feld]["UID"])) + $Temp_UID_old = $Temp[$Feld]["UID"]; + + $Temp_TID = mysql_result($Erg, $i, "TID"); + + // wenn sich der Type ändert wird zumnästen feld geweckselt + if( $Temp_TID_old != $Temp_TID ) + $Feld++; + + $Temp[$Feld]["TID"] = $Temp_TID; + $Temp[$Feld]["UID"] = mysql_result($Erg, $i, "UID"); + + // sonderfall ersten durchlauf + if( $i == 0 ) + { + $Temp_TID_old = $Temp[$Feld]["TID"]; + $Temp_UID_old = $Temp[$Feld]["UID"]; + } + + // ist es eine zu vergeben schicht? + if( $Temp[$Feld]["UID"] == 0 ) + { + if( isset($Temp[$Feld]["free"])) + $Temp[$Feld]["free"]++; + else + $Temp[$Feld]["free"]=1; + } + else + $Temp[$Feld]["Engel"][] = $Temp[$Feld]["UID"]; + } // FOR + + + /////////////////////////////////////////////////////////////////// + // Aus gabe der Schicht + /////////////////////////////////////////////////////////////////// + if( isset($Temp)) + if( count($Temp) ) + foreach( $Temp as $TempEntry => $TempValue ) + { + // ausgabe EngelType + $Spalten.= $EngelTypeID[ $TempValue["TID"] ]. " "; + + // ausgabe Eingetragener Engel + if( isset($TempValue["Engel"])) + if( count($TempValue["Engel"]) > 0 ) + { + if( count($TempValue["Engel"]) == 1 ) + $Spalten.= Get_Text("inc_schicht_ist"). ":<br>\n\t\t"; + else + $Spalten.= Get_Text("inc_schicht_sind"). ":<br>\n\t\t"; + + foreach( $TempValue["Engel"] as $TempEngelEntry=> $TempEngelID ) + $Spalten.= " ". UID2Nick( $TempEngelID ). + DisplayAvatar( $TempEngelID ). + "<br>\n\t\t"; + $Spalten = substr( $Spalten, 0, strlen($Spalten)-7 ); + } + + // ausgabe benötigter Engel + //////////////////////////// + //in vergangenheit + $SQLtime = "SELECT `DateE` FROM `Shifts` WHERE (SID='$SID' AND `DateS` >= '". + gmdate("Y-m-d H:i:s", time()+ 3600). "')"; + $Ergtime = mysql_query($SQLtime, $con); + if( mysql_num_rows( $Ergtime) > 0) + { + //mit sonder status + $SQLerlaubnis = "SELECT Name FROM `EngelType` WHERE TID = '". $TempValue["TID"]. "'"; + $Ergerlaubnis = mysql_query( $SQLerlaubnis, $con); + if( mysql_num_rows( $Ergerlaubnis)) + //setzen wenn nicht definiert + if( !isset($_SESSION['CVS'][mysql_result( $Ergerlaubnis, 0, "Name")])) + $_SESSION['CVS'][mysql_result( $Ergerlaubnis, 0, "Name")] = "Y"; + if( $_SESSION['CVS'][mysql_result( $Ergerlaubnis, 0, "Name")] == "Y") + if( $TempValue["free"] > 0 ) + { + $Spalten.= "<br>\n\t\t <a href=\"./schichtplan_add.php?SID=$SID&TID=". + $TempValue["TID"]."\">"; + $Spalten.= $TempValue["free"]; + if( $TempValue["free"] == 1 ) + $Spalten.= Get_Text("inc_schicht_weitere"). + " ".Get_Text("inc_schicht_Engel"). + Get_Text("inc_schicht_wird"); + else + $Spalten.= Get_Text("inc_schicht_weiterer"). + " ".Get_Text("inc_schicht_Engel"). + Get_Text("inc_schicht_werden"); + $Spalten.= Get_Text("inc_schicht_noch_gesucht"); + $Spalten.= "</a>"; + } + } + else + { + if( isset($TempValue["free"])) + if( $TempValue["free"] > 0 ) + $Spalten.= "<br>\n\t\t <h3><a>Fehlen noch: ". + $TempValue["free"]. "</a></h3>"; + } + $Spalten.= "<br>\n\t\t"; + + } // FOREACH + return $Spalten; +} // function Ausgabe_Feld_Inhalt + + + +/*####################################################### +# gibt die engelschischten Druckergerecht aus # +#######################################################*/ +function Ausgabe_Feld_Inhalt_Druck($RID, $Man ) +{ +// gibt, nach übergabe der der SchichtID (SID) und der RaumBeschreibung, +// die eingetragenden und und offenden Schichteintäge zurück + + +} // function Ausgabe_Feld_Inhalt + + + + +/*####################################################### +# Ausgabe der Raum Spalten # +#######################################################*/ +function CreateRoomShifts( $raum ) +{ + global $Spalten, $ausdatum, $con, $DEBUG, $GlobalZeileProStunde; + + ///////////////////////////////////////////////////////////// + // beginnt die erste schicht vor dem heutigen tag und geht darüber hinaus + ///////////////////////////////////////////////////////////// + $SQLSonder = "SELECT `SID`, `DateS`, `DateE` , `Len`, `Man` FROM `Shifts` ". + "WHERE ((`RID` = '$raum') AND (`DateE` > '$ausdatum 23:59:59') AND ". + "(`DateS` < '$ausdatum 00:00:00') ) ORDER BY `DateS`;"; + $ErgSonder = mysql_query($SQLSonder, $con); + if( (mysql_num_rows( $ErgSonder) > 1) ) + { + echo Get_Text("pub_schichtplan_colision"). " ". + mysql_result($ErgSonder, $i, "DateS"). + " '". mysql_result($ErgSonder, $i, "Man"). "' ". + " (". mysql_result($ErgSonder, $i, "SID"). " R$raum) (00-24)<br><br>"; + } + elseif( (mysql_num_rows( $ErgSonder) == 1) ) + { + $Spalten[0].= "\t\t<td valign=\"top\" rowspan=\"". (24 * $GlobalZeileProStunde). "\">\n". + "\t\t\t<h3>↑↑↑</h3>". + Ausgabe_Feld_Inhalt( mysql_result($ErgSonder, 0, "SID"), + mysql_result($ErgSonder, 0, "Man") ). + "\t\t\t<h3>↓↓↓</h3>". + "\n\t\t</td>\n"; + return; + } + + $ZeitZeiger = 0; + + ///////////////////////////////////////////////////////////// + // beginnt die erste schicht vor dem heutigen tag? + ///////////////////////////////////////////////////////////// + $SQLSonder = "SELECT `SID`, `DateS`, `DateE` , `Len`, `Man` FROM `Shifts` ". + "WHERE ((`RID` = '$raum') AND (`DateE` > '$ausdatum 00:00:00') AND ". + "(`DateS` < '$ausdatum 00:00:00') ) ORDER BY `DateS`;"; + $ErgSonder = mysql_query($SQLSonder, $con); + if( (mysql_num_rows( $ErgSonder) > 1) ) + { + echo Get_Text("pub_schichtplan_colision"). " ". + mysql_result($ErgSonder, $i, "DateS"). + " '". mysql_result($ErgSonder, $i, "Man"). "' ". + " (". mysql_result($ErgSonder, $i, "SID"). " R$raum) (00-xx)<br><br>"; + } + elseif( (mysql_num_rows( $ErgSonder) == 1) ) + { + $ZeitZeiger = substr( mysql_result($ErgSonder, 0, "DateE"), 11, 2 )+ + (substr( mysql_result($ErgSonder, 0, "DateE"), 14, 2 ) / 60); + $Spalten[0].= "\t\t<td valign=\"top\" rowspan=\"". ($ZeitZeiger * $GlobalZeileProStunde). "\">\n". + "\t\t\t<h3>↑↑↑</h3>". + Ausgabe_Feld_Inhalt( mysql_result($ErgSonder, 0, "SID"), + mysql_result($ErgSonder, 0, "Man") ). + "\n\t\t</td>\n"; + } + + ///////////////////////////////////////////////////////////// + // gibt die schichten für den tag aus + ///////////////////////////////////////////////////////////// + $SQL = "SELECT `SID`, `DateS`, `Len`, `Man` FROM `Shifts` ". + "WHERE ((`RID` = '$raum') and ". + "(`DateS` >= '$ausdatum $ZeitZeiger:00:00') and ". + "(`DateS` like '$ausdatum%')) ORDER BY `DateS`;"; + $Erg = mysql_query($SQL, $con); + for( $i = 0; $i < mysql_num_rows($Erg); ++$i ) + { + $ZeitPos = substr( mysql_result($Erg, $i, "DateS"), 11, 2 )+ + (substr( mysql_result($Erg, $i, "DateS"), 14, 2 ) / 60); + $len = mysql_result($Erg, $i, "Len"); + + if( $ZeitZeiger < $ZeitPos ) + { + $Spalten[$ZeitZeiger * $GlobalZeileProStunde].= + "\t\t<td valign=\"top\" rowspan=\"". + ( ($ZeitPos - $ZeitZeiger ) * $GlobalZeileProStunde ). + "\"> </td>\n"; + $ZeitZeiger += $ZeitPos - $ZeitZeiger; + } + if($ZeitZeiger == $ZeitPos ) + { + //sonderfall wenn die schicht über dei 24 stunden hinaus geht + // (eintrag abkürzen, pfeiel ausgeben) + $Spalten[$ZeitZeiger * $GlobalZeileProStunde].= + "\t\t<td valign=\"top\" rowspan=\"". + ( ( ($len+$ZeitZeiger)? $len : 24-$len+$ZeitZeiger) * $GlobalZeileProStunde). + "\">\n". + "\t\t\t". + Ausgabe_Feld_Inhalt( mysql_result($Erg, $i, "SID"), + mysql_result($Erg, $i, "Man") ). + (( ($ZeitZeiger+$len) > 24)? "\t\t\t<h3>↓↓↓</h3>" : ""). + "\n\t\t</td>\n"; + $ZeitZeiger += $len; + } + else + { + echo Get_Text("pub_schichtplan_colision"). " ". + mysql_result($Erg, $i, "DateS"). + " '". mysql_result($Erg, $i, "Man"). "' ". + " (". mysql_result($Erg, $i, "SID"). " R$raum) (xx-xx)<br><br>"; + } + } + if( $ZeitZeiger < 24 ) + $Spalten[($ZeitZeiger * $GlobalZeileProStunde)].= + "\t\t<td valign=\"top\" rowspan=\"". + ((24 - $ZeitZeiger) * $GlobalZeileProStunde ). + "\"> </td>\n"; +} // function CreateRoomShifts + + +/*####################################################### +# Ausgabe der freien schichten # +#######################################################*/ +function showEmptyShifts( ) +{ + global $con, $DEBUG, $RoomID; + + echo "<table border=\"1\">\n"; + echo "<tr>\n"; + echo "\t<th>". Get_Text("inc_schicht_date"). "</th>\n"; + echo "\t<th>". Get_Text("inc_schicht_time"). "</th>\n"; + echo "\t<th>". Get_Text("inc_schicht_room"). "</th>\n"; + echo "\t<th>". Get_Text("inc_schicht_commend"). "</th>\n"; + echo "</tr>\n"; + + $sql = "SELECT `SID`, `DateS`, `Man`, `RID` FROM `Shifts` ". + "WHERE (`Shifts`.`DateS`>='". gmdate("Y-m-d H:i:s", time()+3600). "') ". + "ORDER BY `DateS`, `RID`;"; + $Erg = mysql_query($sql, $con); + + $angezeigt = 0; + for ($i=0; ($i<mysql_num_rows($Erg)) && ($angezeigt< 15); $i++) + if( isset($RoomID[mysql_result( $Erg, $i, "RID")])) + if( $RoomID[mysql_result( $Erg, $i, "RID")]!="" ) + { + $Sql2 = "SELECT `UID` FROM `ShiftEntry` ". + "WHERE `SID`=". mysql_result( $Erg, $i, "SID"). " AND ". + "`UID`='0';"; + $Erg2 = mysql_query($Sql2, $con); + + if( mysql_num_rows($Erg2)>0) + { + $angezeigt++; + echo "<tr>\n"; + echo "\t<td>". substr(mysql_result( $Erg, $i, "DateS"), 0, 10). "</td>\n"; + echo "\t<td>". substr(mysql_result( $Erg, $i, "DateS"), 11). "</td>\n"; + echo "\t<td>". $RoomID[mysql_result( $Erg, $i, "RID")]. "</td>\n"; + echo "\t<td>". + ausgabe_Feld_Inhalt( mysql_result( $Erg, $i, "SID"), mysql_result( $Erg, $i, "Man")). + "</td>\n"; + echo "</tr>\n"; + } + } + + echo "</table>\n"; + +} //function showEmptyShifts + + +/*####################################################### +# Gibt die anzahl der Schichten im Raum zurück # +#######################################################*/ +function SummRoomShifts( $raum ) +{ + global $ausdatum, $con, $DEBUG, $GlobalZeileProStunde; + + $SQLSonder = "SELECT `SID`, `DateS`, `Len`, `Man` FROM `Shifts` ". + "WHERE ((`RID` = '$raum') AND (`DateE` >= '$ausdatum 00:00:00') AND ". + "(`DateS` <= '$ausdatum 23:59:59') ) ORDER BY `DateS`;"; + + $ErgSonder = mysql_query($SQLSonder, $con); + + return mysql_num_rows($ErgSonder); +} + +?> diff --git a/www-ssl/inc/funktion_schichtplan_Tage.php b/www-ssl/inc/funktion_schichtplan_Tage.php new file mode 100755 index 00000000..14ae53a9 --- /dev/null +++ b/www-ssl/inc/funktion_schichtplan_Tage.php @@ -0,0 +1,74 @@ +<?PHP + +function DatumUm1TagErhoehen( $Datum) +{ + $Jahr = substr( $Datum, 0, 4); + $Monat = substr( $Datum, 5, 2); + $Tag = substr( $Datum, 8, 2); + + $Tag++; + + switch( $Monat) + { + case 1: $Mmax=31; break; + case 2: $Mmax=28; break; + case 3: $Mmax=31; break; + case 4: $Mmax=30; break; + case 5: $Mmax=31; break; + case 6: $Mmax=30; break; + case 7: $Mmax=31; break; + case 8: $Mmax=31; break; + case 9: $Mmax=30; break; + case 10: $Mmax=31; break; + case 11: $Mmax=30; break; + case 12: $Mmax=31; break; + } + + if( $Tag > $Mmax) + { + $Tag = 1; + $Monat++; + } + + if( $Monat > 12 ) + { + $Monat = 1; + $Jahr++; + } + + return ("$Jahr-$Monat-$Tag"); +} //function DatumUm1Tagerhoehen( + +//suchen den ersten eintrags +$SQL = "SELECT `DateS` FROM `Shifts` ORDER BY `DateS` LIMIT 1"; +$Erg = mysql_query($SQL, $con); + +$Pos=0; +do +{ + //Startdatum einlesen und link ausgeben + $DateS = substr(mysql_result($Erg, 0 , 0), 0,10); + $VeranstaltungsTage[$Pos++] = $DateS; + + //auslesen den endes und eventuelle weitere tage ausgeben + $SQL2 = "SELECT MAX(`DateE`) FROM `Shifts` ". + "WHERE ( (`DateS` like '$DateS%') AND NOT (`DateE` like '%00:00:00'))"; + $Erg2 = mysql_query($SQL2, $con); + $DateE = substr(mysql_result($Erg2, 0 , 0), 0,10); + + while( $DateS != $DateE) + { + $DateS = DatumUm1TagErhoehen( $DateS); + $VeranstaltungsTage[$Pos++] = $DateS; + } + + //suchen den nästen eintrag + $SQL = "SELECT `DateS` FROM `Shifts` ". + "WHERE (`DateS` > '$DateE 23:59:59' ) ". + "ORDER BY `DateS` ". + "LIMIT 1"; + $Erg = mysql_query($SQL, $con); +} while( mysql_fetch_row($Erg) > 0); +$VeranstaltungsTageMax = $Pos-1; + +?> diff --git a/www-ssl/inc/funktion_schichtplan_beamer.php b/www-ssl/inc/funktion_schichtplan_beamer.php new file mode 100755 index 00000000..5a9e78c3 --- /dev/null +++ b/www-ssl/inc/funktion_schichtplan_beamer.php @@ -0,0 +1,180 @@ +<?php + +/*####################################################### +# Aufbau von Standart Feldern # +#######################################################*/ + +// erstellt ein Array der Reume + $sql = "SELECT `RID`, `Name` FROM `Room` ". + "WHERE `Show`='Y'". + "ORDER BY `Number`, `Name`;"; + + $Erg = mysql_query($sql, $con); + $rowcount = mysql_num_rows($Erg); + + for ($i=0; $i<$rowcount; $i++) + { + $Room[$i]["RID"] = mysql_result($Erg, $i, "RID"); + $Room[$i]["Name"] = mysql_result($Erg, $i, "Name"); + + $RoomID[ mysql_result($Erg, $i, "RID") ] = mysql_result($Erg, $i, "Name"); + } + +// erstellt ein Aray der Engeltypen + $sql = "SELECT `TID`, `Name` FROM `EngelType` ORDER BY `Name`"; + $Erg = mysql_query($sql, $con); + $rowcount = mysql_num_rows($Erg); + for ($i=0; $i<$rowcount; $i++) + { + $EngelType[$i]["TID"] = mysql_result($Erg, $i, "TID"); + $EngelType[$i]["Name"] = mysql_result($Erg, $i, "Name").Get_Text("inc_schicht_engel"); + + $EngelTypeID[ mysql_result($Erg, $i, "TID") ] = + mysql_result($Erg, $i, "Name").Get_Text("inc_schicht_engel"); + } + + +/*####################################################### +# gibt die engelschischten aus # +#######################################################*/ +function ausgabe_Feld_Inhalt( $SID, $Man ) +{ +// gibt, nach übergabe der der SchichtID (SID) und der RaumBeschreibung, +// die eingetragenden und und offenden Schichteintäge zurück + global $EngelType, $EngelTypeID, $con; + //form Config + global $DEBUG; + + $Out.= "<table border=\"0\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" frame=\"void\">\n"; + + $Out.= "\t\t\t<colgroup span=\"2\" align=\"left\" valign=\"center\">\n". + "\t\t\t\t<col width=\"45%\">\n". + "\t\t\t\t<col width=\"*\">\n". + "\t\t\t\t</colgroup>\n"; + + /////////////////////////////////////////////////////////////////// + // SQL abfrage für die benötigten schichten + /////////////////////////////////////////////////////////////////// + $SQL = "SELECT * FROM `ShiftEntry` WHERE (`SID` = '$SID') ORDER BY `TID`, `UID` DESC ;"; + $Erg = mysql_query($SQL, $con); + + $Anzahl = mysql_num_rows($Erg); + $Feld=0; + for( $i = 0; $i < $Anzahl; $i++ ) + { + $Temp_TID_old = $Temp[$Feld]["TID"]; + $Temp_UID_old = $Temp[$Feld]["UID"]; + + $Temp_TID = mysql_result($Erg, $i, "TID"); + + // wenn sich der Type ändert wird zumnästen feld geweckselt + if( $Temp_TID_old != $Temp_TID ) + $Feld++; + + $Temp[$Feld]["TID"] = $Temp_TID; + $Temp[$Feld]["UID"] = mysql_result($Erg, $i, "UID"); + + // sonderfall ersten durchlauf + if( $i == 0 ) + { + $Temp_TID_old = $Temp[$Feld]["TID"]; + $Temp_UID_old = $Temp[$Feld]["UID"]; + } + + // ist es eine zu vergeben schicht? + if( $Temp[$Feld]["UID"] == 0 ) + $Temp[$Feld]["free"]++; + else + $Temp[$Feld]["Engel"][] = $Temp[$Feld]["UID"]; + } // FOR + + + /////////////////////////////////////////////////////////////////// + // Aus gabe der Schicht + /////////////////////////////////////////////////////////////////// + if( count($Temp) ) + foreach( $Temp as $TempEntry => $TempValue ) + { + $Out.= "\t\t\t<tr>\n"; + + // ausgabe EngelType + $Out.= "\t\t\t\t<td>". $EngelTypeID[ $TempValue["TID"] ]; + + // ausgabe Eingetragener Engel + if( count($TempValue["Engel"]) > 0 ) + { + if( count($TempValue["Engel"]) == 1 ) + $Out.= " ". trim(Get_Text("inc_schicht_ist")). ":"; + else + $Out.= " ". trim(Get_Text("inc_schicht_sind")). ":"; + $Out.= "</td>\n"; + $Out.= "\t\t\t\t<td>"; + + foreach( $TempValue["Engel"] as $TempEngelEntry=> $TempEngelID ) + $Out.= UID2Nick( $TempEngelID ). ", "; +// $Out.= UID2Nick( $TempEngelID ). DisplayAvatar( $TempEngelID ). ", "; + $Out = substr( $Out, 0, strlen($Out)-2 ); + } + else + { + $Out.= ":</td>\n"; + $Out.= "\t\t\t\t<td>\n"; + } + + + // ausgabe benötigter Engel + //////////////////////////// + //mit sonder status + $SQLerlaubnis = "SELECT Name FROM `EngelType` WHERE TID = '". $TempValue["TID"]. "'"; + $Ergerlaubnis = mysql_query( $SQLerlaubnis, $con); + if( mysql_num_rows( $Ergerlaubnis)) + if( $_SESSION['CVS'][mysql_result( $Ergerlaubnis, 0, "Name")] == "Y" || + $_SESSION['CVS'][mysql_result( $Ergerlaubnis, 0, "Name")] == "") + for($i=1; $i<=$TempValue["free"]; $i++ ) + $Out.= "free"; + $Out.= "</td>\n"; + $Out.= "\t\t\t</tr>\n"; + + } // FOREACH + + $Out.= "\t\t\t</table>\n\t"; + + return $Out; +} // function Ausgabe_Feld_Inhalt + + + +/*####################################################### +# gibt die engelschischten für einen Ruam aus # +#######################################################*/ +function ausgabe_Zeile( $RID, $Time, &$AnzahlEintraege ) +{ + global $con; + + $SQL = "SELECT `SID`, `Len`, `Man` FROM `Shifts` ". + "WHERE ( (`RID` = '$RID') AND ". + "((`DateE` like '". gmdate("Y-m-d H", $Time+3600). "%') OR ". + " (`DateS` like '". gmdate("Y-m-d H", $Time). "%')) ) ORDER BY `DateS`;"; + + $ErgRoom = mysql_query($SQL, $con); + $Out= "\t<td>"; + if( mysql_num_rows( $ErgRoom)>0 ) + for( $i=1; $i<=mysql_num_rows( $ErgRoom); $i++ ) + { + $AnzahlEintraege++; + $Out.= ausgabe_Feld_Inhalt( mysql_result( $ErgRoom, $i-1, "SID"), + mysql_result( $ErgRoom, $i-1, "Man")); + if( (mysql_num_rows( $ErgRoom) > 1) && !($i==mysql_num_rows( $ErgRoom)) ) + $Out.= "<br>"; +// $Out.= "<hr width=\"95%\" align=\"center\">\n\t\t\t\t"; + + } + else + $Out.= " "; + + $Out.= "</td>\n"; + + return $Out; +} + +?> diff --git a/www-ssl/inc/funktion_user.php b/www-ssl/inc/funktion_user.php new file mode 100755 index 00000000..a420a09a --- /dev/null +++ b/www-ssl/inc/funktion_user.php @@ -0,0 +1,83 @@ +<?php + +function UID2Nick($UID) { + include ("./inc/db.php"); + + $SQL = "SELECT Nick FROM `User` WHERE UID='$UID'"; + $Erg = mysql_query($SQL, $con); + + //echo $UID."#"; + return mysql_result($Erg, 0); +} + + +function TID2Type($TID) { + include ("./inc/db.php"); + + $SQL = "SELECT Name FROM `EngelType` WHERE TID='$TID'"; + $Erg = mysql_query($SQL, $con); + + return mysql_result($Erg, 0); +} + + +function htmlescape($eckig) { + + $neueckig = $eckig; + $neueckig = str_replace("&","&",$neueckig); + $neueckig = str_replace("<","<",$neueckig); + $neueckig = str_replace(">",">",$neueckig); + + // replace smilies + + $neueckig = str_replace(";o))","<img src=\"./inc/smiles/icon_redface.gif\">",$neueckig); + $neueckig = str_replace(":-))","<img src=\"./inc/smiles/icon_redface.gif\">",$neueckig); + $neueckig = str_replace(";o)","<img src=\"./inc/smiles/icon_wind.gif\">",$neueckig); + $neueckig = str_replace(":)","<img src=\"./inc/smiles/icon_smile.gif\">",$neueckig); + $neueckig = str_replace(":-)","<img src=\"./inc/smiles/icon_smile.gif\">",$neueckig); + $neueckig = str_replace(":(","<img src=\"./inc/smiles/icon_sad.gif\">",$neueckig); + $neueckig = str_replace(":-(","<img src=\"./inc/smiles/icon_sad.gif\">",$neueckig); + $neueckig = str_replace(":o(","<img src=\"./inc/smiles/icon_sad.gif\">",$neueckig); + $neueckig = str_replace(":o)","<img src=\"./inc/smiles/icon_lol.gif\">",$neueckig); + $neueckig = str_replace(";o(","<img src=\"./inc/smiles/icon_cry.gif\">",$neueckig); + $neueckig = str_replace(";(","<img src=\"./inc/smiles/icon_cry.gif\">",$neueckig); + $neueckig = str_replace(";-(","<img src=\"./inc/smiles/icon_cry.gif\">",$neueckig); + $neueckig = str_replace("8)","<img src=\"./inc/smiles/icon_rolleyes.gif\">",$neueckig); + $neueckig = str_replace("8o)","<img src=\"./inc/smiles/icon_rolleyes.gif\">",$neueckig); + $neueckig = str_replace(":P","<img src=\"./inc/smiles/icon_evil.gif\">",$neueckig); + $neueckig = str_replace(":-P","<img src=\"./inc/smiles/icon_evil.gif\">",$neueckig); + $neueckig = str_replace(":oP","<img src=\"./inc/smiles/icon_evil.gif\">",$neueckig); + $neueckig = str_replace(";P","<img src=\"./inc/smiles/icon_mad.gif\">",$neueckig); + $neueckig = str_replace(";oP","<img src=\"./inc/smiles/icon_mad.gif\">",$neueckig); + $neueckig = str_replace("?)","<img src=\"./inc/smiles/icon_question.gif\">",$neueckig); + return $neueckig; +} + +function displayavatar($dumdidum) { +include ("./inc/db.php"); + + $asql = "select * from User where UID = $dumdidum"; + $aerg = mysql_query ($asql, $con); + $displayavatar= mysql_result($aerg, 0, "Avatar"); + if ($displayavatar<>0){ + return (" <img src=\"./inc/avatar/avatar$displayavatar.gif\">"); + } + +} + +function Ausgabe_Feld($RID) { +// gibt, nach übergabe der der SchichtID (SID) und der RaumID (RID), +// die eingetragenden und und offenden Schichteintäge zurück + include ("./inc/db.php"); + include ("./inc/config.php"); +//echo "####################", $Erg, "####################<br>"; + + $SQL2 = "SELECT * FROM `Raeume` "; + if ($RID != "") { + $SQL2.= "WHERE (RID = '".$RID."')"; + } + return mysql_query($SQL2, $con); +} + + +?> diff --git a/www-ssl/inc/funktion_xml.php b/www-ssl/inc/funktion_xml.php new file mode 100755 index 00000000..41a18503 --- /dev/null +++ b/www-ssl/inc/funktion_xml.php @@ -0,0 +1,140 @@ +<?PHP + + +class element +{ + var $name = ''; + var $attributes = array(); + var $data = ''; + var $depth = 0; + var $sub = array(); +} + +$XMLDEBUG = 0; +$depth = 0; +$XMLmain = new element; +$XMLpos = array( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); +//$XMLpos = array( 0, 0, 0, 0, 0, 0); + +function convertValues( $Data) +{ + if( $XMLDEBUG) + { + $Data = htmlspecialchars($Data); + $Data = mysql_escape_string($Data); + $Data = htmlentities($Data); + } + $Data = utf8_decode($Data); + return $Data; +} + + +function dataXMLmain( $Data, &$Objekt, $Tiefe ) +{ + global $XMLmain, $XMLpos, $depth, $XMLDEBUG; + + if( $XMLDEBUG) + echo "?$Tiefe$depth"; + if( ($depth-1)==$Tiefe) + { + $Objekt->sub[ $XMLpos[$Tiefe] ]->data .= convertValues($Data); + if( $XMLDEBUG) + echo "???". $Objekt->sub[ $XMLpos[$Tiefe] ]->name. "|$Data|$Tiefe???<br>"; + } + else + dataXMLmain( $Data, $Objekt->sub[ $XMLpos[$Tiefe] ], $Tiefe+1); +} + +function startXMLmain( $Data, &$Objekt, $Tiefe ) +{ + global $XMLpos, $depth, $XMLDEBUG; + + if( $XMLDEBUG) + if($Tiefe==1) + { print_r(array_values ($XMLpos)); echo "--".$Data->name; + echo " #$Tiefe/$depth#"; + } + + if( $depth==$Tiefe) + { + $Objekt->sub[ $XMLpos[$Tiefe] ] = $Data; + if( $XMLDEBUG) + echo "|". $XMLpos[$Tiefe]."|". $Objekt->sub[ $XMLpos[$Tiefe] ]->name. " ". $Data->name." save|". "#-#<br>"; + } + else + startXMLmain( $Data, $Objekt->sub[ $XMLpos[$Tiefe] ], $Tiefe+1); +} + +function start_element_handler($parser, $name, $attribs) +{ + global $depth, $XMLmain, $XMLpos; + + $Data = new element; + $Data->name = $name; + while(list($key, $value) = each($attribs)) + $Data->attributes[$key] = convertValues($value); + $Data->depth = $depth; + $XMLpos[$depth]++; + + if( $depth==0) + $XMLmain= $Data; + else + startXMLmain( $Data, $XMLmain, 1); + + $depth++; +} + +function end_element_handler($parser, $name) +{ + global $depth, $XMLpos; + $XMLpos[$depth]=0; + $depth--; +} + +function character_data_handler($parser, $data) +{ + global $XMLmain; + if( strlen(trim($data)) ) + dataXMLmain( $data, $XMLmain, 1); +} + +/*#######################################################################################*/ +function readXMLfile( $file ) +{ + //$xml_parser = xml_parser_create_ns(); + $xml_parser = xml_parser_create("UTF-8"); + xml_set_element_handler($xml_parser, "start_element_handler", "end_element_handler"); + xml_set_character_data_handler($xml_parser, "character_data_handler"); + if (!($fp = fopen($file, "r"))) + { + echo(" <h1>could not open XML file \"$file\"</h1>"); + return -1; + } + + if( $XMLDEBUG) echo "<pre>"; + while ($data = fread($fp, 4096)) + { + if (!xml_parse($xml_parser, $data, feof($fp))) + { + die(sprintf("XML error: %s at line %d", + xml_error_string(xml_get_error_code($xml_parser)), + xml_get_current_line_number($xml_parser))); + } + } + if( $XMLDEBUG) echo "</pre>"; + xml_parser_free($xml_parser); + return 0; +} + +/*#######################################################################################*/ +function getXMLsubPease( $Sourse, $Name ) +{ + while(list($key, $value) = each($Sourse->sub)) + if( $value->name == $Name) + return $value; + + echo "<h1>Fehler: getXMLsubPease( $Sourse, $Name ) not found</h1>"; +// die; +} + +?> diff --git a/www-ssl/inc/funktionen.php b/www-ssl/inc/funktionen.php new file mode 100755 index 00000000..d841e6ec --- /dev/null +++ b/www-ssl/inc/funktionen.php @@ -0,0 +1,26 @@ +<?php + +/* Schichtverplanung im Adminbereich */ +function Dsubstr($DateString,$re) { + if ($re==1) + return substr($DateString, 0, 2); + elseif ($re==2) + return substr($DateString, 3, 2); + else + return substr($DateString, 6, 4); +} + +/* Schichtverplanung im Engelbereich */ + +function engeldate($edate,$m) { + if ($m==t) + return substr($edate, 8, 2); + elseif ($m==m) + return substr($edate, 5, 2); + elseif ($m==u) + return substr($edate, 11, 5); + else + return substr($edate, 0, 4); +} + +?> diff --git a/www-ssl/inc/header.php b/www-ssl/inc/header.php new file mode 100755 index 00000000..64e831fd --- /dev/null +++ b/www-ssl/inc/header.php @@ -0,0 +1,125 @@ +<? +include ("./inc/config.php"); +include ("./inc/db.php"); +include ("./inc/funktion_lang.php"); +session_start(); +include ("./inc/secure.php"); +/*if ( (!IsSet($_SESSION['UID'])) && (strstr ($_SERVER['PHP_SELF'], "nonpublic") !="" ) ) { + header("Location: https://".$_SERVER['HTTP_HOST'].$ENGEL_ROOT); + exit (); +} // Ende Rechte f. Nonpublic'*/ + +if (IsSet($_SESSION['UID']) and ($_SESSION['IP'] <> $_SERVER['REMOTE_ADDR'])) +{ + header("Location: https://".$_SERVER['HTTP_HOST'].$ENGEL_ROOT); +} + +include ("./inc/UserCVS.php"); + + +//UPdate LASTlogin +if( isset($_SESSION['UID'])) +{ + $SQLlastLogIn = "UPDATE `User` SET ". + "`lastLogIn` = ". gmdate("YmjHis", time()). + " WHERE `UID` = '". $_SESSION['UID']. "' LIMIT 1;"; + mysql_query ($SQLlastLogIn, $con); +} + + +echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n"; +?> +<HTML> +<HEAD> +<? +echo "<TITLE>--- $title ---</TITLE>"; +?> +<meta name="keywords" content="Engel, Himmelsverwaltung"> +<meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> +<meta http-equiv="Content-Style-Type" content="text/css"> +<meta http-equiv="expires" content="0"> +<meta name="robots" content="index"> +<meta name="revisit-after" content="1 days"> +<meta http-equiv="content-language" content="de"> +<link rel=stylesheet type="text/css" href="./inc/css/style<? if (!IsSet($_SESSION['color'])) { echo "1"; } else { echo $_SESSION['color']; } ?>.css"> +<? +if (isset($reload)) { + if ($reload=="") $reload=3330; + echo "\n<meta http-equiv=\"refresh\" content=\"".$reload. + "; URL=./?reload=".$reload."\">\n"; + } + +if (isset($Page["AutoReload"])) { + echo "\n<meta http-equiv=\"refresh\" content=\"". $Page["AutoReload"]. + "; URL=". substr($url, 0, strlen($url)-1). $ENGEL_ROOT. $Page["Name"]."\">\n"; + } +?> +</HEAD> +<BODY> +<? +if( !isset($Page["ShowTabel"]) ) $Page["ShowTabel"]="Y"; +if( $Page["ShowTabel"]=="Y" ) +{ +//############################### ShowTable Start ############################## + +?> + <div align="center"> + <a name="#top"><img src="./inc/himmel<? if ($_SESSION['color']==6) { echo "_w"; } ?>.png" alt="Unser Himmel"></a> + <p> +<table width="95%" align="center" border="0" cellpadding="7" cellspacing="0"> + <tr> + <td valign="top" align="center"> +<table border="0" width="100%" align="center" class="border" cellpadding="5" cellspacing="1"> + <tr class="contenttopic"> + <td> +<? + echo "\t<a name=\"#$header\" class=\"contenttopic\">"; + if( strlen(Get_Text($Page["Name"])) > 0 ) + echo "\n\t<b>". Get_Text($Page["Name"]). "</b></a>\n"; + else + echo "\n\t<b>$header</b></a>\n"; + +?> + </td> + </tr> + <tr class="content"> + <td> +<br> +<?php +echo "\n\n\n"; + +if (IsSet($_SESSION['UID'])) { + if( isset($_SESSION['oldurl'])) + $BACKUP_SESSION_OLDURL = $_SESSION['oldurl']; + if( isset($_SESSION['newurl'])) + $_SESSION['oldurl'] = $_SESSION['newurl']; + $_SESSION['newurl'] = $_SERVER["REQUEST_URI"]; +} + + +//############################### ShowTable Start ############################## +} /* if (ShowTabel....*/ + + +function SetHeaderGo2Back () +{ + global $BACKUP_SESSION_OLDURL; + $_SESSION['oldurl'] = $BACKUP_SESSION_OLDURL; +} + + +if ( $Page["Public"]!= "Y" && $Page["CVS"] != "Y" ) { + echo "Du besitzt kein Rechte für diesen Bereich.<br>\n"; + If (IsSet($_SESSION['oldurl'])) + echo "<a href=\"".$oldurl."\">".Get_Text(11)."</a> geht's zurück...\n"; + else + echo "<a href=\"../nonpublic\">".Get_Text(11)."</a> geht's zurück...\n"; + exit (); +} +?> + + +<!-- ende des header parts //--> + + + diff --git a/www-ssl/inc/himmel.png b/www-ssl/inc/himmel.png Binary files differnew file mode 100755 index 00000000..6a2b5000 --- /dev/null +++ b/www-ssl/inc/himmel.png diff --git a/www-ssl/inc/himmel_w.png b/www-ssl/inc/himmel_w.png Binary files differnew file mode 100755 index 00000000..2dd648ab --- /dev/null +++ b/www-ssl/inc/himmel_w.png diff --git a/www-ssl/inc/login_eingabefeld.php b/www-ssl/inc/login_eingabefeld.php new file mode 100755 index 00000000..def62f25 --- /dev/null +++ b/www-ssl/inc/login_eingabefeld.php @@ -0,0 +1,21 @@ + + +<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> + <td><input type="text" name="user" size="23"></td> +</tr> +<tr> + <td align="right"><? echo Get_Text("index_lang_pass");?></td> + <td><input type="password" name="password" size="23"></td> +</tr> +</table> +<br> +<input type="submit" value="<? echo Get_Text("index_lang_send");?>"> +</form> + + diff --git a/www-ssl/inc/secure.php b/www-ssl/inc/secure.php new file mode 100755 index 00000000..786c18a6 --- /dev/null +++ b/www-ssl/inc/secure.php @@ -0,0 +1,32 @@ +<?php +//soll dein funktion entahlten die alle übergebenen parameter überprüft +//'`'" + +foreach ($_GET as $k => $v) +{ + $v = htmlspecialchars($v); + $v = mysql_escape_string($v); +// $v = htmlentities($v); + if (preg_match('/([\"`])/', $v, $match)) + { + print "sorry get has illegal char '$match[1]'"; + exit; + } + $_GET[$k] = $v; + echo "GET $k=\"$v\"<br>"; +} + +foreach ($_POST as $k => $v) +{ + $v = htmlspecialchars($v); + $v = mysql_escape_string($v); +// $v = htmlentities($v); + if (preg_match('/([\'"`\'])/', $v, $match)) { + print "sorry post has illegal char '$match[1]'"; + exit; + } + $_POST[$k] = $v; + echo "POST $k=\"$v\"<br>"; +} + +?> diff --git a/www-ssl/inc/smiles/aerger2.gif b/www-ssl/inc/smiles/aerger2.gif Binary files differnew file mode 100755 index 00000000..accb9774 --- /dev/null +++ b/www-ssl/inc/smiles/aerger2.gif diff --git a/www-ssl/inc/smiles/alien.gif b/www-ssl/inc/smiles/alien.gif Binary files differnew file mode 100755 index 00000000..1404f299 --- /dev/null +++ b/www-ssl/inc/smiles/alien.gif diff --git a/www-ssl/inc/smiles/blush.gif b/www-ssl/inc/smiles/blush.gif Binary files differnew file mode 100755 index 00000000..28ce436b --- /dev/null +++ b/www-ssl/inc/smiles/blush.gif diff --git a/www-ssl/inc/smiles/boggle.gif b/www-ssl/inc/smiles/boggle.gif Binary files differnew file mode 100755 index 00000000..472a3c3c --- /dev/null +++ b/www-ssl/inc/smiles/boggle.gif diff --git a/www-ssl/inc/smiles/bounce.gif b/www-ssl/inc/smiles/bounce.gif Binary files differnew file mode 100755 index 00000000..942318f3 --- /dev/null +++ b/www-ssl/inc/smiles/bounce.gif diff --git a/www-ssl/inc/smiles/bun.gif b/www-ssl/inc/smiles/bun.gif Binary files differnew file mode 100755 index 00000000..c6ee6937 --- /dev/null +++ b/www-ssl/inc/smiles/bun.gif diff --git a/www-ssl/inc/smiles/candycane.gif b/www-ssl/inc/smiles/candycane.gif Binary files differnew file mode 100755 index 00000000..4469a5c5 --- /dev/null +++ b/www-ssl/inc/smiles/candycane.gif diff --git a/www-ssl/inc/smiles/cheesy.gif b/www-ssl/inc/smiles/cheesy.gif Binary files differnew file mode 100755 index 00000000..52d35b27 --- /dev/null +++ b/www-ssl/inc/smiles/cheesy.gif diff --git a/www-ssl/inc/smiles/dead.gif b/www-ssl/inc/smiles/dead.gif Binary files differnew file mode 100755 index 00000000..8328c337 --- /dev/null +++ b/www-ssl/inc/smiles/dead.gif diff --git a/www-ssl/inc/smiles/depressed.gif b/www-ssl/inc/smiles/depressed.gif Binary files differnew file mode 100755 index 00000000..17c24c42 --- /dev/null +++ b/www-ssl/inc/smiles/depressed.gif diff --git a/www-ssl/inc/smiles/ginger.gif b/www-ssl/inc/smiles/ginger.gif Binary files differnew file mode 100755 index 00000000..199b085d --- /dev/null +++ b/www-ssl/inc/smiles/ginger.gif diff --git a/www-ssl/inc/smiles/hirsch1.gif b/www-ssl/inc/smiles/hirsch1.gif Binary files differnew file mode 100755 index 00000000..6ef61330 --- /dev/null +++ b/www-ssl/inc/smiles/hirsch1.gif diff --git a/www-ssl/inc/smiles/huh.gif b/www-ssl/inc/smiles/huh.gif Binary files differnew file mode 100755 index 00000000..448c6ecc --- /dev/null +++ b/www-ssl/inc/smiles/huh.gif diff --git a/www-ssl/inc/smiles/icon_arrow.gif b/www-ssl/inc/smiles/icon_arrow.gif Binary files differnew file mode 100755 index 00000000..2880055c --- /dev/null +++ b/www-ssl/inc/smiles/icon_arrow.gif diff --git a/www-ssl/inc/smiles/icon_biggrin.gif b/www-ssl/inc/smiles/icon_biggrin.gif Binary files differnew file mode 100755 index 00000000..d3527723 --- /dev/null +++ b/www-ssl/inc/smiles/icon_biggrin.gif diff --git a/www-ssl/inc/smiles/icon_confused.gif b/www-ssl/inc/smiles/icon_confused.gif Binary files differnew file mode 100755 index 00000000..0c49e069 --- /dev/null +++ b/www-ssl/inc/smiles/icon_confused.gif diff --git a/www-ssl/inc/smiles/icon_cool.gif b/www-ssl/inc/smiles/icon_cool.gif Binary files differnew file mode 100755 index 00000000..cead0306 --- /dev/null +++ b/www-ssl/inc/smiles/icon_cool.gif diff --git a/www-ssl/inc/smiles/icon_cry.gif b/www-ssl/inc/smiles/icon_cry.gif Binary files differnew file mode 100755 index 00000000..7d54b1f9 --- /dev/null +++ b/www-ssl/inc/smiles/icon_cry.gif diff --git a/www-ssl/inc/smiles/icon_eek.gif b/www-ssl/inc/smiles/icon_eek.gif Binary files differnew file mode 100755 index 00000000..5d397810 --- /dev/null +++ b/www-ssl/inc/smiles/icon_eek.gif diff --git a/www-ssl/inc/smiles/icon_evil.gif b/www-ssl/inc/smiles/icon_evil.gif Binary files differnew file mode 100755 index 00000000..ab1aa8e1 --- /dev/null +++ b/www-ssl/inc/smiles/icon_evil.gif diff --git a/www-ssl/inc/smiles/icon_exclaim.gif b/www-ssl/inc/smiles/icon_exclaim.gif Binary files differnew file mode 100755 index 00000000..6e50e2ee --- /dev/null +++ b/www-ssl/inc/smiles/icon_exclaim.gif diff --git a/www-ssl/inc/smiles/icon_frown.gif b/www-ssl/inc/smiles/icon_frown.gif Binary files differnew file mode 100755 index 00000000..d2ac78c0 --- /dev/null +++ b/www-ssl/inc/smiles/icon_frown.gif diff --git a/www-ssl/inc/smiles/icon_idea.gif b/www-ssl/inc/smiles/icon_idea.gif Binary files differnew file mode 100755 index 00000000..a40ae0d7 --- /dev/null +++ b/www-ssl/inc/smiles/icon_idea.gif diff --git a/www-ssl/inc/smiles/icon_lol.gif b/www-ssl/inc/smiles/icon_lol.gif Binary files differnew file mode 100755 index 00000000..374ba150 --- /dev/null +++ b/www-ssl/inc/smiles/icon_lol.gif diff --git a/www-ssl/inc/smiles/icon_mad.gif b/www-ssl/inc/smiles/icon_mad.gif Binary files differnew file mode 100755 index 00000000..1f6c3c2f --- /dev/null +++ b/www-ssl/inc/smiles/icon_mad.gif diff --git a/www-ssl/inc/smiles/icon_mrgreen.gif b/www-ssl/inc/smiles/icon_mrgreen.gif Binary files differnew file mode 100755 index 00000000..b54cd0f9 --- /dev/null +++ b/www-ssl/inc/smiles/icon_mrgreen.gif diff --git a/www-ssl/inc/smiles/icon_neutral.gif b/www-ssl/inc/smiles/icon_neutral.gif Binary files differnew file mode 100755 index 00000000..4f311567 --- /dev/null +++ b/www-ssl/inc/smiles/icon_neutral.gif diff --git a/www-ssl/inc/smiles/icon_question.gif b/www-ssl/inc/smiles/icon_question.gif Binary files differnew file mode 100755 index 00000000..9d072265 --- /dev/null +++ b/www-ssl/inc/smiles/icon_question.gif diff --git a/www-ssl/inc/smiles/icon_razz.gif b/www-ssl/inc/smiles/icon_razz.gif Binary files differnew file mode 100755 index 00000000..29da2a2f --- /dev/null +++ b/www-ssl/inc/smiles/icon_razz.gif diff --git a/www-ssl/inc/smiles/icon_redface.gif b/www-ssl/inc/smiles/icon_redface.gif Binary files differnew file mode 100755 index 00000000..ad762832 --- /dev/null +++ b/www-ssl/inc/smiles/icon_redface.gif diff --git a/www-ssl/inc/smiles/icon_rolleyes.gif b/www-ssl/inc/smiles/icon_rolleyes.gif Binary files differnew file mode 100755 index 00000000..d7f5f2f4 --- /dev/null +++ b/www-ssl/inc/smiles/icon_rolleyes.gif diff --git a/www-ssl/inc/smiles/icon_sad.gif b/www-ssl/inc/smiles/icon_sad.gif Binary files differnew file mode 100755 index 00000000..d2ac78c0 --- /dev/null +++ b/www-ssl/inc/smiles/icon_sad.gif diff --git a/www-ssl/inc/smiles/icon_smile.gif b/www-ssl/inc/smiles/icon_smile.gif Binary files differnew file mode 100755 index 00000000..7b1f6d30 --- /dev/null +++ b/www-ssl/inc/smiles/icon_smile.gif diff --git a/www-ssl/inc/smiles/icon_surprised.gif b/www-ssl/inc/smiles/icon_surprised.gif Binary files differnew file mode 100755 index 00000000..cb214243 --- /dev/null +++ b/www-ssl/inc/smiles/icon_surprised.gif diff --git a/www-ssl/inc/smiles/icon_twisted.gif b/www-ssl/inc/smiles/icon_twisted.gif Binary files differnew file mode 100755 index 00000000..502fe247 --- /dev/null +++ b/www-ssl/inc/smiles/icon_twisted.gif diff --git a/www-ssl/inc/smiles/icon_wind.gif b/www-ssl/inc/smiles/icon_wind.gif Binary files differnew file mode 100755 index 00000000..d1482880 --- /dev/null +++ b/www-ssl/inc/smiles/icon_wind.gif diff --git a/www-ssl/inc/smiles/koenig1.gif b/www-ssl/inc/smiles/koenig1.gif Binary files differnew file mode 100755 index 00000000..b3e710cb --- /dev/null +++ b/www-ssl/inc/smiles/koenig1.gif diff --git a/www-ssl/inc/smiles/laser1.gif b/www-ssl/inc/smiles/laser1.gif Binary files differnew file mode 100755 index 00000000..32e2aab7 --- /dev/null +++ b/www-ssl/inc/smiles/laser1.gif diff --git a/www-ssl/inc/smiles/love1.gif b/www-ssl/inc/smiles/love1.gif Binary files differnew file mode 100755 index 00000000..88dd553a --- /dev/null +++ b/www-ssl/inc/smiles/love1.gif diff --git a/www-ssl/inc/smiles/moo.gif b/www-ssl/inc/smiles/moo.gif Binary files differnew file mode 100755 index 00000000..e525aa86 --- /dev/null +++ b/www-ssl/inc/smiles/moo.gif diff --git a/www-ssl/inc/smiles/nuts.gif b/www-ssl/inc/smiles/nuts.gif Binary files differnew file mode 100755 index 00000000..12d4c5d1 --- /dev/null +++ b/www-ssl/inc/smiles/nuts.gif diff --git a/www-ssl/inc/smiles/robin.gif b/www-ssl/inc/smiles/robin.gif Binary files differnew file mode 100755 index 00000000..ee0f0500 --- /dev/null +++ b/www-ssl/inc/smiles/robin.gif diff --git a/www-ssl/inc/smiles/sheep.gif b/www-ssl/inc/smiles/sheep.gif Binary files differnew file mode 100755 index 00000000..d1691491 --- /dev/null +++ b/www-ssl/inc/smiles/sheep.gif diff --git a/www-ssl/inc/smiles/sick.gif b/www-ssl/inc/smiles/sick.gif Binary files differnew file mode 100755 index 00000000..488d0e8e --- /dev/null +++ b/www-ssl/inc/smiles/sick.gif diff --git a/www-ssl/inc/smiles/sleep.gif b/www-ssl/inc/smiles/sleep.gif Binary files differnew file mode 100755 index 00000000..7e1a0c51 --- /dev/null +++ b/www-ssl/inc/smiles/sleep.gif diff --git a/www-ssl/inc/smiles/soppy.gif b/www-ssl/inc/smiles/soppy.gif Binary files differnew file mode 100755 index 00000000..6c0416b1 --- /dev/null +++ b/www-ssl/inc/smiles/soppy.gif diff --git a/www-ssl/inc/smiles/stress.gif b/www-ssl/inc/smiles/stress.gif Binary files differnew file mode 100755 index 00000000..133913d7 --- /dev/null +++ b/www-ssl/inc/smiles/stress.gif diff --git a/www-ssl/inc/smiles/sweet.gif b/www-ssl/inc/smiles/sweet.gif Binary files differnew file mode 100755 index 00000000..6c1e79a7 --- /dev/null +++ b/www-ssl/inc/smiles/sweet.gif diff --git a/www-ssl/inc/smiles/tired.gif b/www-ssl/inc/smiles/tired.gif Binary files differnew file mode 100755 index 00000000..d8cd4306 --- /dev/null +++ b/www-ssl/inc/smiles/tired.gif diff --git a/www-ssl/inc/smiles/urgh.gif b/www-ssl/inc/smiles/urgh.gif Binary files differnew file mode 100755 index 00000000..16a9bc1d --- /dev/null +++ b/www-ssl/inc/smiles/urgh.gif diff --git a/www-ssl/inc/smiles/winken1.gif b/www-ssl/inc/smiles/winken1.gif Binary files differnew file mode 100755 index 00000000..98f1821b --- /dev/null +++ b/www-ssl/inc/smiles/winken1.gif diff --git a/www-ssl/inc/smiles/worm.gif b/www-ssl/inc/smiles/worm.gif Binary files differnew file mode 100755 index 00000000..c0134ee8 --- /dev/null +++ b/www-ssl/inc/smiles/worm.gif diff --git a/www-ssl/inc/smiles/worry.gif b/www-ssl/inc/smiles/worry.gif Binary files differnew file mode 100755 index 00000000..c598b575 --- /dev/null +++ b/www-ssl/inc/smiles/worry.gif diff --git a/www-ssl/index.php b/www-ssl/index.php new file mode 100755 index 00000000..9225ec71 --- /dev/null +++ b/www-ssl/index.php @@ -0,0 +1,20 @@ +<?php +$title = "Index"; +$header = "Index"; +$Page["Public"] = "Y"; +include ("./inc/header.php"); + +echo Get_Text("index_text1")."<br><br>"; +echo Get_Text("index_text2")."<br>"; +echo Get_Text("index_text3")."<br>"; + +include ("./inc/login_eingabefeld.php"); + +echo "<h6>".Get_Text("index_text4")."</h6>"; + +echo Get_Text("index_text5"). "<br>". $show_SSLCERT; + +include ("./inc/footer.php"); +?> + + diff --git a/www-ssl/lageplan.php b/www-ssl/lageplan.php new file mode 100755 index 00000000..08195023 --- /dev/null +++ b/www-ssl/lageplan.php @@ -0,0 +1,19 @@ +<?php +$title = "Index"; +$header = "Lageplan"; +$Page["Public"] = "Y"; +include ("./inc/header.php"); +?> + +<p> +Hier eine Übersicht über die Raumssituation auf dem Camp. +</p> + +<p> +<img src="./pic/lageplan/lageplan.jpg" alt="Lageplan" />. +</p> + +<? +include ("./inc/footer.php"); +?> + diff --git a/www-ssl/logout.php b/www-ssl/logout.php new file mode 100755 index 00000000..40995b8a --- /dev/null +++ b/www-ssl/logout.php @@ -0,0 +1,19 @@ +<?php +$title = "Himmel"; +$header = "News"; +$Page["Public"] = "Y"; + +// Die Session zerstoeren... +session_start(); +session_destroy (); +// und eine neue erstellen, damit kein Erzengelmenü angezeigt wird (falls sich ein Erzengel abmeldet...) +session_start(); + +include ("./inc/header.php"); + +echo Get_Text("index_logout")."<br><br>"; + +include ("./inc/login_eingabefeld.php"); + +include ("./inc/footer.php"); +?> diff --git a/www-ssl/makeuser.php b/www-ssl/makeuser.php new file mode 100755 index 00000000..eae1f855 --- /dev/null +++ b/www-ssl/makeuser.php @@ -0,0 +1,111 @@ +<?PHP + +$title = "MakeNewUser"; +$header = "Make New User"; +$Page["Public"]="N^"; +include ("./inc/header.php"); +include ("./inc/db.php"); +include ("./inc/crypt.php"); + +//User Anzahl +$SQL3 = "SELECT * FROM `User`"; +$Erg3 = mysql_query($SQL3, $con); +echo "\n<!-- ". mysql_num_rows($Erg3). " //-->\n\n"; + +if( !isset($_POST["action"]) ) + $_POST["action"]="new"; + +if( $_POST["action"]=="newsave") +{ + $eNick = trim($_POST["eNick"]); + if( strlen($_POST["eNick"]) < 2 ) + { + $error= "<h3>error: nick '".$_POST["eNick"]."' is to short (min. 2 characters)</h3>"; + } + elseif( strlen($_POST["eemail"]) <= 7 || + strstr($_POST["eemail"], "@") == FALSE || + strstr($_POST["eemail"], ".") == FALSE ) + { + $error= "<h3>error: e-mail address is not correct</h3>"; + } + elseif( $_POST["ePasswort"] != $_POST["ePasswort2"] ) + { + $error= "error: passswords are not identical"; + } + elseif( strlen($_POST["ePasswort"]) < 6 ) + { + $error= "error: password is to short (min. 6 characters)"; + } + else + { + $_POST["ePasswort"] = PassCrypt($_POST["ePasswort"]); + $SQL = "INSERT INTO `User` (`Nick`, `Name`, `Vorname`, `Alter`, `Telefon`, `DECT`, `Handy`, ". + "`email`, `Size`, `Passwort`) ". + "VALUES ('". $_POST["eNick"]. "', '". $_POST["eName"]. "', '". $_POST["eVorname"]. + "', '". $_POST["eAlter"]. "', '". $_POST["eTelefon"]. "', '". $_POST["eDECT"]. + "', '". $_POST["eHandy"]. "', '". $_POST["eemail"]. "', '". $_POST["eSize"]. + "', '". $_POST["ePasswort"]. "');"; + $Erg = mysql_query($SQL, $con); + if ($Erg != 1) + echo "error: can't save personal informations...<br><h6>(error: ".mysql_error($con).")</h6>"; + else + { + echo "personal informations was saved...<br>"; + + $SQL2 = "SELECT UID FROM `User` WHERE Nick='". $_POST["eNick"]. "';"; + $Erg2 = mysql_query($SQL2, $con); + $Data = mysql_fetch_array($Erg2); + + $SQL3 = "INSERT INTO `UserCVS` (`UID`) VALUES (". $Data["UID"]. ");"; + $Erg3 = mysql_query($SQL3, $con); + if ($Erg3 != 1) + { + echo "error: can't save userright... <br><h6>(".mysql_error($con).")</h6>"; + } + else + { + echo "userright was saved...<br>"; + echo "<br><br> Your acount was sucsessfull creat, hafe al lot of fun."; + } + } + } +} + +if( $_POST["action"] == "new" || isset($error)) +{ + if( !isset($error) ) + echo "If you wont to be an angel please insert your personal information into this form: <br>"; + else + echo $error; + echo "\n\n<form action=\"https://". $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']. "\" method=\"POST\">\n"; + echo "<table>\n"; + echo " <tr><td>nick*</td><td><input type=\"text\" size=\"40\" name=\"eNick\" value=\"". + $_POST["eNick"]. "\"></td></tr>\n"; + echo " <tr><td>last name</td><td><input type=\"text\" size=\"40\" name=\"eName\" value=\"". + $_POST["eName"]. "\"></td></tr>\n"; + echo " <tr><td>first name</td><td><input type=\"text\" size=\"40\" name=\"eVorname\" value=\"". + $_POST["eVorname"]. "\"></td></tr>\n"; + echo " <tr><td>age</td><td><input type=\"text\" size=\"40\" name=\"eAlter\" value=\"". + $_POST["eAlter"]. "\"></td></tr>\n"; + echo " <tr><td>phone</td><td><input type=\"text\" size=\"40\" name=\"eTelefon\" value=\"". + $_POST["eTelefon"]. "\"></td></tr>\n"; + echo " <tr><td>DECT on congress</td><td><input type=\"text\" size=\"40\" name=\"eDECT\" value=\"". + $_POST["eDECT"]. "\"></td></tr>\n"; + echo " <tr><td>mobile</td><td><input type=\"text\" size=\"40\" name=\"eHandy\" value=\"". + $_POST["eHandy"]. "\"></td></tr>\n"; + echo " <tr><td>e-mail*</td><td><input type=\"text\" size=\"40\" name=\"eemail\" value=\"". + $_POST["eemail"]. "\"></td></tr>\n"; + echo " <tr><td>T-Shirt size*</td><td><input type=\"text\" size=\"40\" name=\"eSize\" value=\"". + $_POST["eSize"]. "\"></td></tr>\n"; + echo " <tr><td>password*</td><td><input type=\"password\" size=\"40\" name=\"ePasswort\"></td></tr>\n"; + echo " <tr><td>password Confirm*</td><td><input type=\"password\" size=\"40\" name=\"ePasswort2\"></td></tr>\n"; + echo "</table>\n"; + echo "<input type=\"hidden\" name=\"action\" value=\"newsave\">\n"; + echo "<input type=\"submit\" value=\"register me as an engel\">\n"; + echo "</form>"; + echo "\n\n\n\t* entry required!\n"; +} + +include ("./inc/footer.php"); +?> + diff --git a/www-ssl/menu.php b/www-ssl/menu.php new file mode 100755 index 00000000..2c3f95c2 --- /dev/null +++ b/www-ssl/menu.php @@ -0,0 +1,14 @@ +<? echo $MenueTableStart; ?> + +<h4><? echo Get_Text("menu_Name")?></h4> +<div align="left"> +<ul type="disc"> +<li><a href="index.php"><? echo Get_Text("menu_index");?></a></li> +<? //<li><a href="faq.php"><? echo Get_Text("menu_FAQ");? ></a></li>?> +<? //<li><a href="lageplan.php"><? echo Get_Text("menu_plan");? ></a></li>?> +<li><a href="makeuser.php"><? echo Get_Text("menu_MakeUser");?></a></li> +<li><a href="nonpublic/schichtplan_beamer.php"><? echo Get_Text("pub_menu_SchichtplanBeamer");?></a></li> +</ul> +</div> + +<? echo $MenueTableEnd; ?> diff --git a/www-ssl/nonpublic/einstellungen.php b/www-ssl/nonpublic/einstellungen.php new file mode 100755 index 00000000..214593ae --- /dev/null +++ b/www-ssl/nonpublic/einstellungen.php @@ -0,0 +1,236 @@ +<? +$title = "Himmel"; +$header = "Deine persönlichen Einstellungen"; +include ("./inc/header.php"); +include ("./inc/crypt.php"); + +if (!IsSet($_POST["action"])) +{ + echo Get_Text(1).$_SESSION['Nick'].",<br>\n\n"; + Print_Text(13); +?> +<hr width=\"100%\"> +<? Print_Text("pub_einstellungen_Text_UserData");?> +<form action="./einstellungen.php" method="post"> + <input type="hidden" name="action" value="setUserData"> + <table> + <tr> <td><? Print_Text("pub_einstellungen_Nick"); ?></td> + <td><input type="text" name="eNick" size="23" value="<? echo $_SESSION["Nick"]; ?>"></td></tr> + <tr> <td><? Print_Text("pub_einstellungen_Name"); ?></td> + <td><input type="text" name="eName" size="23" value="<? echo $_SESSION['Name']; ?>"></td></tr> + <tr> <td><? Print_Text("pub_einstellungen_Vorname"); ?></td> + <td><input type="text" name="eVorname" size="23" value="<? echo $_SESSION['Vorname']; ?>"></td></tr> + <tr> <td><? Print_Text("pub_einstellungen_Alter"); ?></td> + <td><input type="text" name="eAlter" size="3" value="<? echo $_SESSION['Alter']; ?>"></td></tr> + <tr> <td><? Print_Text("pub_einstellungen_Telefon"); ?></td> + <td><input type="text" name="eTelefon" size="40" value="<? echo $_SESSION['Telefon']; ?>"></td></tr> + <tr> <td><? Print_Text("pub_einstellungen_Handy"); ?></td> + <td><input type="text" name="eHandy" size="40" value="<? echo $_SESSION['Handy']; ?>"></td></tr> + <tr> <td><? Print_Text("pub_einstellungen_DECT"); ?></td> + <td><input type="text" name="eDECT" size="4" value="<? echo $_SESSION['DECT']; ?>"></td></tr> + <tr> <td><? Print_Text("pub_einstellungen_email"); ?></td> + <td><input type="text" name="eemail" size="40" value="<? echo $_SESSION['email']; ?>"></td></tr> + </table> + <input type="submit" value="<?PHP Print_Text(10); ?>"> +</form> +<br> + + +<hr width=\"100%\"> +<? Print_Text(14);?> +<form action="./einstellungen.php" method="post"> + <input type="hidden" name="action" value="set"> + <table> + <tr><td><?PHP Print_Text(15); ?></td><td><input type="password" name="old" size="20"></td></tr> + <tr><td><?PHP Print_Text(16); ?></td><td><input type="password" name="new1" size="20"></td></tr> + <tr><td><?PHP Print_Text(17); ?></td><td><input type="password" name="new2" size="20"></td></tr> + </table> + <input type="submit" value="<?PHP Print_Text(10); ?>"> +</form> +<br> + + +<hr width="100%"> +<br> +<?PHP Print_Text(18); ?> +<form action="./einstellungen.php" method="post"> + <input type="hidden" name="action" value="colour"> + <table> + <tr><td><?PHP Print_Text(19); ?></td> + <td> + <select name="colourid"> + <option <?php if($_SESSION['color'] == 1) { echo "selected"; } ?> value="1">Standard-Style</option> + <option <?php if($_SESSION['color'] == 2) { echo "selected"; } ?> value="2">Rot/Gelber Style</option> + <option <?php if($_SESSION['color'] == 3) { echo "selected"; } ?> value="3">Club-Mate Style</option> + <option <?php if($_SESSION['color'] == 5) { echo "selected"; } ?> value="5">Debian Style</option> + <option <?php if($_SESSION['color'] == 6) { echo "selected"; } ?> value="6">c-base Style</option> + <option <?php if($_SESSION['color'] == 7) { echo "selected"; } ?> value="7">Blau/Gelber Style </option> + <option <?php if($_SESSION['color'] == 8) { echo "selected"; } ?> value="8">Pastel Style</option> + <option <?php if($_SESSION['color'] == 4) { echo "selected"; } ?> value="4">Test Style</option> + <option <?php if($_SESSION['color'] == 9) { echo "selected"; } ?> value="9">Test Style 21c3 </option> + </select> + </td></tr> + </table> + <input type="submit" value="<?PHP Print_Text(10); ?>"> +</form> +<br> +<hr width="100%"> +<br> +<?PHP Print_Text(20); ?> +<form action="./einstellungen.php" method="post"> + <input type="hidden" name="action" value="sprache"> + <table> + <tr><td><?PHP Print_Text(21); ?></td> + <td> + <select name="language"> + <option value="DE" <?php if($_SESSION['Sprache'] == 'DE') { echo "selected"; } ?>>Deutsch</option> + <option value="EN" <?php if($_SESSION['Sprache'] == 'EN') { echo "selected"; } ?>>English</option> + <option value="NL" <?php if($_SESSION['Sprache'] == 'NL') { echo "selected"; } ?>>Dutch</option> + </select> + </td></tr> + </table> + <input type="submit" value="<?PHP Print_Text(10); ?>"> +</form> +<br> +<hr width="100%"> +<br> +<?PHP Print_Text(22); ?> +<form action="./einstellungen.php" method="post"> + <input type="hidden" name="action" value="avatar"> + <table> + <tr> + <td><?PHP Print_Text(23); ?><br></td> + <td> + </td> + </tr> + <tr> + <td> + + +<? + +// Anzahl der installierten Avatars + +//$ANZ_AVATAR= shell_exec("ls ".$_SERVER["DOCUMENT_ROOT"].$ENGEL_ROOT."inc/avatar/ | wc -l"); +$ANZ_AVATAR= shell_exec("ls inc/avatar/ | wc -l"); + ?> + + <select name="eAvatar" onChange="document.avatar.src = './inc/avatar/avatar' + this.value + '.gif'" + onKeyup= "document.avatar.src = './inc/avatar/avatar' + this.value + '.gif'"> + <?php + for ($i=1; $i <= $ANZ_AVATAR; $i++ ) + { + echo "\t\t\t\t<option value=\"$i\""; + if ($_SESSION['Avatar'] == $i) { echo " selected"; } + echo ">avatar$i</option>\n"; + } + echo "\n"; + ?> + </select> + <img src="./inc/avatar/avatar<?php echo $_SESSION['Avatar']; ?>.gif" name="avatar" border="0" alt="" align="top"> + </td></tr> + </table> + <input type="submit" value="<?PHP Print_Text(10); ?>"> +</form> + + +<? + +} else { + +switch ($_POST["action"]) { + +case 'set': + if ($_POST["new1"]==$_POST["new2"]){ + Print_Text(25); + $sql = "select * from User where UID=".$_SESSION['UID']; + $Erg = mysql_query($sql, $con); + if (PassCrypt($_POST["old"])==mysql_result($Erg, 0, "Passwort")) { + Print_Text(26); + Print_Text(27); + $usql = "update User set Passwort='".PassCrypt($_POST["new1"])."' ". + "where UID=".$_SESSION['UID']." limit 1"; + $Erg = mysql_query($usql, $con); + if ($Erg==1) { + Print_Text(28); + } else { + Print_Text(29); + } + } else { + Print_Text(30); + } + } else { + Print_Text(31); + } + break; + +case 'colour': + + $chsql="Update User set color= \"". $_POST["colourid"]. "\" where UID = \"".$_SESSION['UID']."\" limit 1"; + $Erg = mysql_query($chsql, $con); + $_SESSION['color']=$_POST["colourid"]; + if ($Erg==1) { + Print_Text(32); + } else { + Print_Text(29); + } + + break; + +case 'sprache': + + $chsql="Update User set Sprache = \"". $_POST["language"]. "\" where UID = \"".$_SESSION['UID']."\" limit 1"; + $Erg = mysql_query($chsql, $con); + $_SESSION['Sprache']=$_POST["language"]; + if ($Erg==1) { + Print_Text(33); + } else { + Print_Text(29); + } + + break; + +case 'avatar': + $chsql="Update User set Avatar = \"". $_POST["eAvatar"]. "\" where UID = \"". $_SESSION['UID']. "\" limit 1"; + $Erg = mysql_query($chsql, $con); + $_SESSION['Avatar']=$_POST["eAvatar"]; + if ($Erg==1) { + Print_Text(34); + } else { + Print_Text(29); + } + break; + +case 'setUserData': + $chsql= "UPDATE User SET ". + "`Nick`='". $_POST["eNick"]. "', `Name`='". $_POST["eName"]. "', ". + "`Vorname`='". $_POST["eVorname"]. "', `Alter`='". $_POST["eAlter"]. "', ". + "`Telefon`='". $_POST["eTelefon"]. "', `Handy`='". $_POST["eHandy"]. "', ". + "`DECT`='". $_POST["eDECT"]. "', `email`='". $_POST["eemail"]. "' ". + "WHERE UID='". $_SESSION['UID']. "' LIMIT 1;"; + $Erg = mysql_query($chsql, $con); + + if ($Erg==1) + { + $_SESSION['Nick'] = $_POST["eNick"]; + $_SESSION['Name'] = $_POST["eName"]; + $_SESSION['Vorname'] = $_POST["eVorname"]; + $_SESSION['Alter'] = $_POST["eAlter"]; + $_SESSION['Telefon'] = $_POST["eTelefon"]; + $_SESSION['Handy'] = $_POST["eHandy"]; + $_SESSION['DECT'] = $_POST["eDECT"]; + $_SESSION['email'] = $_POST["eemail"]; + + Print_Text("pub_einstellungen_UserDateSaved"); + } + else + { + Print_Text(29); + echo mysql_error( $con); + } + break; + +} +} +include ("./inc/footer.php"); +?> diff --git a/www-ssl/nonpublic/engelbesprechung.php b/www-ssl/nonpublic/engelbesprechung.php new file mode 100755 index 00000000..436a5271 --- /dev/null +++ b/www-ssl/nonpublic/engelbesprechung.php @@ -0,0 +1,29 @@ +<?php +$title = "Himmel"; +$header = "Engelbesprechung"; +include ("./inc/header.php"); +include ("./inc/funktion_user.php"); +?> + +<br> + +<?php + +$SQL = "SELECT * FROM `News` ORDER BY 'Datum' DESC"; +$Erg = mysql_query($SQL, $con); + +// anzahl zeilen +$Zeilen = mysql_num_rows($Erg); + +for ($n = 0 ; $n < $Zeilen ; $n++) { + if (mysql_result($Erg, $n, "Treffen")=="1") { + echo "<p class='question'><u>".mysql_result($Erg, $n, "Betreff")."</u><br>". + " <font size=1>".mysql_result($Erg, $n, "Datum").", "; + echo UID2Nick(mysql_result($Erg, $n, "UID"))."</font></p>\n"; + echo "<p class='answetion'>".nl2br(mysql_result($Erg, $n, "Text"))."</p>\n"; + } +} + + +include ("./inc/footer.php"); +?> diff --git a/www-ssl/nonpublic/faq.php b/www-ssl/nonpublic/faq.php new file mode 100755 index 00000000..6470ba4f --- /dev/null +++ b/www-ssl/nonpublic/faq.php @@ -0,0 +1,71 @@ +<?php +$title = "Himmel"; +$header = "FAQ / Fragen an die Erzengel"; +include ("./inc/header.php"); + + +// Erstaufruf, oder Frage bereits abgeschickt? +if (!IsSet($_POST["eUID"])) +{ + Print_Text(35); +?> +<br><br> +<form action="./faq.php" method="POST"> + <input type="hidden" name="eUID" value="<? echo $_SESSION['UID'] ?>"> + <textarea name="frage" cols="40" rows="10"><?PHP Print_Text(36); ?></textarea><br><br> + <input type="submit" value="<?PHP Print_Text(10); ?>"> +</form> +<? + +} else { +// Auswertung d. Formular-Daten: + +echo "<b>".Get_Text(37)."</b><br><br>\n".nl2br($_POST["frage"])."<br><br>\n".Get_Text(38)."<br>\n"; + +$SQL = "INSERT into Questions VALUES (\"\", \"".$_SESSION['UID']."\", \"". $_POST["frage"]. "\", \"\", \"\")"; +$Erg = mysql_query($SQL, $con); + +} +// Bisherige Anfragen: +echo "<br>\n<b>".Get_Text(39)."</b><br>\n"; +echo "<hr width=\"99%\">\n"; +echo "<br><b>".Get_Text(40)."</b><br>\n"; + +$SQL = "SELECT * from Questions where UID = ".$_SESSION['UID']." and AID=\"0\" ORDER BY 'QID' DESC"; +$Erg = mysql_query($SQL, $con); + +// anzahl zeilen +$Zeilen = mysql_num_rows($Erg); + +if ($Zeilen==0){ + Print_Text(41); + +} else { + for ($n = 0 ; $n < $Zeilen ; $n++) { + echo "<p class='question'>".nl2br(mysql_result($Erg, $n, "Question"))."<br>\n"; +// Es gibt ja noch keine Antwort: +// echo "<p class='answer'>".nl2br(mysql_result($Erg, $n, "Answer"))."</p>\n"; + echo "\n<br>---<br>"; + } +} + +echo "<hr width=\"99%\">\n"; +echo "<br><b>".Get_Text(42)."</b><br>\n"; +$SQL = "SELECT * from Questions where UID = ".$_SESSION['UID']." and AID<>\"0\" ORDER BY 'QID' DESC"; +$Erg = mysql_query($SQL, $con); + +// anzahl zeilen +$Zeilen = mysql_num_rows($Erg); + +if ($Zeilen==0){ + Print_Text(41); +} else { + for ($n = 0 ; $n < $Zeilen ; $n++) { + echo "<p class='question'>".nl2br(mysql_result($Erg, $n, "Question"))."<br>\n"; + echo "<p class='answer'>".nl2br(mysql_result($Erg, $n, "Answer"))."\n"; + echo "\n<br>---<br>"; + } +} + +include ("./inc/footer.php"); +?> diff --git a/www-ssl/nonpublic/inc b/www-ssl/nonpublic/inc new file mode 120000 index 00000000..22dc542a --- /dev/null +++ b/www-ssl/nonpublic/inc @@ -0,0 +1 @@ +../inc
\ No newline at end of file diff --git a/www-ssl/nonpublic/index.php b/www-ssl/nonpublic/index.php new file mode 100755 index 00000000..d46b0a10 --- /dev/null +++ b/www-ssl/nonpublic/index.php @@ -0,0 +1,103 @@ +<? +$title = "Index"; +$header = "Index"; +$Page["Public"] = "Y"; + +include ("./inc/db.php"); +include ("./inc/crypt.php"); + +session_start(); // alte Session - falls vorhanden - wiederherstellen... + +if (!IsSet($_SESSION['UID'])) { + + $sql = "select * from User where Nick = '". $_POST["user"]. "'"; + + $userstring = mysql_query($sql, $con); + + // anzahl zeilen + $user_anz = mysql_num_rows($userstring); + + if ($user_anz == 1) { // Check, ob User angemeldet wird... + if (mysql_result($userstring, 0, "Passwort") == PassCrypt($_POST["password"])) { // Passwort ok... + // Session wird eingeleitet und Session-Variablen gesetzt.. + // session_start(); + session_name("Himmel"); + $_SESSION['UID'] = mysql_result($userstring, 0, "UID"); + $_SESSION['Nick'] = mysql_result($userstring, 0, "Nick"); + $_SESSION['Name'] = mysql_result($userstring, 0, "Name"); + $_SESSION['Vorname'] = mysql_result($userstring, 0, "Vorname"); + $_SESSION['Alter'] = mysql_result($userstring, 0, "Alter"); + $_SESSION['Telefon'] = mysql_result($userstring, 0, "Telefon"); + $_SESSION['Handy'] = mysql_result($userstring, 0, "Handy"); + $_SESSION['DECT'] = mysql_result($userstring, 0, "DECT"); + $_SESSION['email'] = mysql_result($userstring, 0, "email"); + $_SESSION['Size'] = mysql_result($userstring, 0, "Size"); + $_SESSION['Gekommen'] = mysql_result($userstring, 0, "Gekommen"); + $_SESSION['Aktiv'] = mysql_result($userstring, 0, "Aktiv"); + $_SESSION['Tshirt'] = mysql_result($userstring, 0, "Tshirt"); + $_SESSION['color'] = mysql_result($userstring, 0, "color"); + $_SESSION['Avatar'] = mysql_result($userstring, 0, "Avatar"); + $_SESSION['Sprache'] = mysql_result($userstring, 0, "Sprache"); + $_SESSION['IP'] = $_SERVER['REMOTE_ADDR']; + + // CVS import Data + $SQL = "SELECT * FROM `UserCVS` WHERE UID=".$_SESSION['UID']; + $Erg_CVS = mysql_query($SQL, $con); + $_SESSION['CVS'] = mysql_fetch_array($Erg_CVS); + + include ("./inc/header.php"); + + echo Get_Text(1).$_SESSION['Nick']; + echo nl2br(Get_Text(2)); + + include ("./news_output.php"); + + } + else + { // Passwort nicht ok... + + include ("./inc/header.php"); + + echo Get_Text("pub_index_pass_no_ok"); + include ("./inc/login_eingabefeld.php"); + + } // Ende Passwort-Check + + } + else + { // Anzahl der User in User-Tabelle <> 1 --> keine Anmeldung + include ("./inc/header.php"); + if ($user_anz == 0) + { + echo Get_Text("pub_index_User_unset"); + } + else + { + echo Get_Text("pub_index_User_more_as_one"); + } + + include ("./inc/login_eingabefeld.php"); + } // Ende Check, ob User angemeldet wurde +} +else +{ // User ist bereits angemeldet... normaler Inhalt... + + include ("./inc/header.php"); + echo Get_Text(1).$_SESSION['Nick']; + echo nl2br(Get_Text(2)); + + include ("./news_output.php"); + +} // Ende Ueberpruefung, ob User bereits angemeldet... + + + +?> +<!-- <br> +<a href="nonpublic/list.php"> list.php </a> --> +<? +include ("./inc/footer.php"); + +?> + + diff --git a/www-ssl/nonpublic/menu.php b/www-ssl/nonpublic/menu.php new file mode 100755 index 00000000..7dac48bb --- /dev/null +++ b/www-ssl/nonpublic/menu.php @@ -0,0 +1,33 @@ +<? + +$Menu["Path"] = "nonpublic/"; +$Menu["Name"] = Get_Text("pub_menu_menuname"); +$Menu["Entry"][0]["File"] = "news.php"; +$Menu["Entry"][0]["Name"] = Get_Text("pub_menu_news"); +$Menu["Entry"][1]["File"] = "engelbesprechung.php"; +$Menu["Entry"][1]["Name"] = Get_Text("pub_menu_Engelbesprechung"); +$Menu["Entry"][2]["File"] = "schichtplan.php"; +$Menu["Entry"][2]["Name"] = Get_Text("pub_menu_Schichtplan"); +$Menu["Entry"][5]["File"] = "myschichtplan.php"; +$Menu["Entry"][5]["Name"] = Get_Text("pub_menu_mySchichtplan"); +$Menu["Entry"][9]["File"] = "schichtplan_beamer.php"; +$Menu["Entry"][9]["Name"] = Get_Text("pub_menu_SchichtplanBeamer"); +$Menu["Entry"][3]["File"] = "wecken.php"; +$Menu["Entry"][3]["Name"] = Get_Text("pub_menu_Wecken"); +$Menu["Entry"][4]["File"] = "waeckliste.php"; +$Menu["Entry"][4]["Name"] = Get_Text("pub_menu_Waeckerlist"); +$Menu["Entry"][6]["File"] = "faq.php"; +$Menu["Entry"][6]["Name"] = Get_Text("pub_menu_questionEngel"); +$Menu["Entry"][7]["File"] = "einstellungen.php"; +$Menu["Entry"][7]["Name"] = Get_Text("pub_menu_Einstellungen"); +$Menu["Entry"][8]["File"] = "../logout.php"; +$Menu["Entry"][8]["Name"] = Get_Text("pub_menu_Abmelden"); + + +if ($_SESSION['CVS']["MenueShowAdminSection"] == "Y") { + $MenuAdmin["Name"] = "Erzengel"; + $MenuAdmin["Entry"][0]["File"] = "../admin/index.php"; + $MenuAdmin["Entry"][0]["Name"] = "Erzengel-Menü"; +} // MenueShowAdminSection + +?> diff --git a/www-ssl/nonpublic/myschichtplan.php b/www-ssl/nonpublic/myschichtplan.php new file mode 100755 index 00000000..dba8b6a9 --- /dev/null +++ b/www-ssl/nonpublic/myschichtplan.php @@ -0,0 +1,149 @@ +<?php +$title = "Himmel"; +$header = "Mein Schichtplan"; + +include ("./inc/header.php"); +include ("./inc/funktion_user.php"); +include ("./inc/funktionen.php"); +include ("./inc/funktion_schichtplan.php"); + + +If( !IsSet($_GET["action"]) ) +{ + + echo Get_Text("Hello").$_SESSION['Nick'].", <br>\n"; + echo Get_Text("pub_mywake_beschreibung1")."<br>\n"; + echo Get_Text("pub_mywake_beschreibung2")."<br><br>\n"; + echo Get_Text("pub_mywake_beschreibung3").($LETZTES_AUSTRAGEN). + Get_Text("pub_mywake_beschreibung4")."<br><br>\n"; + + $SQL = "SELECT *, `ShiftEntry`.`Comment`, `ShiftEntry`.`TID` FROM `Shifts` ". + "INNER JOIN `ShiftEntry` ". + "ON `Shifts`.`SID`=`ShiftEntry`.`SID` ". + "WHERE `ShiftEntry`.`UID`='". $_SESSION['UID']. "' ". + "ORDER BY `DateS`"; + $erg = mysql_query($SQL, $con); + + ?> + <table border="0" class="border" cellpadding="2" cellspacing="1"> + <tr> + <td class="contenttopic"><b><? echo Get_Text("pub_mywake_Datum");?></b></td> + <td class="contenttopic"><b><? echo Get_Text("pub_mywake_Uhrzeit");?></b></td> + <td class="contenttopic"><b><? echo Get_Text("pub_mywake_Len");?></b></td> + <td class="contenttopic"><b><? echo Get_Text("pub_mywake_Ort");?></b></td> + <td class="contenttopic"><b><? echo Get_Text("pub_mywake_Bemerkung");?></b></td> + <td class="contenttopic"><b><? echo Get_Text("pub_mywake_Austragen");?></b></td> + </tr> + <? + + for( $i=0; $i<mysql_num_rows( $erg ); $i++ ) + { + echo "<tr class=\"content\">"; + + echo "<td>". substr(mysql_result( $erg, $i, "DateS" ), 0, 10). "</td>\n"; + echo "<td>". substr(mysql_result( $erg, $i, "DateS" ), 11). "</td>\n"; + echo "<td>". mysql_result( $erg, $i, "Len" ). " h</td>\n"; + echo "<td>". $RoomID[mysql_result( $erg, $i, "RID" )]. "<br>\n". + "(". TID2Type(mysql_result( $erg, $i, "TID" )).Get_Text("inc_schicht_engel"). ")". + "</td>\n"; + echo "<td><pre style=\"font-family:Fixedsys,Courier; padding:12x;\">\n". + mysql_result( $erg, $i, "Comment" ). + "\n</pre>\n"; + echo "<br><a href=\"./myschichtplan.php?action=edit&SID=\n". + mysql_result( $erg, $i, "SID" )."\"># vi #</a></td>\n"; + + // bis $LETZTES_AUSTRAGEN (aus dem config-file) soll es moeglich sein, seine Schichten + //// selber noch austragen zu koennen... + $schichtdate = mysql_result( $erg, $i, "DateS" ); + ereg( "^([0-9]{4})-([0-9]{2})-([0-9]{2}) ([0-9]{2}):([0-9]{2}):([0-9]{2})", $schichtdate, $res ); + $info["year"] = $res[1]; + $info["month"] = $res[2]; + $info["day"] = $res[3]; + $info["hour"] = $res[4]; + $info["min"] = $res[5]; + $info["sec"] = $res[6]; + $schichtdatum = (mktime($info["hour"],$info["min"],$info["sec"],$info["month"],$info["day"],$info["year"])); + $lastAustragen = $LETZTES_AUSTRAGEN*3600; + $nowdate = time(); + // wenn Schichtbeginn > jetziges Datum + $LETZTES_AUSTRAGEN - Stunden soll ein Austragen + // noch möglich sein + if( $schichtdatum > ($lastAustragen + $nowdate) ) + echo "<td> <a href=\"./myschichtplan.php?action=austragen&SID=". + mysql_result( $erg, $i, "SID" )."\">". + Get_Text("pub_mywake_austragen")."</a></td>\n"; + else + echo "<td>". Get_Text("pub_mywake_austragen_n_c"). "</td>\n"; + + echo "</tr>\n"; + } +echo "</table>\n\n"; + +} +else +{ + If( $_GET["action"] == "austragen" ) + { + echo Get_Text("pub_mywake_delate1")."<br>\n"; + + $sql = "SELECT * FROM `Shifts` WHERE "; + $sql.= "(SID = \"". $_GET["SID"]. "\")"; + $Erg = mysql_query($sql, $con); + + $schichtdate = mysql_result( $Erg, 0, "DateS" ); + ereg( "^([0-9]{4})-([0-9]{2})-([0-9]{2}) ([0-9]{2}):([0-9]{2}):([0-9]{2})", $schichtdate, $res ); + $info["year"] = $res[1]; + $info["month"] = $res[2]; + $info["day"] = $res[3]; + $info["hour"] = $res[4]; + $info["min"] = $res[5]; + $info["sec"] = $res[6]; + $schichtdatum = (mktime($info["hour"],$info["min"],$info["sec"],$info["month"],$info["day"],$info["year"])); + $lastAustragen = $LETZTES_AUSTRAGEN*3600; + $nowdate = time(); + // wenn Schichtbeginn > jetziges Datum + $LETZTES_AUSTRAGEN - Stunden soll ein Austragen + // noch möglich sein + if( $schichtdatum > ($lastAustragen + $nowdate) ) + { + $sql2 = "UPDATE `ShiftEntry` ". + "SET `UID` = '0', `Comment` = NULL ". + "WHERE `SID` = '". $_GET["SID"]. "' AND `UID` = '". $_SESSION['UID']. "' LIMIT 1;"; + $Erg2 = mysql_query($sql2, $con); + if ($Erg2 == 1) + echo Get_Text("pub_mywake_add_ok"). "\n"; + else + echo Get_Text("pub_mywake_add_ko"). "\n"; + } + else + echo Get_Text("pub_mywake_after"). "\n"; + } + elseif( $_GET["action"] == "edit" ) + { + echo Get_Text("pub_myshift_Edit_Text1"). "\n"; + + $sql = "SELECT * FROM `ShiftEntry` WHERE "; + $sql.= "(SID=\"". $_GET["SID"]. "\" AND UID=\"". $_SESSION['UID']. "\" )"; + $Erg = mysql_query($sql, $con); + + echo "<form action=\"./myschichtplan.php\" method=\"post\">\n"; + echo "<textarea name='newtext' cols='50' rows='10'>". mysql_result( $Erg, 0, "Comment" ). "</textarea><br><br>\n"; + echo "<input type=\"submit\" value=\"save\">\n"; + echo "<input type=\"hidden\" name=\"SID\" value=\"". $_GET["SID"]. "\">\n"; + echo "<input type=\"hidden\" name=\"action\" value=\"editSave\">\n"; + echo "</form>"; + } + elseif( $_GET["action"] == "editSave" ) + { + echo Get_Text("pub_myshift_EditSave_Text1"). "<br>\n"; + $sql = "UPDATE `ShiftEntry` ". + "SET `Comment` = \"". $_GET["newtext"]. "\" ". + "WHERE `SID`='". $_GET["SID"]. "' AND `UID`='". $_SESSION['UID']. "' LIMIT 1;"; + $Erg = mysql_query($sql, $con); + if ($Erg == 1) + echo "\t ...". Get_Text("pub_myshift_EditSave_OK"). "\n"; + else + echo "\t ...". Get_Text("pub_myshift_EditSave_KO"). "\n"; + SetHeaderGo2Back(); + } +} +include ("./inc/footer.php"); +?> diff --git a/www-ssl/nonpublic/news.php b/www-ssl/nonpublic/news.php new file mode 100755 index 00000000..107f5913 --- /dev/null +++ b/www-ssl/nonpublic/news.php @@ -0,0 +1,11 @@ +<?php +$title = "Himmel"; +$header = "News"; +include ("./inc/header.php"); + + +echo "<a href=\"#Neu\">".Get_Text(3)."</a>"; +include ("news_output.php"); + +include ("./inc/footer.php"); +?> diff --git a/www-ssl/nonpublic/news_comments.php b/www-ssl/nonpublic/news_comments.php new file mode 100755 index 00000000..d2c450ea --- /dev/null +++ b/www-ssl/nonpublic/news_comments.php @@ -0,0 +1,87 @@ +<?php +$title = "Kommentare zu den News"; +$header = "Kommentar"; +include ("./inc/header.php"); +include ("./inc/db.php"); +include ("./inc/funktion_user.php"); + + +if (IsSet($nid)) { + + +if (IsSet($date) && IsSet($text)){ + + $ch_sql="INSERT INTO news_comments (Refid, Datum, Text, UID) VALUES ('$nid', '$date', '$text', '".$_SESSION[UID]."')"; + $Erg = mysql_query($ch_sql, $con); + if ($Erg == 1) { echo "Eintrag wurde gespeichert<br><br>"; } +} + +$SQL = "SELECT * FROM news_comments where Refid = $nid ORDER BY 'ID'"; +$Erg = mysql_query($SQL, $con); + +// anzahl zeilen +$news_rows = mysql_num_rows($Erg); + +?> +<table border="0" width="100%" class="border" cellpadding="2" cellspacing="1"> + <tr class="contenttopic"> + <th width=100 align="left">Datum</th> + <th align="left">Nick</th> + </tr> + <tr class="contenttopic"> + <th align="left" colspan=2>Kommentar</th> + </tr> + +<? +for ($n = 0 ; $n < $news_rows ; $n++) { + echo "\t<tr class=\"content\">"; + echo "\t\t<td width=100>"; + echo mysql_result($Erg, $n, "Datum"); + echo "\t\t</td>"; + echo "\t\t<td>"; + echo UID2Nick(mysql_result($Erg, $n, "UID")); + // avatar anzeigen? + echo DisplayAvatar (mysql_result($Erg, $n, "UID")); + echo "\t\t</td>"; + echo "</tr>"; + echo "\t<tr class=\"content\">"; + echo "\t\t<td colspan=\"2\">"; + echo nl2br(mysql_result($Erg, $n, "Text"))."\n"; + echo "\t\t</td>"; + echo "</tr>"; +} + +echo "</table>"; + +?> + +<br> +<hr> +<h4>Neuer Kommentar:</h4> +<a name="Neu"> </a> + +<form action="./news_comments.php" method="post"> +<input type="hidden" name="date" value="<? echo date("Y-m-d H:i:s"); ?>"> +<input type="hidden" name="nid" value="<? echo $nid; ?>"> +<table> + <tr> + <td align="right" valign="top">Text:</td> + <td><textarea name="text" cols="50" rows="10"></textarea></td> + </tr> +</table> +<br> +<input type="submit" value="sichern..."> +</form> + +<? + + +} else { + + echo "Fehlerhafter Aufruf!"; + + + +} +include ("./inc/footer.php"); +?> diff --git a/www-ssl/nonpublic/news_output.php b/www-ssl/nonpublic/news_output.php new file mode 100755 index 00000000..9648fc41 --- /dev/null +++ b/www-ssl/nonpublic/news_output.php @@ -0,0 +1,114 @@ +<?php +include ("./inc/db.php"); +include ("./inc/funktion_user.php"); + + +if ( isset($text) && isset($betreff) && IsSet($date) ) { + if (!isset($treffen)) $treffen = 0; + //$escaped_text = htmlescape($text); + //$escaped_betreff = htmlescape($betreff); + $SQL = "INSERT INTO `News` (`Datum`, `Betreff`, `Text`, `UID`, `Treffen`) "; + $SQL.= "VALUES ('$date', '$betreff', '$text', '".$_SESSION['UID']; + $SQL.= "', '$treffen');"; + $Erg = mysql_query($SQL, $con); + if ($Erg == 1) { Print_Text(4); } +} + + +if (!IsSet($news_begin)) { + $news_begin=0; +} + +if (!IsSet($DISPLAY_NEWS)) { + $DISPLAY_NEWS = 5; +} + +//if (($news_begin-$DISPLAY_NEWS) >= 0 ) { +// echo "<br><br><a href=\"./news.php?news_begin=".($news_begin-$DISPLAY_NEWS)."\">Die vorherigen $DISPLAY_NEWS News anzeigen...</a><br>"; +//} + +$SQL = "SELECT * FROM `News` ORDER BY 'ID' DESC LIMIT $news_begin,$DISPLAY_NEWS"; +$Erg = mysql_query($SQL, $con); + +// anzahl zeilen +$news_rows = mysql_num_rows($Erg); + +for ($n = 0 ; $n < $news_rows ; $n++) { + + if (mysql_result($Erg, $n, "Treffen") == 0) { + echo "<p class='question'>"; + } else { + echo "<p class='engeltreffen'>"; + } + echo "<u>".mysql_result($Erg, $n, "Betreff")."</u><br>\n"; + + + echo " <font size=1>".mysql_result($Erg, $n, "Datum").", "; + echo UID2Nick(mysql_result($Erg, $n, "UID"))."</font>"; + // avatar anzeigen? + echo DisplayAvatar (mysql_result($Erg, $n, "UID")); + echo "</p>\n"; + echo "<p class='answer'>".nl2br(mysql_result($Erg, $n, "Text"))."</p>\n"; + $RefID=mysql_result($Erg, $n, "ID"); + $countSQL="SELECT COUNT(*) from news_comments where Refid = '$RefID'"; + $countErg = mysql_query($countSQL, $con); + $countcom = mysql_result($countErg, 0, "COUNT(*)"); + echo "<p class='comment' align='right'><a href=\"./news_comments.php?nid=$RefID\">$countcom comments</a></p>\n\n"; + + +} +//echo "<a href=\"./news.php?news_begin=".($news_begin+$DISPLAY_NEWS)."\">Die nächsten $DISPLAY_NEWS News anzeigen...</a><br><br>\n"; + +echo "<div align=\"center\">\n\n"; +$rowerg = mysql_query("select * from News", $con); +$rows = mysql_num_rows($rowerg); +$dis_rows = round (($rows / $DISPLAY_NEWS)+0.5); + +Print_Text(5); + +for ($i=1; $i <= $dis_rows; $i++) { + if (!((($i * $DISPLAY_NEWS) - $news_begin) == $DISPLAY_NEWS)) { + echo "<a href=\"./news.php?news_begin=".(($i*$DISPLAY_NEWS) - $DISPLAY_NEWS)."\">$i</a> "; + } else { + echo "$i "; + } +} +echo "</div>"; + +?> + +<br> +<hr> +<h4><?PHP Print_Text(6); ?></h4> +<a name="Neu"> </a> + +<form action="<? echo $ENGEL_ROOT ?>nonpublic/news.php" method="post"> +<? +// Datum mit uebergeben, um doppelte Eintraege zu verhindern +// (Reload nach dem Eintragen!) +?> +<input type="hidden" name="date" value="<? echo date("Y-m-d H:i:s"); ?>"> +<table> + <tr> + <td align="right"><?PHP Print_Text(7); ?></td> + <td><input type="text" name="betreff" size="60"></td> + </tr> + <tr> + <td align="right"><?PHP Print_Text(8); ?></td> + <td><textarea name="text" cols="50" rows="10"></textarea></td> + </tr> + +<? +if ($_SESSION['CVS']["nonpublic/newsAddMeting"] == "Y") { +?> + <tr> + <td align="right"><?PHP Print_Text(9); ?></td> + <td><input type="checkbox" name="treffen" size="1" value="1"></td> + </tr> +<? +} +?> +</table> +<br> +<input type="submit" value="<?PHP Print_Text(10); ?>"> +</form> diff --git a/www-ssl/nonpublic/passwort.php b/www-ssl/nonpublic/passwort.php new file mode 100755 index 00000000..37860946 --- /dev/null +++ b/www-ssl/nonpublic/passwort.php @@ -0,0 +1,58 @@ +<?php +$title = "Himmel"; +$header = "News"; +include ("./inc/header.php"); + +if (!IsSet($action)) { + +?> + +Hier kannst du dein Kennwort für unsere Himmelsverwaltung ändern. <br><br> + +<form action="./passwort.php" method="post"> + <input type="hidden" name="action" value="set"> + <table> + <tr><td>Altes Passwort:</td><td><input type="password" name="old" size="20"></td></tr> + <tr><td>Neues Passwort:</td><td><input type="password" name="new1" size="20"></td></tr> + <tr><td>Passwortbestätigung:</td><td><input type="password" name="new2" size="20"></td></tr> + </table> + <input type="submit" value="Abschicken..."> +</form> +<? + +} else { + + if ($action == "set") { + if ($new1==$new2){ + echo "Eingegebene Kennwörter sind nicht gleich. -> ok.<br>"; + echo "Check, ob altes Passwort ok ist."; + $sql = "select * from User where UID=".$_SESSION['UID']; + $Erg = mysql_query($sql, $con); + if (md5($old)==mysql_result($Erg, $i, "Passwort")) { + echo "-> ok.<br>"; + echo "Setzen des neuen Kennwortes...: "; + $usql = "update User set Passwort='".md5($new1)."' where UID=".$_SESSION['UID']; + $Erg = mysql_query($usql, $con); + if ($Erg==1) { + echo "Neues Kennwort wurde gesetzt."; + } else { + echo "Ein Fehler ist trotzdem noch aufgetreten. Probiere es einfach nocheinmal :)"; + } + + + } else { + echo "-> nicht ok.<br>"; + echo "Altes Kennwort ist nicht ok. Bitte wiederholen.<br>"; + } + + } else { + echo "Kennwörter sind nicht gleich. Bitte wiederholen."; + } + + } else { + echo "Ungültiger Aufruf!\n"; + } +} + +include ("./inc/footer.php"); +?> diff --git a/www-ssl/nonpublic/pic b/www-ssl/nonpublic/pic new file mode 120000 index 00000000..a21de85f --- /dev/null +++ b/www-ssl/nonpublic/pic @@ -0,0 +1 @@ +../pic
\ No newline at end of file diff --git a/www-ssl/nonpublic/schichtplan.1.php b/www-ssl/nonpublic/schichtplan.1.php new file mode 100755 index 00000000..d284b66d --- /dev/null +++ b/www-ssl/nonpublic/schichtplan.1.php @@ -0,0 +1,20 @@ +<h4> Tage </h4> + +<? + +function Printlink( $Datum) +{ + GLOBAL $raum; + echo "\t<li><a href='./schichtplan.php?ausdatum=$Datum"; + // ist ein raum gesetzt? + if (IsSet($raum)) + echo "&raum=$raum"; + echo "'>$Datum</a></li>\n"; +} //function Printlink( + +foreach( $VeranstaltungsTage as $k => $v) +{ + Printlink( $v); +} + +?> diff --git a/www-ssl/nonpublic/schichtplan.2.php b/www-ssl/nonpublic/schichtplan.2.php new file mode 100755 index 00000000..8b477f41 --- /dev/null +++ b/www-ssl/nonpublic/schichtplan.2.php @@ -0,0 +1,12 @@ +<h4> Raum übersicht</h4> + +<?php + +foreach( $Room as $RoomEntry ) + echo "\t<li><a href='./schichtplan.php?ausdatum=$ausdatum&raum=". $RoomEntry["RID"]. "'>". + $RoomEntry["Name"]. "</a></li>\n"; + +echo "<br>"; +echo "<li><a href='./schichtplan.php?ausdatum=$ausdatum&raum=-1'>alle</a></li>"; +?> + diff --git a/www-ssl/nonpublic/schichtplan.php b/www-ssl/nonpublic/schichtplan.php new file mode 100755 index 00000000..b784be0c --- /dev/null +++ b/www-ssl/nonpublic/schichtplan.php @@ -0,0 +1,154 @@ +<?php +$title = "Himmel"; +$header = "Schichtpläne"; +$submenus = 2; + +if( isset($_GET["ausdatum"])) + $ausdatum = $_GET["ausdatum"]; +if( isset($_GET["raum"])) + $raum = $_GET["raum"]; + +include ("./inc/header.php"); +include ("./inc/funktion_user.php"); +include ("./inc/funktionen.php"); +include ("./inc/funktion_schichtplan.php"); +include ("./inc/funktion_schichtplan_Tage.php"); +?> + +<? echo Get_Text("Hello").$_SESSION['Nick'].",<br>". + Get_Text("pub_schicht_beschreibung");?> +<br><br> +<? + +function ShowSwitchDay() +{ + GLOBAL $VeranstaltungsTage, $VeranstaltungsTageMax, $ausdatum, $raum; + + echo "\n\n<table border=\"0\" width=\"100%\"><tr>\n"; + + foreach( $VeranstaltungsTage as $k => $v) + if( $ausdatum == $v) + { + if( $k > 0) + echo "\t\t\t<td align=\"left\">". + "<a href='./schichtplan.php?ausdatum=". $VeranstaltungsTage[$k-1]. + "&raum=$raum'>". $VeranstaltungsTage[$k-1]. "</a></td>\n"; + if( $k < $VeranstaltungsTageMax) + echo "\t\t\t<td align=\"right\">". + "<a href='./schichtplan.php?ausdatum=". $VeranstaltungsTage[$k+1]. + "&raum=$raum'>". $VeranstaltungsTage[$k+1]. "</a></td>\n"; + } + echo "\n\n</table>"; +} + +// wenn kein Datum gesetzt ist (die Seite zum ersten mal aufgerufen wird), +// das Datum auf den ersten Tag setzen... +if( !isset($ausdatum) ) +{ + $sql = "SELECT `DateS` FROM `Shifts` WHERE `DateS` like '". gmdate("Y-m-d", time()+3600). "%' ORDER BY `DateS`"; +// $sql = "SELECT `DateS` FROM `Shifts` WHERE `DateS` like '2004-12-29%' ORDER BY `DateS`"; + $Erg = mysql_query($sql, $con); + if( mysql_num_rows( $Erg ) == 0 ) + { + $sql = "SELECT `DateS` FROM `Shifts` ORDER BY `DateS` ASC LIMIT 0, 1"; + $Erg = mysql_query($sql, $con); + } + $ausdatum = substr(mysql_result($Erg,0,"DateS"),0,10); + +} + + + +if ( !isset($raum) ) +{ + // Ausgabe wenn kein Raum Ausgewählt: + echo Get_Text("pub_schicht_auswahl_raeume"). "<br><br>\n"; + + foreach( $Room as $RoomEntry ) + echo "\t<li><a href='./schichtplan.php?ausdatum=$ausdatum&raum=". $RoomEntry["RID"]. "'>". + $RoomEntry["Name"]. "</a></li>\n"; + + echo "<br><br>"; + echo Get_Text("pub_schicht_alles_1"). "<a href='./schichtplan.php?ausdatum=$ausdatum&raum=-1'><u> ". + Get_Text("pub_schicht_alles_2"). "</u></a>".Get_Text("pub_schicht_alles_3"); + echo "\n<br><br>\n\n"; + echo "<hr>\n\n"; + echo Get_Text("pub_schicht_EmptyShifts"). "\n"; + + + // zeit die naesten freien schichten + showEmptyShifts(); +} +else +{ // Wenn einraum Ausgewählt ist: + if( $raum == -1 ) + echo Get_Text("pub_schicht_Anzeige_1").$ausdatum.":<br><br>"; + else + echo Get_Text("pub_schicht_Anzeige_1"). $ausdatum. + Get_Text("pub_schicht_Anzeige_2"). $RoomID[$raum]. "<br><br>"; + + ShowSwitchDay(); + + echo "\n\n<table border=\"0\" width=\"100%\" class=\"border\" cellpadding=\"2\" cellspacing=\"1\">\n"; + echo "\t<tr class=\"contenttopic\">\n"; + echo "\t\t<td>start</td>\n"; + + //Ausgabe Spalten überschrift + if( $raum == -1 ) + { + foreach( $Room as $RoomEntry ) + if (SummRoomShifts($RoomEntry["RID"]) > 0) + echo "\t\t<th>". $RoomEntry["Name"]. "</th>\n"; + } + else + echo "\t\t<th>". $RoomID[$raum]. "</th>\n"; + echo "\t</tr>\n"; + + //Zeit Ausgeben + for( $i = 0; $i < 24; $i++ ) + for( $j = 0; $j < $GlobalZeileProStunde; $j++) + { + $Spalten[$i * $GlobalZeileProStunde + $j] = + "\t<tr class=\"content\">\n\t\t"; + if( $j==0) + { + $SpaltenTemp = "<td rowspan=\"$GlobalZeileProStunde\">"; + if( ($i == gmdate("H", time()+3600)) && (gmdate("Y-m-d", time()+ 3600) == $ausdatum) ) + $SpaltenTemp.= "<h1>"; + + if( $i < 10 ) + $SpaltenTemp.= "0"; + $SpaltenTemp.= "$i:"; + if( ( ($j*60) / $GlobalZeileProStunde) < 10 ) + $SpaltenTemp.= "0"; + + $SpaltenTemp.= ( ($j*60) / $GlobalZeileProStunde); + if( ($i == gmdate("H", time()+3600)) && (gmdate("Y-m-d", time()+ 3600) == $ausdatum) ) + $SpaltenTemp.= "</h1>"; + + $SpaltenTemp.= "</td>\n"; + $Spalten[$i * $GlobalZeileProStunde + $j].= $SpaltenTemp; + } + } + + if( $raum == -1 ) + { + foreach( $Room as $RoomEntry ) + if (SummRoomShifts($RoomEntry["RID"]) > 0) + CreateRoomShifts( $RoomEntry["RID"] ); + } + else + CreateRoomShifts( $raum ); + + //Ausageb Zeilen + for ($i = 0; $i < (24 * $GlobalZeileProStunde); $i++) + echo $Spalten[$i]."\t</tr>\n"; + + echo "</table>\n"; + + ShowSwitchDay(); + +}//if (isset($raum)) + +include ("./inc/footer.php"); +?> diff --git a/www-ssl/nonpublic/schichtplan_add.php b/www-ssl/nonpublic/schichtplan_add.php new file mode 100755 index 00000000..21a0b508 --- /dev/null +++ b/www-ssl/nonpublic/schichtplan_add.php @@ -0,0 +1,98 @@ +<?php +$title = "Himmel"; +$header = "Schichtpläne"; +include ("./inc/header.php"); +include ("./inc/funktion_user.php"); +include ("./inc/funktion_schichtplan.php"); +include ("./inc/funktionen.php"); + +if (isset($_POST["newtext"]) && isset($_POST["SID"]) && isset($_POST["TID"])) { + SetHeaderGo2Back(); + + // datum der einzutragenden schicht heraussuhen... + $ShiftSQL = "SELECT `DateS`, `DateE` FROM `Shifts` WHERE `SID`='". $_POST["SID"]. ".'"; + $ShiftErg = mysql_query ($ShiftSQL, $con); + $beginSchicht = mysql_result($ShiftErg, 0, "DateS"); + $endSchicht = mysql_result($ShiftErg, 0, "DateE"); + + // Ueberpruefung, ob der Engel bereits für eine Schicht zu dieser Zeit eingetragen ist + $SSQL="SELECT * FROM `Shifts`". + " INNER JOIN `ShiftEntry` ON `ShiftEntry`.`SID` = `Shifts`.`SID`". + " WHERE ((". + " ((`Shifts`.`DateS` >= '$beginSchicht') and ". + " (`Shifts`.`DateS` < '$endSchicht'))". + " OR ". + " ((`Shifts`.`DateE` > '$beginSchicht') and ". + " (`Shifts`.`DateE` <= '$endSchicht')) ". + ") and ". + "(`ShiftEntry`.`UID` = '". $_SESSION['UID']. "'));"; + $bErg = mysql_query($SSQL, $con); + + if( mysql_num_rows($bErg) != 0 ) + echo Get_Text("pub_schichtplan_add_AllreadyinShift"); + else + { + //ermitteln der noch gesuchten + $SQL3 = "SELECT * FROM `ShiftEntry`". + " WHERE ((`SID` = '". $_POST["SID"]. "') and (`TID` = '". $_POST["TID"]. "') and (`UID` = '0'));"; + $Erg3 = mysql_query($SQL3, $con); + + if( mysql_num_rows($Erg3) <= 0 ) + echo Get_Text("pub_schichtplan_add_ToManyYousers"); + else + { + //write shift + $SQL = "UPDATE `ShiftEntry` SET ". + "`UID` = '". $_SESSION['UID']. "', ". + "`Comment` = '". $_POST["newtext"]. "' ". + "WHERE ( (`SID` = '". $_POST["SID"]. "') and ". + "(`TID` = '". $_POST["TID"]. "') and ". + "(`UID` = '0')) LIMIT 1;"; + $Erg = mysql_query($SQL, $con); + + if ($Erg != 1) + echo Get_Text("pub_schichtplan_add_Error"); + else + echo Get_Text("pub_schichtplan_add_WriteOK"); + + }//TO Many USERS + }//Allready in Shift +} +elseif (isset($_GET["SID"]) && isset($_GET["TID"])) { + echo Get_Text("pub_schichtplan_add_Text1"). "<br><br>\n\n". + "<form action=\"./schichtplan_add.php\" method=\"post\">\n". + "<table border=\"0\">\n"; + + $SQL = "SELECT * FROM `Shifts` WHERE "; + $SQL .="(SID = '". $_GET["SID"]. "')"; + $Erg = mysql_query($SQL, $con); + + echo "<tr><td>". Get_Text("pub_schichtplan_add_Date"). ":</td> <td>". + mysql_result($Erg, 0, "DateS"). "</td></tr>\n"; + + echo "<tr><td>". Get_Text("pub_schichtplan_add_Place"). ":</td> <td>". + $RoomID[ mysql_result($Erg, 0, "RID") ]. "</td></tr>\n"; + + echo "<tr><td>". Get_Text("pub_schichtplan_add_Job"). ":</td> <td>". + $EngelTypeID[$_GET["TID"]]. "</td></tr>\n"; + + echo "<tr><td>". Get_Text("pub_schichtplan_add_Len"). ":</td> <td>". + mysql_result($Erg, 0, "Len"). "h</td></tr>\n"; + + echo "<tr><td>". Get_Text("pub_schichtplan_add_TextFor"). ":</td> <td>". + mysql_result($Erg, 0, "Man"). "</td></tr>\n"; + + echo "<tr><td valign='top'>". Get_Text("pub_schichtplan_add_Comment"). ":</td>\n <td>". + "<textarea name='newtext' cols='50' rows='10'></textarea> </td></tr>\n"; + + echo "<tr><td> </td>\n". + "<td><input type=\"submit\" value=\"". Get_Text("pub_schichtplan_add_submit"). "\"> </td></tr>\n". + "</table>\n". + "<input type=\"hidden\" name=\"SID\" value=\"". $_GET["SID"]. "\">\n". + "<input type=\"hidden\" name=\"TID\" value=\"". $_GET["TID"]. "\">\n". + "</form>"; + +} + +include ("./inc/footer.php"); +?> diff --git a/www-ssl/nonpublic/schichtplan_beamer.php b/www-ssl/nonpublic/schichtplan_beamer.php new file mode 100755 index 00000000..bcaca64c --- /dev/null +++ b/www-ssl/nonpublic/schichtplan_beamer.php @@ -0,0 +1,64 @@ +<?php +include ("./inc/config.php"); +include ("./inc/db.php"); +include ("./inc/funktion_lang.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=<?echo substr($url, 0, strlen($url)-1). $_SERVER['PHP_SELF']?>"> +</HEAD> +<BODY> +<? + +echo "<table border=\"1\" width=\"100%\" height=\"100%\" cellpadding=\"0\" cellspacing=\"0\" frame=\"void\">\n"; + +echo "<colgroup span=\"4\" valign=\"center\"> + <col width=\"30\"> + <col width=\"3*\"> + <col width=\"3*\"> + <col width=\"3*\"> + </colgroup>\n"; + +echo "<tr align=\"center\">\n". +// "\t<td> </td>\n". + "\t<td>". gmdate("d.m.y", $Time). "</td>\n". + "\t<td>". gmdate("H", $Time-3600). ":00</td>\n". + "\t<td>". gmdate("H", $Time+0). ":00</td>\n". + "\t<td>". gmdate("H", $Time+3600). ":00</td>\n". + "</tr>\n"; + +foreach( $Room as $RoomEntry ) +{ + + //var-init + $AnzahlEintraege = 0; + + $Out = ausgabe_Zeile( $RoomEntry["RID"], $Time-3600, $AnzahlEintraege); + $Out.= ausgabe_Zeile( $RoomEntry["RID"], $Time, $AnzahlEintraege); + $Out.= ausgabe_Zeile( $RoomEntry["RID"], $Time+3600, $AnzahlEintraege); + + + //entfernt leere zeilen + if( $AnzahlEintraege==0 ) + $Out = ""; + else + $Out = "<tr>\n\t<td>_". $RoomEntry["Name"]. "_</td>\n". $Out . "</tr>\n"; + + echo $Out; +} + +echo "</table>\n"; + +?> +</BODY> +</HTML> diff --git a/www-ssl/nonpublic/schichtplanneu.1.php b/www-ssl/nonpublic/schichtplanneu.1.php new file mode 100755 index 00000000..e7a41f7f --- /dev/null +++ b/www-ssl/nonpublic/schichtplanneu.1.php @@ -0,0 +1,17 @@ +<h4> Tage </h4> + +<? + +include ("./inc/db.php"); + +$SQL = "SELECT Date FROM `Schichtplan` ORDER BY 'Date'"; +$Erg = mysql_query($SQL, $con); +if (!isset($ausdatum)) $ausdatum = substr(mysql_result($Erg, $i , 0), 0,10); +for ($i = 0 ; $i < mysql_fetch_row($Erg) ; $i++) + if ($tmp != substr(mysql_result($Erg, $i , 0), 0,10)) { + $tmp = substr(mysql_result($Erg, $i , 0), 0,10); +// echo "<li><a href='".basename(getenv("PATH_INFO"))."?ausdatum=$tmp'>$tmp</a></li>"; + echo "\t<li><a href='./schichtplanneu.php?ausdatum=$tmp'>$tmp</a></li>\n"; +} + +?> diff --git a/www-ssl/nonpublic/schichtplanneu.php b/www-ssl/nonpublic/schichtplanneu.php new file mode 100755 index 00000000..2585f420 --- /dev/null +++ b/www-ssl/nonpublic/schichtplanneu.php @@ -0,0 +1,106 @@ +<?php +$title = "Himmel"; +$header = "Schichtpläne"; +$submenus = 1; +include ("./inc/header.php"); +include ("./inc/funktion_user.php"); +include ("./inc/funktionen.php"); + +?> + +Hallo <? echo $_SESSION['Nick']?>,<br> +hier kannst du dich für Schichten in der Aula eintragen. Dazu wähle einfach eine freie Schicht und klicke auf den Link.<br><br> + + +<table border="0" width="100%" class="border" cellpadding="2" cellspacing="1"> + +<?php + +if (!IsSet($ausdatum)) { + + $sql = "Select Date from Schichtplan order by Date ASC limit 0, 1"; + $Erg = mysql_query($sql, $con); + $ausdatum = substr(mysql_result($Erg,0,"Date"),0,10); + } + +//Zeit Ausgeben +#for ($i = 0; $i < 24; ++$i){ +# $Spalten[$i] = "\t<tr class=\"content\">\n"; +# $Spalten[$i].= "\t\t<td>"; +# if($i < 10){ +# $Spalten[$i].= "0"; +# $Spalten[$i].= "$i:00"; +# $Spalten[$i].= "</td>\n"; +# } +# } +# $rowcount = mysql_num_rows($res); + + + +for ($zeit = 0; $zeit < 24; $zeit++) + { + $zzeit = $zeit; + if ($zzeit < 10) + { + $zzeit = "0".$zzeit; + } + +$SSQL = "SELECT * FROM Schichtplan WHERE Date = \"2002-12-27 $zzeit:00:00\" AND RID = 1"; +$SERG = mysql_query($SSQL, $con); +$SRES = mysql_fetch_row($SERG); + +$USQL = "SELECT UID FROM Schichtbelegung WHERE SID = \"".$SRES[0]."\""; +$UERG = mysql_query($USQL, $con); +$URES = mysql_fetch_row($UERG); + +$NSQL = "SELECT Nick FROM User WHERE UID = \"$URES[0]\""; +$NERG = mysql_query($NSQL, $con); +$NRES = mysql_fetch_row($NERG); + +echo "\t<tr class=\"contenttopic\">\n"; +echo "\t\t<td>\n"; +echo $zzeit.":00"; +echo "\t\t</td>"; +echo "\t\t<td>\n"; +echo $NRES[0]; +echo "\t\t</td>"; + +$SSQL2 = "SELECT * FROM Schichtplan WHERE Date = \"2002-12-28 $zzeit:00:00\" AND RID = 1"; +$SERG2 = mysql_query($SSQL2, $con); +$SRES2 = mysql_fetch_row($SERG2); + +$USQL2 = "SELECT UID FROM Schichtbelegung WHERE SID = \"".$SRES2[0]."\""; +$UERG2 = mysql_query($USQL2, $con); +$URES2 = mysql_fetch_row($UERG2); + +$NSQL2 = "SELECT Nick FROM User WHERE UID = \"$URES2[0]\""; +$NERG2 = mysql_query($NSQL2, $con); +$NRES2 = mysql_fetch_row($NERG2); + +echo "\t\t<td>\n"; +echo $NRES2[0]; +echo "\t\t</td>"; + +$SSQL3 = "SELECT * FROM Schichtplan WHERE Date = \"2002-12-29 $zzeit:00:00\" AND RID = 1"; +$SERG3 = mysql_query($SSQL3, $con); +$SRES3 = mysql_fetch_row($SERG3); + +$USQL3 = "SELECT UID FROM Schichtbelegung WHERE SID = \"".$SRES3[0]."\""; +$UERG3 = mysql_query($USQL3, $con); +$URES3 = mysql_fetch_row($UERG3); + +$NSQL3 = "SELECT Nick FROM User WHERE UID = \"$URES3[0]\""; +$NERG3 = mysql_query($NSQL3, $con); +$NRES3 = mysql_fetch_row($NERG3); + +echo "\t\t<td>\n"; +echo $NRES3[0]; +echo "\t\t</td>"; +echo "\t</tr>"; + + + +} +echo "</table>\n"; +include ("./inc/footer.php"); +?> diff --git a/www-ssl/nonpublic/waeckliste.php b/www-ssl/nonpublic/waeckliste.php new file mode 100755 index 00000000..198a741a --- /dev/null +++ b/www-ssl/nonpublic/waeckliste.php @@ -0,0 +1,43 @@ +<?php +include ("./inc/funktion_user.php"); + +$title = "Himmel"; +$header = "Weckdienst - Liste der zu weckenden Engel"; + +include ("./inc/header.php"); + +?> + +<? echo Get_Text(1). $_SESSION['Nick'].",<br>\n". + Get_Text("pub_waeckliste_Text1")?> +<br><br> +<table border="0" width="100%" class="border" cellpadding="2" cellspacing="1"> + <tr class="contenttopic"> + <th align="left"><? echo Get_Text("pub_waeckliste_Nick");?></th> + <th align="left"><? echo Get_Text("pub_waeckliste_Datum");?></th> + <th align="left"><? echo Get_Text("pub_waeckliste_Ort");?></th> + <th align="left"><? echo Get_Text("pub_waeckliste_Comment");?></th> + </tr> + +<? + $sql = "Select * from Wecken order by Date asc"; + $Erg = mysql_query($sql, $con); + $count = mysql_num_rows($Erg); + + for ($i=0; $i < $count; $i++) { + $row=mysql_fetch_row($Erg); +?> + <tr class="content"> + <td align="left"><? echo UID2Nick(mysql_result($Erg, $i, "UID")); ?> </td> + <td align="left"><? echo mysql_result($Erg, $i, "Date"); ?> </td> + <td align="left"><? echo mysql_result($Erg, $i, "Ort"); ?> </td> + <td align="left"><? echo mysql_result($Erg, $i, "Bemerkung"); ?> </td> + </tr> +<? + + } +?> +</table> +<? +include ("./inc/footer.php"); +?> diff --git a/www-ssl/nonpublic/wecken.php b/www-ssl/nonpublic/wecken.php new file mode 100755 index 00000000..f7145336 --- /dev/null +++ b/www-ssl/nonpublic/wecken.php @@ -0,0 +1,82 @@ +<?php +$title = "Himmel"; +$header = "Weckdienst"; + +include ("./inc/header.php"); +include ("./inc/funktion_user.php"); + +if( isset($_POST["eintragen"])) + if( $_POST["eintragen"] == Get_Text("pub_wake_bouton") ) + { + $SQL = "INSERT INTO Wecken (`UID`, `Date`, `Ort`, `Bemerkung`) ". + "VALUES (".$_SESSION['UID'].", \"". $_POST["Date"]. "\", \"". $_POST["Ort"]. + "\", \"". $_POST["Bemerkung"]. "\") "; + $Erg = mysql_query($SQL, $con); + if ($Erg == 1) + Print_Text(4); + } +if( isset($_GET["eintragen"])) + if ($_GET["eintragen"] == "loeschen") + { + $SQL = "Delete from Wecken where UID = ".$_SESSION['UID']." and ID = ". $_GET["weckID"]." limit 1"; + $Erg = mysql_query($SQL, $con); + if ($Erg == 1) + Print_Text(4); + } +?> + +<? echo Get_Text("Hello").$_SESSION['Nick'].",<br>".Get_Text("pub_wake_beschreibung")?> +<br><br> +<? echo Get_Text("pub_wake_beschreibung2"); ?> +<br><br> +<table border="0" width="100%" class="border" cellpadding="2" cellspacing="1"> + <tr class="contenttopic"> + <th align="left"><? echo Get_Text("pub_wake_Datum"); ?></th> + <th align="left"><? echo Get_Text("pub_wake_Ort"); ?></th> + <th align="left"><? echo Get_Text("pub_wake_Bemerkung"); ?></th> + <th align="left"><? echo Get_Text("pub_wake_change"); ?></th> + </tr> + +<? + $sql = "Select * from Wecken where UID='".$_SESSION['UID']."' order by Date asc"; + $Erg = mysql_query($sql, $con); + $count = mysql_num_rows($Erg); + + for ($i=0; $i < $count; $i++) { + $row=mysql_fetch_row($Erg); +?> + <tr class="content"> + <td align="left"><? echo mysql_result($Erg, $i, "Date"); ?> </td> + <td align="left"><? echo mysql_result($Erg, $i, "Ort"); ?> </td> + <td align="left"><? echo mysql_result($Erg, $i, "Bemerkung"); ?> </td> + <td align="left"><a href="./wecken.php?eintragen=loeschen&weckID=<? + echo mysql_result($Erg, $i, "ID")."\">".Get_Text("pub_wake_del"); ?></a></td> + </tr> +<? + + } +?> +</table> +<br><br> +<? echo Get_Text("pub_wake_Text2"); ?><br><br> + +<form action="wecken.php" method="post"> +<table> + <tr> + <td align="right"><? echo Get_Text("pub_wake_Datum"); ?>:</td> + <td align="left"><input type="text" name="Date" value="2003-08-05 08:00:00"></td> + </tr> + <tr> + <td align="right"><? echo Get_Text("pub_wake_Ort"); ?></td> + <td align="left"><input type="text" name="Ort" value="Tent 23"></td> + </tr> + <tr> + <td align="right"><? echo Get_Text("pub_wake_Bemerkung"); ?></td> + <td align="left"><textarea name="Bemerkung" rows="5" cols="40">knock knock leo, follow the white rabbit to the blue tent</textarea></td> + </tr> +</table> +<input type="submit" name="eintragen" value="<? echo Get_Text("pub_wake_bouton"); ?>"> +</form> +<? +include ("./inc/footer.php"); +?> |