{if $feature_seo eq "on"}

{if $filename eq "index" && !isset($smarty.get.m)}
<title>{$meta_title_index}</title>
<meta name="description" content="{$meta_description_index}" />
<meta name="keywords" content="{$meta_tags_index}" />

{elseif $filename eq "domainchecker"}
<title>{$meta_title_domainchecker}</title>
<meta name="description" content="{$meta_description_domainchecker}" />
<meta name="keywords" content="{$meta_tags_domainchecker}" />

{elseif $filename eq $custom1_url}
<title>{$meta_title_custom1}</title>
<meta name="description" content="{$meta_description_custom1}" />
<meta name="keywords" content="{$meta_tags_custom1}" />

{elseif $filename eq $custom2_url}
<title>{$meta_title_custom2}</title>
<meta name="description" content="{$meta_description_custom2}" />
<meta name="keywords" content="{$meta_tags_custom2}" />

{elseif $filename eq $custom3_url}
<title>{$meta_title_custom3}</title>
<meta name="description" content="{$meta_description_custom3}" />
<meta name="keywords" content="{$meta_tags_custom3}" />

{elseif $filename eq $custom4_url}
<title>{$meta_title_custom4}</title>
<meta name="description" content="{$meta_description_custom4}" />
<meta name="keywords" content="{$meta_tags_custom4}" />

{elseif $filename eq $custom5_url}
<title>{$meta_title_custom5}</title>
<meta name="description" content="{$meta_description_custom5}" />
<meta name="keywords" content="{$meta_tags_custom5}" />

{elseif $filename eq $custom6_url}
<title>{$meta_title_custom6}</title>
<meta name="description" content="{$meta_description_custom6}" />
<meta name="keywords" content="{$meta_tags_custom6}" />

{elseif $filename eq $custom7_url}
<title>{$meta_title_custom7}</title>
<meta name="description" content="{$meta_description_custom7}" />
<meta name="keywords" content="{$meta_tags_custom7}" />

{elseif $filename eq $custom8_url}
<title>{$meta_title_custom8}</title>
<meta name="description" content="{$meta_description_custom8}" />
<meta name="keywords" content="{$meta_tags_custom8}" />

{elseif $filename eq $custom9_url}
<title>{$meta_title_custom9}</title>
<meta name="description" content="{$meta_description_custom9}" />
<meta name="keywords" content="{$meta_tags_custom9}" />

{elseif $filename eq $custom10_url}
<title>{$meta_title_custom10}</title>
<meta name="description" content="{$meta_description_custom10}" />
<meta name="keywords" content="{$meta_tags_custom10}" />

{elseif $filename eq "company"}
<title>{$meta_title_company}</title>
<meta name="description" content="{$meta_description_company}" />
<meta name="keywords" content="{$meta_tags_company}" />

{elseif $filename eq "portal"}
<title>{$meta_title_portal}</title>
<meta name="description" content="{$meta_description_portal}" />
<meta name="keywords" content="{$meta_tags_portal}" />

{elseif $filename eq "terms-of-service"}
<title>{$meta_title_terms}</title>
<meta name="description" content="{$meta_description_terms}" />
<meta name="keywords" content="{$meta_tags_terms}" />

{elseif $filename eq "acceptable-usage-policy"}
<title>{$meta_title_aup}</title>
<meta name="description" content="{$meta_description_aup}" />
<meta name="keywords" content="{$meta_tags_aup}" />

{elseif $filename eq "privacy-policy"}
<title>{$meta_title_privacy}</title>
<meta name="description" content="{$meta_description_privacy}" />
<meta name="keywords" content="{$meta_tags_privacy}" />

{else}
<title>{$companyname} - {$pagetitle}{if $kbarticle.title} - {$kbarticle.title}{/if}</title>
{/if}

{else}

{if $filename eq "index" && !isset($smarty.get.m)}
<title>{$LANG.meta_title_index}</title>
<meta name="description" content="{$LANG.meta_description_index}" />
<meta name="keywords" content="{$LANG.meta_tags_index}" />

{elseif $filename eq "domainchecker"}
<title>{$LANG.meta_title_domainchecker}</title>
<meta name="description" content="{$LANG.meta_description_domainchecker}" />
<meta name="keywords" content="{$LANG.meta_tags_domainchecker}" />

{elseif $filename eq $custom1_url}
<title>{$LANG.meta_title_custom1}</title>
<meta name="description" content="{$LANG.meta_description_custom1}" />
<meta name="keywords" content="{$LANG.meta_tags_custom1}" />

{elseif $filename eq $custom2_url}
<title>{$LANG.meta_title_custom2}</title>
<meta name="description" content="{$LANG.meta_description_custom2}" />
<meta name="keywords" content="{$LANG.meta_tags_custom2}" />

{elseif $filename eq $custom3_url}
<title>{$LANG.meta_title_custom3}</title>
<meta name="description" content="{$LANG.meta_description_custom3}" />
<meta name="keywords" content="{$LANG.meta_tags_custom3}" />

{elseif $filename eq $custom4_url}
<title>{$LANG.meta_title_custom4}</title>
<meta name="description" content="{$LANG.meta_description_custom4}" />
<meta name="keywords" content="{$LANG.meta_tags_custom4}" />

