<?php /* Smarty version Smarty-3.1.8, created on 2019-12-31 10:10:06
         compiled from "/home/stg70/public_html/agmc-v2/application/core/views/frontend/mini/BrowseCategories.tpl" */ ?>
<?php /*%%SmartyHeaderCode:15709853575da7183aeadba2-33335702%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '17d6f3f73412e7dab333593b5c7272966bbbd740' => 
    array (
      0 => '/home/stg70/public_html/agmc-v2/application/core/views/frontend/mini/BrowseCategories.tpl',
      1 => 1577772525,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '15709853575da7183aeadba2-33335702',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5da7183aee0423_84384280',
  'variables' => 
  array (
    'breadCrumbs' => 0,
    'breadCrumb' => 0,
    'businessID' => 0,
    'storeKey' => 0,
    'categories' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5da7183aee0423_84384280')) {function content_5da7183aee0423_84384280($_smarty_tpl) {?><?php if (isset($_smarty_tpl->tpl_vars['breadCrumbs']->value)&&!empty($_smarty_tpl->tpl_vars['breadCrumbs']->value)){?>
<ul>
	<?php  $_smarty_tpl->tpl_vars['breadCrumb'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['breadCrumb']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['breadCrumbs']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['breadCrumb']->key => $_smarty_tpl->tpl_vars['breadCrumb']->value){
$_smarty_tpl->tpl_vars['breadCrumb']->_loop = true;
?>
	<li  id="<?php echo (($tmp = @$_smarty_tpl->tpl_vars['breadCrumb']->value['productCategoryKey'])===null||$tmp==='' ? '' : $tmp);?>
">
		<?php if ($_smarty_tpl->tpl_vars['businessID']->value>0){?>
			<?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['sef_path'][0][0]->getSefRequestPath((($tmp = @$_smarty_tpl->tpl_vars['breadCrumb']->value['productCategoryID'])===null||$tmp==='' ? 0 : $tmp),'catalog');?>
<?php $_tmp1=ob_get_clean();?><?php ob_start();?><?php echo (($tmp = @$_smarty_tpl->tpl_vars['breadCrumb']->value['productCategoryName'])===null||$tmp==='' ? '' : $tmp);?>
<?php $_tmp2=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"store/".($_smarty_tpl->tpl_vars['storeKey']->value)."/".$_tmp1,'content'=>$_tmp2),$_smarty_tpl);?>

		<?php }else{ ?>
			<?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['sef_path'][0][0]->getSefRequestPath((($tmp = @$_smarty_tpl->tpl_vars['breadCrumb']->value['productCategoryID'])===null||$tmp==='' ? 0 : $tmp),'catalog');?>
<?php $_tmp3=ob_get_clean();?><?php ob_start();?><?php echo (($tmp = @$_smarty_tpl->tpl_vars['breadCrumb']->value['productCategoryName'])===null||$tmp==='' ? '' : $tmp);?>
<?php $_tmp4=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>$_tmp3,'content'=>$_tmp4),$_smarty_tpl);?>

		<?php }?>
		<?php if ((($tmp = @$_smarty_tpl->tpl_vars['breadCrumb']->value['children'])===null||$tmp==='' ? '' : $tmp)!=null){?>
		<ul class="clearfix">
			<?php  $_smarty_tpl->tpl_vars['categories'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['categories']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['breadCrumb']->value['children']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['categories']->key => $_smarty_tpl->tpl_vars['categories']->value){
$_smarty_tpl->tpl_vars['categories']->_loop = true;
?>
				<li>
					<?php if ($_smarty_tpl->tpl_vars['businessID']->value>0){?>
						<?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['sef_path'][0][0]->getSefRequestPath($_smarty_tpl->tpl_vars['categories']->value['productCategoryID'],'catalog');?>
<?php $_tmp5=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"store/".($_smarty_tpl->tpl_vars['storeKey']->value)."/".$_tmp5,'content'=>($_smarty_tpl->tpl_vars['categories']->value['productCategoryName'])),$_smarty_tpl);?>

					<?php }else{ ?>
						<?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['sef_path'][0][0]->getSefRequestPath($_smarty_tpl->tpl_vars['categories']->value['productCategoryID'],'catalog');?>
<?php $_tmp6=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>$_tmp6,'content'=>($_smarty_tpl->tpl_vars['categories']->value['productCategoryName'])),$_smarty_tpl);?>

					<?php }?>
				</li>
			<?php } ?>
		</ul>
		<?php }?>
	</li>
	<?php } ?>
</ul>
<?php }?>
<?php }} ?>