aus gegebenen anlass, update von <? auf <?PHP

git-svn-id: svn://svn.cccv.de/engel-system@99 29ba0400-6e00-0410-a75a-ca02368028f8
main
cookie 19 years ago
parent f53f4bf0c6
commit bf88f9c69b

@ -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>

@ -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&ouml;schen...">
</form>

@ -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
#

@ -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 &Auml;nderungen vornehmen kann.
<?
<?PHP
include ("./inc/footer.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&auml;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>&Auml;nd.</td>
</tr>
<?
<?PHP
for ($i=0; $i < $rowcount; $i++) {
echo "\t<tr class=\"content\">\n";

@ -37,7 +37,7 @@ echo "<form action=\"".$_SERVER['SCRIPT_NAME']."\" method=\"GET\" >\n";
<td>Dauer</td>
<td>&Auml;ndern</td>
</tr>
<?
<?PHP
$sql = "SELECT `SID`, `DateS`, `RID`, `Len` FROM `Shifts` ".
"ORDER BY RID, DateS ";

@ -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&auml;hle hierf&uuml;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++ )

@ -71,16 +71,16 @@ Hier kannst du neue Schichten eintragen. Dazu musst du den Anfang und das Ende d
&Uuml;ber die L&auml;nge der Schichten errechnet sich dadurch die Anzahl dieser. Dadurch k&ouml;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&auml;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':

@ -24,7 +24,7 @@ Hinter diesem erscheint ein Link, &uuml;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&ouml;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");

@ -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&ouml;&szlig;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&ouml;&szlig;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>&Auml;nd.</td>
<td>Secure</td>
</tr>
<?
<?PHP
$Gekommen = 0;
$Active = 0;
$Tshirt = 0;

@ -1,4 +1,4 @@
<?
<?PHP
// Adresse des Webservers
$url = "https://linuxeurobook/";

@ -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"> &#169; 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....*/
?>

@ -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";

@ -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>

@ -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>

@ -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");

@ -1,4 +1,4 @@
<?
<?PHP
$title = "Himmel";
$header = "Deine pers&ouml;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 {

@ -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:

@ -1,4 +1,4 @@
<?
<?PHP
$title = "Index";
$header = "Index";

@ -1,4 +1,4 @@
<?
<?PHP
$Menu["Path"] = "nonpublic/";
$Menu["Name"] = Get_Text("pub_menu_menuname");

@ -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++ )
{

@ -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">&nbsp;</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
}

@ -74,11 +74,11 @@ echo "</div>";
<a name="Neu">&nbsp;</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>

@ -1,58 +0,0 @@
<?php
$title = "Himmel";
$header = "News";
include ("./inc/header.php");
if (!IsSet($action)) {
?>
Hier kannst du dein Kennwort f&uuml;r unsere Himmelsverwaltung &auml;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&auml;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&ouml;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&ouml;rter sind nicht gleich. Bitte wiederholen.";
}
} else {
echo "Ung&uuml;ltiger Aufruf!\n";
}
}
include ("./inc/footer.php");
?>

@ -1,6 +1,6 @@
<h4>&nbsp;Tage </h4>
<?
<?PHP
include ("./inc/funktion_schichtplan_aray.php");
function Printlink( $Datum)

@ -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()
{

@ -15,10 +15,10 @@ $Time = time()+3600+3600;
<HEAD>
<TITLE>Schichtpl&auml;ne f&uuml;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";

@ -8,18 +8,18 @@ include ("./inc/header.php");
?>
<? echo Get_Text("Hello"). $_SESSION['Nick'].",<br>\n".
<?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");
?>

@ -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");
?>

Loading…
Cancel
Save