<?php /* Smarty version Smarty-3.1.11, created on 2025-06-23 11:27:47
         compiled from "..\views\screen\index.html" */ ?>
<?php /*%%SmartyHeaderCode:536360c8d4c13fb764-66714868%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '05011156fdbf0dff4acc92849095d8c1528dd7f7' => 
    array (
      0 => '..\\views\\screen\\index.html',
      1 => 1750670787,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '536360c8d4c13fb764-66714868',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_60c8d4c1532679_46176232',
  'variables' => 
  array (
    'path' => 0,
    'hosturl' => 0,
    'residence_room' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_60c8d4c1532679_46176232')) {function content_60c8d4c1532679_46176232($_smarty_tpl) {?><!doctype html>
<html lang="zxx">
   
<head>
      <!-- REQUIRED META TAGS -->
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
      <meta name="" content="">
      <!-- DESCRIPTION -->
      <meta name="description" content="">
      <!-- KEYWORDS -->
      <meta name="keywords" content="" >
      <!-- PAGE TITLE HERE -->
      <title>مركز رويال للخصوبة</title>
      <!-- MOBILE SPECIFIC -->
      <meta name="viewport" content="width=device-width, initial-scale=1">

      <!-- STYLESHEETS -->
       <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/assets/css/plugins.css">
      <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/assets/css/default.css">
      <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/assets/css/style.css">
      <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/assets/css/responsive.css">
      <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/assets/css/bootstrap-rtl.min.css">
      <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/assets/css/custom-rtl.css">
     
   </head>
   <body class="mockup-5">
   <input type="hidden" id="hosturl" value="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
"/>
   <input type="hidden" id="room_id" value="<?php echo $_smarty_tpl->tpl_vars['residence_room']->value->id;?>
"/>

             <!-- ====== Wraper ====== -->
               <div class="wraper d-flex align-items-center" style=' background-image: url("<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/residence_rooms/<?php echo $_smarty_tpl->tpl_vars['residence_room']->value->image;?>
");
                    background-position: center; background-repeat: no-repeat; background-color: #000;' >
      
               </div>
         
           
         </div>
       </div>
   
     
     
     
      <!-- JAVASCRIPT FILES ========================================= -->
      <script src="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/assets/js/jquery.min.js"></script><!-- JQUERY.MIN JS -->
      <script src="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/assets/plugins/bootstrap/js/popper.min.js"></script><!-- POPPER JS -->
      <script src="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/assets/plugins/bootstrap/js/bootstrap.min.js"></script><!-- BOOTSTRAP JS -->
     
      <script src="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/assets/js/custom.js"></script><!-- CUSTOM FUCTIONS  -->

   
   <script>
       $(document).ready(function () {
           var host_url = $('#hosturl').val();
           var room_id = $('#room_id').val();

           setInterval(function(){  
               $.post(host_url+'/controllers/index.php?ac=roomimage',{room_id:room_id},function (result) {
                 
                   $('#roomImg').attr('src' , result);
               });
           }, 120000); //120000
       });
   </script>
   

   </body>

</html><?php }} ?>