<h3><?PHP echo $userpage_newreg['headline']; ?></h3>
<?PHP echo $userpage_newreg['alert']; ?>
<div>
	<?PHP echo $userpage_newreg['regtext']; ?>
</div>
<form method="post" action="<?PHP echo $userpage_newreg['requesturi']; ?>">
  <table border="0" cellspacing="5" cellpadding="0" align="center">
	<tr>
	  <td><?PHP echo $userpage_newreg['username']; ?>:</td>
	  <td><input type="text" name="uname" value="<?PHP echo $userpage_newreg['post']['uname']; ?>" /></td>
	 </tr>
	 <tr>
	  <td><?PHP echo $userpage_newreg['password']; ?>:</td>
	  <td><input type="text" name="upass" value="" /></td>
	 </tr>
	 <tr>
	  <td><?PHP echo $userpage_newreg['mailaddress']; ?>:</td>
	  <td><input type="text" name="umail" value="<?PHP echo $userpage_newreg['post']['umail']; ?>" /></td>
	 </tr>
	<?PHP if(isset($userpage_newreg['regfields'])) {
	foreach($userpage_newreg['regfields'] as $name => $value) { ?>
		<tr>
		  <td><?PHP echo $value; ?>:</td>
		  <td><input type="text" name="<?PHP echo $name; ?>" value="<?PHP echo $userpage_newreg['post'][$name]; ?>" /></td>
		</tr>
	<?PHP } } ?>
	 <tr>
	  <td>&nbsp;</td>
	  <td><input type="submit" name="registrieren" value="<?PHP echo $userpage_newreg['register']; ?>" /></td>
	 </tr>
	</table>
  </form>