Files
ventas_php/ajax/templates_c/1871ac3e4174b0c2f6ce979d091c6ef64cc5af19.file.enumProdSubcat2.tpl.php

32 lines
1.5 KiB
PHP
Executable File

<?php /* Smarty version Smarty3-b7, created on 2014-04-30 13:20:25
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/enumProdSubcat2.tpl" */ ?>
<?php /*%%SmartyHeaderCode:142803909553613ee908c580-10807418%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'1871ac3e4174b0c2f6ce979d091c6ef64cc5af19' =>
array (
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/enumProdSubcat2.tpl',
1 => 1377821005,
),
),
'nocache_hash' => '142803909553613ee908c580-10807418',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<select name="prodSubcatId" id="prodSubcatId" class="largeInput" style="width:200px">
<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('subcategorias')->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['prodSubcatId'];?>
"><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
</option>
<?php }} ?>
</select>