<?php /* Smarty version Smarty-3.1.11, created on 2024-03-24 12:05:45
         compiled from "../views/obgy/gyna/showRays.html" */ ?>
<?php /*%%SmartyHeaderCode:4121844765fffafa003314-96298824%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '467b1671fbcfe614ca04f74d02388eab90803134' => 
    array (
      0 => '../views/obgy/gyna/showRays.html',
      1 => 1509367772,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '4121844765fffafa003314-96298824',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'dates' => 0,
    'inv' => 0,
    'countWife' => 0,
    'invest' => 0,
    'hosturl' => 0,
    'countHusband' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_65fffafa0694f1_12046247',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_65fffafa0694f1_12046247')) {function content_65fffafa0694f1_12046247($_smarty_tpl) {?>



<table class="table table-striped table-hover table-bordered">
    <thead>
        <tr>
            <th class="bold col-md-1"> <div align="center">Date </div></th>
            <th class="bold"> <div align="center">Rays </div></th>
        </tr>
    </thead>


    <tbody>
        <?php  $_smarty_tpl->tpl_vars['inv'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['inv']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['dates']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['inv']->key => $_smarty_tpl->tpl_vars['inv']->value){
$_smarty_tpl->tpl_vars['inv']->_loop = true;
?>
        <tr>
            <td><?php echo $_smarty_tpl->tpl_vars['inv']->value["date"];?>
</td>
            <td>
                <table class="table table-striped table-hover table-bordered">
                    <?php if ($_smarty_tpl->tpl_vars['countWife']->value[$_smarty_tpl->tpl_vars['inv']->value["date"]]>0){?>
                    <tr>
                        <td class="bold col-md-1">
                            Wife
                        </td>
                        <td>
                            <?php  $_smarty_tpl->tpl_vars['invest'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['invest']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['inv']->value['raysw']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['invest']->key => $_smarty_tpl->tpl_vars['invest']->value){
$_smarty_tpl->tpl_vars['invest']->_loop = true;
?>

                            <div class="form-group " style=" width: 50%; float: left; ">
                                <label class="col-md-4 control-label bold txtl" style=" font-size: 16px; margin-left: 4px;"><?php echo $_smarty_tpl->tpl_vars['invest']->value->invname;?>
:</label>
                                <div class="col-md-6">
                                    <input type="text" class="form-control updateElement" data-colName="rayresult" data-id="<?php echo $_smarty_tpl->tpl_vars['invest']->value->id;?>
"  data-tableName="gynarays" value="<?php echo $_smarty_tpl->tpl_vars['invest']->value->rayresult;?>
">

                                </div>
                                <?php if ($_smarty_tpl->tpl_vars['invest']->value->rayimg){?>
                                <a class="btn blue" target="_blank"   title="تنزيل " href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/rayimg/<?php echo $_smarty_tpl->tpl_vars['invest']->value->rayimg;?>
"> <i class="fa fa-download"></i>  </a>
                                <?php }?>
                            </div>
                            <?php } ?>
                        </td>
                        <td class="col-md-1"><button type="button" class="btn green btn-block btn-xs printRayShow" data-for="wife"  data-date="<?php echo $_smarty_tpl->tpl_vars['inv']->value['date'];?>
"  data-controller="gyna">  Print  </button></td>
                        <td class="col-md-1">
                            <a class="btn grey-cascade btn-xs delNew" data-id="1" data-for="0" data-date="<?php echo $_smarty_tpl->tpl_vars['inv']->value['date'];?>
" style=" float: left;" href="#" data-link="gyna" data-fn="del" data-tableName="gynarays">
                                <i class="fa fa-close"></i>
                            </a>
                        </td>
                    </tr>
                    <?php }?>
                    <?php if ($_smarty_tpl->tpl_vars['countHusband']->value[$_smarty_tpl->tpl_vars['inv']->value["date"]]>0){?>
                    <tr>
                        <td class="bold col-md-1">
                            Husband
                        </td>

                        <td>

                            <?php  $_smarty_tpl->tpl_vars['invest'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['invest']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['inv']->value['raysh']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['invest']->key => $_smarty_tpl->tpl_vars['invest']->value){
$_smarty_tpl->tpl_vars['invest']->_loop = true;
?>

                            <div class="form-group " style=" width: 50%; float: left; ">
                                <label class="col-md-4 control-label bold txtl" style=" font-size: 16px; margin-left: 4px;"><?php echo $_smarty_tpl->tpl_vars['invest']->value->invname;?>
:</label>
                                <div class="col-md-6">
                                    <input type="text" class="form-control updateElement" data-colName="rayresult" data-id="<?php echo $_smarty_tpl->tpl_vars['invest']->value->id;?>
"  data-tableName="gynarays" value="<?php echo $_smarty_tpl->tpl_vars['invest']->value->rayresult;?>
">

                                </div>
                                <?php if ($_smarty_tpl->tpl_vars['invest']->value->rayimg){?>
                                <a class="btn blue" target="_blank"   title="تنزيل " href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/rayimg/<?php echo $_smarty_tpl->tpl_vars['invest']->value->rayimg;?>
"> <i class="fa fa-download"></i>  </a>
                                <?php }?>
                            </div>
                            <?php } ?>
                        </td>
                        <td class="col-md-1"><button type="button" class="btn green btn-block btn-xs printRayShow" data-for="husband"  data-date="<?php echo $_smarty_tpl->tpl_vars['inv']->value['date'];?>
"  data-controller="gyna">  Print  </button></td>
                        <td class="col-md-1">
                            <a class="btn grey-cascade btn-xs delNew" data-id="1" data-for="1" data-date="<?php echo $_smarty_tpl->tpl_vars['inv']->value['date'];?>
" style=" float: left;" href="#" data-link="gyna" data-fn="del" data-tableName="gynarays">
                                <i class="fa fa-close"></i>
                            </a>
                        </td>
                    </tr>
                    <?php }?>
                </table>
            </td>
        </tr>
        <?php } ?>
    </tbody>

</table><?php }} ?>