<? $langhibak = lang('forum_hibak'); ?>

<?if( $error2 || $hibak2 ):?>
	<div style="background: url('/public/img/collection/box_login_error.png');color: #ff8e8e; margin-bottom: 10px; position: absolute; margin-left: 450px; width: 214px; height: 82px; padding: 15px 10px 5px 50px; font-weight: bold;">
		<?if(hun()):?>
			<?=$error2?>
		<?elseif(eng()):?>
			<?foreach($hibak2 as $hiba):?>
				<?=$hibak[$hiba]?><br />
			<?endforeach;?>
		<?endif;?>
	</div>
<?endif;?>

<div class="medium_top"></div>
<div class="medium">
<h2><?=lang('forum_ujuser')?></h2>
<?if($error):?>
	<div style="color: #FF0000; margin-bottom: 10px;">
		<?=$error?>
	</div>
<?endif;?>
<form action="/forum/ujuser" name="letrehoz" id="letrehoz" method="post">
	<input type="hidden" name="do" id="do" value="true">
	<table>
	<tr>
		<td style="width: 100px"><b>Login: </b></td>
		<td><input type="text" style="width: 300px;" maxlength="150" name="login" id="login" /></td>
	</tr>
	<tr>
		<td><?=lang('name')?>:</td>
		<td><input type="text" style="width: 300px;" maxlength="150" name="nev" id="nev" /></td>
	</tr>
	<tr>
		<td><b><?if(hun()):?>Jelszó<?else:?>Password<?endif;?>: </b></td>
		<td><input type="password" style="width: 300px;" maxlength="50" name="jelszo1" id="jelszo1" /></td>
	</tr>
	<tr>
		<td><b><?if(hun()):?>Jelszó újra<?else:?>New password<?endif;?>: </b></td>
		<td><input type="password" style="width: 300px;" maxlength="50" name="jelszo2" id="jelszo2" /></td>
	</tr>
	<tr>
		<td>E-mail <?if(hun()):?>(egyéni)<?else:?>(unique)<?endif;?>:</td>
		<td><input type="text" style="width: 300px;" maxlength="150" name="email" id="email" /></td>
	</tr>
	<tr>
		<td><?=lang('forum_rang')?>:</td>
		<td><select name="rang" id="rang" style="width: 184px;">
				<?//<option value="user" selected="selected">user</option>?>
				<option value="moderator">moderator</option>
			</select>
	</tr>
	</table><br />
	
	<div style="width: auto; text-align: right; padding-right: 15px; margin-top: 7px;">
	<input class="ngomb" style="width: 120px;" type="button" value="<?=lang('forum_ment')?>" onclick="ujusercheck('<?=lang("feltolt_noemail")?>','<?=lang("feltolt_emailerr")?>','<?=lang("feltolt_nojelszo")?>','<?=$langhibak[1]?>','<?=$langhibak[0]?>')" value="<?=lang('forum_ment')?>" />
	<input class="ngomb" style="background: url('/public/img/forum/stilus/button_grey.png'); width: 110px; height: 25px; text-align: center; cursor: default;" value="<?=lang('forum_megsem')?>" onclick="window.location.href='/forum/users'" />
	</div>
	
</form>
</div>
<div class="medium_bottom"></div>
