<?php /* Smarty version Smarty-3.1.11, created on 2024-11-14 06:01:49
         compiled from "../views/obgy/ancsheet/select.html" */ ?>
<?php /*%%SmartyHeaderCode:1362698135673602cd1bd8b1-51721127%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '25c260778b9749a9a95ae648a4982d6f2438c503' => 
    array (
      0 => '../views/obgy/ancsheet/select.html',
      1 => 1615851182,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1362698135673602cd1bd8b1-51721127',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'celtable' => 0,
    'row' => 0,
    'arrays' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_673602cd26e566_34291133',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_673602cd26e566_34291133')) {function content_673602cd26e566_34291133($_smarty_tpl) {?>
<option value=""></option>
<?php  $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['row']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['celtable']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){
$_smarty_tpl->tpl_vars['row']->_loop = true;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['row']->value->id;?>
"  <?php if (in_array($_smarty_tpl->tpl_vars['row']->value->id,$_smarty_tpl->tpl_vars['arrays']->value)){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['row']->value->title;?>
</option>
<?php } ?>
<option value="-1" class="adddataselect" >Add</option>
<option value="-2"  class="deleteselect">Delete</option>
<?php }} ?>