'; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo '
'; echo '
Account Creation
'; echo '
'; echo '
'; echo '
'; $username = $_POST['username']; $password = md5($_POST['password']); $email = $_POST['email']; $referral = $_POST['referral']; if (getInfo(username,accounts,"WHERE username='$username'")) $failure = "That username is already taken."; if (!$_POST['password']) $failure = "You must set a password."; if (!$username) $failure = "You must select a username."; if (banned($_SERVER['REMOTE_ADDR'])) $failure = "Your IP has been banned. You may not create an account."; if ($_POST['password'] != $_POST['password2']) $failure = "Your passwords do not match."; if (!$failure) { $IP = $_SERVER['REMOTE_ADDR']; $max = numRows(accounts); for ($i = 1;$i <= $max;$i++) { $user = getInfo(username,accounts,"WHERE id='$i'"); $IPs = getInfo(IP,accounts,"WHERE id='$i'"); if (fnmatch('*'.$IP.'*',$IPs)) { $users[] = $user; } } $date = date('g:i A F jS Y'); $query = "INSERT INTO accounts VALUES('','$username','$password','','','','','','$IP','','','','$email','','$referral','','','$date','')"; mysql_query($query); if ($users) { $query = "UPDATE accounts SET hold='hold' WHERE username='$username'"; mysql_query($query); echo "The following users were found having logged from your IP address : ".implode(', ',$users); echo "
We do not allow the creation of multiple user accounts. However, there is the possibility that someone else has logged in from your location. Because of this, the account will be created, and put on hold until an administrator may look over your account. If you wish to give a supporting argument, you may do so in the textbox below.


"; } else { echo "You have registered with the following information :

Username : ".$username."
Password : ".$_POST['password']."
E-mail : ".$email; echo '

You will be forwarded to the guide section in two seconds. Please do yourself and read the basics article at least - AO can seem very confusing at first, and this will help you settle in.'; echo ''; } } else echo $failure; echo '
'; echo '
'; echo ''; } elseif ($_POST['mode'] == "excuse") { $username = $_POST['username']; $excuse = $_POST['excuse']; if (!$excuse) $failure = "You must enter a reason for why your IP address conflicts with another's, otherwise the administration has no reason to accept this account."; if (!$failure) { $query = "UPDATE accounts SET hold='$excuse' WHERE username='$username'"; mysql_query($query); echo '
'; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo '
'; echo '
Success
'; echo '
'; echo '
'; echo '
'; echo 'You have successfully posted the reasoning behind the creation of this account. An administrator will look over your account as soon as possible.'; echo '
'; echo '
'; echo '
'; } else { $query = "DELETE FROM accounts WHERE username='$username'"; mysql_query($query); echo '
'; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo '
'; echo '
Error
'; echo '
'; echo '
'; echo '
'; echo $failure; echo '
'; echo '
'; echo '
'; } } else { echo '
'; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo '
'; echo '
Account Creation
'; echo '
'; echo '
'; echo '
'; echo 'Anathema Online is organized in such a way that a user will create ONE account, and through it, will create or claim characters.'; echo '
'; echo '
'; echo '
'; echo '
'; echo '
'; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo '
'; echo '
Registration
'; echo '
'; echo '
'; echo '
'; echo "Fields marked with an asterisk (*) are required. You may choose to neglect the others, it will not affect your ability to register.
"; echo 'User Name* :

'; echo 'Password* :
'; echo 'Confirm Password* :
'; echo 'Who Referred You? :
'; echo 'E-mail :

'; echo '
'; echo 'By registering, you are acknowledging the fact that, though the administrators do their best to filter out any offensive content, it is your resposibility as the user to use discretion in your posts and in what you choose to read. Furthermore, we reserve the right to use anything created here as we wish - be it the avatar images or the names of the characters. Furthermore, you also acknowledge that you are at least 13 years of age.

While we do collect IP addresses and e-mail addresses, we do so strictly for moderation purposes. We will never share this information with any third parties. Furthermore, this information will not be displayed to non-staff members of Anathema Online.

'; echo 'And now, on the topic of roleplaying itself; by registering, you are acknolwedging that you have read the Omniscient Knowledge Rules and accept that if you break these regulations, you will be subject to the punishments subject to the administration\'s discretion (within the bounds of this website).

'; echo ''; echo '
'; echo '
'; echo '
'; echo '
'; /* echo '
'; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo '
'; echo '
Account Creation
'; echo '
'; echo '
'; echo '
'; echo 'Registration is currently disabled.'; echo '
'; echo '
'; echo '
'; echo '
'; */ } include "index-bottom.php" ?>