<?php include('function.php'); ?>
<head>
<html>
<title>Account Registration</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body style="background-image:url(<?php include ('configs.php'); echo $image ?>);font-family:arial;font-size:15px;color:<?php echo $textcolor ?>;"><?php if($_GET['do'] == "register") { Register(); }elseif($_GET['error']) { Error("" . $_GET['error'] . ""); }else{ ?>
<div id="main">
<center><form action='?do=register' method='POST'>
<br />
<h2 style="color:<?php echo $headercolor ?>;">Register Account!</h2>
<b>Username:</b><br />
<input type="text" name="user" value="" onfocus="this.value='';">
<br />
<b>Password:</b><br />
<input type="password" name="password" value="" onfocus="this.value='';">
<br />
<div id="radio">
<input type="radio" name="flags" value="0">
Classic
<br />
<input type="radio" name="flags" value="1">
Burning Crusade
<br />
<input type="radio" name="flags" value="2">
Wotlk
</div>
<br />
<input type="submit" value="Register"></td></tr></table>
</div>
<br />
<br />
<div id="extra">
<br />
<?php echo $message; ?>
<br />
</form>
<div id="footer">
<h5>Copyright (C) <?php echo $message2 ?> All Rights Reserved</h5>
</div>
</center>
?>
</span>
</body>
</html>