<?php /* Smarty version Smarty-3.1.11, created on 2025-03-22 02:54:37
         compiled from "../views/obgy/ultrasound/show.html" */ ?>
<?php /*%%SmartyHeaderCode:70034705367de88dd7bf577-04418359%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '0e5070bc1e8c849c75e9d18dda03160cef20c3e3' => 
    array (
      0 => '../views/obgy/ultrasound/show.html',
      1 => 1542464116,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '70034705367de88dd7bf577-04418359',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'hosturl' => 0,
    'patientid' => 0,
    'allultra' => 0,
    'm' => 0,
    'single' => 0,
    'operativedetails' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_67de88dd84ca61_73545810',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_67de88dd84ca61_73545810')) {function content_67de88dd84ca61_73545810($_smarty_tpl) {?>
<div class="page-content-wrapper">
    <div class="page-content all">
        <div class="row">
            <div class="col-md-12">
                <!-- BEGIN EXAMPLE TABLE PORTLET-->




                <div class="portlet box blue">
                    <div class="portlet-title">
                        <div class="caption">
                            <i class="fa fa-cogs"></i>Ultrasound Scan Report
                        </div>
                        <div class="actions">
                            <a href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/ultrasound.php?ac=add&patientid=<?php echo $_smarty_tpl->tpl_vars['patientid']->value;?>
" class="btn btn-default btn-sm">
                                <i class="fa fa-plus"></i> Add </a>

                        </div>
                    </div>
                    <input type="hidden" id="ultrasoundPage" value="1"/>
                    <input type="hidden" id="patientId" value="<?php echo $_smarty_tpl->tpl_vars['patientid']->value;?>
">
                    <input type="hidden" id="controllName" value="ultrasound"/>

                    <div class="portlet-body">
                        <div style="margin: 0px 10px;">
                            <table class="table table-striped table-bordered table-hover" id="sample_3">
                                <thead>
                                    <tr>

                                        <th width="7%">No</th>
                                        <th>Patient Name</th>
                                        <th width="5%">Show</th>
                                        <th width="5%">Delete</th>

                                    </tr>
                                </thead>
                                <tbody>
                                    <?php if (!empty($_smarty_tpl->tpl_vars['allultra']->value)){?>
                                    <?php $_smarty_tpl->tpl_vars['m'] = new Smarty_variable(1, null, 0);?>
                                    <?php  $_smarty_tpl->tpl_vars['single'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['single']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allultra']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['single']->key => $_smarty_tpl->tpl_vars['single']->value){
$_smarty_tpl->tpl_vars['single']->_loop = true;
?>

                                    <tr class="odd gradeX">

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

                                        <td><?php echo $_smarty_tpl->tpl_vars['single']->value->pname;?>
</td>
                                        <td>
                                            <a href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/ultrasound.php?ac=show&patientid=<?php echo $_smarty_tpl->tpl_vars['patientid']->value;?>
&id=<?php echo $_smarty_tpl->tpl_vars['single']->value['id'];?>
" class="btn green btn-block btn-xs"><i class="fa fa-pencil"></i> Show</a>
                                        </td>

                                        <td>
                                            <a class="btn grey-cascade btn-xs delMsg" data-id="<?php echo $_smarty_tpl->tpl_vars['single']->value['id'];?>
"><i class="fa fa-times"></i>Delete </a>
                                        </td>


                                    </tr>
                                    <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'm', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['m']->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 } ?>

                                    <?php }?>
                                </tbody>

                            </table>
                        </div>
                        <!-- <input type="hidden" name="id" value="<?php echo $_smarty_tpl->tpl_vars['operativedetails']->value['id'];?>
">-->
                    </div>
                </div>
            </div>
        </div>




<?php }} ?>