<form action="<?php echo site_url('install/saveaccountsettings');?>" method="post">
	<h4>Account setup:</h4>
	<hr/>

	<?php echo $this->session->flashdata('msg');?> 


	<div class="form-group">
	    <label for="">نام کاربری</label>
		<input type="text" name="user_name" value="<?php if(set_value('user_name')!='')echo set_value('user_name');else echo 'admin';?>" placeholder="User Name" class="form-control" >	    
		<?php echo form_error('user_name'); ?>
	</div>

	<div class="form-group">
	    <label for="">نام</label>
		<input type="text" name="first_name" value="<?php if(set_value('first_name')!='')echo set_value('first_name');else echo '';?>" placeholder="First Name" class="form-control" >
		<?php echo form_error('first_name'); ?>
	</div>

	<div class="form-group">
	    <label for="">نام خانوادگی</label>
		<input type="text" name="last_name" value="<?php if(set_value('last_name')!='')echo set_value('last_name');else echo '';?>" placeholder="Last Name" class="form-control" >
		<?php echo form_error('last_name'); ?>
	</div>


	<div class="form-group">
	    <label for="">جنسیت</label>
		<select id="gender" name="gender" class="form-control">
			<option value="male">اقا</option>
			<option value="female">خانم</option>
		</select> 		
		<?php echo form_error('gender'); ?>
	</div>


	<div class="form-group">
	    <label for="">User Email</label>
		<input type="text" name="user_email" value="<?php if(set_value('user_email')!='')echo set_value('user_email');else echo '';?>" placeholder="User Email" class="form-control" >
		<?php echo form_error('user_email'); ?>
	</div>


	<div class="form-group">
	    <label for="">Password</label>
		<input type="password"  name="password" class="form-control" >
		<?php echo form_error('password'); ?>
	</div>


	<div class="form-group">
	    <label for="">Retype Password</label>
		<input type="password" name="re_password" class="form-control" >
		<?php echo form_error('re_password'); ?>
	</div>

	<div class="form-group">
	    <label for="">Encryption Key</label>
		<input type="text" name="enc_key" value="<?php if(set_value('enc_key')!='')echo set_value('enc_key');else echo 'whe';?>" class="form-control" >
		<?php echo form_error('enc_key'); ?>
	</div>

    <div style="clear:both;"></div> 
	<button type="submit" class="btn btn-success">Save & Next</button>
</form>