<?php /* Smarty version Smarty-3.1.11, created on 2025-03-22 02:52:52
         compiled from "../views/obgy/reports/risktypesearch.html" */ ?>
<?php /*%%SmartyHeaderCode:166000584367de88744d9715-49800670%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '541443886ebd2d80bdab56e2813413ba7b0c1ae7' => 
    array (
      0 => '../views/obgy/reports/risktypesearch.html',
      1 => 1542464114,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '166000584367de88744d9715-49800670',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'allData' => 0,
    'i' => 0,
    'data' => 0,
    'hosturl' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_67de8874582590_79074208',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_67de8874582590_79074208')) {function content_67de8874582590_79074208($_smarty_tpl) {?><table class="table table-hover portlet light bg-inverse" id="repTable">
    <thead>
        <tr>
            <th>No.</th>
            <th>Status No.</th>
            <th>
                Patient Name
            </th>
            <th>
                Husband Name
            </th>
            <th>risk </th>
        </tr>
    </thead>
    <tbody>
        <?php $_smarty_tpl->tpl_vars["i"] = new Smarty_variable("1", null, 0);?>
        <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_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['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
        <tr class="odd gradeX">
            <td><?php echo $_smarty_tpl->tpl_vars['i']->value;?>
</td>
            <td><?php echo $_smarty_tpl->tpl_vars['data']->value['statusno'];?>
</td>
            <td>
                <a href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/patienthistory.php?ac=show&patientid=<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
" target="_new"><?php echo $_smarty_tpl->tpl_vars['data']->value['wifename'];?>
</a>
            </td>
            <td>
                <?php echo $_smarty_tpl->tpl_vars['data']->value['husdandname'];?>

            </td>
            <td>
                <?php echo $_smarty_tpl->tpl_vars['data']->value['risk'];?>

            </td>

        </tr>
        <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['i']->value+1;?>
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["i"] = new Smarty_variable($_tmp1, null, 0);?>
        <?php } ?>
    </tbody>
</table>



<script type="text/javascript" >
    $('#repTable').dataTable();
</script>


<div class="modal-body printtable" id="printd" style="display:none">
    <center><h4 class="modal-title">Termination report</h4></center>
    <table class="table table-hover portlet light bg-inverse" >
        <thead>
            <tr>
                <th>No.</th>
                <th>Status No.</th>
                <th>
                    Patient Name
                </th>
                <th>
                    Husband Name
                </th>
                <th>risk </th>
            </tr>
        </thead>
        <tbody>
            <?php $_smarty_tpl->tpl_vars["i"] = new Smarty_variable("1", null, 0);?>
            <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_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['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
            <tr class="odd gradeX">
                <td><?php echo $_smarty_tpl->tpl_vars['i']->value;?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['data']->value['statusno'];?>
</td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['data']->value['wifename'];?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['data']->value['husdandname'];?>

                </td>
                <td>
                    <?php echo $_smarty_tpl->tpl_vars['data']->value['risk'];?>

                </td>

            </tr>
            <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['i']->value+1;?>
<?php $_tmp2=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["i"] = new Smarty_variable($_tmp2, null, 0);?>
            <?php } ?>
        </tbody>
    </table>
</div><?php }} ?>