<?php /* Smarty version Smarty-3.1.15, created on 2015-04-27 20:10:06
         compiled from "/home/hushdogcafe/public_html/cube/skins/foundation/templates/box.popular.php" */ ?>
<?php /*%%SmartyHeaderCode:80593636553e271e02a0b5-06136769%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '5d311d9d455a873da8ea3d933353dc120b67a32e' => 
    array (
      0 => '/home/hushdogcafe/public_html/cube/skins/foundation/templates/box.popular.php',
      1 => 1429684646,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '80593636553e271e02a0b5-06136769',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'LANG' => 0,
    'POPULAR' => 0,
    'product' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.15',
  'unifunc' => 'content_553e271e059b03_48286755',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_553e271e059b03_48286755')) {function content_553e271e059b03_48286755($_smarty_tpl) {?>
<div class="panel" id="box-popular">
  <h3><?php echo $_smarty_tpl->tpl_vars['LANG']->value['catalogue']['title_popular'];?>
</h3>
  <ol>
	<?php  $_smarty_tpl->tpl_vars['product'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['product']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['POPULAR']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['product']->key => $_smarty_tpl->tpl_vars['product']->value) {
$_smarty_tpl->tpl_vars['product']->_loop = true;
?>
	<li><a href="<?php echo $_smarty_tpl->tpl_vars['product']->value['url'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['product']->value['name'];?>
"><?php echo $_smarty_tpl->tpl_vars['product']->value['name'];?>
</a><br>
	<?php if ($_smarty_tpl->tpl_vars['product']->value['ctrl_sale']) {?>
         <span class="old_price"><?php echo $_smarty_tpl->tpl_vars['product']->value['price'];?>
</span> <span class="sale_price"><?php echo $_smarty_tpl->tpl_vars['product']->value['sale_price'];?>
</span>
    <?php } else { ?>
         <?php echo $_smarty_tpl->tpl_vars['product']->value['price'];?>

    <?php }?>
	</li>
	<?php } ?>
  </ol>
</div><?php }} ?>
