<?php /* Smarty version 2.6.28, created on 2016-11-27 09:48:14
         compiled from /home/solusito/public_html/templates/eco-net-v3-5/clientregister.tpl */ ?>
<?php if ($this->_tpl_vars['noregistration']): ?>

	<div class="notice notice-error">
		<div class="inside">
			<p><?php echo $this->_tpl_vars['LANG']['registerdisablednotice']; ?>
</p>
		</div>
	</div>

<?php else: ?>

<script type="text/javascript" src="includes/jscript/statesdropdown.js"></script>
<script type="text/javascript" src="includes/jscript/pwstrength.js"></script>

<p><?php echo $this->_tpl_vars['LANG']['clientregisterheadertext']; ?>
</p>

<?php if ($this->_tpl_vars['errormessage']): ?>

	<div class="notice notice-error">
		<div class="inside">
			<p><?php echo $this->_tpl_vars['errormessage']; ?>
</p>
		</div>
	</div>
<?php endif; ?>

<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>
">
  <input type="hidden" name="register" value="true" />
  

  		<div class="feildset">
		
			<div class="col2">
			
				<div>
					<label>
						<span><?php echo $this->_tpl_vars['LANG']['clientareafirstname']; ?>
: (<?php echo $this->_tpl_vars['LANG']['required']; ?>
)</span>						
						<input type="text" name="firstname" value="<?php echo $this->_tpl_vars['clientfirstname']; ?>
" placeholder="<?php echo $this->_tpl_vars['LANG']['register_firstname']; ?>
" requred="required" autofocus="autofocus" />
					</label>
				</div>
			
			
				<div>
					<label>
						<span><?php echo $this->_tpl_vars['LANG']['clientareaemail']; ?>
: (<?php echo $this->_tpl_vars['LANG']['required']; ?>
)</span>
						<input type="email" name="email" value="<?php echo $this->_tpl_vars['clientemail']; ?>
" placeholder="<?php echo $this->_tpl_vars['LANG']['register_email']; ?>
" tabindex="3" requred="required" />
					</label>
				</div>	
				
				
				<div>
					<label>
						<span><?php echo $this->_tpl_vars['LANG']['clientareacountry']; ?>
: (<?php echo $this->_tpl_vars['LANG']['required']; ?>
)</span>
						
						<?php echo $this->_tpl_vars['clientcountriesdropdown']; ?>

					</label>
				</div>						

				<div>
					<label>
						<span><?php echo $this->_tpl_vars['LANG']['clientareaaddress1']; ?>
: (<?php echo $this->_tpl_vars['LANG']['required']; ?>
)</span>
						<input type="text" name="address1" size="40" value="<?php echo $this->_tpl_vars['clientaddress1']; ?>
" placeholder="<?php echo $this->_tpl_vars['LANG']['register_address1']; ?>
" tabindex="5" requred="required" />
					</label>
				</div>		
				
						

				<div>
					<label>
						<span><?php echo $this->_tpl_vars['LANG']['clientareacity']; ?>
: (<?php echo $this->_tpl_vars['LANG']['required']; ?>
)</span>
						<input type="text" name="city" size="30" value="<?php echo $this->_tpl_vars['clientcity']; ?>
" placeholder="<?php echo $this->_tpl_vars['LANG']['register_city']; ?>
" tabindex="7" requred="required" />
					</label>
				</div>	
				
				
				
				
				<div>
					<label>
						<span><?php echo $this->_tpl_vars['LANG']['clientareapostcode']; ?>
: (<?php echo $this->_tpl_vars['LANG']['required']; ?>
)</span>
						<input type="text" name="postcode" size="10" value="<?php echo $this->_tpl_vars['clientpostcode']; ?>
" placeholder="<?php echo $this->_tpl_vars['LANG']['register_postcode']; ?>
" tabindex="9" requred="required" />
					</label>
				</div>	
				
				
							
			
			
			</div><!-- .col2 -->
			
			
			<div class="col2 nomarginright">
			
				<div>
					<label>
						<span><?php echo $this->_tpl_vars['LANG']['clientarealastname']; ?>
: (<?php echo $this->_tpl_vars['LANG']['required']; ?>
)</span>
						<input type="text" name="lastname" value="<?php echo $this->_tpl_vars['clientlastname']; ?>
