Files
ventas_php/templates_c/6d5110c472c0c6fc6042351c0ce50179e7adc3be.file.enumProdCatSearch.tpl.php

32 lines
1.5 KiB
PHP
Executable File

<?php /* Smarty version Smarty3-b7, created on 2014-09-08 12:21:51
compiled from "/var/www/html/templates/lists/enumProdCatSearch.tpl" */ ?>
<?php /*%%SmartyHeaderCode:625746122540de5af814e36-14201374%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'6d5110c472c0c6fc6042351c0ce50179e7adc3be' =>
array (
0 => '/var/www/html/templates/lists/enumProdCatSearch.tpl',
1 => 1410130458,
),
),
'nocache_hash' => '625746122540de5af814e36-14201374',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<select name="idProdCat" id="idProdCat" class="largeInput wide2">
<option value="">Todos</option>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('categorias')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
<option value="<?php echo $_smarty_tpl->getVariable('item')->value['prodCatId'];?>
" <?php if ($_smarty_tpl->getVariable('info')->value['prodCatId']==$_smarty_tpl->getVariable('item')->value['prodCatId']){?>selected<?php }?>><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
</option>
<?php }} ?>
</select>