<?php /* Smarty version Smarty-3.1.11, created on 2024-11-06 05:00:08
         compiled from "../views/obgy/gtimage/show.html" */ ?>
<?php /*%%SmartyHeaderCode:1949003912672b6858731f82-61104626%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '91664dd20fcf3d71acf7dda251403bf61bfc3d9e' => 
    array (
      0 => '../views/obgy/gtimage/show.html',
      1 => 1542464112,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1949003912672b6858731f82-61104626',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'hosturl' => 0,
    'patientId' => 0,
    'allGtImage' => 0,
    'm' => 0,
    'single' => 0,
    'controllname' => 0,
    'operativedetails' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_672b6858b17a73_29471694',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_672b6858b17a73_29471694')) {function content_672b6858b17a73_29471694($_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>GT Image
                        </div>
                        <div class="actions">
                            <a href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/gtimage.php?ac=index&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="patientId" value="<?php echo $_smarty_tpl->tpl_vars['patientId']->value;?>
">
                    <input type="hidden" id="controllName" value="gtimage"/>
                    <input type="hidden" id="dragPage" value="1"/>

                    <div class="portlet-body">
                        <div>
                            <table class="table table-striped table-bordered table-hover" id="sample_3">
                                <thead>
                                    <tr>

                                        <th style="width: 2%;">No</th>
                                        <th style="width:9%;">Date</th>
                                        <th  style="width: 4%;">Show</th>
                                        <th  style="width: 4%;">Delete</th>

                                    </tr>
                                </thead>
                                <tbody>
                                    <?php if (!empty($_smarty_tpl->tpl_vars['allGtImage']->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['allGtImage']->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>

                                        <td><?php echo $_smarty_tpl->tpl_vars['m']->value;?>
</td>
                                        <td><?php echo $_smarty_tpl->tpl_vars['single']->value->gdate;?>
</td>
                                        <td>
                                            <a href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
.php?ac=showdata&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 removeMsg" data-id="<?php echo $_smarty_tpl->tpl_vars['single']->value->id;?>
" data-link="<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
"><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 }else{ ?>
                                    No Data
                                    <?php }?>
                                </tbody>

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




<?php }} ?>