<?php include_once APP_PATH.'admin/template/header.php';?>

<section>

<div class="content-border">
<?php if ($errors) { ?>
<div class="status-failure"><?php echo $errors["e"].$errors["e1"].$errors["e2"].$errors["e3"].$errors["e4"].$errors["e5"].$errors["e6"];?></div>
<?php } ?>
<form class="jak_form" method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
<table class="table">
<tr>
<td class="content-title" colspan="2"><?php echo $tl["general"]["g40"];?></td>
</tr>
<tr>
	<td class="go"><h3><?php echo $tl["user"]["u"];?></h3></td>
	<td><input type="text" name="jak_name" class="inputbig<?php if ($errors["e1"]) { ?> error<?php } ?>" value="<?php echo $_REQUEST["jak_name"]; ?>" /></td>
</tr>
<tr>
	<td class="go"><h3><?php echo $tl["user"]["u1"];?></h3></td>
	<td><input type="text" name="jak_email" class="inputbig<?php if ($errors["e2"]) { ?> error<?php } ?>" value="<?php echo $_REQUEST["jak_email"]; ?>" /></td>
</tr>
<tr>
	<td class="go"><h3><?php echo $tl["user"]["u2"];?></h3></td>
	<td><input<?php if ($errors["e3"] || $errors["e4"]) { ?> class="error"<?php } ?> type="text" name="jak_username" value="<?php echo $_REQUEST["jak_username"]; ?>" /></td>
</tr>
<tr>
	<td class="go"><h3><?php echo $tl["user"]["u3"];?></h3></td>
	<td><input type="radio" name="jak_access" value="1" checked="checked" /> <?php echo $tl["general"]["g19"];?> <input type="radio" name="jak_access" value="0" /> <?php echo $tl["general"]["g18"];?></td>
</tr>
</table>

<table class="table">
<tr>
<td class="content-title" colspan="2"><?php echo $tl["general"]["g39"];?></td>
</tr>
<tr>
	<td class="go"><h3><?php echo $tl["user"]["u4"];?></h3></td>
	<td><input<?php if ($errors["e5"] || $errors["e6"]) { ?> class="error"<?php } ?> type="text" name="jak_password" value="" /></td>
</tr>
<tr>
	<td class="go"><h3><?php echo $tl["user"]["u5"];?></h3></td>
	<td><input<?php if ($errors["e5"] || $errors["e6"]) { ?> class="error"<?php } ?> type="text" name="jak_confirm_password" value="" /></td>
</tr>
</table>

<div class="ustatus">
<a href="index.php?p=users" class="button"><?php echo $tl["general"]["g103"];?></a>
<button type="submit" name="save" class="button"><?php echo $tl["general"]["g38"];?></button>
</div>

<div class="clear"></div>

</form>
</div>		
</section>
		
<?php include_once APP_PATH.'admin/template/footer.php';?>