31 lines
1.5 KiB
PHP
Executable File
31 lines
1.5 KiB
PHP
Executable File
<?php /* Smarty version Smarty3-b7, created on 2014-09-09 14:48:55
|
|
compiled from "/var/www/html/templates/lists/enumProdPromo.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:1413341982540f59a7a3eb11-11050825%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'92947e3ec3d4a03d09b4b3d712c76d9e00668326' =>
|
|
array (
|
|
0 => '/var/www/html/templates/lists/enumProdPromo.tpl',
|
|
1 => 1410130458,
|
|
),
|
|
),
|
|
'nocache_hash' => '1413341982540f59a7a3eb11-11050825',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'has_nocache_code' => false,
|
|
)); /*/%%SmartyHeaderCode%%*/?>
|
|
<?php if (!is_callable('smarty_modifier_truncate')) include '/var/www/html/libs/plugins/modifier.truncate.php';
|
|
?><?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
|
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
|
$_from = $_smarty_tpl->getVariable('productos')->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="idProducto[]" value="<?php echo $_smarty_tpl->getVariable('item')->value['productoId'];?>
|
|
" <?php if ($_smarty_tpl->getVariable('item')->value['checked']){?>checked<?php }?> ><?php echo smarty_modifier_truncate($_smarty_tpl->getVariable('item')->value['descripcion'],250,"...");?>
|
|
|
|
<br />
|
|
<?php }} ?>
|