<!DOCTYPE html>
<html lang="{$SelCurrLanguage}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{if $resContent.contentMetaTitle}{$resContent.contentMetaTitle}{else if $commonMetaTitle}{$commonMetaTitle}{else}{$commonSiteName}{/if}</title>
<meta name="Description" content="{$commonMetaDescription}" />
<meta name="viewport" content="width=device-width">
<meta name="Keywords" content="{$commonMetaKeywords}" />
{include file='CommonStyles.tpl'}
<link rel="stylesheet" type="text/css" href="{$common_frontend_css}/print-preview.css" />
<link rel="stylesheet" type="text/css" href="{$view_styles}/content.css" />
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,300' rel='stylesheet' type='text/css'>
{include file='CommonJavaScript.tpl'}
<meta property="og:title" content="{$commonSiteName} : {$commonMetaTitle}" />
<meta property="og:image" content="{$commonCompanyLogo}" />
<meta property="og:url" content="{$views_host_share}/{$requestPath|default:''}" />
<meta property="og:site_name" content="{$commonSiteName}" />
<meta property="og:description" content="{$commonMetaDescription}" />
<meta property="fb:app_id" content="{$fbApplicationID}" />
</head>
<body ng-controller="SearchCtrl" class="{$languageDirection}">

{if $contentArticleAttribs['showSocialSharing']|default:''=='Yes' && $fbApplicationID!=''}
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId={$fbApplicationID}";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
{/if}
<script type="text/javascript">
 var emailmsg='{$language.errEmailID}';
$('#subscEmailID').each(function() {										
			var email = $('#subscEmailID').val();			
			if(email == emailmsg)
			{
			var default_value = $(this).val();			
			$(this).focus(function() {	
				if(this.value == default_value) {	
					this.value = '';	
				}	
			});	
			$(this).blur(function() {	
				if(this.value == '') {	
					this.value = default_value;	
				}	
			});
			}
			else
			{	
				return false
			}
		});
</script> 
{$remarketingCodeStart|default:''}
{$remarketingCodeEnd|default:''}
{$conversionCode|default:''} 
<!-- Begin : Outer Pane -->
<div id="main"> 
  <!-- Begin : Header Pane--> 
  {include file='CommonTop.tpl'} 
  <div id="content-wrapper" ng-show="!query" > 
       {include file='MenuBreadCrumbs.tpl'}
	{include file='BannerSlider.tpl'}
    <!-- Begin : Content Pane -->
    <div class="container clearfix"> 
         {if $contentArticleAttribs['showPrintIcon']|default:''=='Yes' || $contentArticleAttribs['showEmailIcon']|default:''=='Yes'}
			<div class="mail-print-sec ">
				{if $contentArticleAttribs['showPrintIcon']|default:''=='Yes'}
					{html->anchor id="printIt"  class="print-cms" title="{$language.lblPrint}"} 
				{/if}
				{if $contentArticleAttribs['showEmailIcon']|default:''=='Yes'}
						{html->anchor  class="mail-cms" href="page/email/$pageType/$menuItemID/$urlKey" id="mailIt" title="{$language.lblEmail}"}
				{/if}
			</div>
			{/if}
    {if $resContent.contentKey neq 'suggest-a-business' && $resContent.contentKey neq 'feature-your-business' && $resContent.contentKey neq "contact-us"}
      <div class="content-block bg-white">
	  <div id="printableArea">
	  <div id="common_message"></div>
	   <div id="common_message_form"></div>
       <div  id="message_contact"></div>      
        {if $contentArticleAttribs['showTitle']|default:''=='Yes'}
        <h2 class="py-2 font-rglr mb-2 text-uppercase h3">{$resContent.contentTitle}</h2>
        {/if}
            <div class="created-section"> 
        {include file='contentCommonAttribs.tpl'} 
        </div>
          <div class="cms_area default-style">
          <div class="top-content">
              {$resContent.content}
         </div>         
          </div>
          {if $resContent.contentKey=='affiliates'}
          {include file='ContentAffiliateSignup.tpl'} 
          {/if}
          {if $resContent.contentKey=='suggest-a-seller'}
          {include file='ContentSuggestseller.tpl'}
          {/if}
          </div>
        {include file='ContentCommonShare.tpl'} 
        </div>
        {else if $resContent.contentKey neq "contact-us"}
    <div class="content-block bg-white">
        <div id="printableArea">
	  <div id="common_message"></div>
	   <div id="common_message_form"></div>
       <div id="message_contact"></div>      
        <div class="row">
            <div class="col-md-4">
                <div class="light-bg padding"> 
                    {if $contentArticleAttribs['showTitle']|default:''=='Yes'}
                        <h2 class="py-2 font-rglr mb-2 text-uppercase h3">{$resContent.contentTitle}</h2>
                    {/if}
                    {$resContent.content}
                </div>
            </div>
            <div class="col-md-8">
                <div class="bg-white p-3">
                      {if $resContent.contentKey=='suggest-a-business'}
                        {include file='ContentSuggestABusiness.tpl'} 
                      {/if}
                      {if $resContent.contentKey=='feature-your-business'}
                        {include file='ContentRunAProduct.tpl'} 
                      {/if}
                      {if $resContent.contentKey=='contact-us'}
                        {include file='ContentSuggestABusiness.tpl'} 
                      {/if}
                </div>
            </div>
        </div>
    </div>
        </div>
        {else}
        <div class="content-block bg-white">
        <div id="printableArea">
        <div class="countactuspage mb-3">
	  <div id="common_message"></div>
	   <div id="common_message_form"></div>
       <div id="message_contact"></div> 
               {if $contentArticleAttribs['showTitle']|default:''=='Yes'}
                <h2 class="py-2 font-rglr mb-2 text-uppercase h3">{$resContent.contentTitle}</h2>
               {/if} 
                {$resContent.content}
        </div>
          </div>  
        </div>
     {/if}
    {if $resBlocks|default:''}
     {foreach from=$resBlocks item="widgets"}
     <div class="content-block bg-white">
         
     	{if $widgets.hideTitle!='Yes'}<h2>{$widgets.blockTitle|unescape:"html"}</h2>{/if}
         <div class="pb-3">{$widgets.blockContent|unescape:"html"}</div>
       </div>
       {/foreach}
   {/if} 
      </div>
    <!-- End : Content Pane --> 
      </div>
  <!-- Begin : Footer	Pane --> 
  {include file='CommonBottom.tpl'} 
  <!-- End : Footer Pane --> 
</div>
<!-- End : Outer Pane --> 
{include file='CommonJavaScriptBottom.tpl'}
{html->messages_script section="Subscribe" id="common_message"}
{html->script_group_start name="{$compiled_js_path}/content.js"}
   {html->script src="{$common_js}/jquery.printpreview.plugin.js"}
{html->script_group_end}
<script>
$(document).ready(function(){
	$("#mailIt").fancybox({
		'width'				: 600,
		'height'			: 500,
		'autoScale'			: false,
		'transitionIn'		: 'none',
		'transitionOut'		: 'none',
		'type'				: 'iframe',
		'titleShow'         : false,
		'iframe_page'		: "",
	});
	$("#printIt").click(function(){
		window.print();
		})
	
});
</script>
</body>
</html>