Files
ventas_php/templates_c/b99207708109b5f9315003a354c8518af8b3e6eb.file.enumProdSubcat.tpl.php

32 lines
1.6 KiB
PHP
Executable File

<?php /* Smarty version Smarty3-b7, created on 2015-03-12 11:22:20
compiled from "/var/www/html/templates/lists/enumProdSubcat.tpl" */ ?>
<?php /*%%SmartyHeaderCode:15586486555501cb4c3adbc9-14627305%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'b99207708109b5f9315003a354c8518af8b3e6eb' =>
array (
0 => '/var/www/html/templates/lists/enumProdSubcat.tpl',
1 => 1410130458,
),
),
'nocache_hash' => '15586486555501cb4c3adbc9-14627305',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<select name="prodSubcatId" id="prodSubcatId" class="largeInput" style="width:300px" onchange="LoadAtributos()">
<option value="">Seleccione</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 if ($_smarty_tpl->getVariable('info')->value['prodSubcatId']==$_smarty_tpl->getVariable('item')->value['prodSubcatId']){?>selected<?php }?>><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
</option>
<?php }} ?>
</select>