<?php /* Smarty version Smarty-3.1.11, created on 2023-08-16 18:30:42
         compiled from "..\views\obgy\residence_rooms\show.html" */ ?>
<?php /*%%SmartyHeaderCode:1425864dcf9b2235809-22421903%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '6efd65842c42eda2dc3ca48021a4d692de137cb0' => 
    array (
      0 => '..\\views\\obgy\\residence_rooms\\show.html',
      1 => 1627227600,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1425864dcf9b2235809-22421903',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'shcontrollname' => 0,
    'hosturl' => 0,
    'controllname' => 0,
    'residence_rooms' => 0,
    'single' => 0,
    'tableName' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_64dcf9b23b7c98_35832665',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_64dcf9b23b7c98_35832665')) {function content_64dcf9b23b7c98_35832665($_smarty_tpl) {?><div class="page-content-wrapper">
    <div class="page-content">
        <div class="row">
            <div class="col-md-12">
                <div class="portlet box blue">
                    <div class="portlet-title" style="height:5px">
                        <div class="caption">
                            <i class="fa fa-edit"></i> <?php echo $_smarty_tpl->tpl_vars['shcontrollname']->value;?>

                        </div>

                        <div class="actions">
                            <a class="btn default btn-xs blue tooltips" href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
.php?ac=index" id="btn_showm_index" >
                                <i class="fa  fa-plus"></i>Add New
                            </a>
                        </div>


                    </div>
                    <div class="portlet-body " >
                        <table class="table table-striped table-bordered table-hover table-checkable order-column" id="sample_3">
                            <thead>
                                <tr>
                                    <th>
                                        Name
                                    </th>
                                    <th>
                                        Working Hours : Daily
                                    </th>
                                    <th>
                                        Creation Date
                                    </th>
                                    <th width="5%" class="btn_showm_edit"></th>
                                    <th width="5%" class="btn_showm_del"></th>
                                </tr>
                            </thead>
                            <tbody>
                                <?php  $_smarty_tpl->tpl_vars['single'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['single']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['residence_rooms']->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['single']->value->name;?>

                                    </td>
                                    <td>
                                        From  <?php echo $_smarty_tpl->tpl_vars['single']->value->start_time;?>
 To  <?php echo $_smarty_tpl->tpl_vars['single']->value->end_time;?>

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

                                    </td>
                                    <td class="btn_showm_edit">
                                        <a href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
.php?ac=edit&id=<?php echo $_smarty_tpl->tpl_vars['single']->value->id;?>
" class="btn blue-hoki btn-xs">
                                            <i class="fa fa-pencil"></i> 
                                        </a>
                                    </td>
                                    <td class="btn_showm_del">
                                        <a class="btn grey-cascade btn-xs deletemsgEX" data-id="<?php echo $_smarty_tpl->tpl_vars['single']->value->id;?>
" 
                                           data-link="<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
" data-fn="del" data-tableName="<?php echo $_smarty_tpl->tpl_vars['tableName']->value;?>
" >
                                            <i class="fa fa-times"></i>
                                        </a>

                                    </td>
                                </tr>
                                <?php } ?>
                            </tbody>
                        </table>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>








<?php }} ?>