<?php /* Smarty version Smarty-3.1.19, created on 2020-10-05 20:23:38
         compiled from "/home/visionwe/public_html/mateckk/modules/pm_advancedtopmenu/views/templates/front/pm_advancedtopmenu.tpl" */ ?>
<?php /*%%SmartyHeaderCode:21286232045f7b64aa678dd9-85372473%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'b1046fbc2ca697d68f266efa8701552f32d72b9b' => 
    array (
      0 => '/home/visionwe/public_html/mateckk/modules/pm_advancedtopmenu/views/templates/front/pm_advancedtopmenu.tpl',
      1 => 1592027465,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '21286232045f7b64aa678dd9-85372473',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'advtmThemeCompatibility' => 0,
    'advtmContainerClasses' => 0,
    'advtmActivatedMenuId' => 0,
    'advtmActivatedMenuType' => 0,
    'advtmOpenMethod' => 0,
    'advtmIsSticky' => 0,
    'advtmResponsiveContainerClasses' => 0,
    'advtmInnerClasses' => 0,
    'advtmResponsiveMode' => 0,
    'advtmResponsiveToggleText' => 0,
    'advtm_menus' => 0,
    'menu' => 0,
    'menuChosenGroups' => 0,
    'menuChosenGroup' => 0,
    'customerGroups' => 0,
    'isLogged' => 0,
    'menuIsInChosenGroups' => 0,
    'advtm_columns_wrap' => 0,
    'column_wrap' => 0,
    'menuHaveSub' => 0,
    'menuIsSearchBox' => 0,
    'menuHaveAtLeastOneMobileSubMenu' => 0,
    'columnWrapChosenGroups' => 0,
    'columnWrapChosenGroup' => 0,
    'columnWrapIsInChosenGroups' => 0,
    'advtm_columns' => 0,
    'column' => 0,
    'columnChosenGroups' => 0,
    'columnChosenGroup' => 0,
    'columnIsInChosenGroups' => 0,
    'advtm_elements' => 0,
    'columnHaveElement' => 0,
    'element' => 0,
    'elementChosenGroups' => 0,
    'elementChosenGroup' => 0,
    'elementIsInChosenGroups' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.19',
  'unifunc' => 'content_5f7b64aa76a4c6_77692760',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5f7b64aa76a4c6_77692760')) {function content_5f7b64aa76a4c6_77692760($_smarty_tpl) {?><!-- MODULE PM_AdvancedTopMenu || Presta-Module.com -->
<?php if (!isset($_smarty_tpl->tpl_vars['advtmThemeCompatibility']->value)||(isset($_smarty_tpl->tpl_vars['advtmThemeCompatibility']->value)&&$_smarty_tpl->tpl_vars['advtmThemeCompatibility']->value)) {?></div><div class="clear"></div><?php }?>
<div id="_desktop_top_menu" class="adtm_menu_container <?php echo mb_convert_encoding(htmlspecialchars($_smarty_tpl->tpl_vars['advtmContainerClasses']->value, ENT_QUOTES, 'UTF-8', true), "HTML-ENTITIES", 'UTF-8');?>
">
	<div id="adtm_menu"<?php if ($_smarty_tpl->tpl_vars['advtmActivatedMenuId']->value&&$_smarty_tpl->tpl_vars['advtmActivatedMenuType']->value) {?> data-activate-menu-id=".<?php echo mb_convert_encoding(htmlspecialchars($_smarty_tpl->tpl_vars['advtmActivatedMenuId']->value, ENT_QUOTES, 'UTF-8', true), "HTML-ENTITIES", 'UTF-8');?>
" data-activate-menu-type="<?php echo mb_convert_encoding(htmlspecialchars($_smarty_tpl->tpl_vars['advtmActivatedMenuType']->value, ENT_QUOTES, 'UTF-8', true), "HTML-ENTITIES", 'UTF-8');?>
"<?php }?><?php if (isset($_smarty_tpl->tpl_vars['advtmOpenMethod']->value)&&$_smarty_tpl->tpl_vars['advtmOpenMethod']->value) {?> data-open-method="<?php echo intval($_smarty_tpl->tpl_vars['advtmOpenMethod']->value);?>
"<?php }?><?php if (isset($_smarty_tpl->tpl_vars['advtmIsSticky']->value)&&$_smarty_tpl->tpl_vars['advtmIsSticky']->value) {?> data-sticky="1"<?php }?><?php if (isset($_smarty_tpl->tpl_vars['advtmResponsiveContainerClasses']->value)&&!empty($_smarty_tpl->tpl_vars['advtmResponsiveContainerClasses']->value)) {?> class="<?php echo mb_convert_encoding(htmlspecialchars($_smarty_tpl->tpl_vars['advtmResponsiveContainerClasses']->value, ENT_QUOTES, 'UTF-8', true), "HTML-ENTITIES", 'UTF-8');?>
"<?php }?>>
		<div id="adtm_menu_inner"<?php if (isset($_smarty_tpl->tpl_vars['advtmInnerClasses']->value)&&!empty($_smarty_tpl->tpl_vars['advtmInnerClasses']->value)) {?> class="<?php echo mb_convert_encoding(htmlspecialchars($_smarty_tpl->tpl_vars['advtmInnerClasses']->value, ENT_QUOTES, 'UTF-8', true), "HTML-ENTITIES", 'UTF-8');?>
"<?php }?>>
			<ul id="menu">
				<?php if (isset($_smarty_tpl->tpl_vars['advtmResponsiveMode']->value)&&$_smarty_tpl->tpl_vars['advtmResponsiveMode']->value) {?>
				<li class="li-niveau1 advtm_menu_toggle">
					<a class="a-niveau1 adtm_toggle_menu_button"><span class="advtm_menu_span adtm_toggle_menu_button_text"><?php if (isset($_smarty_tpl->tpl_vars['advtmResponsiveToggleText']->value)&&!empty($_smarty_tpl->tpl_vars['advtmResponsiveToggleText']->value)) {?><?php echo mb_convert_encoding(htmlspecialchars($_smarty_tpl->tpl_vars['advtmResponsiveToggleText']->value, ENT_QUOTES, 'UTF-8', true), "HTML-ENTITIES", 'UTF-8');?>
<?php } else { ?>Menu<?php }?></span></a>
				</li>
				<?php }?>
				<?php  $_smarty_tpl->tpl_vars['menu'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['menu']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['advtm_menus']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['menu']->key => $_smarty_tpl->tpl_vars['menu']->value) {
$_smarty_tpl->tpl_vars['menu']->_loop = true;
?>
					<?php $_smarty_tpl->tpl_vars['menuIsInChosenGroups'] = new Smarty_variable(1, null, 0);?>
					<?php if ($_smarty_tpl->tpl_vars['menu']->value['privacy']==3) {?>
						<?php $_smarty_tpl->tpl_vars['menuIsInChosenGroups'] = new Smarty_variable(0, null, 0);?>
						<?php $_smarty_tpl->tpl_vars['menuChosenGroups'] = new Smarty_variable($_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['json_decode'][0][0]->jsonDecode($_smarty_tpl->tpl_vars['menu']->value['chosen_groups']), null, 0);?>
						<?php if (is_array($_smarty_tpl->tpl_vars['menuChosenGroups']->value)) {?>
							<?php  $_smarty_tpl->tpl_vars['menuChosenGroup'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['menuChosenGroup']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['menuChosenGroups']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['menuChosenGroup']->key => $_smarty_tpl->tpl_vars['menuChosenGroup']->value) {
$_smarty_tpl->tpl_vars['menuChosenGroup']->_loop = true;
?>
								<?php if (in_array($_smarty_tpl->tpl_vars['menuChosenGroup']->value,$_smarty_tpl->tpl_vars['customerGroups']->value)) {?>
									<?php $_smarty_tpl->tpl_vars['menuIsInChosenGroups'] = new Smarty_variable(1, null, 0);?>
									<?php break 1?>
								<?php }?>
							<?php } ?>
						<?php }?>
					<?php }?>

					<?php if (($_smarty_tpl->tpl_vars['menu']->value['privacy']==2&&$_smarty_tpl->tpl_vars['isLogged']->value)||($_smarty_tpl->tpl_vars['menu']->value['privacy']==1&&!$_smarty_tpl->tpl_vars['isLogged']->value)||(!$_smarty_tpl->tpl_vars['menu']->value['privacy'])||($_smarty_tpl->tpl_vars['menu']->value['privacy']==3&&$_smarty_tpl->tpl_vars['menuIsInChosenGroups']->value)) {?>
						<?php $_smarty_tpl->tpl_vars['menuHaveSub'] = new Smarty_variable(count($_smarty_tpl->tpl_vars['advtm_columns_wrap']->value[$_smarty_tpl->tpl_vars['menu']->value['id_menu']]), null, 0);?>
						<?php $_smarty_tpl->tpl_vars['menuIsSearchBox'] = new Smarty_variable(($_smarty_tpl->tpl_vars['menu']->value['type']==6), null, 0);?>
						<?php $_smarty_tpl->tpl_vars['menuHaveAtLeastOneMobileSubMenu'] = new Smarty_variable(0, null, 0);?>
						<?php  $_smarty_tpl->tpl_vars['column_wrap'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['column_wrap']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['advtm_columns_wrap']->value[$_smarty_tpl->tpl_vars['menu']->value['id_menu']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['column_wrap']->key => $_smarty_tpl->tpl_vars['column_wrap']->value) {
$_smarty_tpl->tpl_vars['column_wrap']->_loop = true;
?>
							<?php if (intval($_smarty_tpl->tpl_vars['column_wrap']->value['active_mobile'])) {?>
								<?php $_smarty_tpl->tpl_vars['menuHaveAtLeastOneMobileSubMenu'] = new Smarty_variable(1, null, 0);?>
								<?php break 1?>
							<?php }?>
						<?php } ?>
				<li class="li-niveau1 advtm_menu_<?php echo intval($_smarty_tpl->tpl_vars['menu']->value['id_menu']);?>
<?php if ($_smarty_tpl->tpl_vars['menuHaveSub']->value) {?> sub<?php }?><?php if ($_smarty_tpl->tpl_vars['menuIsSearchBox']->value) {?> advtm_search<?php }?><?php if (!intval($_smarty_tpl->tpl_vars['menu']->value['active_desktop'])) {?> advtm_hide_desktop<?php }?><?php if (!intval($_smarty_tpl->tpl_vars['menu']->value['active_mobile'])) {?> advtm_hide_mobile<?php }?><?php if (!$_smarty_tpl->tpl_vars['menuHaveAtLeastOneMobileSubMenu']->value) {?> menuHaveNoMobileSubMenu<?php }?>">
						<?php if (version_compare(@constant('_PS_VERSION_'),'1.7.0.0','>=')) {?>
							<?php echo $_smarty_tpl->tpl_vars['menu']->value['link_output_value'];?>

						<?php } else { ?>
							<?php echo $_smarty_tpl->tpl_vars['menu']->value['link_output_value'];?>

						<?php }?>
						<?php if ($_smarty_tpl->tpl_vars['menuHaveSub']->value) {?>
					<!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
					<div class="adtm_sub">
							<?php if ($_smarty_tpl->tpl_vars['menu']->value['value_over']) {?>
								<?php if (version_compare(@constant('_PS_VERSION_'),'1.7.0.0','>=')) {?>
									<?php echo $_smarty_tpl->tpl_vars['menu']->value['value_over'];?>

								<?php } else { ?>
									<?php echo $_smarty_tpl->tpl_vars['menu']->value['value_over'];?>

								<?php }?>
							<?php }?>
						<table class="columnWrapTable">
							<tr>
							<?php  $_smarty_tpl->tpl_vars['column_wrap'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['column_wrap']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['advtm_columns_wrap']->value[$_smarty_tpl->tpl_vars['menu']->value['id_menu']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['column_wrap']->key => $_smarty_tpl->tpl_vars['column_wrap']->value) {
$_smarty_tpl->tpl_vars['column_wrap']->_loop = true;
?>
								<?php $_smarty_tpl->tpl_vars['columnWrapIsInChosenGroups'] = new Smarty_variable(1, null, 0);?>
								<?php if ($_smarty_tpl->tpl_vars['column_wrap']->value['privacy']==3) {?>
									<?php $_smarty_tpl->tpl_vars['columnWrapIsInChosenGroups'] = new Smarty_variable(0, null, 0);?>
									<?php $_smarty_tpl->tpl_vars['columnWrapChosenGroups'] = new Smarty_variable($_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['json_decode'][0][0]->jsonDecode($_smarty_tpl->tpl_vars['column_wrap']->value['chosen_groups']), null, 0);?>
									<?php if (is_array($_smarty_tpl->tpl_vars['columnWrapChosenGroups']->value)) {?>
										<?php  $_smarty_tpl->tpl_vars['columnWrapChosenGroup'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['columnWrapChosenGroup']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['columnWrapChosenGroups']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['columnWrapChosenGroup']->key => $_smarty_tpl->tpl_vars['columnWrapChosenGroup']->value) {
$_smarty_tpl->tpl_vars['columnWrapChosenGroup']->_loop = true;
?>
											<?php if (in_array($_smarty_tpl->tpl_vars['columnWrapChosenGroup']->value,$_smarty_tpl->tpl_vars['customerGroups']->value)) {?>
												<?php $_smarty_tpl->tpl_vars['columnWrapIsInChosenGroups'] = new Smarty_variable(1, null, 0);?>
												<?php break 1?>
											<?php }?>
										<?php } ?>
									<?php }?>
								<?php }?>

								<?php if (($_smarty_tpl->tpl_vars['column_wrap']->value['privacy']==2&&$_smarty_tpl->tpl_vars['isLogged']->value)||($_smarty_tpl->tpl_vars['column_wrap']->value['privacy']==1&&!$_smarty_tpl->tpl_vars['isLogged']->value)||(!$_smarty_tpl->tpl_vars['column_wrap']->value['privacy'])||($_smarty_tpl->tpl_vars['column_wrap']->value['privacy']==3&&$_smarty_tpl->tpl_vars['columnWrapIsInChosenGroups']->value)) {?>
								<td class="adtm_column_wrap_td advtm_column_wrap_td_<?php echo intval($_smarty_tpl->tpl_vars['column_wrap']->value['id_wrap']);?>
<?php if (!intval($_smarty_tpl->tpl_vars['column_wrap']->value['active_desktop'])) {?> advtm_hide_desktop<?php }?><?php if (!intval($_smarty_tpl->tpl_vars['column_wrap']->value['active_mobile'])) {?> advtm_hide_mobile<?php }?>">
									<div class="adtm_column_wrap advtm_column_wrap_<?php echo intval($_smarty_tpl->tpl_vars['column_wrap']->value['id_wrap']);?>
">
									<?php if ($_smarty_tpl->tpl_vars['column_wrap']->value['value_over']) {?>
										<?php if (version_compare(@constant('_PS_VERSION_'),'1.7.0.0','>=')) {?>
											<?php echo $_smarty_tpl->tpl_vars['column_wrap']->value['value_over'];?>

										<?php } else { ?>
											<?php echo $_smarty_tpl->tpl_vars['column_wrap']->value['value_over'];?>

										<?php }?>
									<?php }?>
										<div class="adtm_column_wrap_sizer">&nbsp;</div>
									<?php  $_smarty_tpl->tpl_vars['column'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['column']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['advtm_columns']->value[$_smarty_tpl->tpl_vars['column_wrap']->value['id_wrap']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['column']->key => $_smarty_tpl->tpl_vars['column']->value) {
$_smarty_tpl->tpl_vars['column']->_loop = true;
?>
										<?php $_smarty_tpl->tpl_vars['columnIsInChosenGroups'] = new Smarty_variable(1, null, 0);?>
										<?php if ($_smarty_tpl->tpl_vars['column']->value['privacy']==3) {?>
											<?php $_smarty_tpl->tpl_vars['columnIsInChosenGroups'] = new Smarty_variable(0, null, 0);?>
											<?php $_smarty_tpl->tpl_vars['columnChosenGroups'] = new Smarty_variable($_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['json_decode'][0][0]->jsonDecode($_smarty_tpl->tpl_vars['column']->value['chosen_groups']), null, 0);?>
											<?php if (is_array($_smarty_tpl->tpl_vars['columnChosenGroups']->value)) {?>
												<?php  $_smarty_tpl->tpl_vars['columnChosenGroup'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['columnChosenGroup']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['columnChosenGroups']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['columnChosenGroup']->key => $_smarty_tpl->tpl_vars['columnChosenGroup']->value) {
$_smarty_tpl->tpl_vars['columnChosenGroup']->_loop = true;
?>
													<?php if (in_array($_smarty_tpl->tpl_vars['columnChosenGroup']->value,$_smarty_tpl->tpl_vars['customerGroups']->value)) {?>
														<?php $_smarty_tpl->tpl_vars['columnIsInChosenGroups'] = new Smarty_variable(1, null, 0);?>
														<?php break 1?>
													<?php }?>
												<?php } ?>
											<?php }?>
										<?php }?>
										<?php if (($_smarty_tpl->tpl_vars['column']->value['privacy']==2&&$_smarty_tpl->tpl_vars['isLogged']->value)||($_smarty_tpl->tpl_vars['column']->value['privacy']==1&&!$_smarty_tpl->tpl_vars['isLogged']->value)||(!$_smarty_tpl->tpl_vars['column']->value['privacy'])||($_smarty_tpl->tpl_vars['column']->value['privacy']==3&&$_smarty_tpl->tpl_vars['columnIsInChosenGroups']->value)) {?>
											<?php if ($_smarty_tpl->tpl_vars['column']->value['value_over']) {?>
												<?php if (version_compare(@constant('_PS_VERSION_'),'1.7.0.0','>=')) {?>
													<?php echo $_smarty_tpl->tpl_vars['column']->value['value_over'];?>

												<?php } else { ?>
													<?php echo $_smarty_tpl->tpl_vars['column']->value['value_over'];?>

												<?php }?>
											<?php }?>
										<div class="adtm_column adtm_column_<?php echo intval($_smarty_tpl->tpl_vars['column']->value['id_column']);?>
<?php if (!intval($_smarty_tpl->tpl_vars['column']->value['active_desktop'])) {?> advtm_hide_desktop<?php }?><?php if (!intval($_smarty_tpl->tpl_vars['column']->value['active_mobile'])) {?> advtm_hide_mobile<?php }?>">
											<?php if ($_smarty_tpl->tpl_vars['column']->value['type']==8) {?>
												<?php if (version_compare(@constant('_PS_VERSION_'),'1.7.0.0','>=')) {?>
													<?php echo $_smarty_tpl->getSubTemplate ("module:pm_advancedtopmenu/views/templates/front/pm_advancedtopmenu_product_17.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 9999, null, array('products'=>$_smarty_tpl->tpl_vars['column']->value['productInfos']), 0);?>

												<?php } else { ?>
													<?php echo $_smarty_tpl->getSubTemplate ("./pm_advancedtopmenu_product.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 9999, null, array('products'=>$_smarty_tpl->tpl_vars['column']->value['productInfos']), 0);?>

												<?php }?>
											<?php } else { ?>
												<?php if ($_smarty_tpl->tpl_vars['column']->value['link_output_value']) {?>
											<span class="column_wrap_title">
												<?php if (version_compare(@constant('_PS_VERSION_'),'1.7.0.0','>=')) {?>
													<?php echo $_smarty_tpl->tpl_vars['column']->value['link_output_value'];?>

												<?php } else { ?>
													<?php echo $_smarty_tpl->tpl_vars['column']->value['link_output_value'];?>

												<?php }?>
											</span>
												<?php }?>
												<?php $_smarty_tpl->tpl_vars['columnHaveElement'] = new Smarty_variable(count($_smarty_tpl->tpl_vars['advtm_elements']->value[$_smarty_tpl->tpl_vars['column']->value['id_column']]), null, 0);?>
												<?php if ($_smarty_tpl->tpl_vars['columnHaveElement']->value) {?>
											<ul class="adtm_elements adtm_elements_<?php echo intval($_smarty_tpl->tpl_vars['column']->value['id_column']);?>
">
													<?php  $_smarty_tpl->tpl_vars['element'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['element']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['advtm_elements']->value[$_smarty_tpl->tpl_vars['column']->value['id_column']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['element']->key => $_smarty_tpl->tpl_vars['element']->value) {
$_smarty_tpl->tpl_vars['element']->_loop = true;
?>
														<?php $_smarty_tpl->tpl_vars['elementIsInChosenGroups'] = new Smarty_variable(1, null, 0);?>
														<?php if ($_smarty_tpl->tpl_vars['element']->value['privacy']==3) {?>
															<?php $_smarty_tpl->tpl_vars['elementIsInChosenGroups'] = new Smarty_variable(0, null, 0);?>
															<?php $_smarty_tpl->tpl_vars['elementChosenGroups'] = new Smarty_variable($_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['json_decode'][0][0]->jsonDecode($_smarty_tpl->tpl_vars['element']->value['chosen_groups']), null, 0);?>
															<?php if (is_array($_smarty_tpl->tpl_vars['elementChosenGroups']->value)) {?>
																<?php  $_smarty_tpl->tpl_vars['elementChosenGroup'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['elementChosenGroup']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['elementChosenGroups']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['elementChosenGroup']->key => $_smarty_tpl->tpl_vars['elementChosenGroup']->value) {
$_smarty_tpl->tpl_vars['elementChosenGroup']->_loop = true;
?>
																	<?php if (in_array($_smarty_tpl->tpl_vars['elementChosenGroup']->value,$_smarty_tpl->tpl_vars['customerGroups']->value)) {?>
																		<?php $_smarty_tpl->tpl_vars['elementIsInChosenGroups'] = new Smarty_variable(1, null, 0);?>
																		<?php break 1?>
																	<?php }?>
																<?php } ?>
															<?php }?>
														<?php }?>
														<?php if (($_smarty_tpl->tpl_vars['element']->value['privacy']==2&&$_smarty_tpl->tpl_vars['isLogged']->value)||($_smarty_tpl->tpl_vars['element']->value['privacy']==1&&!$_smarty_tpl->tpl_vars['isLogged']->value)||(!$_smarty_tpl->tpl_vars['element']->value['privacy'])||($_smarty_tpl->tpl_vars['element']->value['privacy']==3&&$_smarty_tpl->tpl_vars['elementIsInChosenGroups']->value)) {?>
												<li class="<?php if (!intval($_smarty_tpl->tpl_vars['element']->value['active_desktop'])) {?> advtm_hide_desktop<?php }?><?php if (!intval($_smarty_tpl->tpl_vars['element']->value['active_mobile'])) {?> advtm_hide_mobile<?php }?>">
															<?php if (version_compare(@constant('_PS_VERSION_'),'1.7.0.0','>=')) {?>
																<?php echo $_smarty_tpl->tpl_vars['element']->value['link_output_value'];?>

															<?php } else { ?>
																<?php echo $_smarty_tpl->tpl_vars['element']->value['link_output_value'];?>

															<?php }?>
												</li>
														<?php }?>
													<?php } ?>
											</ul>
												<?php }?>
											<?php }?>
										</div>
											<?php if ($_smarty_tpl->tpl_vars['column']->value['value_under']) {?>
												<?php if (version_compare(@constant('_PS_VERSION_'),'1.7.0.0','>=')) {?>
													<?php echo $_smarty_tpl->tpl_vars['column']->value['value_under'];?>

												<?php } else { ?>
													<?php echo $_smarty_tpl->tpl_vars['column']->value['value_under'];?>

												<?php }?>
											<?php }?>
										<?php }?>
									<?php } ?>
									<?php if ($_smarty_tpl->tpl_vars['column_wrap']->value['value_under']) {?>
										<?php if (version_compare(@constant('_PS_VERSION_'),'1.7.0.0','>=')) {?>
											<?php echo $_smarty_tpl->tpl_vars['column_wrap']->value['value_under'];?>

										<?php } else { ?>
											<?php echo $_smarty_tpl->tpl_vars['column_wrap']->value['value_under'];?>

										<?php }?>
									<?php }?>
									</div>
								</td>
								<?php }?>
							<?php } ?>
							</tr>
						</table>
							<?php if ($_smarty_tpl->tpl_vars['menu']->value['value_under']) {?>
								<?php if (version_compare(@constant('_PS_VERSION_'),'1.7.0.0','>=')) {?>
									<?php echo $_smarty_tpl->tpl_vars['menu']->value['value_under'];?>

								<?php } else { ?>
									<?php echo $_smarty_tpl->tpl_vars['menu']->value['value_under'];?>

								<?php }?>
							<?php }?>
					</div>
					<!--[if lte IE 6]></td></tr></table></a><![endif]-->
						<?php }?>
				</li>
					<?php }?>
				<?php } ?>
			</ul>
		</div>
	</div>
</div>
<?php if (!isset($_smarty_tpl->tpl_vars['advtmThemeCompatibility']->value)||(isset($_smarty_tpl->tpl_vars['advtmThemeCompatibility']->value)&&$_smarty_tpl->tpl_vars['advtmThemeCompatibility']->value)) {?><div><?php }?>
<!-- /MODULE PM_AdvancedTopMenu || Presta-Module.com --><?php }} ?>
