<?php /* Smarty version Smarty-3.1.11, created on 2024-08-13 17:26:32
         compiled from "../views/obgy/patients/siglemodeltodelete/alldata.html" */ ?>
<?php /*%%SmartyHeaderCode:78581755466bb6d18e0dbd3-02983340%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'c5445fb8be3dd3326cf69616566bd96f1806f25b' => 
    array (
      0 => '../views/obgy/patients/siglemodeltodelete/alldata.html',
      1 => 1585034402,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '78581755466bb6d18e0dbd3-02983340',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'col' => 0,
    'allData' => 0,
    'selectId' => 0,
    'row' => 0,
    'table' => 0,
    'i' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_66bb6d18efffc4_05647052',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_66bb6d18efffc4_05647052')) {function content_66bb6d18efffc4_05647052($_smarty_tpl) {?><div class="modal-dialog">
    <div class="modal-content">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
            <h4 class="modal-title"> <?php echo $_smarty_tpl->tpl_vars['col']->value;?>
</h4>
        </div>
        <div class="modal-body">
            <div class="portlet-body form">
                <input type="hidden" id="controllName" value="111"/>
                <!--button type="button" class="btn btn-xs blue fright addwtRow" id="addwtRow" data-selectClass="bloodtype" data-fun="delbl" data-tableName="bloodtypes"><i class="fa fa-plus"></i> إضافة</button></td-->
                <table cellspacing="10" width="100%" id="ptAddTbl" class="ptAddTbl">
                    <thead>
                        <tr >
                            <th class="textcenter">حذف</th>
                            <th class="textcenter" style="text-align: center;"> <?php echo $_smarty_tpl->tpl_vars['col']->value;?>
</th>
                        </tr>
                    </thead>
                    <tbody id="loaddetectionnew">
                        <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(1, null, 0);?>
                        <?php  $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['row']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allData']->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;
?>                    
                        <tr class="textcenter" >
                            <td>
                                <a class="deleteelement fa fa-times btn red fleft" data-selectClass="<?php echo $_smarty_tpl->tpl_vars['selectId']->value;?>
"  data-select2="yes" data-id="<?php echo $_smarty_tpl->tpl_vars['row']->value->id;?>
" data-link="patients"  data-fun="deldata" data-tableName="<?php echo $_smarty_tpl->tpl_vars['table']->value;?>
"></a>
                            </td>
                            <td style="width: 100%">
                                <input type="text" class="form-control updateElementSelect" data-selectClass="<?php echo $_smarty_tpl->tpl_vars['selectId']->value;?>
"  data-select2="yes" data-id="<?php echo $_smarty_tpl->tpl_vars['row']->value->id;?>
" data-colName="name" data-tableName="<?php echo $_smarty_tpl->tpl_vars['table']->value;?>
" value="<?php echo $_smarty_tpl->tpl_vars['row']->value->name;?>
"/>
                            </td>

                        </tr>

                        <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'i', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['i']->value+1;?>
<?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
if (!empty($_capture_buffer)) {
 if (isset($_capture_assign)) $_smarty_tpl->assign($_capture_assign, ob_get_contents());
 if (isset( $_capture_append)) $_smarty_tpl->append( $_capture_append, ob_get_contents());
 Smarty::$_smarty_vars['capture'][$_capture_buffer]=ob_get_clean();
} else $_smarty_tpl->capture_error();?>
                        <?php } ?>
                    </tbody>
                </table>
            </div>
        </div>

        <div class="modal-footer">
            <button type="button" class="btn default" data-dismiss="modal">إغلاق</button>
        </div>
        <!-- /.modal-content -->
    </div>
</div>




















<?php }} ?>