	
	<?php
/*
	Hezecom Email Solution
	Author: Hezecom Technologies (http://hezecom.com) info@hezecom.net
	COPYRIGHT 2014 ALL RIGHTS RESERVED
	
	You must have purchased a valid license from CodeCanyon.com in order to have 
	access this file.

	You may only use this file according to the respective licensing terms 
	you agreed to when purchasing this item.
*/
	if(!defined('VALID_DIR')) die('You are not allowed to execute this file directly');
	?>
	
	<div class="heze-table">
	<div class="col-12">
	<ul class="nav nav-tabs pull-right">
	<a href="<?php echo H_ADMIN;?>&view=mailusers&do=viewall" class="btn btn-default btn-sm tip" title="<?php echo LANG_TIP_VIEWALL;?>"><i class="fa fa-reply"></i> <?php echo LANG_GO_BACK;?></a>
	</ul>
	<div class="panel panel-default">
  <!-- Default panel contents -->
  <div class="panel-heading"><h3 class="panel-title"><i class="fa fa-reorder"></i> <strong><?php echo LANG_CREATE_NEW;?></strong></h3></div>
  <div class="panel-body pformmargin">
	
	 
	 <p>
	<div class="col-md-8 col-md-offset-2">
<form action="libraries/process_reg.php?view=mailusers" id="msgSend" method="post" class="form" role="form" enctype="multipart/form-data">   

<legend><?php echo LANG_SIGN_UP;?></legend>

<div id="output"></div>

<div class="row">
<div class="col-xs-6 col-md-6">
<input type="text" class="form-control input-lg" value="<?php echo post('fname');?>" name="fname" id="fname" placeholder="<?php echo LANG_FIRST_NAME;?>" required>                        
</div>
<div class="col-xs-6 col-md-6">
<input type="text" class="form-control input-lg" name="lname" value="<?php echo post('lname');?>" id="lname" placeholder="<?php echo LANG_LAST_NAME;?>" required>                        
</div>
</div>


<div class="row">
<div class="col-xs-6 col-md-6">
<input name="username" type="text" class="form-control input-lg" id='username' maxlength="15" placeholder="<?php echo LANG_CHOOSE_USERNAME;?>" required>
</div> 
<div class="col-xs-6 col-md-6">
 <input type="button" id="check_username_availability" value="<?php echo LANG_AVAILABILITY;?>" class="btn btn-success btn-sm">
 <span>@<?php echo C_URL;?></span>
 <div id='username_availability_result'></div>
</div>
</div>

<input type="password" class="form-control input-lg" name="pwd" id="pwd" placeholder="<?php echo LANG_ENTER_PASSWORD;?>" onKeyUp="PwdStrength(this.value)" required>
<input type="password" name="pwd2" value="" class="form-control input-lg" placeholder="<?php echo LANG_CONFIRM_PASSWORD;?>" required/> 
<div id="PwdDescription"></div>
<div id="PwdStrength" class="strength0"></div><br>
   
                    
<label><?php echo LANG_BITHDAY;?></label>                    

<div class="row">

<div class="col-xs-4 col-md-4">
<select name="month" class = "form-control input-lg">
<option value="0"><?php echo LANG_MONTH;?></option><?php echo generate_options(1,12,'callback_month')?></select>
</select> 
</div>

<div class="col-xs-4 col-md-4">
<select name="day" class = "form-control input-lg">
 <option value="0"><?php echo LANG_DAY;?></option><?php echo generate_options(1,31)?></select>
</select>
</div>

<div class="col-xs-4 col-md-4">
<select name="year" class = "form-control input-lg">
<option value="0"><?php echo LANG_YEAR;?></option><?php echo generate_options(date('Y'),1900)?></select>
</div>
</div>

<input type="text" class="form-control input-lg numbersOnly" name="phone" id="phone" placeholder="<?php echo LANG_PHONE;?>">
<input type="email" class="form-control input-lg" name="email" placeholder="<?php echo LANG_ALTERNATE_EMAIL;?>" required>

<label><?php echo LANG_GENDER;?> </label>                    
<label class="radio-inline">
<input type="radio" name="gender" value="<?php echo LANG_MALE;?>" id=male /> <?php echo LANG_MALE;?>
</label>
<label class="radio-inline">
<input type="radio" name="gender" value="<?php echo LANG_FEMALE;?>" id=female /><?php echo LANG_FEMALE;?>
</label>

<div class="control-group">
<select name="location" id="location" class="form-control input-lg choz">
<option value=""><?php echo LANG_SELECT_LOCATION;?></option>
<?php include('libraries/views/countries.html');?>
</select>
</div><br />

<div class="row">
<div class="col-xs-7 col-md-7">

<div id="hezecom-wraper">
<div class="btn btn-success" style="font-size:18px; font-family: 'Frijole', Arial, serif;"><?php echo captcha_validation(7); ?> <input name="captcha" type="text" maxlength="20"  placeholder="<?php echo LANG_VERIFICATION_CODE;?>"  autocomplete="off" />
</div>
</div>
</div>
<div class="col-xs-3 col-md-3" style="position:absolute; margin-top:10px; right:370px;">
<a id="refresh" href="#" class="btn btn-success" title="<?php echo LANG_REFRESH; ?>"><i class="fa fa-refresh"></i></a>                      
</div>
</div><br />

<div class="control-group">
<label class="control-label" for="custom_quota"><?php echo LANG_DISC_QUOTA;?></label>
<input type="text" class="form-control" name="custom_quota" value="<?php echo DISC_QUOTA;?>" style="width:100px;" required>
</div>

<div class="control-group">
<input name="submit" type="submit" class="btn btn-lg btn-primary btn-block signup-btn" id="msgButton" value="<?php echo LANG_CREATE_NEW_ACCOUNT; ?>">
</div>

</form>          
</div>
</div>
	</p>
	 
	
	</div>
 </div><!--/col-12-->
 </div><!--/heze-table-->
	