summaryrefslogtreecommitdiff
path: root/www-ssl/admin
diff options
context:
space:
mode:
Diffstat (limited to 'www-ssl/admin')
-rwxr-xr-xwww-ssl/admin/user.php8
-rwxr-xr-xwww-ssl/admin/user2.php1
2 files changed, 8 insertions, 1 deletions
diff --git a/www-ssl/admin/user.php b/www-ssl/admin/user.php
index 7b7b2949..6e182ca1 100755
--- a/www-ssl/admin/user.php
+++ b/www-ssl/admin/user.php
@@ -62,6 +62,8 @@ if (!IsSet($_GET["enterUID"]))
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><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)
echo "\n\t\tlastLogIn: ". mysql_result($Erg, $n, "lastLogIn"). "<br>";
echo "</td>\n";
@@ -207,6 +209,10 @@ else
echo " checked";
echo ">R \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( $_GET["Type"] == "Secure" )
@@ -247,7 +253,7 @@ else
// Ende Formular
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=\"submit\" value=\"sichern...\">\n";
echo "</form>";
diff --git a/www-ssl/admin/user2.php b/www-ssl/admin/user2.php
index 36588457..2bb4117f 100755
--- a/www-ssl/admin/user2.php
+++ b/www-ssl/admin/user2.php
@@ -43,6 +43,7 @@ if (IsSet($_GET["action"]))
"`Gekommen`= '". $_POST["eGekommen"]. "', ".
"`Aktiv`= '". $_POST["eAktiv"]. "', ".
"`Tshirt` = '". $_POST["eTshirt"]. "', ".
+ "`Hometown` = '". $_POST["Hometown"]. "', ".
"`Menu` = '". $_POST["eMenu"]. "' ".
"WHERE `UID` = '". $_POST["enterUID"].
"' LIMIT 1;";