" placeholder="<?php echo $this->_tpl_vars['LANG']['register_lastname']; ?>
" tabindex="2" requred="required" />
					</label>
				</div>	
				
			
			
				<div>
					<label>
						<span><?php echo $this->_tpl_vars['LANG']['clientareacompanyname']; ?>
:</span>
						<input type="text" name="companyname" size="30" value="<?php echo $this->_tpl_vars['clientcompanyname']; ?>
" placeholder="<?php echo $this->_tpl_vars['LANG']['register_company']; ?>
" tabindex="4" />
					</label>
				</div>
				
				
				
				<div>
					<label>
						<span><?php echo $this->_tpl_vars['LANG']['clientareaphonenumber']; ?>
: (<?php echo $this->_tpl_vars['LANG']['required']; ?>
)</span>
						<input type="tel" name="phonenumber" size="20" value="<?php echo $this->_tpl_vars['clientphonenumber']; ?>
" placeholder="<?php echo $this->_tpl_vars['LANG']['register_phone']; ?>
" tabindex="6" requred="required" />
					</label>
				</div>										

				
				<div>
					<label>
						<span><?php echo $this->_tpl_vars['LANG']['clientareaaddress2']; ?>
: (<?php echo $this->_tpl_vars['LANG']['required']; ?>
)</span>
						<input type="text" name="address2" value="<?php echo $this->_tpl_vars['clientaddress2']; ?>
" placeholder="<?php echo $this->_tpl_vars['LANG']['register_address2']; ?>
" tabindex="8" requred="required" />
					</label>
				</div>
				
				


				
				<div>
					<label>
						<span><?php echo $this->_tpl_vars['LANG']['clientareastate']; ?>
: (<?php echo $this->_tpl_vars['LANG']['required']; ?>
)</span>
						<input type="text" name="state" value="<?php echo $this->_tpl_vars['clientstate']; ?>
" placeholder="<?php echo $this->_tpl_vars['LANG']['register_state']; ?>
" tabindex="10" requred="required" />
					</label>
				</div>
																								
			
			</div><!-- .col2 -->
			
			<div class="clear">&nbsp;</div>
			
			</div>
			

  
  
  <?php if ($this->_tpl_vars['securityquestions']): ?>
  
		<div class="bigheader">
			<h2><?php echo $this->_tpl_vars['LANG']['register_security_title']; ?>
</h2>
		</div><!-- .bigheader -->  
  
  <p><?php echo $this->_tpl_vars['LANG']['register_security_desc']; ?>
</p>    
  
  		<div class="feildset">		
		
			<div class="col1">
			
			
				<div>
					<label>
						<span><?php echo $this->_tpl_vars['LANG']['clientareasecurityquestion']; ?>
:</span>						
								    <select name="securityqid" id="securityqid">
            <?php $_from = $this->_tpl_vars['securityquestions']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['num'] => $this->_tpl_vars['question']):
?>
            	<option value=<?php echo $this->_tpl_vars['question']['id']; ?>
><?php echo $this->_tpl_vars['question']['question']; ?>
</option>
            <?php endforeach; endif; unset($_from); ?>
            </select>
					</label>
				</div>	
				
				<div>
					<label>
						<span><?php echo $this->_tpl_vars['LANG']['clientareasecurityanswer']; ?>
:</span>						
						<input type="password" name="securityqans" placeholder="<?php echo $this->_tpl_vars['LANG']['register_secanswer']; ?>
" />
					</label>
				</div>	
				
			
			</div>
			
		</div>	  
<?php endif; ?>
          
          
<?php if ($this->_tpl_vars['customfields']): ?>          

		<div class="bigheader">
			<h2><?php echo $this->_tpl_vars['LANG']['register_customfeilds_title']; ?>
</h2>
		</div><!-- .bigheader -->  
  
  <p><?php echo $this->_tpl_vars['LANG']['register_customfeilds_desc']; ?>
</p>          
          
          
   		<div class="feildset">  		
		
			<div class="col1">
			
			<?php $_from = $this->_tpl_vars['customfields']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['num'] => $this->_tpl_vars['customfield']):
?>
				<div>
					<label>
						<span><?php echo $this->_tpl_vars['customfield']['name']; ?>
