<?php /* Smarty version 2.6.28, created on 2016-11-26 22:05:55
         compiled from eco-net-v3-5/includes/toolbar.tpl */ ?>
	<div class="toolbar">
	
	
		<?php if ($this->_tpl_vars['feature_language'] == 'on'): ?>
			<div class="leftmenu">
				<ul>
	            	<li class="arrowdrop"><a href="javascript:void(0);" class="flag-<?php echo $this->_tpl_vars['LANG']['language_active']; ?>
 flag-active"><?php echo $this->_tpl_vars['LANG']['language_active']; ?>
</a>
	            	
						<ul class="children">
							<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['template'])."/includes/languages.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 						</ul>            	
	            	</li>
	          	</ul>
          	</div><!-- .leftmenu -->
         <?php else: ?>
         	<?php if ($this->_tpl_vars['filename'] == 'cart'): ?>	
         		<p><?php echo $this->_tpl_vars['LANG']['toolbar_text_cart']; ?>
</p>
         	<?php else: ?>		
				<p><?php echo $this->_tpl_vars['LANG']['toolbar_text']; ?>
</p>
				
				
				<?php if ($this->_tpl_vars['feature_social_facebook'] == 'on' || $this->_tpl_vars['feature_social_twitter'] == 'on'): ?>				<div class="social-icons">
					<?php if ($this->_tpl_vars['feature_social_facebook'] == 'on'): ?><a href="<?php echo $this->_tpl_vars['feature_social_facebook_url']; ?>
" target="_blank"><img src="templates/<?php echo $this->_tpl_vars['template']; ?>
/images/facebook.png" alt="Facebook" /></a><?php endif; ?>
					<?php if ($this->_tpl_vars['feature_social_twitter'] == 'on'): ?><a href="<?php echo $this->_tpl_vars['feature_social_twitter_url']; ?>
" target="_blank"><img src="templates/<?php echo $this->_tpl_vars['template']; ?>
/images/twitter.png" alt="Twitter" /></a><?php endif; ?>
				</div>
				<?php endif; ?>
				
				
			<?php endif; ?>	
		<?php endif; ?>	
		
		<div class="rightmenu">
			<ul>
				<?php if ($this->_tpl_vars['filename'] == 'cart'): ?>
			            	<li><a href="contact.php" target="_blank" class="contact"><?php echo $this->_tpl_vars['LANG']['toolbar_menu_contact']; ?>
</a></li>			
					<?php else: ?>
					
						<?php if ($this->_tpl_vars['loggedin']): ?>
						
							<?php 
							$userdetails = getclientsdetails($GLOBALS['clientsdetails']['id']);
						    $email = $userdetails['email'];
							$toolbar_gravatar = 'https://www.gravatar.com/avatar/' . md5($email) . '?s=100';
							 ?>
						
				            	<li class="welcomeback"><?php echo $this->_tpl_vars['LANG']['toolbar_menu_welcome']; ?>
 <?php echo $this->_tpl_vars['loggedinuser']['firstname']; ?>
!</li>
				            	<li><a href="javascript:void(0);" class="arrowdrop"><?php echo $this->_tpl_vars['LANG']['toolbar_menu_account']; ?>
</a>
				            	
									<ul class="children">
									
										<a href="clientarea.php?action=details"><img src="<?php echo $toolbar_gravatar; ?>" alt="My gravitar" /></a>	
										<li><a href="clientarea.php?action=details"><?php echo $this->_tpl_vars['LANG']['toolbar_menu_details']; ?>
</a></li>
										<li><a href="clientarea.php?action=changepw"><?php echo $this->_tpl_vars['LANG']['toolbar_menu_password']; ?>
</a></li>
										<li><a href="clientarea.php?action=addfunds"><?php echo $this->_tpl_vars['LANG']['toolbar_menu_funds']; ?>
</a></li>
										<li><a href="clientarea.php?action=invoices"><?php echo $this->_tpl_vars['LANG']['toolbar_menu_invoices']; ?>
</a></li>
										<li><a href="clientarea.php?action=products"><?php echo $this->_tpl_vars['LANG']['toolbar_menu_products']; ?>
</a></li>
										<li><a href="clientarea.php?action=products"><?php echo $this->_tpl_vars['LANG']['toolbar_menu_services']; ?>
</a></li>
										<li><a href="clientarea.php?action=domains"><?php echo $this->_tpl_vars['LANG']['toolbar_menu_domains']; ?>
</a></li>
										<li><a href="affiliates.php"><?php echo $this->_tpl_vars['LANG']['toolbar_menu_commissions']; ?>
</a></li>
										<li><a href="clientarea.php?action=quotes"><?php echo $this->_tpl_vars['LANG']['toolbar_menu_quotes']; ?>
</a></li>
										<li><a href="clientarea.php?action=emails"><?php echo $this->_tpl_vars['LANG']['toolbar_menu_emails']; ?>
</a></li>
										<li><a href="supporttickets.php"><?php echo $this->_tpl_vars['LANG']['toolbar_menu_tickets']; ?>
</a></li>
										<li><a href="clientarea.php?action=contacts"><?php echo $this->_tpl_vars['LANG']['toolbar_menu_contacts']; ?>
</a></li>
									</ul>            	
				            	</li>
				            	<li><a href="logout.php"><?php echo $this->_tpl_vars['LANG']['toolbar_menu_logout']; ?>
</a></li>
				        <?php else: ?>
								<li><a href="clientarea.php"><?php echo $this->_tpl_vars['LANG']['toolbar_menu_clientarea']; ?>
</a></li>
								<li><a href="register.php"><?php echo $this->_tpl_vars['LANG']['toolbar_menu_register']; ?>
</a></li>
								<li><a href="cart.php" alt="Pilih Paket Hosting Murah Indonesia <?php echo $this->_tpl_vars['companyname']; ?>
" title="web Hosting domain name ssl murah"><?php echo $this->_tpl_vars['LANG']['toolbar_menu_order']; ?>
</a></li>
				        <?php endif; ?>	
					<?php endif; ?>
			</ul>
		</div>
	
	</div><!-- .toolbar -->