<!DOCTYPE HTML>

<html>

<head>

	{include file="$template/includes/functions-seo.tpl"} {* This line loads the functions for the SEO features (no need to edit this file) *}
	
	{include file="$template/includes/functions.tpl"} {* This line loads the functions for a mix of thing such as the slideshow, WHMCS livechat etc *}
	
</head>

<body class="hook-{$filename} hook-{$language}{if $LANG.textdirection eq "rtl"} hook-rtl{/if}">

{$headeroutput}

<div class="container">

	{include file="$template/includes/toolbar.tpl"} {* This line loads the toolbar which contains the language dropdown and client area menu *}
	
	<header>
			<div class="logo">
				<a href="index.php">
					<img src="templates/{$template}/images/logo.png" class="img-respond img-logo" alt="{$companyname} logo" />
				</a>
			</div>
			
			{include file="$template/includes/social-buttons.tpl"} {* This line loads the Facebook & Twitter buttons *}
			
			{include file="$template/includes/header-right.tpl"} {* This line loads the live chat & affiliate program buttons. It also loads the cart tab on the cart.php pages *}
			
	</header>	
	
	{include file="$template/includes/menu.tpl"} {* This line loads the dropdown menu *}	
	
	{if $filename eq "index" && !isset($smarty.get.m)} {* The following code upto else will be loaded on the index (home) page. *}	
	
	{include file="$template/includes/slideshow.tpl"} {* This line loads the slideshow *}
	
	{include file="$template/includes/domainchecker.tpl"} {* This line loads the domain checker bar found on the homepage *}	
	
	{else} {* The following code upto /if will be loaded on all pages other than the homepage. *}
	
	{if $filename != "cart"}{* Display the following on all pages other than the cart *}
	
	<div class="subbanner">
		<h1>{$pagetitle}</h1>
		<span>{$breadcrumbnav}</span>
	</div><!-- .subbanner -->	
	
	{/if}{* End display on all pages other than the cart *}
	
	{/if} {* End of if homepage else section *}
	
	<article>
	
		<div class="whmcscontainer">	
		
		<div class="article-inner">
	
		{include file="$template/includes/feature-boxes.tpl"} {* This line loads the features boxes content (3 - 6 plan boxes) *}	
		
		{include file="$template/includes/features-bar.tpl"} {* This line loads the features bar *}
		
		{include file="$template/includes/menu-sub.tpl"} {* This line loads the sub menu (only displayed on small devices) *}	
		
		{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 class="columncontent">	
		
		{/if}