Hometown feld hinzugefuegt

git-svn-id: svn://svn.cccv.de/engel-system@87 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
cookie 2005-11-22 20:19:48 +00:00
parent ddda2f63f7
commit 93e16eeb4e
2 changed files with 8 additions and 1 deletions

View File

@ -62,6 +62,8 @@ if (!IsSet($_GET["enterUID"]))
if( strlen( mysql_result($Erg, $n, "email"))>0) if( strlen( mysql_result($Erg, $n, "email"))>0)
echo "\n\t\temail: <a href=\"mailto:".mysql_result($Erg, $n, "email")."\">". echo "\n\t\temail: <a href=\"mailto:".mysql_result($Erg, $n, "email")."\">".
mysql_result($Erg, $n, "email")."</a><br>"; mysql_result($Erg, $n, "email")."</a><br>";
if( strlen( mysql_result($Erg, $n, "Hometown"))>0)
echo "\n\t\tHometown: ". mysql_result($Erg, $n, "Hometown"). "<br>";
if( strlen( mysql_result($Erg, $n, "lastLogIn"))>0) if( strlen( mysql_result($Erg, $n, "lastLogIn"))>0)
echo "\n\t\tlastLogIn: ". mysql_result($Erg, $n, "lastLogIn"). "<br>"; echo "\n\t\tlastLogIn: ". mysql_result($Erg, $n, "lastLogIn"). "<br>";
echo "</td>\n"; echo "</td>\n";
@ -207,6 +209,10 @@ else
echo " checked"; echo " checked";
echo ">R \n"; echo ">R \n";
echo "</td></tr>\n"; echo "</td></tr>\n";
echo " <tr><td>Hometown</td><td>".
"<input type=\"text\" size=\"40\" name=\"Hometown\" value=\"".
mysql_result($Erg, 0, "Hometown")."\"></td></tr>\n";
} //IF TYPE } //IF TYPE
} }
if( $_GET["Type"] == "Secure" ) if( $_GET["Type"] == "Secure" )
@ -247,7 +253,7 @@ else
// Ende Formular // Ende Formular
echo "</td></tr>\n"; echo "</td></tr>\n";
echo "</table>\n"; echo "</table>\n<br>\n";
echo "<input type=\"hidden\" name=\"enterUID\" value=\"". $_GET["enterUID"]. "\">\n"; echo "<input type=\"hidden\" name=\"enterUID\" value=\"". $_GET["enterUID"]. "\">\n";
echo "<input type=\"submit\" value=\"sichern...\">\n"; echo "<input type=\"submit\" value=\"sichern...\">\n";
echo "</form>"; echo "</form>";

View File

@ -43,6 +43,7 @@ if (IsSet($_GET["action"]))
"`Gekommen`= '". $_POST["eGekommen"]. "', ". "`Gekommen`= '". $_POST["eGekommen"]. "', ".
"`Aktiv`= '". $_POST["eAktiv"]. "', ". "`Aktiv`= '". $_POST["eAktiv"]. "', ".
"`Tshirt` = '". $_POST["eTshirt"]. "', ". "`Tshirt` = '". $_POST["eTshirt"]. "', ".
"`Hometown` = '". $_POST["Hometown"]. "', ".
"`Menu` = '". $_POST["eMenu"]. "' ". "`Menu` = '". $_POST["eMenu"]. "' ".
"WHERE `UID` = '". $_POST["enterUID"]. "WHERE `UID` = '". $_POST["enterUID"].
"' LIMIT 1;"; "' LIMIT 1;";