			{if $filename eq "register" or $filename eq "clientarea" or $filename eq "creditcard" or $filename eq "cart" or $filename eq "affiliates" or $filename eq "affiliate-program" or $filename eq "domainchecker" or $filename eq $custom1_url or $filename eq $custom2_url or $filename eq $custom3_url or $filename eq $custom4_url or $filename eq $custom5_url or $filename eq $custom6_url or $filename eq $custom7_url or $filename eq $custom8_url or $filename eq $custom9_url or $filename eq $custom10_url}
			
			{else}

			</section>
			
			{include file="$template/sidebar.tpl"} {* This line loads the sidebar which is displayed on all pages other than the ones listed above *}
			
			<div class="clear">&nbsp;</div>	
			
			{/if}		
			
			{if $filename != "cart"}{* Display the following on all pages other than the cart *}
			
				<div class="partners"><img src="templates/{$template}/images/{$LANG.footer_partner_img}" class="img-respond" alt="{$LANG.footer_partner_alt}" /></div>
			
			{/if}{* End display on all pages other than the cart *}
			
			{include file="$template/includes/welcome.tpl"} {* This line loads the welcome text found on the homepage below the partners image *}

		</div><!-- .article-inner -->
		
		</div><!-- .whmcscontainer -->

	</article>
	
	<div class="footertop">&nbsp;</div>
	
