Files
ventas_php/ajax/templates_c/f8abfd30929d713d5d64e325db1e869528ae802d.file.enumProdSubcatPromo.tpl.php

30 lines
1.5 KiB
PHP
Executable File

<?php /* Smarty version Smarty3-b7, created on 2014-06-04 13:31:08
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/enumProdSubcatPromo.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1080685091538f65ec8d52d1-12932629%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'f8abfd30929d713d5d64e325db1e869528ae802d' =>
array (
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/enumProdSubcatPromo.tpl',
1 => 1401906163,
),
),
'nocache_hash' => '1080685091538f65ec8d52d1-12932629',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?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;
?>
<input type="checkbox" name="idProdSubcat[]" value="<?php echo $_smarty_tpl->getVariable('item')->value['prodSubcatId'];?>
" <?php if ($_smarty_tpl->getVariable('item')->value['checked']){?>checked<?php }?>><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
</option>
<br />
<?php }} ?>