<?php /* Smarty version Smarty-3.1.11, created on 2021-08-28 11:35:05
         compiled from "..\views\screen\op\result.html" */ ?>
<?php /*%%SmartyHeaderCode:9652612a0349019fd9-40300713%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd2185021931b261e85e4e7a94989924cd8dffc7d' => 
    array (
      0 => '..\\views\\screen\\op\\result.html',
      1 => 1629969850,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '9652612a0349019fd9-40300713',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'rooms_info' => 0,
    'single' => 0,
    'op_itr' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_612a03493ea8c5_98090437',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_612a03493ea8c5_98090437')) {function content_612a03493ea8c5_98090437($_smarty_tpl) {?><table class="table table-striped table-hover ">
    <thead>
    <tr>
        <th colspan="5" class="bg1" style="padding: 10px!important;">غرفة عمليات رقم 1</th>
    </tr>
    <tr class=" bb">
        <th>الدخول - الخروج</th>
        <th> الطبيب المعالج</th>
        <th> اسم العملية</th>
        <th> اسم الحالة</th>
        <th> غرفة الاقامة</th>
    </tr>
    </thead>
    <tbody>

    <?php $_smarty_tpl->tpl_vars['op_itr'] = 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['rooms_info']->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;
?>
    <?php if ($_smarty_tpl->tpl_vars['single']->value->room_no==4&&$_smarty_tpl->tpl_vars['op_itr']->value<=3){?>
    <tr class="<?php if ($_smarty_tpl->tpl_vars['op_itr']->value==1){?>even bg-success<?php }elseif($_smarty_tpl->tpl_vars['op_itr']->value==2){?>bg-info bb<?php }?>">
        <td><?php echo $_smarty_tpl->tpl_vars['single']->value->enterance;?>
 - <?php echo $_smarty_tpl->tpl_vars['single']->value->p_exit;?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['single']->value->doctor_name;?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['single']->value->operation_name;?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['single']->value->patient_name;?>
</td>
        <td>غرفة <?php echo $_smarty_tpl->tpl_vars['single']->value->res_room_name;?>
</td>
    </tr>
    <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'op_itr', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['op_itr']->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>
<table class="table table-striped table-hover ">
    <thead>
    <tr>
        <th colspan="5" class="bg2" style="padding: 10px!important;">غرفة عمليات رقم 2</th>
    </tr>
    <tr class=" bb">
        <th>الدخول - الخروج</th>
        <th> الطبيب المعالج</th>
        <th> اسم العملية</th>
        <th> اسم الحالة</th>
        <th> غرفة الاقامة</th>
    </tr>
    </thead>
    <tbody>

    <?php $_smarty_tpl->tpl_vars['op_itr'] = 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['rooms_info']->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;
?>
    <?php if ($_smarty_tpl->tpl_vars['single']->value->room_no==5&&$_smarty_tpl->tpl_vars['op_itr']->value<=3){?>
    <tr class="<?php if ($_smarty_tpl->tpl_vars['op_itr']->value==1){?>even bg-success<?php }elseif($_smarty_tpl->tpl_vars['op_itr']->value==2){?>bg-info bb<?php }?>">
        <td><?php echo $_smarty_tpl->tpl_vars['single']->value->enterance;?>
 - <?php echo $_smarty_tpl->tpl_vars['single']->value->p_exit;?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['single']->value->doctor_name;?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['single']->value->operation_name;?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['single']->value->patient_name;?>
</td>
        <td>غرفة <?php echo $_smarty_tpl->tpl_vars['single']->value->res_room_name;?>
</td>
    </tr>
    <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'op_itr', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['op_itr']->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>
<table class="table table-striped table-hover ">
    <thead>
    <tr>
        <th colspan="5" class="bg3" style="padding: 10px!important;">غرفة عمليات رقم 3</th>
    </tr>
    <tr class=" bb">
        <th>الدخول - الخروج</th>
        <th> الطبيب المعالج</th>
        <th> اسم العملية</th>
        <th> اسم الحالة</th>
        <th> غرفة الاقامة</th>
    </tr>
    </thead>
    <tbody>
    <?php $_smarty_tpl->tpl_vars['op_itr'] = 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['rooms_info']->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;
?>
    <?php if ($_smarty_tpl->tpl_vars['single']->value->room_no==6&&$_smarty_tpl->tpl_vars['op_itr']->value<=3){?>
    <tr class="<?php if ($_smarty_tpl->tpl_vars['op_itr']->value==1){?>even bg-success<?php }elseif($_smarty_tpl->tpl_vars['op_itr']->value==2){?>bg-info bb<?php }?>">
        <td><?php echo $_smarty_tpl->tpl_vars['single']->value->enterance;?>
 - <?php echo $_smarty_tpl->tpl_vars['single']->value->p_exit;?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['single']->value->doctor_name;?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['single']->value->operation_name;?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['single']->value->patient_name;?>
</td>
        <td>غرفة <?php echo $_smarty_tpl->tpl_vars['single']->value->res_room_name;?>
</td>
    </tr>
    <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'op_itr', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['op_itr']->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>
<table class="table table-striped table-hover ">
    <thead>
    <tr>
        <th colspan="5" class="bg4" style="padding: 10px!important;">غرفة عمليات رقم 4</th>
    </tr>
    <tr class=" bb">
        <th>الدخول - الخروج</th>
        <th> الطبيب المعالج</th>
        <th> اسم العملية</th>
        <th> اسم الحالة</th>
        <th> غرفة الاقامة</th>
    </tr>
    </thead>
    <tbody>
    <?php $_smarty_tpl->tpl_vars['op_itr'] = 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['rooms_info']->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;
?>
    <?php if ($_smarty_tpl->tpl_vars['single']->value->room_no==7&&$_smarty_tpl->tpl_vars['op_itr']->value<=3){?>
    <tr class="<?php if ($_smarty_tpl->tpl_vars['op_itr']->value==1){?>even bg-success<?php }elseif($_smarty_tpl->tpl_vars['op_itr']->value==2){?>bg-info bb<?php }?>">
        <td><?php echo $_smarty_tpl->tpl_vars['single']->value->enterance;?>
 - <?php echo $_smarty_tpl->tpl_vars['single']->value->p_exit;?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['single']->value->doctor_name;?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['single']->value->operation_name;?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['single']->value->patient_name;?>
</td>
        <td>غرفة <?php echo $_smarty_tpl->tpl_vars['single']->value->res_room_name;?>
</td>
    </tr>
    <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'op_itr', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['op_itr']->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>
<?php }} ?>