diff options
Diffstat (limited to 'www-ssl/nonpublic')
-rwxr-xr-x | www-ssl/nonpublic/einstellungen.php | 55 | ||||
-rwxr-xr-x | www-ssl/nonpublic/faq.php | 4 | ||||
-rwxr-xr-x | www-ssl/nonpublic/index.php | 2 | ||||
-rwxr-xr-x | www-ssl/nonpublic/menu.php | 2 | ||||
-rwxr-xr-x | www-ssl/nonpublic/myschichtplan.php | 14 | ||||
-rwxr-xr-x | www-ssl/nonpublic/news_comments.php | 6 | ||||
-rwxr-xr-x | www-ssl/nonpublic/news_output.php | 8 | ||||
-rwxr-xr-x | www-ssl/nonpublic/passwort.php | 58 | ||||
-rwxr-xr-x | www-ssl/nonpublic/schichtplan.1.php | 2 | ||||
-rwxr-xr-x | www-ssl/nonpublic/schichtplan.php | 6 | ||||
-rwxr-xr-x | www-ssl/nonpublic/schichtplan_beamer.php | 4 | ||||
-rwxr-xr-x | www-ssl/nonpublic/waeckliste.php | 27 | ||||
-rwxr-xr-x | www-ssl/nonpublic/wecken.php | 42 |
13 files changed, 82 insertions, 148 deletions
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"); ?> |