Primer commit del sistema avantika sin cambios
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 12:44:33
|
||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/enumAtributos.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:3664713375361368198e6f7-85233983%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'6c8797e63b11be63e78fbf55a780a54110f819e3' =>
|
||||
array (
|
||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/enumAtributos.tpl',
|
||||
1 => 1375965429,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '3664713375361368198e6f7-85233983',
|
||||
'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('atributos')->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;
|
||||
?>
|
||||
<div class="formLine">
|
||||
<div style="width:150px;float:left"><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
||||
:</div>
|
||||
<?php $_smarty_tpl->tpl_vars['itm'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('item')->value['valores']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
if (count($_from) > 0){
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['itm']->key => $_smarty_tpl->tpl_vars['itm']->value){
|
||||
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['itm']->key;
|
||||
?>
|
||||
<div style="width:150px;float:left">
|
||||
<input type="checkbox" name="atrib[<?php echo $_smarty_tpl->getVariable('item')->value['atributoId'];?>
|
||||
]" id="atrib_<?php echo $_smarty_tpl->getVariable('itm')->value['atribValId'];?>
|
||||
" value="<?php echo $_smarty_tpl->getVariable('itm')->value['atribValId'];?>
|
||||
" <?php if ($_smarty_tpl->getVariable('itm')->value['exist']=="1"){?>checked<?php }?> />
|
||||
<?php echo $_smarty_tpl->getVariable('itm')->value['nombre'];?>
|
||||
|
||||
</div>
|
||||
<?php }} ?>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
<?php }} ?>
|
||||
Reference in New Issue
Block a user