\n"); // Start select field foreach ($arr as $key => $value) { print("\n"); // Add option } print("\n"); // End return; } ?> Registration Application - <?=$ctitle?>
Registration Application


You must specify a handle name'); $nu_err = true; } if ($nu_email == "") { print('
You must specify an e-mail address
'); $nu_err = true; } if (UserExists($chatpath, $nu_handle) != 0) { print('
A user already exists with the chosen handle
'); $nu_err = true; } if (!$nu_err) { $query = sprintf("INSERT INTO uo_chat_regapps SET chat='%s', username='%s', email='%s', description='%s', faction=%d, rtime=%d, appstat=%d", $chatpath, $nu_handle, $nu_email, $nu_desc, $nu_faction, time(), 0); count_mysql_query($query, $handler); print("Your application has been saved in the database.
\n You will be notified by e-mail at ". $nu_email ." regarding wether or not your request has been accepted, as soon as an administrator has had a look at the application.
\nBack (New application)"); } } if (($_POST['nu_add'] == "") || ($nu_err)) { $admcom = mysql_fetch_row(count_mysql_query("SELECT regnotes FROM uo_chat_last WHERE chat='{$chatpath}'", $handler)); $admcom = $admcom[0]; if ($admcom != "") { echo "
Admin notes: {$admcom}

"; } ?>
Handle:
E-Mail:
Faction:
Description/
Comments: