diff --git a/www-ssl/makeuser.php.de b/www-ssl/makeuser.php.de
index cf52bf60..1507a5c9 100755
--- a/www-ssl/makeuser.php.de
+++ b/www-ssl/makeuser.php.de
@@ -22,11 +22,14 @@ if( $_POST)
$_POST["Passwort"] = PassCrypt($_POST["Passwort"]);
unset($_POST["Passwort2"]);
- function mysqlinsert($table, $con, $array){
- foreach($array as $key => $value){
-
+ function mysqlinsert($table, $con, $array)
+ {
+ $keys = "";
+ $values = "";
+ foreach($array as $key => $value)
+ {
$value = strtr($value, get_html_translation_table(HTML_ENTITIES));
- $keys .= "'$key', ";
+ $keys .= "´$key´, ";
$values .= "'".$value."', ";
}
$keys = substr($keys, 0, -2);
@@ -38,13 +41,15 @@ if( $_POST)
mysqlinsert('User', $con, $_POST);
$Erg = mysql_affected_rows();
- if ($Erg != 1) {
+ if ($Erg != 1)
+ {
echo "Fehler: Kann die eingegebenen Daten nicht sichern?!? ";
echo "\n
(Fehler: ".mysql_error($con).") ";
- } else {
- echo "Die Anmeldung war erfolgreich. Vielen Dank für deine Anmeldung.
\n ";
+ }
+ else
+ {
+ echo "Die Anmeldung war erfolgreich.";
-
$SQL2 = "SELECT UID FROM `User` WHERE Nick='". $_POST["Nick"]. "';";
$Erg2 = mysql_query($SQL2, $con);
$Data = mysql_fetch_array($Erg2);
@@ -53,14 +58,14 @@ if( $_POST)
$Erg3 = mysql_query($SQL3, $con);
if ($Erg3 != 1)
{
- echo "error: can't save userright...
(".mysql_error($con).") ";
+ echo "error: can't save userright... (".mysql_error($con).") ";
}
else
{
echo "userright was saved... ";
- echo " Your acount was sucsessfull creat, hafe al lot of fun.";
+ echo " Your acount was sucsessfull creat, hafe al lot of fun. ";
}
-
+ echo "Vielen Dank für deine Anmeldung.
\n ";
}
}
if( !isset($error) ){
@@ -82,6 +87,7 @@ else
$_POST["email"] = "";
$_POST["Size"] = "";
$_POST["Art"] = "";
+ $_POST["kommentar"] = "";
}
?>
@@ -127,7 +133,7 @@ Mit dieser Maske meldet Ihr euch im Engelsystem an. Durch das Engelsystem findet
Congress mitgeholfen?
Wenn ja, in welchem/
welchen Aufgabengebiet(en)?
-
+
Passwort*
Passwort Bestätigung*
diff --git a/www-ssl/makeuser.php.en b/www-ssl/makeuser.php.en
index 61647ebd..8c13c549 100755
--- a/www-ssl/makeuser.php.en
+++ b/www-ssl/makeuser.php.en
@@ -21,11 +21,14 @@ if( $_POST)
$_POST["Passwort"] = PassCrypt($_POST["Passwort"]);
unset($_POST["Passwort2"]);
- function mysqlinsert($table, $con, $array){
- foreach($array as $key => $value){
-
+ function mysqlinsert($table, $con, $array)
+ {
+ $keys = "";
+ $values = "";
+ foreach($array as $key => $value)
+ {
$value = strtr($value, get_html_translation_table(HTML_ENTITIES));
- $keys .= "'$key', ";
+ $keys .= "`$key`, ";
$values .= "'".$value."', ";
}
$keys = substr($keys, 0, -2);
@@ -37,10 +40,14 @@ if( $_POST)
mysqlinsert('User', $con, $_POST);
$Erg = mysql_affected_rows();
- if ($Erg != 1) {
- echo "error: can't save your data...(error: ".mysql_error($con).") ";
- } else {
- echo "transmitted. Thank you for your participation..
\n ";
+ if ($Erg != 1)
+ {
+ echo "error: can't save your data... ";
+ echo "(error: ".mysql_error($con).") ";
+ }
+ else
+ {
+ echo "transmitted. ";
$SQL2 = "SELECT UID FROM `User` WHERE Nick='". $_POST["Nick"]. "';";
$Erg2 = mysql_query($SQL2, $con);
@@ -50,14 +57,14 @@ if( $_POST)
$Erg3 = mysql_query($SQL3, $con);
if ($Erg3 != 1)
{
- echo "error: can't save userright...
(".mysql_error($con).") ";
+ echo "error: can't save userright... (".mysql_error($con).") ";
}
else
{
echo "userright was saved... ";
- echo " Your acount was sucsessfull creat, hafe al lot of fun.";
+ echo "Your acount was sucsessfull creat, hafe al lot of fun. ";
}
-
+ echo "Thank you for your participation..
\n ";
}
}
if( !isset($error) ){
@@ -79,8 +86,10 @@ else
$_POST["email"] = "";
$_POST["Size"] = "";
$_POST["Art"] = "";
+ $_POST["kommentar"] = "";
}
?>
+
Chaos-Angel registration
By completing this form you're registering as a Chaos-Angel. This script will create you an account in the congress angel task system.
@@ -122,7 +131,7 @@ By completing this form you're registering as a Chaos-Angel. This script will cr
congresses and which tasks
have you performed then?
-
+
password*