<?php /* Smarty version Smarty-3.1.11, created on 2023-08-16 18:30:44
         compiled from "..\views\obgy\residence_rooms\add.html" */ ?>
<?php /*%%SmartyHeaderCode:896364dcf9b4e7f850-11929708%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '0ff61f6f30065d4efe147def1bbcd8b7e6ab699a' => 
    array (
      0 => '..\\views\\obgy\\residence_rooms\\add.html',
      1 => 1656417410,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '896364dcf9b4e7f850-11929708',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'shcontrollname' => 0,
    'hosturl' => 0,
    'controllname' => 0,
    'floors' => 0,
    'floor' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_64dcf9b50d54a8_62657356',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_64dcf9b50d54a8_62657356')) {function content_64dcf9b50d54a8_62657356($_smarty_tpl) {?><!-- BEGIN CONTENT -->
<div class="page-content-wrapper">
    <div class="page-content">
        <!-- BEGIN PAGE HEADER-->
        <h3 class="page-title">
            <?php echo $_smarty_tpl->tpl_vars['shcontrollname']->value;?>

        </h3>
        <!-- END PAGE HEADER-->
        <!-- BEGIN PAGE CONTENT-->
        <div class="row">
            <div class="col-md-12">
                <div class="portlet light bg-inverse">
                    <div class="portlet-title">
                        <div class="caption">
                            <i class="icon-plus font-red-sunglo"></i>
                            <span class="caption-subject font-red-sunglo bold uppercase">Add New In  <?php echo $_smarty_tpl->tpl_vars['shcontrollname']->value;?>
</span>
                        </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=show" data-container="body" data-placement="top"
                               data-original-title="<?php echo @ad_lang_back_btn;?>
" class="btn btn-sm blue tooltips">
                                <i class="fa fa-list"></i>Back </a>
                        </div>
                    </div>
                    <div class="portlet-body form">
                        <!-- BEGIN FORM-->
                        <form action="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
.php?ac=add" method="post" class="form-horizontal vform"
                              enctype="multipart/form-data">
                            <div class="form-body">
                                <div class="alert alert-danger display-hide">
                                    <button class="close" data-close="alert"></button>
                                    <?php echo @ad_lang_message_error;?>

                                </div>
                                <div class="alert alert-success display-hide">
                                    <button class="close" data-close="alert"></button>
                                    <?php echo @ad_lang_message_success;?>

                                </div>

                                <div class="form-group form-md-line-input">
                                    <label class="col-md-1 control-label txtl" for="name">Name</label>
                                    <div class="col-md-11">
                                        <input type="text" class="form-control" name="name" id="name"
                                               placeholder="اسم الغرفه  " required="required">
                                        <div class="form-control-focus">
                                        </div>
                                    </div>
                                </div>

                                <div class="form-group form-md-line-input col-md-4">
                                    <label class="col-md-2 control-label txtl" for="operation_start_time">From</label>
                                    <div class="col-md-10">
                                        <input type="text" class="form-control timepicker timepicker-24 notPop" name="start_time"
                                               id="operation_start_time" required="required" readonly="readonly">
                                        <div class="form-control-focus">
                                        </div>
                                    </div>
                                </div>

                                <div class="form-group form-md-line-input col-md-4">
                                    <label class="col-md-2 control-label txtl" for="operation_end_time">To</label>
                                    <div class="col-md-10">
                                        <input type="text" class="form-control timepicker timepicker-24 notPop" name="end_time"
                                               id="operation_end_time" required="required" readonly="readonly">
                                        <div class="form-control-focus">
                                        </div>
                                    </div>
                                </div>

                                <div class="form-group form-md-line-input  col-md-4">
                                    <label class="col-md-4 control-label txtl">Floor no. </label>
                                    <div class="col-md-8">
                                        <select class="form-control select2me " data-placeholder="اختر دور"
                                                name="floor_no" id="floor_no" required="">
                                            <option value="">choose</option>
                                            <?php  $_smarty_tpl->tpl_vars['floor'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['floor']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['floors']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['floor']->key => $_smarty_tpl->tpl_vars['floor']->value){
$_smarty_tpl->tpl_vars['floor']->_loop = true;
?>
                                            <option value="<?php echo $_smarty_tpl->tpl_vars['floor']->value->id;?>
"  >  <?php echo $_smarty_tpl->tpl_vars['floor']->value->name;?>
</option>
                                            <?php } ?>
                                            <option value="-2" class="deleteoptincompo">حذف</option>
                                        </select>
                                    </div>
                                </div>

                            </div>

                            <div class="form-actions">
                                <div class="row">
                                    <div class="col-md-offset-3 col-md-4">
                                        <button type="submit" class="btn green">Save</button>
                                        <button type="button" class="btn default rtnshow" data-controll="<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
">Cancel</button>
                                    </div>
                                </div>
                            </div>
                        </form>
                        <!-- END FORM-->
                    </div>
                </div>
            </div>
        </div>
        <!-- END PAGE CONTENT-->
    </div>
</div>
<!-- END CONTENT --><?php }} ?>