diff options
Diffstat (limited to 'www-ssl')
29 files changed, 151 insertions, 232 deletions
diff --git a/www-ssl/admin/faq.1.php b/www-ssl/admin/faq.1.php index ee2bbb53..a5ff4dd5 100755 --- a/www-ssl/admin/faq.1.php +++ b/www-ssl/admin/faq.1.php @@ -1,6 +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=open">Offene Anfragen (<?PHP 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 index e4123841..1f87ac88 100755 --- a/www-ssl/admin/faq.php +++ b/www-ssl/admin/faq.php @@ -34,7 +34,7 @@ case "all": <th>change</th> </tr> -<? +<?PHP $Erg = mysql_query($SQL, $con); // anzahl zeilen @@ -93,7 +93,7 @@ case "edit": <?php } ?> - <input type="hidden" name="QID" value="<? echo $_GET["QID"]; ?>"> + <input type="hidden" name="QID" value="<?PHP echo $_GET["QID"]; ?>"> <input type="hidden" name="quest" value="save"> <input type="submit" value="Sichern..."> </form> @@ -208,12 +208,12 @@ case "faqedit": <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="FAQID" value="<?PHP 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="FAQID" value="<?PHP echo $_GET["FAQID"]; ?>"> <input type="hidden" name="quest" value="faqdelete"> <input type="submit" value="Löschen..."> </form> diff --git a/www-ssl/admin/free.php b/www-ssl/admin/free.php index 1e7bd259..aadde44a 100755 --- a/www-ssl/admin/free.php +++ b/www-ssl/admin/free.php @@ -9,12 +9,9 @@ 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> +echo "hier findest du alle Engel, welche zur Zeit in Schichten verplant sind:\n<br><br>\n"; -<? ####################################################### # Ermitteln freier Engel # diff --git a/www-ssl/admin/index.php b/www-ssl/admin/index.php index c7ae3a14..8fd514f8 100755 --- a/www-ssl/admin/index.php +++ b/www-ssl/admin/index.php @@ -13,7 +13,7 @@ du bist jetzt im Erzengel-Bereich. Hier kannst du die Engel-Verwaltung vornehmen Bitte melde dich <a href="../logout.php">hier</a> nach getaner Arbeit immer ab, damit kein anderer hier Änderungen vornehmen kann. -<? +<?PHP include ("./inc/footer.php"); ?> diff --git a/www-ssl/admin/news.php b/www-ssl/admin/news.php index 3bc77bd4..f37c9a08 100755 --- a/www-ssl/admin/news.php +++ b/www-ssl/admin/news.php @@ -14,7 +14,7 @@ $Erg = mysql_query($SQL, $con); $rowcount = mysql_num_rows($Erg); ?> -Hallo <? echo $_SESSION['Nick'] ?>, <br> +Hallo <?PHP 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> @@ -27,7 +27,7 @@ hier herumzuspamen oder aus Versehen falsche Informationen zu hinterlegen :)<br> <td>Engeltreff</td> <td>Änd.</td> </tr> -<? +<?PHP for ($i=0; $i < $rowcount; $i++) { echo "\t<tr class=\"content\">\n"; diff --git a/www-ssl/admin/schichtplan.php b/www-ssl/admin/schichtplan.php index 38ccff17..9c904bb2 100755 --- a/www-ssl/admin/schichtplan.php +++ b/www-ssl/admin/schichtplan.php @@ -37,7 +37,7 @@ echo "<form action=\"".$_SERVER['SCRIPT_NAME']."\" method=\"GET\" >\n"; <td>Dauer</td> <td>Ändern</td> </tr> -<? +<?PHP $sql = "SELECT `SID`, `DateS`, `RID`, `Len` FROM `Shifts` ". "ORDER BY RID, DateS "; diff --git a/www-ssl/admin/schichtplan_druck.php b/www-ssl/admin/schichtplan_druck.php index 92606698..3ec0cfe5 100755 --- a/www-ssl/admin/schichtplan_druck.php +++ b/www-ssl/admin/schichtplan_druck.php @@ -13,7 +13,7 @@ if (!IsSet($_POST["action"])) include ("./inc/funktion_user.php"); ?> -Hallo <? echo $_SESSION['Nick']?>,<br> +Hallo <?PHP 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"> @@ -25,7 +25,7 @@ auf dieser Seite kannst du dir den Schichtplan in einer Druckansicht generieren <td align="right">Datum:</td> <td align="left"> <select name="ausdatum"> -<? +<?PHP $SQL = "SELECT DateS FROM `Shifts` ORDER BY 'DateS'"; $Erg = mysql_query($SQL, $con); if (!isset($ausdatum)) @@ -69,7 +69,7 @@ for ($i = 0 ; $i < mysql_fetch_row($Erg) ; $i++) </form> <br><br> -<? +<?PHP include ("./inc/footer.php"); } else //################################################################# @@ -110,24 +110,24 @@ else //################################################################# <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 $ausdatum; ?></span> + <span style="font-weight:bold;font-size:200%"><?PHP echo $ausdatum; ?></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> + <span style="font-weight:bold;font-size:200%"><?PHP echo $RoomID[$Raum]; ?> </span> </td> </tr> </table> <table border="2" width="650" class="border" cellpadding="2" cellspacing="1"> -<? -//Ausgabe Spalten überschrift -?> + +<!--Ausgabe Spalten überschrift--> + <tr class="contenttopic"> <th bgcolor="#E0E0E0">Uhrzeit</th> <th bgcolor="#E0E0E0">Schichtplanbelegung</th> </tr> -<? +<?PHP //Zeit Ausgeben for( $i = 0; $i < 24; $i++ ) diff --git a/www-ssl/admin/shiftadd.php b/www-ssl/admin/shiftadd.php index e13f882e..83022668 100755 --- a/www-ssl/admin/shiftadd.php +++ b/www-ssl/admin/shiftadd.php @@ -71,16 +71,16 @@ Hier kannst du neue Schichten eintragen. Dazu musst du den Anfang und das Ende d Ü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']; ?>" > +<form action="<?PHP echo $_SERVER['SCRIPT_NAME']; ?>" > <table> <tr> <td align="right">Name:</td> - <td><input type="text" name="SchichtName" size="50" value="<? echo $_SESSION["shiftadd.php"]["SchichtName"]; ?>"></td> + <td><input type="text" name="SchichtName" size="50" value="<?PHP echo $_SESSION["shiftadd.php"]["SchichtName"]; ?>"></td> </tr> <tr> <td align="right">Ort:</td> <td><select name="RID"> -<? +<?PHP foreach ($Room As $RTemp) { echo "\t<option value=\"". $RTemp["RID"]. "\""; @@ -95,43 +95,43 @@ mehrere Schichten auf einmal erfasst werden: <tr><td><u>Zeit:</u></td></tr> <tr> <td align="right">Month.Jahr:</td> - <td><input type="ext" name="MonthJahr" size="7" value="<? echo $_SESSION["shiftadd.php"]["MonthJahr"]; ?>"></td> + <td><input type="ext" name="MonthJahr" size="7" value="<?PHP echo $_SESSION["shiftadd.php"]["MonthJahr"]; ?>"></td> </tr> <tr> <td align="right">Beginn:</td> - <td>Date<input type="text" name="SDatum" size="5" value="<? echo $_SESSION["shiftadd.php"]["SDatum"]; ?>"> - Time<input type="text" name="STime" size="5" value="<? echo $_SESSION["shiftadd.php"]["STime"]; ?>"></td> + <td>Date<input type="text" name="SDatum" size="5" value="<?PHP echo $_SESSION["shiftadd.php"]["SDatum"]; ?>"> + Time<input type="text" name="STime" size="5" value="<?PHP echo $_SESSION["shiftadd.php"]["STime"]; ?>"></td> </tr> <tr> <td align="right">More then One</td> - <td><input type="checkbox" name="MoreThenOne" value="ON" <? + <td><input type="checkbox" name="MoreThenOne" value="ON" <?PHP if( $_SESSION["shiftadd.php"]["MoreThenOne"]=="ON") echo " CHECKED"; ?>></td> </tr> <tr> <td align="right">End:</td> - <td>Date<input type="text" name="EDatum" size="5" value="<? echo $_SESSION["shiftadd.php"]["EDatum"]; ?>"> - Time<input type="text" name="ETime" size="5" value="<? echo $_SESSION["shiftadd.php"]["ETime"]; ?>"></td> + <td>Date<input type="text" name="EDatum" size="5" value="<?PHP echo $_SESSION["shiftadd.php"]["EDatum"]; ?>"> + Time<input type="text" name="ETime" size="5" value="<?PHP echo $_SESSION["shiftadd.php"]["ETime"]; ?>"></td> </tr> <tr> <td align="right">Länge in h:</td> - <td><input type="text" name="len" size="5" value="<? echo $_SESSION["shiftadd.php"]["len"]; ?>"></td> + <td><input type="text" name="len" size="5" value="<?PHP echo $_SESSION["shiftadd.php"]["len"]; ?>"></td> </tr> <tr> <td align="right">Sonderschichten ein:</td> - <td><input type="checkbox" name="NachtON" value="ON" <? + <td><input type="checkbox" name="NachtON" value="ON" <?PHP if($_SESSION["shiftadd.php"]["NachtON"]=="ON") echo " CHECKED"; ?>></td> </tr> <tr> <td align="right">Sonder in h (Time;Time):</td> - <td><input type="text" name="len_night" size="50" value="<? echo $_SESSION["shiftadd.php"]["len_night"]; ?>"></td> + <td><input type="text" name="len_night" size="50" value="<?PHP echo $_SESSION["shiftadd.php"]["len_night"]; ?>"></td> </tr> <tr><td><u>Anzahl Engel je Type:</u></td></tr> -<? +<?PHP foreach ($EngelType As $TTemp) { echo " <tr><td align=\"right\">". $TTemp["Name"]. ":</td>\n"; @@ -150,7 +150,7 @@ mehrere Schichten auf einmal erfasst werden: <input type="submit" value="zeig mal Gabriel!"> </form> -<? +<?PHP break; // Ende new case 'newsave': diff --git a/www-ssl/admin/tshirt.php b/www-ssl/admin/tshirt.php index 2a3ea500..2e843e92 100755 --- a/www-ssl/admin/tshirt.php +++ b/www-ssl/admin/tshirt.php @@ -24,7 +24,7 @@ Hinter diesem erscheint ein Link, über den man eintragen kann, dass der Eng Liste aller aktiven Engel: -<? +<?PHP $SQL = "SELECT * from User where (Aktiv = 1) ORDER BY Nick ASC"; $Erg = mysql_query($SQL, $con); @@ -37,7 +37,7 @@ $rowcount = mysql_num_rows($Erg); <td>Grösse</td> <td>T-Shirt ausgeben:</td> </td> -<? +<?PHP for ($i=0; $i<$rowcount; $i++){ echo "\t<tr class=\"content\">\n"; $eUID=mysql_result($Erg, $i, "UID"); diff --git a/www-ssl/admin/user.php b/www-ssl/admin/user.php index 80f53bc1..994666d9 100755 --- a/www-ssl/admin/user.php +++ b/www-ssl/admin/user.php @@ -26,21 +26,21 @@ if (!IsSet($_GET["enterUID"])) ?><table width="100%" class="border" cellpadding="2" cellspacing="1"> <tr class="contenttopic"> - <td><a href="<? echo $_SERVER["PHP_SELF"]; ?>?OrderBy=Nick">Nick</a></td> - <td><a href="<? echo $_SERVER["PHP_SELF"]; ?>?OrderBy=Name">Name</a></td> - <td><a href="<? echo $_SERVER["PHP_SELF"]; ?>?OrderBy=Vorname">Vorname</a></td> + <td><a href="<?PHP echo $_SERVER["PHP_SELF"]; ?>?OrderBy=Nick">Nick</a></td> + <td><a href="<?PHP echo $_SERVER["PHP_SELF"]; ?>?OrderBy=Name">Name</a></td> + <td><a href="<?PHP echo $_SERVER["PHP_SELF"]; ?>?OrderBy=Vorname">Vorname</a></td> <td>Alter</td> - <td>Telefon <a href="<? echo $_SERVER["PHP_SELF"]; ?>?OrderBy=email">@</a></td> - <td><a href="<? echo $_SERVER["PHP_SELF"]; ?>?OrderBy=Size">Größe</a></td> - <td><a href="<? echo $_SERVER["PHP_SELF"]; ?>?OrderBy=Gekommen">G</a></td> - <td><a href="<? echo $_SERVER["PHP_SELF"]; ?>?OrderBy=Aktiv">A</a></td> - <td><a href="<? echo $_SERVER["PHP_SELF"]; ?>?OrderBy=Tshirt">T</a></td> + <td>Telefon <a href="<?PHP echo $_SERVER["PHP_SELF"]; ?>?OrderBy=email">@</a></td> + <td><a href="<?PHP echo $_SERVER["PHP_SELF"]; ?>?OrderBy=Size">Größe</a></td> + <td><a href="<?PHP echo $_SERVER["PHP_SELF"]; ?>?OrderBy=Gekommen">G</a></td> + <td><a href="<?PHP echo $_SERVER["PHP_SELF"]; ?>?OrderBy=Aktiv">A</a></td> + <td><a href="<?PHP echo $_SERVER["PHP_SELF"]; ?>?OrderBy=Tshirt">T</a></td> <td>Änd.</td> <td>Secure</td> </tr> - <? + <?PHP $Gekommen = 0; $Active = 0; $Tshirt = 0; diff --git a/www-ssl/inc/config.php b/www-ssl/inc/config.php index c0587d57..5e831cb4 100755 --- a/www-ssl/inc/config.php +++ b/www-ssl/inc/config.php @@ -1,4 +1,4 @@ -<? +<?PHP // Adresse des Webservers $url = "https://linuxeurobook/"; diff --git a/www-ssl/inc/footer.php b/www-ssl/inc/footer.php index 84efb6cd..70613d29 100755 --- a/www-ssl/inc/footer.php +++ b/www-ssl/inc/footer.php @@ -29,7 +29,7 @@ if( $Page["ShowTabel"]=="Y" ) <!-- anfang des menue parts //--> -<? +<?PHP if( $_SESSION['Menu'] =="R") include("./inc/menu.php"); ?> </td> @@ -44,7 +44,7 @@ if( $_SESSION['Menu'] =="R") include("./inc/menu.php"); <tr> <td colspan="2"> <h5 align="center"> © copyleft - <a href="mailto:erzengel@lists.ccc.de">Kontakt</a> - <? + <?PHP include( "./inc/funktion_counter.php"); include( "./inc/funktion_flag.php"); ?></h5> @@ -57,7 +57,7 @@ if( $_SESSION['Menu'] =="R") include("./inc/menu.php"); </div> -<? +<?PHP //############################### ShowTable Start ############################## } /* if (ShowTabel....*/ ?> diff --git a/www-ssl/inc/header.php b/www-ssl/inc/header.php index 91ba35ce..6821d164 100755 --- a/www-ssl/inc/header.php +++ b/www-ssl/inc/header.php @@ -1,4 +1,4 @@ -<? +<?PHP include ("./inc/config.php"); include ("./inc/db.php"); include ("./inc/funktion_lang.php"); @@ -35,7 +35,7 @@ echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n"; ?> <HTML> <HEAD> -<? +<?PHP echo "<TITLE>--- $title ---</TITLE>"; ?> <meta name="keywords" content="Engel, Himmelsverwaltung"> @@ -45,8 +45,13 @@ echo "<TITLE>--- $title ---</TITLE>"; <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"> -<? +<link rel=stylesheet type="text/css" href="./inc/css/style<?PHP + if (!IsSet($_SESSION['color'])) + echo "1"; + else + echo $_SESSION['color']; + ?>.css"> +<?PHP if (isset($reload)) { if ($reload=="") $reload=3330; echo "\n<meta http-equiv=\"refresh\" content=\"".$reload. @@ -60,7 +65,7 @@ if (isset($Page["AutoReload"])) { ?> </HEAD> <BODY> -<? +<?PHP if( !isset($Page["ShowTabel"]) ) $Page["ShowTabel"]="Y"; if( $Page["ShowTabel"]=="Y" ) { @@ -68,10 +73,10 @@ if( $Page["ShowTabel"]=="Y" ) ?> <div align="center"> - <a name="#top"><img src="./inc/himmel<? if( isset($_SESSION['color'])) + <a name="#top"><img src="./inc/himmel<?PHP if( isset($_SESSION['color'])) if ($_SESSION['color']==6) echo "_w"; ?>.png" alt="Unser Himmel"></a> <p> -<? +<?PHP //ausgabe new message if( isset($_SESSION['CVS']["nonpublic/messages.php"])) if( $_SESSION['CVS']["nonpublic/messages.php"] == "Y") @@ -87,7 +92,7 @@ if( isset($_SESSION['CVS']["nonpublic/messages.php"])) ?> <table width="95%" align="center" border="0" cellpadding="7" cellspacing="0"> <tr> -<? +<?PHP //ausgaeb Menu if( !isset($_SESSION['Menu'])) $_SESSION['Menu'] = "L"; if( $_SESSION['Menu'] =="L") include("./inc/menu.php"); @@ -97,7 +102,7 @@ if( $_SESSION['Menu'] =="L") include("./inc/menu.php"); <table border="0" width="100%" align="center" class="border" cellpadding="5" cellspacing="1"> <tr class="contenttopic"> <td> -<? +<?PHP echo "\t<a name=\"#$header\" class=\"contenttopic\">"; if( strlen( $header) == 0 ) echo "\n\t<b>". Get_Text($Page["Name"]). "</b></a>\n"; diff --git a/www-ssl/inc/login_eingabefeld.php b/www-ssl/inc/login_eingabefeld.php index def62f25..afb0c90e 100755 --- a/www-ssl/inc/login_eingabefeld.php +++ b/www-ssl/inc/login_eingabefeld.php @@ -1,21 +1,21 @@ -<form action="<? +<form action="<?PHP 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 align="right"><?PHP 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 align="right"><?PHP 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");?>"> +<input type="submit" value="<?PHP echo Get_Text("index_lang_send");?>"> </form> diff --git a/www-ssl/inc/menu.php b/www-ssl/inc/menu.php index 61247329..579b3e63 100755 --- a/www-ssl/inc/menu.php +++ b/www-ssl/inc/menu.php @@ -1,7 +1,7 @@ <!-- anfang des menue parts //--> <td width="160" valign="top"> -<? +<?PHP $MenueTableStart=" <table align=\"center\" class=\"border\" cellpadding=\"3\" cellspacing=\"1\"> <tr> @@ -49,7 +49,7 @@ if ($submenus >= 1 ) { </table> <br> -<? +<?PHP } } @@ -63,7 +63,7 @@ if( isset($_SESSION['UID'])) </td> </tr> </table> -<? +<?PHP } ?> </td> diff --git a/www-ssl/menu.php b/www-ssl/menu.php index 94ce4ea3..14f019c6 100755 --- a/www-ssl/menu.php +++ b/www-ssl/menu.php @@ -1,21 +1,4 @@ <?PHP -/* -<? 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; ?> - -*/ $Menu["Path"] = ""; $Menu["Name"] = Get_Text("menu_Name"); diff --git a/www-ssl/nonpublic/einstellungen.php b/www-ssl/nonpublic/einstellungen.php index 974ed7cd..973d1d7f 100755 --- a/www-ssl/nonpublic/einstellungen.php +++ b/www-ssl/nonpublic/einstellungen.php @@ -1,4 +1,4 @@ -<? +<?PHP $title = "Himmel"; $header = "Deine persönlichen Einstellungen"; include ("./inc/header.php"); @@ -10,28 +10,28 @@ if (!IsSet($_POST["action"])) Print_Text(13); ?> <hr width=\"100%\"> -<? Print_Text("pub_einstellungen_Text_UserData");?> +<?PHP 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> - <tr> <td><? Print_Text("pub_einstellungen_Hometown"); ?></td> - <td><input type="text" name="Hometown" size="40" value="<? echo $_SESSION['Hometown']; ?>"></td></tr> + <tr> <td><?PHP Print_Text("pub_einstellungen_Nick"); ?></td> + <td><input type="text" name="eNick" size="23" value="<?PHP echo $_SESSION["Nick"]; ?>"></td></tr> + <tr> <td><?PHP Print_Text("pub_einstellungen_Name"); ?></td> + <td><input type="text" name="eName" size="23" value="<?PHP echo $_SESSION['Name']; ?>"></td></tr> + <tr> <td><?PHP Print_Text("pub_einstellungen_Vorname"); ?></td> + <td><input type="text" name="eVorname" size="23" value="<?PHP echo $_SESSION['Vorname']; ?>"></td></tr> + <tr> <td><?PHP Print_Text("pub_einstellungen_Alter"); ?></td> + <td><input type="text" name="eAlter" size="3" value="<?PHP echo $_SESSION['Alter']; ?>"></td></tr> + <tr> <td><?PHP Print_Text("pub_einstellungen_Telefon"); ?></td> + <td><input type="text" name="eTelefon" size="40" value="<?PHP echo $_SESSION['Telefon']; ?>"></td></tr> + <tr> <td><?PHP Print_Text("pub_einstellungen_Handy"); ?></td> + <td><input type="text" name="eHandy" size="40" value="<?PHP echo $_SESSION['Handy']; ?>"></td></tr> + <tr> <td><?PHP Print_Text("pub_einstellungen_DECT"); ?></td> + <td><input type="text" name="eDECT" size="4" value="<?PHP echo $_SESSION['DECT']; ?>"></td></tr> + <tr> <td><?PHP Print_Text("pub_einstellungen_email"); ?></td> + <td><input type="text" name="eemail" size="40" value="<?PHP echo $_SESSION['email']; ?>"></td></tr> + <tr> <td><?PHP Print_Text("pub_einstellungen_Hometown"); ?></td> + <td><input type="text" name="Hometown" size="40" value="<?PHP echo $_SESSION['Hometown']; ?>"></td></tr> </table> <input type="submit" value="<?PHP Print_Text("save"); ?>"> </form> @@ -39,7 +39,7 @@ if (!IsSet($_POST["action"])) <hr width=\"100%\"> -<? Print_Text(14);?> +<?PHP Print_Text(14);?> <form action="./einstellungen.php" method="post"> <input type="hidden" name="action" value="set"> <table> @@ -73,9 +73,9 @@ if (!IsSet($_POST["action"])) </select> </td></tr> <tr><td>Menu</td> - <td><input type="radio" name="eMenu" value="L"<? + <td><input type="radio" name="eMenu" value="L"<?PHP if ($_SESSION['Menu']=='L') echo " checked"; ?>>L - <input type="radio" name="eMenu" value="R"<? + <input type="radio" name="eMenu" value="R"<?PHP if ($_SESSION['Menu']=='R') echo " checked"; ?>>R </td></tr> </table> @@ -113,13 +113,8 @@ if (!IsSet($_POST["action"])) </tr> <tr> <td> - - -<? - +<?PHP // 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"); ?> @@ -142,7 +137,7 @@ $ANZ_AVATAR= shell_exec("ls inc/avatar/ | wc -l"); </form> -<? +<?PHP } else { diff --git a/www-ssl/nonpublic/faq.php b/www-ssl/nonpublic/faq.php index 78ab4d7d..41e967a9 100755 --- a/www-ssl/nonpublic/faq.php +++ b/www-ssl/nonpublic/faq.php @@ -11,11 +11,11 @@ if (!IsSet($_POST["eUID"])) ?> <br><br> <form action="./faq.php" method="POST"> - <input type="hidden" name="eUID" value="<? echo $_SESSION['UID'] ?>"> + <input type="hidden" name="eUID" value="<?PHP echo $_SESSION['UID'] ?>"> <textarea name="frage" cols="40" rows="10"><?PHP Print_Text(36); ?></textarea><br><br> <input type="submit" value="<?PHP Print_Text("save"); ?>"> </form> -<? +<?PHP } else { // Auswertung d. Formular-Daten: diff --git a/www-ssl/nonpublic/index.php b/www-ssl/nonpublic/index.php index dc3e8ae2..b1767118 100755 --- a/www-ssl/nonpublic/index.php +++ b/www-ssl/nonpublic/index.php @@ -1,4 +1,4 @@ -<? +<?PHP $title = "Index"; $header = "Index"; diff --git a/www-ssl/nonpublic/menu.php b/www-ssl/nonpublic/menu.php index c86115f9..1d887556 100755 --- a/www-ssl/nonpublic/menu.php +++ b/www-ssl/nonpublic/menu.php @@ -1,4 +1,4 @@ -<? +<?PHP $Menu["Path"] = "nonpublic/"; $Menu["Name"] = Get_Text("pub_menu_menuname"); diff --git a/www-ssl/nonpublic/myschichtplan.php b/www-ssl/nonpublic/myschichtplan.php index cecb4c77..e23fa66f 100755 --- a/www-ssl/nonpublic/myschichtplan.php +++ b/www-ssl/nonpublic/myschichtplan.php @@ -28,14 +28,14 @@ If( !IsSet($_GET["action"]) ) ?> <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> + <td class="contenttopic"><b><?PHP echo Get_Text("pub_mywake_Datum");?></b></td> + <td class="contenttopic"><b><?PHP echo Get_Text("pub_mywake_Uhrzeit");?></b></td> + <td class="contenttopic"><b><?PHP echo Get_Text("pub_mywake_Len");?></b></td> + <td class="contenttopic"><b><?PHP echo Get_Text("pub_mywake_Ort");?></b></td> + <td class="contenttopic"><b><?PHP echo Get_Text("pub_mywake_Bemerkung");?></b></td> + <td class="contenttopic"><b><?PHP echo Get_Text("pub_mywake_Austragen");?></b></td> </tr> - <? + <?PHP for( $i=0; $i<mysql_num_rows( $erg ); $i++ ) { diff --git a/www-ssl/nonpublic/news_comments.php b/www-ssl/nonpublic/news_comments.php index 6b4ef1ff..81825dad 100755 --- a/www-ssl/nonpublic/news_comments.php +++ b/www-ssl/nonpublic/news_comments.php @@ -38,7 +38,7 @@ $news_rows = mysql_num_rows($Erg); <th align="left" colspan=2>Kommentar</th> </tr> -<? +<?PHP for ($n = 0 ; $n < $news_rows ; $n++) { echo "\t<tr class=\"content\">"; echo "\t\t<td width=100>"; @@ -67,7 +67,7 @@ echo "</table>"; <a name="Neu"> </a> <form action="./news_comments.php" method="GET"> -<input type="hidden" name="nid" value="<? echo $_GET["nid"]; ?>"> +<input type="hidden" name="nid" value="<?PHP echo $_GET["nid"]; ?>"> <table> <tr> <td align="right" valign="top">Text:</td> @@ -78,7 +78,7 @@ echo "</table>"; <input type="submit" value="sichern..."> </form> -<? +<?PHP } diff --git a/www-ssl/nonpublic/news_output.php b/www-ssl/nonpublic/news_output.php index 459c332f..db6e3a9f 100755 --- a/www-ssl/nonpublic/news_output.php +++ b/www-ssl/nonpublic/news_output.php @@ -74,11 +74,11 @@ echo "</div>"; <a name="Neu"> </a> <form action="<? echo $ENGEL_ROOT ?>nonpublic/news.php" method="post"> -<? +<?PHP // 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"); ?>"> +<input type="hidden" name="date" value="<?PHP echo date("Y-m-d H:i:s"); ?>"> <table> <tr> <td align="right"><?PHP Print_Text(7); ?></td> @@ -89,14 +89,14 @@ echo "</div>"; <td><textarea name="text" cols="50" rows="10"></textarea></td> </tr> -<? +<?PHP 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> -<? +<?PHP } ?> </table> diff --git a/www-ssl/nonpublic/passwort.php b/www-ssl/nonpublic/passwort.php deleted file mode 100755 index 37860946..00000000 --- a/www-ssl/nonpublic/passwort.php +++ /dev/null @@ -1,58 +0,0 @@ -<?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/schichtplan.1.php b/www-ssl/nonpublic/schichtplan.1.php index 6b8a7b7f..a4884a11 100755 --- a/www-ssl/nonpublic/schichtplan.1.php +++ b/www-ssl/nonpublic/schichtplan.1.php @@ -1,6 +1,6 @@ <h4> Tage </h4> -<? +<?PHP include ("./inc/funktion_schichtplan_aray.php"); function Printlink( $Datum) diff --git a/www-ssl/nonpublic/schichtplan.php b/www-ssl/nonpublic/schichtplan.php index dc624e2a..b9a24cfd 100755 --- a/www-ssl/nonpublic/schichtplan.php +++ b/www-ssl/nonpublic/schichtplan.php @@ -15,10 +15,8 @@ include ("./inc/funktion_schichtplan.php"); include ("./inc/funktion_schichtplan_aray.php"); ?> -<? echo Get_Text("Hello").$_SESSION['Nick'].",<br>". - Get_Text("pub_schicht_beschreibung");?> -<br><br> -<? +<?PHP echo Get_Text("Hello").$_SESSION['Nick'].",<br>". + Get_Text("pub_schicht_beschreibung"). "<br><br>"; function ShowSwitchDay() { diff --git a/www-ssl/nonpublic/schichtplan_beamer.php b/www-ssl/nonpublic/schichtplan_beamer.php index bcaca64c..b31460bc 100755 --- a/www-ssl/nonpublic/schichtplan_beamer.php +++ b/www-ssl/nonpublic/schichtplan_beamer.php @@ -15,10 +15,10 @@ $Time = time()+3600+3600; <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']?>"> +<meta http-equiv="refresh" content="30; URL=<?PHP echo substr($url, 0, strlen($url)-1). $_SERVER['PHP_SELF']?>"> </HEAD> <BODY> -<? +<?PHP echo "<table border=\"1\" width=\"100%\" height=\"100%\" cellpadding=\"0\" cellspacing=\"0\" frame=\"void\">\n"; diff --git a/www-ssl/nonpublic/waeckliste.php b/www-ssl/nonpublic/waeckliste.php index f8b9984c..b2c2e420 100755 --- a/www-ssl/nonpublic/waeckliste.php +++ b/www-ssl/nonpublic/waeckliste.php @@ -8,18 +8,18 @@ include ("./inc/header.php"); ?> -<? echo Get_Text("Hello"). $_SESSION['Nick'].",<br>\n". - Get_Text("pub_waeckliste_Text1")?> +<?PHP echo Get_Text("Hello"). $_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> + <th align="left"><?PHP echo Get_Text("pub_waeckliste_Nick");?></th> + <th align="left"><?PHP echo Get_Text("pub_waeckliste_Datum");?></th> + <th align="left"><?PHP echo Get_Text("pub_waeckliste_Ort");?></th> + <th align="left"><?PHP echo Get_Text("pub_waeckliste_Comment");?></th> </tr> -<? +<?PHP $sql = "Select * from Wecken order by Date asc"; $Erg = mysql_query($sql, $con); $count = mysql_num_rows($Erg); @@ -28,16 +28,15 @@ include ("./inc/header.php"); $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> + <td align="left"><?PHP echo UID2Nick(mysql_result($Erg, $i, "UID")); ?> </td> + <td align="left"><?PHP echo mysql_result($Erg, $i, "Date"); ?> </td> + <td align="left"><?PHP echo mysql_result($Erg, $i, "Ort"); ?> </td> + <td align="left"><?PHP echo mysql_result($Erg, $i, "Bemerkung"); ?> </td> </tr> -<? - +<?PHP } ?> </table> -<? +<?PHP include ("./inc/footer.php"); ?> diff --git a/www-ssl/nonpublic/wecken.php b/www-ssl/nonpublic/wecken.php index f7145336..66597dbb 100755 --- a/www-ssl/nonpublic/wecken.php +++ b/www-ssl/nonpublic/wecken.php @@ -23,21 +23,21 @@ if( isset($_GET["eintragen"])) 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"); ?> +echo Get_Text("Hello").$_SESSION['Nick'].",<br>".Get_Text("pub_wake_beschreibung"). "<br><br>\n\n"; + + +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> + <th align="left"><?PHP echo Get_Text("pub_wake_Datum"); ?></th> + <th align="left"><?PHP echo Get_Text("pub_wake_Ort"); ?></th> + <th align="left"><?PHP echo Get_Text("pub_wake_Bemerkung"); ?></th> + <th align="left"><?PHP echo Get_Text("pub_wake_change"); ?></th> </tr> -<? +<?PHP $sql = "Select * from Wecken where UID='".$_SESSION['UID']."' order by Date asc"; $Erg = mysql_query($sql, $con); $count = mysql_num_rows($Erg); @@ -46,37 +46,37 @@ if( isset($_GET["eintragen"])) $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=<? + <td align="left"><?PHP echo mysql_result($Erg, $i, "Date"); ?> </td> + <td align="left"><?PHP echo mysql_result($Erg, $i, "Ort"); ?> </td> + <td align="left"><?PHP echo mysql_result($Erg, $i, "Bemerkung"); ?> </td> + <td align="left"><a href="./wecken.php?eintragen=loeschen&weckID=<?PHP echo mysql_result($Erg, $i, "ID")."\">".Get_Text("pub_wake_del"); ?></a></td> </tr> -<? - +<?PHP } ?> </table> <br><br> -<? echo Get_Text("pub_wake_Text2"); ?><br><br> + +<?PHP 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="right"><?PHP 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="right"><?PHP 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="right"><?PHP 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"); ?>"> +<input type="submit" name="eintragen" value="<?PHP echo Get_Text("pub_wake_bouton"); ?>"> </form> -<? +<?PHP include ("./inc/footer.php"); ?> |