var/cache/dev/twig/93/93642fe49439ae078f40678132b144d1591c53b4b7159ca18475921998c6d6e7.php line 42

Open in your IDE?
  1. <?php
  2. /* page/index.html.twig */
  3. class __TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514 extends Twig_Template
  4. {
  5.     public function __construct(Twig_Environment $env)
  6.     {
  7.         parent::__construct($env);
  8.         // line 1
  9.         $this->parent $this->loadTemplate("base.html.twig""page/index.html.twig"1);
  10.         $this->blocks = array(
  11.             'meta' => array($this'block_meta'),
  12.             'title' => array($this'block_title'),
  13.             'body' => array($this'block_body'),
  14.             'javascripts' => array($this'block_javascripts'),
  15.         );
  16.     }
  17.     protected function doGetParent(array $context)
  18.     {
  19.         return "base.html.twig";
  20.     }
  21.     protected function doDisplay(array $context, array $blocks = array())
  22.     {
  23.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
  24.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template""page/index.html.twig"));
  25.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
  26.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template""page/index.html.twig"));
  27.         // line 2
  28.         $context["metaParams"] = array("title" => $this->getAttribute(        // line 3
  29. ($context["page"] ?? $this->getContext($context"page")), "pageTitle", array()), "description" => $this->getAttribute(        // line 4
  30. ($context["page"] ?? $this->getContext($context"page")), "metaDescription", array()), "keywords" => $this->getAttribute(        // line 5
  31. ($context["page"] ?? $this->getContext($context"page")), "metaKeywords", array()), "ogImage" => $this->getAttribute(        // line 6
  32. ($context["page"] ?? $this->getContext($context"page")), "pageOgImage", array()));
  33.         // line 12
  34.         $context["homeActive"] = true;
  35.         // line 1
  36.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  37.         
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  39.         
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  41.     }
  42.     // line 8
  43.     public function block_meta($context, array $blocks = array())
  44.     {
  45.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
  46.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block""meta"));
  47.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
  48.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block""meta"));
  49.         // line 9
  50.         echo "    ";
  51.         $this->loadTemplate("parts/meta.html.twig""page/index.html.twig"9)->display(array_merge($context, ($context["metaParams"] ?? $this->getContext($context"metaParams"))));
  52.         
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  54.         
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  56.     }
  57.     // line 11
  58.     public function block_title($context, array $blocks = array())
  59.     {
  60.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
  61.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block""title"));
  62.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
  63.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block""title"));
  64.         $this->displayParentBlock("title"$context$blocks);
  65.         echo " ";
  66.         echo twig_escape_filter($this->env$this->getAttribute(($context["page"] ?? $this->getContext($context"page")), "pageTitle", array()), "html"nulltrue);
  67.         
  68.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  69.         
  70.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  71.     }
  72.     // line 13
  73.     public function block_body($context, array $blocks = array())
  74.     {
  75.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
  76.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block""body"));
  77.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
  78.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block""body"));
  79.         // line 14
  80.         echo "    <div class=\"position-relative\">
  81.         <div class=\"owl-carousel owl-theme main-owl\">
  82.             ";
  83.         // line 16
  84.         $context['_parent'] = $context;
  85.         $context['_seq'] = twig_ensure_traversable(($context["sliders"] ?? $this->getContext($context"sliders")));
  86.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  87.             // line 17
  88.             echo "                <div class=\"item\"
  89.                      style=\"background-image:linear-gradient(#8a8a8a45,#00000080),url(";
  90.             // line 18
  91.             echo twig_escape_filter($this->env$this->getAttribute($context["item"], "ogImage", array()), "html"nulltrue);
  92.             echo "); height: 100%;\">
  93.                     <h3>";
  94.             // line 19
  95.             echo twig_escape_filter($this->env$this->getAttribute($context["item"], "title", array()), "html"nulltrue);
  96.             echo "</h3>
  97.                     ";
  98.             // line 21
  99.             echo "                </div>
  100.             ";
  101.         }
  102.         $_parent $context['_parent'];
  103.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  104.         $context array_intersect_key($context$_parent) + $_parent;
  105.         // line 23
  106.         echo "        </div>
  107.         <div class=\"form-hotel\">
  108.             <div class=\"container\">
  109.                 <div class=\"form-hotel-body\">
  110.                     <h4>";
  111.         // line 27
  112.         echo twig_escape_filter($this->env$this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Find a Room"), "html"nulltrue);
  113.         echo "</h4>
  114.                     <form action=\"#!\" id=\"form\" method=\"get\">
  115.                         <div class=\"input-daterange\">
  116.                             <div class=\"row\">
  117.                                 <div class=\"booking-fields form-group col-md-3\" >
  118.                                     <input  id=\"form-arrival\" autocomplete=\"off\" placeholder=\"Check in\" class=\"datepicker-fields form-control check-in\" type=\"text\"
  119.                                            name=\"date\"/>
  120.                                 </div>
  121.                                 <div class=\"booking-fields form-group col-md-3\" style=\"\">
  122.                                     <input id=\"form-departure\" autocomplete=\"off\" placeholder=\"Check out\" class=\"datepicker-fields form-control check-out\" type=\"text\"
  123.                                           />
  124.                                     <input type=\"hidden\" name=\"nights\" id=\"nights\">
  125.                                 </div>
  126.                                 <div class=\"form-group col-md-2\">
  127.                                     <select name=\"adults\" id=\"adults\" class=\"form-control\">
  128.                                         <option value=\"\">";
  129.         // line 44
  130.         echo twig_escape_filter($this->env$this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Adult"), "html"nulltrue);
  131.         echo "</option>
  132.                                         <option value=\"1\">1</option>
  133.                                         <option value=\"2\">2</option>
  134.                                         <option value=\"3\">3</option>
  135.                                         <option value=\"4\">4</option>
  136.                                         <option value=\"5\">5</option>
  137.                                     </select>
  138.                                 </div>
  139.                                 <div class=\"form-group col-md-2\">
  140.                                     <select name=\"children\" id=\"children\" class=\"form-control\">
  141.                                         <option value=\"\">";
  142.         // line 54
  143.         echo twig_escape_filter($this->env$this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Child"), "html"nulltrue);
  144.         echo "</option>
  145.                                         <option value=\"1\">1</option>
  146.                                         <option value=\"2\">2</option>
  147.                                         <option value=\"3\">3</option>
  148.                                         <option value=\"4\">4</option>
  149.                                         <option value=\"5\">5</option>
  150.                                     </select>
  151.                                 </div>
  152.                                 <div class=\"form-group col-md-2\">
  153.                                     <button class=\"btn-ramada-2 hvr-sweep-to-right\"
  154.                                             style=\"width: 100%;\">";
  155.         // line 64
  156.         echo twig_escape_filter($this->env$this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Book"), "html"nulltrue);
  157.         echo "</button>
  158.                                 </div>
  159.                             </div>
  160.                         </div>
  161.                     </form>
  162.                 </div>
  163.             </div>
  164.         </div>
  165.     </div>
  166.     <section>
  167.         <div class=\"container\">
  168.             <div class=\"section-title\">
  169.                 <h3>";
  170.         // line 77
  171.         echo twig_escape_filter($this->env$this->getAttribute(($context["aboutPage"] ?? $this->getContext($context"aboutPage")), "pageTitle", array()), "html"nulltrue);
  172.         echo "</h3>
  173.             </div>
  174.             <div class=\"row align-items-center\">
  175.                 <div class=\"col-md-12\">
  176.                     <h4 class=\"about-header text-justify\">
  177.                         ";
  178.         // line 82
  179.         echo twig_escape_filter($this->env$this->getAttribute(($context["aboutPage"] ?? $this->getContext($context"aboutPage")), "pageShortText", array()), "html"nulltrue);
  180.         echo "
  181.                     </h4>
  182.                     <div class=\"mb-4\"></div>
  183.                     <a href=\"";
  184.         // line 85
  185.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("about_page");
  186.         echo "\" class=\"btn-about btn-ramada hvr-sweep-to-right\"
  187.                        style=\"float: right;\">";
  188.         // line 86
  189.         echo twig_escape_filter($this->env$this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("About"), "html"nulltrue);
  190.         echo "</a>
  191.                 </div>
  192.             </div>
  193.         </div>
  194.     </section>
  195.     <!--Luxury Room Section-->
  196.     <section id=\"luxury-rooms\" class=\"clearfix\">
  197.         <div class=\"room-boxes col-sm-6 col-md-3\">
  198.             <a href=\"";
  199.         // line 95
  200.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("rooms_list_page");
  201.         echo "\" class=\"inner-container\" data-bg=\"";
  202.         echo twig_escape_filter($this->env$this->getAttribute(($context["roomPage"] ?? $this->getContext($context"roomPage")), "pageOgImage", array()), "html"nulltrue);
  203.         echo "\">
  204. \t\t\t\t\t<span class=\"ravis-title\">
  205. \t\t\t\t\t\t<span class=\"inner-box\">
  206. \t\t\t\t\t\t\t<span class=\"title luxury-item\">";
  207.         // line 98
  208.         echo twig_escape_filter($this->env$this->getAttribute(($context["roomPage"] ?? $this->getContext($context"roomPage")), "pageTitle", array()), "html"nulltrue);
  209.         echo "</span>
  210. \t\t\t\t\t\t\t<span class=\"sub-title text-white\">";
  211.         // line 99
  212.         echo twig_escape_filter($this->env$this->getAttribute(($context["roomPage"] ?? $this->getContext($context"roomPage")), "pageShortText", array()), "html"nulltrue);
  213.         echo "</span>
  214. \t\t\t\t\t\t</span>
  215. \t\t\t\t\t</span>
  216.             </a>
  217.         </div>
  218.         <div class=\"room-boxes col-sm-6 col-md-3\">
  219.             <a href=\"";
  220.         // line 105
  221.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("events_list_page");
  222.         echo "\" class=\"inner-container\" data-bg=\"";
  223.         echo twig_escape_filter($this->env$this->getAttribute(($context["eventsPage"] ?? $this->getContext($context"eventsPage")), "pageOgImage", array()), "html"nulltrue);
  224.         echo "\">
  225. \t\t\t\t\t<span class=\"ravis-title\">
  226. \t\t\t\t\t\t<span class=\"inner-box\">
  227. \t\t\t\t\t\t\t<span class=\"title luxury-item\">";
  228.         // line 108
  229.         echo twig_escape_filter($this->env$this->getAttribute(($context["eventsPage"] ?? $this->getContext($context"eventsPage")), "pageTitle", array()), "html"nulltrue);
  230.         echo "</span>
  231. \t\t\t\t\t\t\t<span class=\"sub-title text-white\">";
  232.         // line 109
  233.         echo twig_escape_filter($this->env$this->getAttribute(($context["eventsPage"] ?? $this->getContext($context"eventsPage")), "pageShortText", array()), "html"nulltrue);
  234.         echo "</span>
  235. \t\t\t\t\t\t</span>
  236. \t\t\t\t\t</span>
  237.             </a>
  238.         </div>
  239.         <div class=\"room-boxes col-sm-6 col-md-3\">
  240.             <a href=\"";
  241.         // line 115
  242.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("dining_page");
  243.         echo "\" class=\"inner-container\" data-bg=\"";
  244.         echo twig_escape_filter($this->env$this->getAttribute(($context["diningPage"] ?? $this->getContext($context"diningPage")), "pageOgImage", array()), "html"nulltrue);
  245.         echo "\">
  246. \t\t\t\t\t<span class=\"ravis-title\">
  247. \t\t\t\t\t\t<span class=\"inner-box\">
  248. \t\t\t\t\t\t\t<span class=\"title luxury-item\">";
  249.         // line 118
  250.         echo twig_escape_filter($this->env$this->getAttribute(($context["diningPage"] ?? $this->getContext($context"diningPage")), "pageTitle", array()), "html"nulltrue);
  251.         echo "</span>
  252. \t\t\t\t\t\t\t<span class=\"sub-title text-white\">";
  253.         // line 119
  254.         echo twig_escape_filter($this->env$this->getAttribute(($context["diningPage"] ?? $this->getContext($context"diningPage")), "pageShortText", array()), "html"nulltrue);
  255.         echo "\"</span>
  256. \t\t\t\t\t\t</span>
  257. \t\t\t\t\t</span>
  258.             </a>
  259.         </div>
  260.         <div class=\"room-boxes col-sm-6 col-md-3\">
  261.             <a href=\"";
  262.         // line 125
  263.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("fitness_page");
  264.         echo "\" class=\"inner-container\" data-bg=\"";
  265.         echo twig_escape_filter($this->env$this->getAttribute(($context["fitnessPage"] ?? $this->getContext($context"fitnessPage")), "pageOgImage", array()), "html"nulltrue);
  266.         echo "\">
  267. \t\t\t\t\t<span class=\"ravis-title\">
  268. \t\t\t\t\t\t<span class=\"inner-box\">
  269. \t\t\t\t\t\t\t<span class=\"title luxury-item\">";
  270.         // line 128
  271.         echo twig_escape_filter($this->env$this->getAttribute(($context["fitnessPage"] ?? $this->getContext($context"fitnessPage")), "pageTitle", array()), "html"nulltrue);
  272.         echo "</span>
  273. \t\t\t\t\t\t\t<span class=\"sub-title text-white\">";
  274.         // line 129
  275.         echo twig_escape_filter($this->env$this->getAttribute(($context["fitnessPage"] ?? $this->getContext($context"fitnessPage")), "pageShortText", array()), "html"nulltrue);
  276.         echo "</span>
  277. \t\t\t\t\t\t</span>
  278. \t\t\t\t\t</span>
  279.             </a>
  280.         </div>
  281.     </section>
  282.     <!--End of Luxury Room Section-->
  283.     <!-- Gallery -->
  284.     <section id=\"gallery\">
  285.         <div class=\"inner-container container\">
  286.             <div class=\"section-title\">
  287.                 <h3>";
  288.         // line 142
  289.         echo twig_escape_filter($this->env$this->getAttribute(($context["galleryPage"] ?? $this->getContext($context"galleryPage")), "pageTitle", array()), "html"nulltrue);
  290.         echo "</h3>
  291.             </div>
  292.             <!-- Gallery Container -->
  293.             <div class=\"gallery-container\">
  294.                 <div class=\"sort-section\">
  295.                     <div class=\"sort-section-container\">
  296.                         <ul class=\"list-inline\">
  297.                             <li><a href=\"#!\" class=\"active href-sort\" data-filter=\".all\">";
  298.         // line 150
  299.         echo twig_escape_filter($this->env$this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("All"), "html"nulltrue);
  300.         echo "</a></li>
  301.                             ";
  302.         // line 151
  303.         $context['_parent'] = $context;
  304.         $context['_seq'] = twig_ensure_traversable(($context["galleryCateg"] ?? $this->getContext($context"galleryCateg")));
  305.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  306.             // line 152
  307.             echo "                                <li><a href=\"#!\" class=\"href-sort\" data-filter=\".";
  308.             echo twig_escape_filter($this->env$this->getAttribute($context["item"], "id", array()), "html"nulltrue);
  309.             echo "\">";
  310.             echo twig_escape_filter($this->env$this->getAttribute($context["item"], "title", array()), "html"nulltrue);
  311.             echo "</a>
  312.                                 </li>
  313.                             ";
  314.         }
  315.         $_parent $context['_parent'];
  316.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  317.         $context array_intersect_key($context$_parent) + $_parent;
  318.         // line 155
  319.         echo "                        </ul>
  320.                     </div>
  321.                 </div>
  322.                 <ul class=\"image-main-box clearfix\">
  323.                     ";
  324.         // line 159
  325.         $context["galleryCount"] = 0;
  326.         // line 160
  327.         echo "                    ";
  328.         $context['_parent'] = $context;
  329.         $context['_seq'] = twig_ensure_traversable(($context["gallery"] ?? $this->getContext($context"gallery")));
  330.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  331.             // line 161
  332.             echo "                        ";
  333.             $context['_parent'] = $context;
  334.             $context['_seq'] = twig_ensure_traversable($this->env->getExtension('ToolBox\FileBrowserBundle\Twig\AppExtension')->jsonDecode($this->getAttribute($context["item"], "ogImage", array())));
  335.             foreach ($context['_seq'] as $context["_key"] => $context["key"]) {
  336.                 if ((($context["galleryCount"] ?? $this->getContext($context"galleryCount")) < 9)) {
  337.                     // line 162
  338.                     echo "                            <li class=\"item col-lg-4 col-md-6 col-sm-6 all ";
  339.                     echo twig_escape_filter($this->env$this->getAttribute($this->getAttribute($context["item"], "category", array()), "id", array()), "html"nulltrue);
  340.                     echo "\">
  341.                                 <figure style=\"background-image:url(";
  342.                     // line 163
  343.                     echo twig_escape_filter($this->env$this->env->getExtension('ToolBox\FileBrowserBundle\Twig\AppExtension')->getThumb($context["key"]), "html"nulltrue);
  344.                     echo ");\">
  345.                                     ";
  346.                     // line 165
  347.                     echo "                                    <a href=\"";
  348.                     echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  349.                     echo "\" class=\"more-details\"
  350.                                        data-title=\"\">Enlarge</a>
  351.                                     <figcaption>
  352.                                     </figcaption>
  353.                                 </figure>
  354.                             </li>
  355.                             ";
  356.                     // line 171
  357.                     $context["galleryCount"] = (($context["galleryCount"] ?? $this->getContext($context"galleryCount")) + 1);
  358.                     // line 172
  359.                     echo "                        ";
  360.                 }
  361.             }
  362.             $_parent $context['_parent'];
  363.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['key'], $context['_parent'], $context['loop']);
  364.             $context array_intersect_key($context$_parent) + $_parent;
  365.             // line 173
  366.             echo "                    ";
  367.         }
  368.         $_parent $context['_parent'];
  369.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  370.         $context array_intersect_key($context$_parent) + $_parent;
  371.         // line 174
  372.         echo "                </ul>
  373.             </div>
  374.         </div>
  375.     </section>
  376.     <!-- End of Gallery -->
  377.     <section style=\"margin-bottom: 0;\">
  378.         <div class=\"map\">
  379.             <div id=\"map\"></div>
  380.         </div>
  381.     </section>
  382. ";
  383.         
  384.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  385.         
  386.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  387.     }
  388.     // line 186
  389.     public function block_javascripts($context, array $blocks = array())
  390.     {
  391.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
  392.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block""javascripts"));
  393.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
  394.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block""javascripts"));
  395.         // line 187
  396.         echo "    ";
  397.         $this->displayParentBlock("javascripts"$context$blocks);
  398.         echo "
  399.     <script>
  400.         // booking
  401.         jQuery('#form').submit(function () {
  402.             var arrival = new Date(jQuery('#form-arrival').val());
  403.             var arrivalMonth = arrival.getMonth() + 1;
  404.             if (arrivalMonth < 10) {
  405.                 arrivalMonth = \"0\" + arrivalMonth;
  406.             }
  407.             var arrivalDate = arrival.getFullYear() + \"-\" + arrivalMonth + \"-\" + arrival.getDate();
  408.             // var adults = jQuery('#adults').val();
  409.             // var children = jQuery('#children').val();
  410.             var departure = new Date(jQuery('#form-departure').val());
  411.             var nights = (departure - arrival) / (1000 * 60 * 60 * 24);
  412.             jQuery('#nights').val(nights);
  413.             jQuery(this).attr(\"action\", \"/";
  414.         // line 204
  415.         echo twig_escape_filter($this->env$this->getAttribute($this->getAttribute(($context["app"] ?? $this->getContext($context"app")), "request", array()), "locale", array()), "html"nulltrue);
  416.         echo "/booking/?date=\" + arrivalDate + \"&nights=\" + nights);
  417.         });
  418.     </script>
  419.     <script src=\"https://maps.googleapis.com/maps/api/js?key=AIzaSyD74VFI8DTOeAaUT3xTSmfuY_XOJ0Hoozg&callback=initMap\"
  420.             async defer></script>
  421. ";
  422.         
  423.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  424.         
  425.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  426.     }
  427.     public function getTemplateName()
  428.     {
  429.         return "page/index.html.twig";
  430.     }
  431.     public function isTraitable()
  432.     {
  433.         return false;
  434.     }
  435.     public function getDebugInfo()
  436.     {
  437.         return array (  450 => 204,  429 => 187,  420 => 186,  400 => 174,  394 => 173,  387 => 172,  385 => 171,  375 => 165,  371 => 163,  366 => 162,  360 => 161,  355 => 160,  353 => 159,  347 => 155,  335 => 152,  331 => 151,  327 => 150,  316 => 142,  300 => 129,  296 => 128,  288 => 125,  279 => 119,  275 => 118,  267 => 115,  258 => 109,  254 => 108,  246 => 105,  237 => 99,  233 => 98,  225 => 95,  213 => 86,  209 => 85,  203 => 82,  195 => 77,  179 => 64,  166 => 54,  153 => 44,  133 => 27,  127 => 23,  120 => 21,  116 => 19,  112 => 18,  109 => 17,  105 => 16,  101 => 14,  92 => 13,  72 => 11,  61 => 9,  52 => 8,  42 => 1,  40 => 12,  38 => 6,  37 => 5,  36 => 4,  35 => 3,  34 => 2,  11 => 1,);
  438.     }
  439.     /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
  440.     public function getSource()
  441.     {
  442.         @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.'E_USER_DEPRECATED);
  443.         return $this->getSourceContext()->getCode();
  444.     }
  445.     public function getSourceContext()
  446.     {
  447.         return new Twig_Source("{% extends 'base.html.twig' %}
  448. {% set metaParams = {
  449.     'title': page.pageTitle,
  450.     'description': page.metaDescription,
  451.     'keywords': page.metaKeywords,
  452.     'ogImage': page.pageOgImage
  453. } %}
  454. {% block meta %}
  455.     {% include 'parts/meta.html.twig' with metaParams %}
  456. {% endblock %}
  457. {% block title %}{{ parent() }} {{ page.pageTitle }}{% endblock %}
  458. {% set homeActive = true %}
  459. {% block body %}
  460.     <div class=\"position-relative\">
  461.         <div class=\"owl-carousel owl-theme main-owl\">
  462.             {% for item in sliders %}
  463.                 <div class=\"item\"
  464.                      style=\"background-image:linear-gradient(#8a8a8a45,#00000080),url({{ item.ogImage }}); height: 100%;\">
  465.                     <h3>{{ item.title }}</h3>
  466.                     {#<p>{{ item.shortText }}</p>#}
  467.                 </div>
  468.             {% endfor %}
  469.         </div>
  470.         <div class=\"form-hotel\">
  471.             <div class=\"container\">
  472.                 <div class=\"form-hotel-body\">
  473.                     <h4>{{ 'Find a Room'|trans }}</h4>
  474.                     <form action=\"#!\" id=\"form\" method=\"get\">
  475.                         <div class=\"input-daterange\">
  476.                             <div class=\"row\">
  477.                                 <div class=\"booking-fields form-group col-md-3\" >
  478.                                     <input  id=\"form-arrival\" autocomplete=\"off\" placeholder=\"Check in\" class=\"datepicker-fields form-control check-in\" type=\"text\"
  479.                                            name=\"date\"/>
  480.                                 </div>
  481.                                 <div class=\"booking-fields form-group col-md-3\" style=\"\">
  482.                                     <input id=\"form-departure\" autocomplete=\"off\" placeholder=\"Check out\" class=\"datepicker-fields form-control check-out\" type=\"text\"
  483.                                           />
  484.                                     <input type=\"hidden\" name=\"nights\" id=\"nights\">
  485.                                 </div>
  486.                                 <div class=\"form-group col-md-2\">
  487.                                     <select name=\"adults\" id=\"adults\" class=\"form-control\">
  488.                                         <option value=\"\">{{ 'Adult'|trans }}</option>
  489.                                         <option value=\"1\">1</option>
  490.                                         <option value=\"2\">2</option>
  491.                                         <option value=\"3\">3</option>
  492.                                         <option value=\"4\">4</option>
  493.                                         <option value=\"5\">5</option>
  494.                                     </select>
  495.                                 </div>
  496.                                 <div class=\"form-group col-md-2\">
  497.                                     <select name=\"children\" id=\"children\" class=\"form-control\">
  498.                                         <option value=\"\">{{ 'Child'|trans }}</option>
  499.                                         <option value=\"1\">1</option>
  500.                                         <option value=\"2\">2</option>
  501.                                         <option value=\"3\">3</option>
  502.                                         <option value=\"4\">4</option>
  503.                                         <option value=\"5\">5</option>
  504.                                     </select>
  505.                                 </div>
  506.                                 <div class=\"form-group col-md-2\">
  507.                                     <button class=\"btn-ramada-2 hvr-sweep-to-right\"
  508.                                             style=\"width: 100%;\">{{ 'Book'|trans }}</button>
  509.                                 </div>
  510.                             </div>
  511.                         </div>
  512.                     </form>
  513.                 </div>
  514.             </div>
  515.         </div>
  516.     </div>
  517.     <section>
  518.         <div class=\"container\">
  519.             <div class=\"section-title\">
  520.                 <h3>{{ aboutPage.pageTitle }}</h3>
  521.             </div>
  522.             <div class=\"row align-items-center\">
  523.                 <div class=\"col-md-12\">
  524.                     <h4 class=\"about-header text-justify\">
  525.                         {{ aboutPage.pageShortText }}
  526.                     </h4>
  527.                     <div class=\"mb-4\"></div>
  528.                     <a href=\"{{ path('about_page') }}\" class=\"btn-about btn-ramada hvr-sweep-to-right\"
  529.                        style=\"float: right;\">{{ 'About'|trans }}</a>
  530.                 </div>
  531.             </div>
  532.         </div>
  533.     </section>
  534.     <!--Luxury Room Section-->
  535.     <section id=\"luxury-rooms\" class=\"clearfix\">
  536.         <div class=\"room-boxes col-sm-6 col-md-3\">
  537.             <a href=\"{{ path('rooms_list_page') }}\" class=\"inner-container\" data-bg=\"{{ roomPage.pageOgImage }}\">
  538. \t\t\t\t\t<span class=\"ravis-title\">
  539. \t\t\t\t\t\t<span class=\"inner-box\">
  540. \t\t\t\t\t\t\t<span class=\"title luxury-item\">{{ roomPage.pageTitle }}</span>
  541. \t\t\t\t\t\t\t<span class=\"sub-title text-white\">{{ roomPage.pageShortText }}</span>
  542. \t\t\t\t\t\t</span>
  543. \t\t\t\t\t</span>
  544.             </a>
  545.         </div>
  546.         <div class=\"room-boxes col-sm-6 col-md-3\">
  547.             <a href=\"{{ path('events_list_page') }}\" class=\"inner-container\" data-bg=\"{{ eventsPage.pageOgImage }}\">
  548. \t\t\t\t\t<span class=\"ravis-title\">
  549. \t\t\t\t\t\t<span class=\"inner-box\">
  550. \t\t\t\t\t\t\t<span class=\"title luxury-item\">{{ eventsPage.pageTitle }}</span>
  551. \t\t\t\t\t\t\t<span class=\"sub-title text-white\">{{ eventsPage.pageShortText }}</span>
  552. \t\t\t\t\t\t</span>
  553. \t\t\t\t\t</span>
  554.             </a>
  555.         </div>
  556.         <div class=\"room-boxes col-sm-6 col-md-3\">
  557.             <a href=\"{{ path('dining_page') }}\" class=\"inner-container\" data-bg=\"{{ diningPage.pageOgImage }}\">
  558. \t\t\t\t\t<span class=\"ravis-title\">
  559. \t\t\t\t\t\t<span class=\"inner-box\">
  560. \t\t\t\t\t\t\t<span class=\"title luxury-item\">{{ diningPage.pageTitle }}</span>
  561. \t\t\t\t\t\t\t<span class=\"sub-title text-white\">{{ diningPage.pageShortText }}\"</span>
  562. \t\t\t\t\t\t</span>
  563. \t\t\t\t\t</span>
  564.             </a>
  565.         </div>
  566.         <div class=\"room-boxes col-sm-6 col-md-3\">
  567.             <a href=\"{{ path('fitness_page') }}\" class=\"inner-container\" data-bg=\"{{ fitnessPage.pageOgImage }}\">
  568. \t\t\t\t\t<span class=\"ravis-title\">
  569. \t\t\t\t\t\t<span class=\"inner-box\">
  570. \t\t\t\t\t\t\t<span class=\"title luxury-item\">{{ fitnessPage.pageTitle }}</span>
  571. \t\t\t\t\t\t\t<span class=\"sub-title text-white\">{{ fitnessPage.pageShortText }}</span>
  572. \t\t\t\t\t\t</span>
  573. \t\t\t\t\t</span>
  574.             </a>
  575.         </div>
  576.     </section>
  577.     <!--End of Luxury Room Section-->
  578.     <!-- Gallery -->
  579.     <section id=\"gallery\">
  580.         <div class=\"inner-container container\">
  581.             <div class=\"section-title\">
  582.                 <h3>{{ galleryPage.pageTitle }}</h3>
  583.             </div>
  584.             <!-- Gallery Container -->
  585.             <div class=\"gallery-container\">
  586.                 <div class=\"sort-section\">
  587.                     <div class=\"sort-section-container\">
  588.                         <ul class=\"list-inline\">
  589.                             <li><a href=\"#!\" class=\"active href-sort\" data-filter=\".all\">{{ 'All'|trans }}</a></li>
  590.                             {% for item in galleryCateg %}
  591.                                 <li><a href=\"#!\" class=\"href-sort\" data-filter=\".{{ item.id }}\">{{ item.title }}</a>
  592.                                 </li>
  593.                             {% endfor %}
  594.                         </ul>
  595.                     </div>
  596.                 </div>
  597.                 <ul class=\"image-main-box clearfix\">
  598.                     {% set galleryCount = 0 %}
  599.                     {% for item in gallery %}
  600.                         {% for key in item.ogImage |json_decode if galleryCount < 9 %}
  601.                             <li class=\"item col-lg-4 col-md-6 col-sm-6 all {{ item.category.id }}\">
  602.                                 <figure style=\"background-image:url({{ key|get_thumb }});\">
  603.                                     {#<img src=\"{{ key|get_thumb }}\" alt=\"11\"/>#}
  604.                                     <a href=\"{{ key }}\" class=\"more-details\"
  605.                                        data-title=\"\">Enlarge</a>
  606.                                     <figcaption>
  607.                                     </figcaption>
  608.                                 </figure>
  609.                             </li>
  610.                             {% set galleryCount = galleryCount + 1 %}
  611.                         {% endfor %}
  612.                     {% endfor %}
  613.                 </ul>
  614.             </div>
  615.         </div>
  616.     </section>
  617.     <!-- End of Gallery -->
  618.     <section style=\"margin-bottom: 0;\">
  619.         <div class=\"map\">
  620.             <div id=\"map\"></div>
  621.         </div>
  622.     </section>
  623. {% endblock %}
  624. {% block javascripts %}
  625.     {{ parent() }}
  626.     <script>
  627.         // booking
  628.         jQuery('#form').submit(function () {
  629.             var arrival = new Date(jQuery('#form-arrival').val());
  630.             var arrivalMonth = arrival.getMonth() + 1;
  631.             if (arrivalMonth < 10) {
  632.                 arrivalMonth = \"0\" + arrivalMonth;
  633.             }
  634.             var arrivalDate = arrival.getFullYear() + \"-\" + arrivalMonth + \"-\" + arrival.getDate();
  635.             // var adults = jQuery('#adults').val();
  636.             // var children = jQuery('#children').val();
  637.             var departure = new Date(jQuery('#form-departure').val());
  638.             var nights = (departure - arrival) / (1000 * 60 * 60 * 24);
  639.             jQuery('#nights').val(nights);
  640.             jQuery(this).attr(\"action\", \"/{{ app.request.locale }}/booking/?date=\" + arrivalDate + \"&nights=\" + nights);
  641.         });
  642.     </script>
  643.     <script src=\"https://maps.googleapis.com/maps/api/js?key=AIzaSyD74VFI8DTOeAaUT3xTSmfuY_XOJ0Hoozg&callback=initMap\"
  644.             async defer></script>
  645. {% endblock %}""page/index.html.twig""/home/ramaday/public_html/ramadahotelandsuitesyerevan.am/app/Resources/views/page/index.html.twig");
  646.     }
  647. }