{include file="$template/includes/socialbar.tpl"} {* This line loads the social bar which is shown above the footer on all pages other than cart.php *}
		
	<footer>
	
		{if $filename != "cart"}{* Display the following on all pages other than the cart *}			
		
				<div class="footerinner">
				
					<div class="footercontent">
	
	        			<div class="sitemap sitemap1">
	          				<h4>{$LANG.footer_services}</h4>
	          				<ul>
	            				{if $feature_custom1 eq 'on'}<li><a href="{$custom1_url}.php">{$LANG.menu_custom1}</a></li>{/if}
	            				{if $feature_custom2 eq 'on'}<li><a href="{$custom2_url}.php">{$LANG.menu_custom2}</a></li>{/if}
	            				{if $feature_custom3 eq 'on'}<li><a href="{$custom3_url}.php">{$LANG.menu_custom3}</a></li>{/if}
	            				{if $feature_custom4 eq 'on'}<li><a href="{$custom4_url}.php">{$LANG.menu_custom4}</a></li>{/if}
	            				{if $feature_custom5 eq 'on'}<li><a href="{$custom5_url}.php">{$LANG.menu_custom5}</a></li>{/if}
	            				{if $feature_custom6 eq 'on'}<li><a href="{$custom6_url}.php">{$LANG.menu_custom6}</a></li>{/if}
	            				{if $feature_custom7 eq 'on'}<li><a href="{$custom7_url}.php">{$LANG.menu_custom7}</a></li>{/if}
	            				{if $feature_custom8 eq 'on'}<li><a href="{$custom8_url}.php">{$LANG.menu_custom8}</a></li>{/if}
	            				{if $feature_custom9 eq 'on'}<li><a href="{$custom9_url}.php">{$LANG.menu_custom9}</a></li>{/if}
	            				{if $feature_custom10 eq 'on'}<li><a href="{$custom10_url}.php">{$LANG.menu_custom10}</a></li>{/if}	            				
					         </ul> 
	        			</div><!-- .sitemap -->
	
	        			<div class="sitemap sitemap2">
	        			
	        				{if $feature_domains eq 'on'}
	          				<h4>{$LANG.footer_domains}</h4>
	          				<ul>
	            				<li><a href="domainchecker.php">{$LANG.footer_domains_register}</a></li>
					            <li><a href="domainchecker.php?search=bulkregister">{$LANG.footer_domains_transfer}</a></li>
					            <li><a href="domainchecker.php">{$LANG.footer_domains_whois}</a></li>
					         </ul>
					         {/if}
					         
	          				<h4{if $feature_domains eq 'on'} class="margintop"{/if}>{$LANG.footer_support}</h4>
	          				<ul>
	            				<li><a href="contact.php">{$LANG.footer_support_contact}</a></li>
	            				<li><a href="submitticket.php">{$LANG.footer_support_submitticket}</a></li>
	            				<li><a href="knowledgebase.php">{$LANG.footer_support_knowledgebase}</a></li>
					         </ul> 				         
	        			</div><!-- .sitemap -->
	        			
	        			<div class="sitemap sitemap3">
	          				<h4>{$LANG.footer_company}</h4>
	          				<ul>
	            				<li><a href="company.php">{$LANG.footer_company_aboutus}</a></li>
	            				<li><a href="why-choose-us.php">{$LANG.footer_company_whychooseus}</a></li>
	            				<li><a href="testimonials.php">{$LANG.footer_company_testimonials}</a></li>
	            				<li><a href="announcements.php">{$LANG.footer_company_announcements}</a></li>
					            <li><a href="serverstatus.php">{$LANG.footer_company_serverstatus}</a></li>
					         </ul> 
					         
					        {if $feature_affiliates eq 'on'} 
	          				<h4 class="margintop">{$LANG.footer_affiliates}</h4>
	          				<ul>
	            				<li><a href="affiliate-program.php">{$LANG.footer_affiliates_program}</a></li>
	            				<li><a href="register.php">{$LANG.footer_affiliates_join}</a></li>
	            				<li><a href="affiliates.php">{$LANG.footer_affiliates_login}</a></li>
					         </ul> 				
					         {/if}         
	        			</div><!-- .sitemap -->
	
	        			<div class="sitemap sitemap4">        			
	         				<h4>{$LANG.footer_contactus}</h4>
	          				<ul>
	            				<li class="icon-phone"><a href="callto:{$LANG.footer_contactus_phone}">{$LANG.footer_contactus_phone}</a></li>
	            				<li class="icon-fax"><a href="javascript:void(0);">{$LANG.footer_contactus_fax}</a></li>
	            				<li class="icon-contact"><a href="mailto:{$LANG.footer_contactus_email}">{$LANG.footer_contactus_email}</a></li>
	          				</ul>
	          				
	          				{if $feature_social_facebook eq "on" or $feature_social_twitter eq "on"}
	          				<h4 class="margintop">{$LANG.footer_getsocial}</h4>
	          					{if $feature_social_facebook eq "on"}
	          					<p class="center">
		          					<a href="{$feature_social_facebook_url}" target="_blank">
		          						<img src="templates/{$template}/images/{$LANG.footer_getsocial_facebook_img}" class="img-respond img-footersocialicons" alt="{$companyname} Facebook" />
		          					</a>
	          					</p>
	          					{/if}
	          					{if $feature_social_twitter eq "on"}
		          					<p class="center">
		          					<a href="{$feature_social_twitter_url}" target="_blank">
		          						<img src="templates/{$template}/images/{$LANG.footer_getsocial_twitter_img}" class="img-respond img-footersocialicons" alt="{$companyname} Twitter" />
		          					</a>
	          					</p>
	          					{/if}
	          				{/if}
	          			</div><!-- .sitemap -->	
	          			
	          			<div class="clear">&nbsp;</div>
	          			
						{if $feature_language eq "on"} {* This section is for the language selector, it's hidden unless the device is small (as there is nice language switcher in the toolbar for bigger screens) *}
							<div class="langswitcher">
								<h4>{$LANG.footer_language}</h4>
								{$setlanguage}
							</div>
						{/if}	          			       			        			        			
				
					</div><!-- .footercontent -->						
							
				</div><!-- .footerinner -->
			
		{/if}{* End display on all pages other than the cart *}
			
			<div class="copyright">
				<div class="container2">
					<div class="left">
						<p>{$LANG.copyright_text} - {$companyname} - <a href="http://www.zomex.com/templates/whmcs/" target="_blank">WHMCS Themes</a></p>
					</div>
						
					<div class="right">					
						<p>
						{if $feature_terms eq "on"}<a href="terms-of-service.php">{$LANG.legal_link_terms}</a>{/if}
						{if $feature_usage eq "on"}<a href="acceptable-usage-policy.php">{$LANG.legal_link_usage}</a>{/if}
						{if $feature_privacy eq "on"}<a href="privacy-policy.php">{$LANG.legal_link_privacy}</a>{/if}
						</p>
					</div>
					<div class="clear">&nbsp;</div>
				</div><!-- .container2 -->
			</div><!-- .copyright -->
			
	</footer>
	
</div><!-- .container -->	

{$footeroutput}

</body>
</html>