<?php /* Smarty version Smarty-3.1.11, created on 2024-11-13 13:58:23
         compiled from "../views/obgy/ivf_reports/semen_show.html" */ ?>
<?php /*%%SmartyHeaderCode:7069707756734945fad6729-00901472%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '5833d9be6e78ee3a78be120cb1b3a349fd659fb2' => 
    array (
      0 => '../views/obgy/ivf_reports/semen_show.html',
      1 => 1661854236,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '7069707756734945fad6729-00901472',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'hosturl' => 0,
    'controllname' => 0,
    'patientId' => 0,
    'semen_analysis' => 0,
    'm' => 0,
    'single' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_673494601dd7e0_19796315',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_673494601dd7e0_19796315')) {function content_673494601dd7e0_19796315($_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>Semen Analysis Report
                        </div>
                        <div class="actions">
                            <a href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
.php?ac=semen_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>
                    <div class="portlet-body">

                        <table class="table table-striped table-bordered table-hover" id="sample_3">
                            <thead>
                                <tr>
                                    <th width="7%">No</th>
                                    <th>Date</th>
                                    <th>Referred Dr</th>
                                    <!--th width="5%">Print</th-->
                                    <th width="5%">Edit</th>
                                    <th width="5%">Delete</th>
                                </tr>
                            </thead>
                            <tbody>
                                <?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['semen_analysis']->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['semen_date'];?>
</td>
                                    <td><?php if (!empty($_smarty_tpl->tpl_vars['single']->value['referred_dr_name'])){?><?php echo $_smarty_tpl->tpl_vars['single']->value['referred_dr_name'];?>
<?php }else{ ?>لايوجد<?php }?></td>
                                    <!--td><a  class="btn btn-default btn-xs printembryoslab" 
                                            data-intId="<?php echo $_smarty_tpl->tpl_vars['single']->value['embryoslab_id'];?>
" data-print="yes" 
                                            data-patientId="<?php echo $_smarty_tpl->tpl_vars['patientId']->value;?>
"><i class="fa fa-print"></i> Print 
                                        </a>
                                    </td-->
                                    <td>
                                        <a href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
.php?ac=semen_edit&id=<?php echo $_smarty_tpl->tpl_vars['single']->value['id'];?>
&patientid=<?php echo $_smarty_tpl->tpl_vars['patientId']->value;?>
" class="btn green btn-block btn-xs"><i class="fa fa-pencil"></i> Edit</a>
                                    </td>
                                    <td>
                                        <a class="btn grey-cascade btn-xs deletemsgEX" data-id="<?php echo $_smarty_tpl->tpl_vars['single']->value['id'];?>
"   data-tableName="semen_analysis"
                                           data-link="<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
"  data-fn="del"><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 } ?>
                            </tbody>

                        </table>
                        <div id="printDiv"></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</div>




<?php }} ?>