2002-11-11 10:26:40 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
include_once("util.inc");
|
|
|
|
|
2003-03-26 00:48:56 +00:00
|
|
|
if (parse_config("<disable_account_creation/>")) {
|
|
|
|
page_head("Account creation is disabled");
|
|
|
|
echo "
|
|
|
|
<h3>Account creation is disabled</h3>
|
|
|
|
Sorry, this project has disabled the creation of new accounts.
|
|
|
|
Please try again later.
|
|
|
|
";
|
|
|
|
exit();
|
|
|
|
}
|
|
|
|
|
2003-07-04 00:02:53 +00:00
|
|
|
$userid = $_GET["userid"];
|
|
|
|
|
2002-11-11 10:26:40 +00:00
|
|
|
page_head("Create account");
|
|
|
|
|
2003-03-06 17:42:49 +00:00
|
|
|
echo "<h3>Create an account with ".PROJECT."</h3>
|
|
|
|
<form method=post action=create_account_action.php>
|
2003-06-17 18:59:36 +00:00
|
|
|
<p>
|
|
|
|
<b>Read the <a href=info.php>rules and policies</a> before creating
|
|
|
|
an account</b>
|
|
|
|
<p>
|
2003-03-06 17:42:49 +00:00
|
|
|
";
|
|
|
|
|
2003-07-04 00:02:53 +00:00
|
|
|
if ($userid) {
|
|
|
|
echo "
|
|
|
|
<input type=hidden name=userid value=$userid>
|
|
|
|
";
|
|
|
|
}
|
2003-06-17 18:59:36 +00:00
|
|
|
|
2003-03-06 17:42:49 +00:00
|
|
|
start_table();
|
2003-03-25 01:30:13 +00:00
|
|
|
row2("<b>Name</b>
|
2003-03-06 17:42:49 +00:00
|
|
|
<br><font size=-1>
|
2003-03-25 01:30:13 +00:00
|
|
|
Identifies you on our web site.
|
2003-03-06 17:42:49 +00:00
|
|
|
Use your real name or a nickname.
|
|
|
|
</font>",
|
|
|
|
"<input name=new_name size=30>"
|
|
|
|
);
|
2003-03-25 01:30:13 +00:00
|
|
|
row2("<b>Email address</b>
|
2003-03-06 17:42:49 +00:00
|
|
|
<br><font size=-1>
|
2003-03-25 01:30:13 +00:00
|
|
|
Must be a valid address of the form <i>name@domain</i>.
|
2003-03-06 17:42:49 +00:00
|
|
|
</font>",
|
|
|
|
"<input name=new_email_addr size=50>"
|
|
|
|
);
|
|
|
|
|
2003-03-25 01:30:13 +00:00
|
|
|
row2_init("<b>Country</b>
|
|
|
|
<br><font size=-1>Select the country you want to represent, if any.</font>",
|
2003-03-06 17:42:49 +00:00
|
|
|
"<select name=country>"
|
|
|
|
);
|
2002-11-11 10:26:40 +00:00
|
|
|
print_country_select();
|
2003-03-06 17:42:49 +00:00
|
|
|
echo "</select></td></tr>\n";
|
2002-11-11 10:26:40 +00:00
|
|
|
|
2003-03-25 01:30:13 +00:00
|
|
|
row2("<b>Postal or ZIP code</b>
|
2003-03-06 17:42:49 +00:00
|
|
|
<br><font size=-1>Optional</font>",
|
|
|
|
"<input name=postal_code size=20>"
|
|
|
|
);
|
2002-11-11 10:26:40 +00:00
|
|
|
|
2003-03-06 17:42:49 +00:00
|
|
|
row2("", "<input type=submit value=\"Create account\">");
|
|
|
|
end_table();
|
|
|
|
echo "</form>\n";
|
2002-11-11 10:26:40 +00:00
|
|
|
|
2003-03-26 20:54:44 +00:00
|
|
|
echo "If you already received an account key,
|
|
|
|
<a href=account_created.php>click here</a>
|
|
|
|
to activate your account
|
|
|
|
";
|
|
|
|
|
2002-11-11 10:26:40 +00:00
|
|
|
page_tail();
|
|
|
|
|
|
|
|
?>
|