{if $systemurl}<base href="{$systemurl}" />{/if}

{if $feature_social eq "off"}{else}<script type="text/javascript" src="templates/{$template}/javascript/social.js"></script>{/if}

{if $filename eq "index" && !isset($smarty.get.m)}
<link rel="stylesheet" type="text/css" href="templates/{$template}/slideshow/default/default.css" />
{if $feature_slideshow eq 'on'}<script type="text/javascript" src="templates/{$template}/javascript/scripts.js"></script>{else}{/if}
{/if}

<link rel="shortcut icon" href="{$feature_favicon_url}" />

<noscript>{literal}<style type="text/css"><!--.slider-wrapper,.socialbox { display: none; }--></style>{/literal}</noscript>

{if $feature_slideshow_navigation eq 'off'}{literal}<style type="text/css"><!--.theme-default .nivo-controlNav { display: none; }--></style>{/literal}{/if}

{if $filename eq "home"}{php}header( "HTTP/1.1 301 Moved Permanently" );header( "Location: index.php" );{/php}{/if}

{if $livehelpjs}{$livehelpjs}{/if}

{* The code below is functions required for the hosting page (loads a different CSS file depending on plan amount) - no need to edit this code *}

{if $filename eq $custom1_url}
{if $custom1_layout_plans eq '6'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/6-plans.css" />{elseif $custom1_layout_plans eq '5'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/5-plans.css" />{elseif $custom1_layout_plans eq '4'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/4-plans.css" />{elseif $custom1_layout_plans eq '3'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/3-plans.css" />{elseif $custom1_layout_plans eq '2'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/2-plans.css" />{elseif $custom1_layout_plans eq '1'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/1-plans.css" />{else}{/if}
{/if}

{if $filename eq $custom2_url}
{if $custom2_layout_plans eq '6'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/6-plans.css" />{elseif $custom2_layout_plans eq '5'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/5-plans.css" />{elseif $custom2_layout_plans eq '4'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/4-plans.css" />{elseif $custom2_layout_plans eq '3'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/3-plans.css" />{elseif $custom2_layout_plans eq '2'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/2-plans.css" />{elseif $custom2_layout_plans eq '1'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/1-plans.css" />{else}{/if}
{/if}

{if $filename eq $custom3_url}
{if $custom3_layout_plans eq '6'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/6-plans.css" />{elseif $custom3_layout_plans eq '5'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/5-plans.css" />{elseif $custom3_layout_plans eq '4'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/4-plans.css" />{elseif $custom3_layout_plans eq '3'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/3-plans.css" />{elseif $custom3_layout_plans eq '2'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/2-plans.css" />{elseif $custom3_layout_plans eq '1'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/1-plans.css" />{else}{/if}
{/if}

{if $filename eq $custom4_url}
{if $custom4_layout_plans eq '6'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/6-plans.css" />{elseif $custom4_layout_plans eq '5'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/5-plans.css" />{elseif $custom4_layout_plans eq '4'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/4-plans.css" />{elseif $custom4_layout_plans eq '3'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/3-plans.css" />{elseif $custom4_layout_plans eq '2'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/2-plans.css" />{elseif $custom4_layout_plans eq '1'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/1-plans.css" />{else}{/if}
{/if}

{if $filename eq $custom5_url}
{if $custom5_layout_plans eq '6'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/6-plans.css" />{elseif $custom5_layout_plans eq '5'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/5-plans.css" />{elseif $custom5_layout_plans eq '4'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/4-plans.css" />{elseif $custom5_layout_plans eq '3'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/3-plans.css" />{elseif $custom5_layout_plans eq '2'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/2-plans.css" />{elseif $custom5_layout_plans eq '1'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/1-plans.css" />{else}{/if}
{/if}

{if $filename eq $custom6_url}
{if $custom6_layout_plans eq '6'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/6-plans.css" />{elseif $custom6_layout_plans eq '5'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/5-plans.css" />{elseif $custom6_layout_plans eq '4'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/4-plans.css" />{elseif $custom6_layout_plans eq '3'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/3-plans.css" />{elseif $custom6_layout_plans eq '2'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/2-plans.css" />{elseif $custom6_layout_plans eq '1'}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/1-plans.css" />{else}{/if}
{/if}

{* RTL language *}
{if $LANG.textdirection eq "rtl"}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/rtl.css" />{/if}
{* /end RTL language *}