{elseif $filename eq $custom5_url}
<title>{$LANG.meta_title_custom5}</title>
<meta name="description" content="{$LANG.meta_description_custom5}" />
<meta name="keywords" content="{$LANG.meta_tags_custom5}" />

{elseif $filename eq $custom6_url}
<title>{$LANG.meta_title_custom6}</title>
<meta name="description" content="{$LANG.meta_description_custom6}" />
<meta name="keywords" content="{$LANG.meta_tags_custom6}" />

{elseif $filename eq $custom7_url}
<title>{$LANG.meta_title_custom7}</title>
<meta name="description" content="{$LANG.meta_description_custom7}" />
<meta name="keywords" content="{$LANG.meta_tags_custom7}" />

{elseif $filename eq $custom8_url}
<title>{$LANG.meta_title_custom8}</title>
<meta name="description" content="{$LANG.meta_description_custom8}" />
<meta name="keywords" content="{$LANG.meta_tags_custom8}" />

{elseif $filename eq $custom9_url}
<title>{$LANG.meta_title_custom9}</title>
<meta name="description" content="{$LANG.meta_description_custom9}" />
<meta name="keywords" content="{$LANG.meta_tags_custom9}" />

{elseif $filename eq $custom10_url}
<title>{$LANG.meta_title_custom10}</title>
<meta name="description" content="{$LANG.meta_description_custom10}" />
<meta name="keywords" content="{$LANG.meta_tags_custom10}" />

{elseif $filename eq "company"}
<title>{$LANG.meta_title_company}</title>
<meta name="description" content="{$LANG.meta_description_company}" />
<meta name="keywords" content="{$LANG.meta_tags_company}" />

{elseif $filename eq "portal"}
<title>{$LANG.meta_title_portal}</title>
<meta name="description" content="{$LANG.meta_description_portal}" />
<meta name="keywords" content="{$LANG.meta_tags_portal}" />

{elseif $filename eq "terms-of-service"}
<title>{$LANG.meta_title_terms}</title>
<meta name="description" content="{$LANG.meta_description_terms}" />
<meta name="keywords" content="{$LANG.meta_tags_terms}" />

{elseif $filename eq "acceptable-usage-policy"}
<title>{$LANG.meta_title_aup}</title>
<meta name="description" content="{$LANG.meta_description_aup}" />
<meta name="keywords" content="{$LANG.meta_tags_aup}" />

{elseif $filename eq "privacy-policy"}
<title>{$LANG.meta_title_privacy}</title>
<meta name="description" content="{$LANG.meta_description_privacy}" />
<meta name="keywords" content="{$LANG.meta_tags_privacy}" />

{else}
<title>{$companyname} - {$pagetitle}{if $kbarticle.title} - {$kbarticle.title}{/if}</title>
{/if}

{/if}

{if $filename eq "domainchecker"}{if $feature_domains eq 'off'}<meta name="robots" content="noindex,follow" />{/if}{/if}
{if $filename eq $custom1_url}{if $feature_custom1 eq 'off'}<meta name="robots" content="noindex,follow" />{/if}{/if}
{if $filename eq $custom2_url}{if $feature_custom2 eq 'off'}<meta name="robots" content="noindex,follow" />{/if}{/if}
{if $filename eq $custom3_url}{if $feature_custom3 eq 'off'}<meta name="robots" content="noindex,follow" />{/if}{/if}
{if $filename eq $custom4_url}{if $feature_custom4 eq 'off'}<meta name="robots" content="noindex,follow" />{/if}{/if}
{if $filename eq $custom5_url}{if $feature_custom5 eq 'off'}<meta name="robots" content="noindex,follow" />{/if}{/if}
{if $filename eq $custom6_url}{if $feature_custom6 eq 'off'}<meta name="robots" content="noindex,follow" />{/if}{/if}
{if $filename eq $custom7_url}{if $feature_custom7 eq 'off'}<meta name="robots" content="noindex,follow" />{/if}{/if}
{if $filename eq $custom8_url}{if $feature_custom8 eq 'off'}<meta name="robots" content="noindex,follow" />{/if}{/if}
{if $filename eq $custom9_url}{if $feature_custom9 eq 'off'}<meta name="robots" content="noindex,follow" />{/if}{/if}
{if $filename eq $custom10_url}{if $feature_custom10 eq 'off'}<meta name="robots" content="noindex,follow" />{/if}{/if}
{if $filename eq "company"}{if $feature_company eq 'off'}<meta name="robots" content="noindex,follow" />{/if}{/if}
{if $filename eq "portal"}{if $feature_portal eq 'off'}<meta name="robots" content="noindex,follow" />{/if}{/if}
{if $filename eq "affiliates"}{if $feature_affiliates eq 'off'}<meta name="robots" content="noindex,follow" />{/if}{/if}
{if $filename eq "terms-of-service"}{if $feature_terms eq 'off'}<meta name="robots" content="noindex,follow" />{/if}{/if}
{if $filename eq "acceptable-usage-policy"}{if $feature_usage eq 'off'}<meta name="robots" content="noindex,follow" />{/if}{/if}
{if $filename eq "privacy-policy"}{if $feature_privacy eq 'off'}<meta name="robots" content="noindex,follow" />{/if}{/if}