:</span>						
						<?php echo $this->_tpl_vars['customfield']['input']; ?>
 <?php echo $this->_tpl_vars['customfield']['description']; ?>

					</label>
				</div>	
				<?php endforeach; endif; unset($_from); ?>	
			
			
			</div>
			
		</div>

<?php endif; ?>
		
		
		
		<?php if ($this->_tpl_vars['currencies']): ?>
		
		<div class="bigheader">
			<h2><?php echo $this->_tpl_vars['LANG']['register_currency_title']; ?>
</h2>
		</div><!-- .bigheader -->  
  
  <p><?php echo $this->_tpl_vars['LANG']['register_currency_desc']; ?>
</p>   	
		
   		<div class="feildset">  		
		
			<div class="col1">
			
				<div>
					<label>
						<span><?php echo $this->_tpl_vars['LANG']['choosecurrency']; ?>
:</span>						
						<select name="currency">
            <?php $_from = $this->_tpl_vars['currencies']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['curr']):
?>
            <option value="<?php echo $this->_tpl_vars['curr']['id']; ?>
"<?php if (! $_POST['currency'] && $this->_tpl_vars['curr']['default'] || $_POST['currency'] == $this->_tpl_vars['curr']['id']): ?> selected<?php endif; ?>><?php echo $this->_tpl_vars['curr']['code']; ?>
</option>
            <?php endforeach; endif; unset($_from); ?>
            </select>
					</label>
				</div>	
			
			
			</div>
			
		</div>		
		        <?php endif; ?> 
          

		<div class="bigheader">
			<h2><?php echo $this->_tpl_vars['LANG']['orderlogininfo']; ?>
</h2>
		</div><!-- .bigheader -->
  
  <p><?php echo $this->_tpl_vars['LANG']['orderlogininfopart1']; ?>
 <?php echo $this->_tpl_vars['companyname']; ?>
 <?php echo $this->_tpl_vars['LANG']['orderlogininfopart2']; ?>
</p>
  
  
   		<div class="feildset">
		
			<div class="col1">
			
				<div>
					<label>
						<span><?php echo $this->_tpl_vars['LANG']['clientareapassword']; ?>
: (<?php echo $this->_tpl_vars['LANG']['required']; ?>
)</span>
						<input type="password" name="password" id="newpw" tabindex="10" requred="required" placeholder="<?php echo $this->_tpl_vars['LANG']['register_password1']; ?>
" />
					</label>
				</div>
				
				<div>
					<label>
						<span><?php echo $this->_tpl_vars['LANG']['clientareaconfirmpassword']; ?>
: (<?php echo $this->_tpl_vars['LANG']['required']; ?>
)</span>
						<input type="password" name="password2" tabindex="10" requred="required" placeholder="<?php echo $this->_tpl_vars['LANG']['register_password2']; ?>
" />
					</label>
				</div>				
			
			
			</div>
			
		</div>  


  <?php if ($this->_tpl_vars['capatacha']): ?>
  <h2><?php echo $this->_tpl_vars['LANG']['captchatitle']; ?>
</h2>
  <p><?php echo $this->_tpl_vars['LANG']['captchaverify']; ?>
</p>
  <?php if ($this->_tpl_vars['capatacha'] == 'recaptcha'): ?>
  <div class="center"><?php echo $this->_tpl_vars['recapatchahtml']; ?>
</div>
  <?php else: ?>
  <p class="center"><img src="includes/verifyimage.php" align="middle" /> <input type="text" name="code" size="10" maxlength="5" /></p>
  <?php endif; ?>
  <?php endif; ?>

  <?php if ($this->_tpl_vars['accepttos']): ?>
  <p class="center">
    <input type="checkbox" name="accepttos" id="accepttos" />
    <label for="accepttos"><?php echo $this->_tpl_vars['LANG']['ordertosagreement']; ?>
 <a href="<?php echo $this->_tpl_vars['tosurl']; ?>
" target="_blank"><?php echo $this->_tpl_vars['LANG']['ordertos']; ?>
</a></label>
    .  </p>
  <?php endif; ?>
  <p class="center">
    <input type="submit" value="<?php echo $this->_tpl_vars['LANG']['ordercontinuebutton']; ?>
" class="button1 color2" />
  </p>
</form>
<?php endif; ?>