Primer commit del sistema avantika sin cambios
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 14:48:55
|
||||
compiled from "/var/www/html/templates/lists/enumProdCatPromo.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1215138117540f59a79bf5f3-51036298%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'34054d9aa07fba40703b48d1fd511a9014aae981' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/lists/enumProdCatPromo.tpl',
|
||||
1 => 1410130458,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1215138117540f59a79bf5f3-51036298',
|
||||
'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('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;
|
||||
?>
|
||||
<input type="checkbox" name="idProdCat[]" value="<?php echo $_smarty_tpl->getVariable('item')->value['prodCatId'];?>
|
||||
" <?php if ($_smarty_tpl->getVariable('item')->value['checked']){?>checked<?php }?>><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
||||
</option>
|
||||
<br />
|
||||
<?php }} ?>
|
||||
Reference in New Issue
Block a user