<?php /* Smarty version Smarty3-RC3, created on 2014-04-18 11:05:44
         compiled from "/home/gjzavrct/domains/siemlasseel.be/public_html/berta/templates/default/template.tpl" */ ?>
<?php /*%%SmartyHeaderCode:13608463635350eae8161c58-23828915%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '61b2be562e11b880c673802d0c3fc5feef7c0333' => 
    array (
      0 => '/home/gjzavrct/domains/siemlasseel.be/public_html/berta/templates/default/template.tpl',
      1 => 1393496278,
    ),
  ),
  'nocache_hash' => '13608463635350eae8161c58-23828915',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_replace')) include '/home/gjzavrct/domains/siemlasseel.be/public_html/berta/templates/_plugins/modifier.replace.php';
if (!is_callable('smarty_function_googleWebFontsAPI')) include '/home/gjzavrct/domains/siemlasseel.be/public_html/berta/templates/_plugins/function.googleWebFontsAPI.php';
if (!is_callable('smarty_function_pageHeader')) include '/home/gjzavrct/domains/siemlasseel.be/public_html/berta/templates/_plugins/function.pageHeader.php';
if (!is_callable('smarty_function_bertaLink')) include '/home/gjzavrct/domains/siemlasseel.be/public_html/berta/templates/_plugins/function.bertaLink.php';
if (!is_callable('smarty_function_additionalTextPos')) include '/home/gjzavrct/domains/siemlasseel.be/public_html/berta/templates/default/plugins/function.additionalTextPos.php';
if (!is_callable('smarty_function_bertaTarget')) include '/home/gjzavrct/domains/siemlasseel.be/public_html/berta/templates/_plugins/function.bertaTarget.php';
if (!is_callable('smarty_function_entriesListClasses')) include '/home/gjzavrct/domains/siemlasseel.be/public_html/berta/templates/_plugins/function.entriesListClasses.php';
if (!is_callable('smarty_function_entryClasses')) include '/home/gjzavrct/domains/siemlasseel.be/public_html/berta/templates/_plugins/function.entryClasses.php';
if (!is_callable('smarty_function_entryHeader')) include '/home/gjzavrct/domains/siemlasseel.be/public_html/berta/templates/_plugins/function.entryHeader.php';
if (!is_callable('smarty_function_entryGallery')) include '/home/gjzavrct/domains/siemlasseel.be/public_html/berta/templates/_plugins/function.entryGallery.php';
if (!is_callable('smarty_function_entryFooter')) include '/home/gjzavrct/domains/siemlasseel.be/public_html/berta/templates/_plugins/function.entryFooter.php';
if (!is_callable('smarty_function_bertaCopyright')) include '/home/gjzavrct/domains/siemlasseel.be/public_html/berta/templates/_plugins/function.bertaCopyright.php';
if (!is_callable('smarty_function_bannerPos')) include '/home/gjzavrct/domains/siemlasseel.be/public_html/berta/templates/default/plugins/function.bannerPos.php';
if (!is_callable('smarty_function_videoTutorials')) include '/home/gjzavrct/domains/siemlasseel.be/public_html/berta/templates/_plugins/function.videoTutorials.php';
?><!DOCTYPE html>
<!--[if lt IE 7 ]> <html class="ie ie6 ie-old"> <![endif]-->
<!--[if IE 7 ]>    <html class="ie ie7 ie-old"> <![endif]-->
<!--[if IE 8 ]>    <html class="ie ie8"> <![endif]-->
<!--[if IE 9 ]>    <html class="ie ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html> <!--<![endif]-->
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<?php if ($_smarty_tpl->getVariable('berta')->value['settings']['pageLayout']['responsive']=='yes'){?><meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1"><?php }?>
	<title><?php echo $_smarty_tpl->getVariable('berta')->value['pageTitle'];?>
</title>
	<meta name="keywords" content="<?php echo $_smarty_tpl->getVariable('berta')->value['settings']['texts']['metaKeywords'];?>
" />
	<meta name="description" content="<?php echo $_smarty_tpl->getVariable('berta')->value['settings']['texts']['metaDescription'];?>
" />
	<meta name="author" content="<?php echo $_smarty_tpl->getVariable('berta')->value['settings']['texts']['ownerName'];?>
" />
	<?php if ($_smarty_tpl->getVariable('berta')->value['options']['NOINDEX']){?><meta name="robots" content="noindex, nofollow" /><?php }?>
	<?php echo html_entity_decode($_smarty_tpl->getVariable('berta')->value['settings']['settings']['googleSiteVerification']);?>


	<?php if ($_smarty_tpl->getVariable('berta')->value['settings']['pageLayout']['favicon']){?>
	<link rel="SHORTCUT ICON" href="<?php echo $_smarty_tpl->getVariable('berta')->value['options']['MEDIA_ABS_ROOT'];?>
<?php echo $_smarty_tpl->getVariable('berta')->value['settings']['pageLayout']['favicon'];?>
" />
	<?php }else{ ?>
	<link rel="SHORTCUT ICON" href="<?php echo $_smarty_tpl->getVariable('berta')->value['options']['TEMPLATES_ABS_ROOT'];?>
<?php echo $_smarty_tpl->getVariable('berta')->value['templateName'];?>
/favicon.ico" />
	<?php }?>
	<?php echo $_smarty_tpl->getVariable('berta')->value['scripts'];?>

	<?php echo $_smarty_tpl->getVariable('berta')->value['css'];?>

    <?php if ($_smarty_tpl->getVariable('berta')->value['settings']['css']['customCSS']){?>
        <style type="text/css">
        <?php echo smarty_modifier_replace(html_entity_decode($_smarty_tpl->getVariable('berta')->value['settings']['css']['customCSS']),'<br />',"\n");?>

        </style>
    <?php }?>
	<?php echo smarty_function_googleWebFontsAPI(array(),$_smarty_tpl->smarty,$_smarty_tpl);?>

	<script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('berta')->value['options']['TEMPLATES_ABS_ROOT'];?>
<?php echo $_smarty_tpl->getVariable('berta')->value['templateName'];?>
/default.js?<?php echo $_smarty_tpl->getVariable('berta')->value['options']['int_version'];?>
"></script>
</head>

<body>

	<?php if ($_smarty_tpl->getVariable('berta')->value['settings']['background']['backgroundAttachment']=='fill'&&$_smarty_tpl->getVariable('berta')->value['settings']['background']['backgroundImageEnabled']=='yes'&&$_smarty_tpl->getVariable('berta')->value['settings']['background']['backgroundImage']!=''){?>
		<div id="xFilledBackground" class="xPosition-<?php echo str_replace(' ','_',$_smarty_tpl->getVariable('berta')->value['settings']['background']['backgroundPosition']);?>
">
			<img src="<?php echo $_smarty_tpl->getVariable('berta')->value['options']['MEDIA_ABS_ROOT'];?>
<?php echo $_smarty_tpl->getVariable('berta')->value['settings']['background']['backgroundImage'];?>
" />
		</div>
	<?php }?>

		<div id="allContainer">

				<?php echo smarty_function_pageHeader(array(),$_smarty_tpl->smarty,$_smarty_tpl);?>


		<div id="contentContainer"<?php if ($_smarty_tpl->getVariable('berta')->value['settings']['pageLayout']['responsive']=='yes'){?> class="xResponsive"<?php }?>>

            <?php if (($_smarty_tpl->getVariable('berta')->value['environment']=='site'&&$_smarty_tpl->getVariable('berta')->value['settings']['navigation']['landingSectionPageHeadingVisible']=='yes')||$_smarty_tpl->getVariable('berta')->value['environment']=='engine'||($_smarty_tpl->getVariable('berta')->value['environment']=='site'&&$_smarty_tpl->getVariable('berta')->value['settings']['navigation']['landingSectionPageHeadingVisible']=='no'&&$_smarty_tpl->getVariable('berta')->value['sectionName']!=key($_smarty_tpl->getVariable('berta')->value['sections']))){?>
                <?php if ($_smarty_tpl->getVariable('berta')->value['settings']['pageHeading']['image']){?>
                <h1><a href="<?php echo smarty_function_bertaLink(array(),$_smarty_tpl->smarty,$_smarty_tpl);?>
"><img src="<?php echo $_smarty_tpl->getVariable('berta')->value['options']['MEDIA_ABS_ROOT'];?>
<?php echo $_smarty_tpl->getVariable('berta')->value['settings']['pageHeading']['image'];?>
" /></a></h1>
                <?php }else{ ?>
                <h1 class="xEditable xProperty-siteHeading">
                    <?php if ($_smarty_tpl->getVariable('berta')->value['environment']=="engine"){?>
                        <?php echo $_smarty_tpl->getVariable('siteHeading')->value;?>

                    <?php }else{ ?>
                        <a href="<?php echo smarty_function_bertaLink(array(),$_smarty_tpl->smarty,$_smarty_tpl);?>
"><?php echo $_smarty_tpl->getVariable('siteHeading')->value;?>
</a>
                    <?php }?>
                    </h1>
                <?php }?>
			<?php }?>

			<?php if (($_smarty_tpl->getVariable('berta')->value['environment']=='site'&&$_smarty_tpl->getVariable('berta')->value['settings']['navigation']['landingSectionMenuVisible']=='yes')||$_smarty_tpl->getVariable('berta')->value['environment']=='engine'||($_smarty_tpl->getVariable('berta')->value['environment']=='site'&&$_smarty_tpl->getVariable('berta')->value['settings']['navigation']['landingSectionMenuVisible']=='no'&&$_smarty_tpl->getVariable('berta')->value['sectionName']!=key($_smarty_tpl->getVariable('berta')->value['sections']))){?>
				<div id="additionalText"<?php if ($_smarty_tpl->getVariable('berta')->value['settings']['pageLayout']['responsive']!='yes'){?> class="xEditableDragXY xProperty-additionalTextXY" style="<?php echo smarty_function_additionalTextPos(array('xy'=>$_smarty_tpl->getVariable('additionalTextXY')->value),$_smarty_tpl->smarty,$_smarty_tpl);?>
"<?php }?>>
					<div class="xHandle"></div>
					<?php if ($_smarty_tpl->getVariable('berta')->value['settings']['socialMediaButtons']['socialMediaLocation']=='additionalText'&&$_smarty_tpl->getVariable('berta')->value['settings']['socialMediaButtons']['socialMediaHTML']){?>
                    	<?php echo smarty_modifier_replace(html_entity_decode($_smarty_tpl->getVariable('berta')->value['settings']['socialMediaButtons']['socialMediaHTML']),'<br />',"\n");?>

                    <?php }else{ ?>
						<div class="xEditableMCESimple xProperty-additionalText xCaption-additional-text">
						<?php echo $_smarty_tpl->getVariable('additionalText')->value;?>

						</div>
					<?php }?>
				</div>
			<?php }?>

			<div id="siteTopMenu">
				<?php if ($_smarty_tpl->getVariable('berta')->value['settings']['pageLayout']['responsive']=='yes'){?>
                    <a href="#" id="menuToggle"><span></span></a>
                <?php }?>

								<?php $_smarty_tpl->tpl_vars["sName"] = new Smarty_variable($_smarty_tpl->getVariable('berta')->value['sectionName'], null, null);?>
				<?php if (count($_smarty_tpl->getVariable('berta')->value['publishedSections'])>0&&(($_smarty_tpl->getVariable('berta')->value['environment']=='site'&&$_smarty_tpl->getVariable('berta')->value['settings']['navigation']['landingSectionMenuVisible']=='yes')||$_smarty_tpl->getVariable('berta')->value['environment']=='engine'||($_smarty_tpl->getVariable('berta')->value['environment']=='site'&&$_smarty_tpl->getVariable('berta')->value['settings']['navigation']['landingSectionMenuVisible']=='no'&&$_smarty_tpl->getVariable('berta')->value['sectionName']!=key($_smarty_tpl->getVariable('berta')->value['sections'])))){?>
					<ul id="mainMenu">
						<?php $_smarty_tpl->tpl_vars["firstSection"] = new Smarty_variable("1", null, null);?>
						<?php  $_smarty_tpl->tpl_vars["section"] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('berta')->value['publishedSections']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars["section"]->key => $_smarty_tpl->tpl_vars["section"]->value){
?>
							<?php if ($_smarty_tpl->getVariable('berta')->value['sectionName']==$_smarty_tpl->getVariable('section')->value['name']){?><li class="selected"><?php }else{ ?><li><?php }?>
								<?php if (!$_smarty_tpl->getVariable('firstSection')->value){?>
									<span class="separator"><?php echo $_smarty_tpl->getVariable('berta')->value['settings']['menu']['separator'];?>
</span>
								<?php }?>
								<?php if ($_smarty_tpl->getVariable('berta')->value['sectionName']==$_smarty_tpl->getVariable('section')->value['name']&&$_smarty_tpl->getVariable('berta')->value['settings']['navigation']['alwaysSelectTag']=='yes'&&!empty($_smarty_tpl->getVariable('berta')->value['tags'][$_smarty_tpl->getVariable('sName')->value])){?>
									<span><?php echo $_smarty_tpl->getVariable('section')->value['title'];?>
</span>
								<?php }else{ ?>
									<a href="<?php echo smarty_function_bertaLink(array('section'=>$_smarty_tpl->getVariable('section')->value['name']),$_smarty_tpl->smarty,$_smarty_tpl);?>
" target="<?php echo smarty_function_bertaTarget(array('section'=>$_smarty_tpl->getVariable('section')->value['name']),$_smarty_tpl->smarty,$_smarty_tpl);?>
"><?php echo $_smarty_tpl->getVariable('section')->value['title'];?>
</a>
								<?php }?>

								<?php $_smarty_tpl->tpl_vars["subName"] = new Smarty_variable($_smarty_tpl->getVariable('section')->value['name'], null, null);?>
								<?php if ($_smarty_tpl->getVariable('berta')->value['settings']['pageLayout']['responsive']=='yes'&&!empty($_smarty_tpl->getVariable('berta')->value['tags'][$_smarty_tpl->getVariable('subName')->value])){?>
                                    <ul class="subMenu xSection-<?php echo $_smarty_tpl->getVariable('subName')->value;?>
">
                                        <?php  $_smarty_tpl->tpl_vars['tag'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['tName'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('berta')->value['tags'][$_smarty_tpl->getVariable('subName')->value]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['tag']->key => $_smarty_tpl->tpl_vars['tag']->value){
 $_smarty_tpl->tpl_vars['tName']->value = $_smarty_tpl->tpl_vars['tag']->key;
?>
                                            <li class="xTag-<?php echo $_smarty_tpl->tpl_vars['tName']->value;?>
<?php if ($_smarty_tpl->getVariable('berta')->value['tagName']==$_smarty_tpl->tpl_vars['tName']->value&&$_smarty_tpl->getVariable('subName')->value==$_smarty_tpl->getVariable('section')->value['name']){?> selected<?php }?>">
                                                <a class="handle" href="<?php echo smarty_function_bertaLink(array('section'=>$_smarty_tpl->getVariable('subName')->value,'tag'=>$_smarty_tpl->tpl_vars['tName']->value),$_smarty_tpl->smarty,$_smarty_tpl);?>
" target="<?php echo smarty_function_bertaTarget(array('section'=>$_smarty_tpl->getVariable('subName')->value,'tag'=>$_smarty_tpl->tpl_vars['tName']->value),$_smarty_tpl->smarty,$_smarty_tpl);?>
"><?php echo $_smarty_tpl->tpl_vars['tag']->value['title'];?>
</a>
                                            </li>
                                        <?php }} ?>
                                    </ul>
                                <?php }?>

							</li>
							<?php $_smarty_tpl->tpl_vars["firstSection"] = new Smarty_variable("0", null, null);?>
						<?php }} ?>
					</ul>
				<?php }?>

								<?php if (!empty($_smarty_tpl->getVariable('berta')->value['tags'][$_smarty_tpl->getVariable('sName')->value])){?>
						<ul id="subMenu" class="subMenu xSection-<?php echo $_smarty_tpl->getVariable('sName')->value;?>
<?php if (count($_smarty_tpl->getVariable('berta')->value['tags'][$_smarty_tpl->getVariable('sName')->value])>1&&$_smarty_tpl->getVariable('berta')->value['environment']=='engine'){?> xAllowOrdering<?php }?>">
							<?php $_smarty_tpl->tpl_vars["firstSection"] = new Smarty_variable("1", null, null);?>
							<?php  $_smarty_tpl->tpl_vars["tag"] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars["tName"] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('berta')->value['tags'][$_smarty_tpl->getVariable('sName')->value]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars["tag"]->key => $_smarty_tpl->tpl_vars["tag"]->value){
 $_smarty_tpl->tpl_vars["tName"]->value = $_smarty_tpl->tpl_vars["tag"]->key;
?>
								<?php if ($_smarty_tpl->getVariable('berta')->value['tagName']==$_smarty_tpl->getVariable('tName')->value){?><li class="selected xTag-<?php echo $_smarty_tpl->getVariable('tName')->value;?>
"><?php }else{ ?><li class="xTag-<?php echo $_smarty_tpl->getVariable('tName')->value;?>
"><?php }?>
									<?php if ($_smarty_tpl->getVariable('berta')->value['environment']=='engine'||!$_smarty_tpl->getVariable('firstSection')->value){?>
										<span class="separator"><?php echo $_smarty_tpl->getVariable('berta')->value['settings']['subMenu']['separator'];?>
</span>
									<?php }?>
									<a class="handle" href="<?php echo smarty_function_bertaLink(array('section'=>$_smarty_tpl->getVariable('berta')->value['sectionName'],'tag'=>$_smarty_tpl->getVariable('tName')->value),$_smarty_tpl->smarty,$_smarty_tpl);?>
" target="<?php echo smarty_function_bertaTarget(array('section'=>$_smarty_tpl->getVariable('berta')->value['sectionName'],'tag'=>$_smarty_tpl->getVariable('tName')->value),$_smarty_tpl->smarty,$_smarty_tpl);?>
"><?php echo $_smarty_tpl->getVariable('tag')->value['title'];?>
</a>
								</li>
								<?php $_smarty_tpl->tpl_vars["firstSection"] = new Smarty_variable("0", null, null);?>
							<?php }} ?>
						</ul>
				<?php }?>

				<br class="clear" />
			</div>

			<ol id="pageEntries" class="<?php echo smarty_function_entriesListClasses(array(),$_smarty_tpl->smarty,$_smarty_tpl);?>
">

								<?php  $_smarty_tpl->tpl_vars["entry"] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars["entryId"] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('entries')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars["entry"]->key => $_smarty_tpl->tpl_vars["entry"]->value){
 $_smarty_tpl->tpl_vars["entryId"]->value = $_smarty_tpl->tpl_vars["entry"]->key;
?>
 					<li class="entry <?php echo smarty_function_entryClasses(array('entry'=>$_smarty_tpl->getVariable('entry')->value),$_smarty_tpl->smarty,$_smarty_tpl);?>
">

												<?php echo smarty_function_entryHeader(array('entry'=>$_smarty_tpl->getVariable('entry')->value),$_smarty_tpl->smarty,$_smarty_tpl);?>


						<?php if ($_smarty_tpl->getVariable('berta')->value['settings']['entryLayout']['galleryPosition']=='above title'){?>
														<?php echo smarty_function_entryGallery(array('entry'=>$_smarty_tpl->getVariable('entry')->value),$_smarty_tpl->smarty,$_smarty_tpl);?>

						<?php }?>

						<?php if ($_smarty_tpl->getVariable('berta')->value['environment']=='engine'||!empty($_smarty_tpl->getVariable('entry')->value['title'])){?>
						<h2><span class="xEditable xProperty-title xCaption-entry&nbsp;title"><?php echo $_smarty_tpl->getVariable('entry')->value['title'];?>
</span></h2>
						<?php }?>

						<?php if ($_smarty_tpl->getVariable('berta')->value['settings']['entryLayout']['galleryPosition']=='between title/description'){?>
														<?php echo smarty_function_entryGallery(array('entry'=>$_smarty_tpl->getVariable('entry')->value),$_smarty_tpl->smarty,$_smarty_tpl);?>

						<?php }?>

						<?php if ($_smarty_tpl->getVariable('berta')->value['environment']=='engine'||!empty($_smarty_tpl->getVariable('entry')->value['description'])){?>
						<div class="entryText xEditableMCE xProperty-description"><?php echo $_smarty_tpl->getVariable('entry')->value['description'];?>
</div>
						<?php }?>

						<?php if ($_smarty_tpl->getVariable('berta')->value['settings']['entryLayout']['galleryPosition']=='below description'){?>
														<?php echo smarty_function_entryGallery(array('entry'=>$_smarty_tpl->getVariable('entry')->value),$_smarty_tpl->smarty,$_smarty_tpl);?>

						<?php }?>

						<?php $_smarty_tpl->tpl_vars['hasURL'] = new Smarty_variable($_smarty_tpl->getVariable('berta')->value['environment']=='engine'||!empty($_smarty_tpl->getVariable('entry')->value['url']), null, null);?>
						<?php if ($_smarty_tpl->getVariable('hasURL')->value){?>
						<div class="entryContent">
							<div class="xEditable xProperty-url"><?php if ($_smarty_tpl->getVariable('berta')->value['environment']=='site'){?><a href="<?php echo $_smarty_tpl->getVariable('entry')->value['url'];?>
" target="_blank"><?php echo $_smarty_tpl->getVariable('entry')->value['url'];?>
</a><?php }else{ ?><?php echo $_smarty_tpl->getVariable('entry')->value['url'];?>
<?php }?></div>
						</div>
						<?php }?>

												<?php echo smarty_function_entryFooter(array('entry'=>$_smarty_tpl->getVariable('entry')->value),$_smarty_tpl->smarty,$_smarty_tpl);?>

						<br class="clear" />
					</li>
				<?php }} else { ?>
				<?php } ?>

			</ol>

			<div id="additionalFooterText" class="<?php if (!($_smarty_tpl->getVariable('berta')->value['settings']['socialMediaButtons']['socialMediaLocation']=='footer'&&$_smarty_tpl->getVariable('berta')->value['settings']['socialMediaButtons']['socialMediaHTML'])){?>xEditableMCESimple <?php }?>xProperty-additionalFooterText xCaption-additional-footer-text clearfix">
                <?php if ($_smarty_tpl->getVariable('berta')->value['settings']['socialMediaButtons']['socialMediaLocation']=='footer'&&$_smarty_tpl->getVariable('berta')->value['settings']['socialMediaButtons']['socialMediaHTML']){?>
                    <?php echo smarty_modifier_replace(html_entity_decode($_smarty_tpl->getVariable('berta')->value['settings']['socialMediaButtons']['socialMediaHTML']),'<br />',"\n");?>

                <?php }else{ ?>
                    <?php echo $_smarty_tpl->getVariable('additionalFooterText')->value;?>

                <?php }?>
            </div>

			<div class="footer xEditableTA xProperty-siteFooter"><?php echo $_smarty_tpl->getVariable('siteFooter')->value;?>
</div>
			<?php if (!($_smarty_tpl->getVariable('berta')->value['settings']['settings']['hideBertaCopyright']=='yes'&&$_smarty_tpl->getVariable('berta')->value['hostingPlan']>1)){?>
				<div class="bertaCopyright"><?php echo smarty_function_bertaCopyright(array(),$_smarty_tpl->smarty,$_smarty_tpl);?>
</div>
			<?php }?>
		</div>

		<?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['banners']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['name'] = 'banners';
$_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['loop'] = is_array($_loop=10) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['banners']['total']);
?>
		    <?php $_smarty_tpl->tpl_vars["setting_name_image"] = new Smarty_variable("banner".($_smarty_tpl->getVariable('smarty')->value['section']['banners']['iteration'])."_image", null, null);?>
			<?php $_smarty_tpl->tpl_vars["setting_name_link"] = new Smarty_variable("banner".($_smarty_tpl->getVariable('smarty')->value['section']['banners']['iteration'])."_link", null, null);?>
			<?php $_smarty_tpl->tpl_vars["setting_pos_name"] = new Smarty_variable("banner".($_smarty_tpl->getVariable('smarty')->value['section']['banners']['iteration'])."XY", null, null);?>

			<?php if ($_smarty_tpl->getVariable('berta')->value['settings']['banners'][$_smarty_tpl->getVariable('setting_name_image')->value]){?>
				<div class="floating-banner banner-<?php echo $_smarty_tpl->getVariable('smarty')->value['section']['banners']['iteration'];?>
<?php if ($_smarty_tpl->getVariable('berta')->value['settings']['pageLayout']['responsive']!='yes'){?> xEditableDragXY xProperty-<?php echo $_smarty_tpl->getVariable('setting_pos_name')->value;?>
<?php }?>"<?php if ($_smarty_tpl->getVariable('berta')->value['settings']['pageLayout']['responsive']!='yes'){?> style="<?php echo smarty_function_bannerPos(array('xy_name'=>$_smarty_tpl->getVariable('setting_pos_name')->value),$_smarty_tpl->smarty,$_smarty_tpl);?>
"<?php }?>>
                    <?php if ($_smarty_tpl->getVariable('berta')->value['settings']['pageLayout']['responsive']!='yes'){?>
                        <div class="xHandle"></div>
                    <?php }?>
					<?php if ($_smarty_tpl->getVariable('berta')->value['settings']['banners'][$_smarty_tpl->getVariable('setting_name_link')->value]){?>
						<a href="<?php echo $_smarty_tpl->getVariable('berta')->value['settings']['banners'][$_smarty_tpl->getVariable('setting_name_link')->value];?>
" target="_blank">
							<img src="<?php echo $_smarty_tpl->getVariable('berta')->value['options']['MEDIA_ABS_ROOT'];?>
<?php echo $_smarty_tpl->getVariable('berta')->value['settings']['banners'][$_smarty_tpl->getVariable('setting_name_image')->value];?>
" />
						</a>
					<?php }else{ ?>
					<img src="<?php echo $_smarty_tpl->getVariable('berta')->value['options']['MEDIA_ABS_ROOT'];?>
<?php echo $_smarty_tpl->getVariable('berta')->value['settings']['banners'][$_smarty_tpl->getVariable('setting_name_image')->value];?>
" />
					<?php }?>
				</div>

			<?php }?>
		<?php endfor; endif; ?>

	</div>

    <?php if ($_smarty_tpl->getVariable('berta')->value['settings']['settings']['showTutorialVideos']=='yes'&&!$_COOKIE['_berta_videos_hidden']){?><?php echo smarty_function_videoTutorials(array(),$_smarty_tpl->smarty,$_smarty_tpl);?>
<?php }?>

	<?php $_template = new Smarty_Internal_Template("../_includes/inc.js_include.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>

	<?php $_template = new Smarty_Internal_Template("../_includes/inc.counter.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
</body>
</html>
