<?php
/* page/index.html.twig */
class __TwigTemplate_59a8f4c020bb64c09d70b9f12940d48bf9905329f604d5b10391da89ae401514 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("base.html.twig", "page/index.html.twig", 1);
$this->blocks = array(
'meta' => array($this, 'block_meta'),
'title' => array($this, 'block_title'),
'body' => array($this, 'block_body'),
'javascripts' => array($this, 'block_javascripts'),
);
}
protected function doGetParent(array $context)
{
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = array())
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "page/index.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "page/index.html.twig"));
// line 2
$context["metaParams"] = array("title" => $this->getAttribute( // line 3
($context["page"] ?? $this->getContext($context, "page")), "pageTitle", array()), "description" => $this->getAttribute( // line 4
($context["page"] ?? $this->getContext($context, "page")), "metaDescription", array()), "keywords" => $this->getAttribute( // line 5
($context["page"] ?? $this->getContext($context, "page")), "metaKeywords", array()), "ogImage" => $this->getAttribute( // line 6
($context["page"] ?? $this->getContext($context, "page")), "pageOgImage", array()));
// line 12
$context["homeActive"] = true;
// line 1
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 8
public function block_meta($context, array $blocks = array())
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "meta"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "meta"));
// line 9
echo " ";
$this->loadTemplate("parts/meta.html.twig", "page/index.html.twig", 9)->display(array_merge($context, ($context["metaParams"] ?? $this->getContext($context, "metaParams"))));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 11
public function block_title($context, array $blocks = array())
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "title"));
$this->displayParentBlock("title", $context, $blocks);
echo " ";
echo twig_escape_filter($this->env, $this->getAttribute(($context["page"] ?? $this->getContext($context, "page")), "pageTitle", array()), "html", null, true);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 13
public function block_body($context, array $blocks = array())
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "body"));
// line 14
echo " <div class=\"position-relative\">
<div class=\"owl-carousel owl-theme main-owl\">
";
// line 16
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["sliders"] ?? $this->getContext($context, "sliders")));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 17
echo " <div class=\"item\"
style=\"background-image:linear-gradient(#8a8a8a45,#00000080),url(";
// line 18
echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "ogImage", array()), "html", null, true);
echo "); height: 100%;\">
<h3>";
// line 19
echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "title", array()), "html", null, true);
echo "</h3>
";
// line 21
echo " </div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 23
echo " </div>
<div class=\"form-hotel\">
<div class=\"container\">
<div class=\"form-hotel-body\">
<h4>";
// line 27
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Find a Room"), "html", null, true);
echo "</h4>
<form action=\"#!\" id=\"form\" method=\"get\">
<div class=\"input-daterange\">
<div class=\"row\">
<div class=\"booking-fields form-group col-md-3\" >
<input id=\"form-arrival\" autocomplete=\"off\" placeholder=\"Check in\" class=\"datepicker-fields form-control check-in\" type=\"text\"
name=\"date\"/>
</div>
<div class=\"booking-fields form-group col-md-3\" style=\"\">
<input id=\"form-departure\" autocomplete=\"off\" placeholder=\"Check out\" class=\"datepicker-fields form-control check-out\" type=\"text\"
/>
<input type=\"hidden\" name=\"nights\" id=\"nights\">
</div>
<div class=\"form-group col-md-2\">
<select name=\"adults\" id=\"adults\" class=\"form-control\">
<option value=\"\">";
// line 44
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Adult"), "html", null, true);
echo "</option>
<option value=\"1\">1</option>
<option value=\"2\">2</option>
<option value=\"3\">3</option>
<option value=\"4\">4</option>
<option value=\"5\">5</option>
</select>
</div>
<div class=\"form-group col-md-2\">
<select name=\"children\" id=\"children\" class=\"form-control\">
<option value=\"\">";
// line 54
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Child"), "html", null, true);
echo "</option>
<option value=\"1\">1</option>
<option value=\"2\">2</option>
<option value=\"3\">3</option>
<option value=\"4\">4</option>
<option value=\"5\">5</option>
</select>
</div>
<div class=\"form-group col-md-2\">
<button class=\"btn-ramada-2 hvr-sweep-to-right\"
style=\"width: 100%;\">";
// line 64
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Book"), "html", null, true);
echo "</button>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<section>
<div class=\"container\">
<div class=\"section-title\">
<h3>";
// line 77
echo twig_escape_filter($this->env, $this->getAttribute(($context["aboutPage"] ?? $this->getContext($context, "aboutPage")), "pageTitle", array()), "html", null, true);
echo "</h3>
</div>
<div class=\"row align-items-center\">
<div class=\"col-md-12\">
<h4 class=\"about-header text-justify\">
";
// line 82
echo twig_escape_filter($this->env, $this->getAttribute(($context["aboutPage"] ?? $this->getContext($context, "aboutPage")), "pageShortText", array()), "html", null, true);
echo "
</h4>
<div class=\"mb-4\"></div>
<a href=\"";
// line 85
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("about_page");
echo "\" class=\"btn-about btn-ramada hvr-sweep-to-right\"
style=\"float: right;\">";
// line 86
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("About"), "html", null, true);
echo "</a>
</div>
</div>
</div>
</section>
<!--Luxury Room Section-->
<section id=\"luxury-rooms\" class=\"clearfix\">
<div class=\"room-boxes col-sm-6 col-md-3\">
<a href=\"";
// line 95
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("rooms_list_page");
echo "\" class=\"inner-container\" data-bg=\"";
echo twig_escape_filter($this->env, $this->getAttribute(($context["roomPage"] ?? $this->getContext($context, "roomPage")), "pageOgImage", array()), "html", null, true);
echo "\">
\t\t\t\t\t<span class=\"ravis-title\">
\t\t\t\t\t\t<span class=\"inner-box\">
\t\t\t\t\t\t\t<span class=\"title luxury-item\">";
// line 98
echo twig_escape_filter($this->env, $this->getAttribute(($context["roomPage"] ?? $this->getContext($context, "roomPage")), "pageTitle", array()), "html", null, true);
echo "</span>
\t\t\t\t\t\t\t<span class=\"sub-title text-white\">";
// line 99
echo twig_escape_filter($this->env, $this->getAttribute(($context["roomPage"] ?? $this->getContext($context, "roomPage")), "pageShortText", array()), "html", null, true);
echo "</span>
\t\t\t\t\t\t</span>
\t\t\t\t\t</span>
</a>
</div>
<div class=\"room-boxes col-sm-6 col-md-3\">
<a href=\"";
// line 105
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("events_list_page");
echo "\" class=\"inner-container\" data-bg=\"";
echo twig_escape_filter($this->env, $this->getAttribute(($context["eventsPage"] ?? $this->getContext($context, "eventsPage")), "pageOgImage", array()), "html", null, true);
echo "\">
\t\t\t\t\t<span class=\"ravis-title\">
\t\t\t\t\t\t<span class=\"inner-box\">
\t\t\t\t\t\t\t<span class=\"title luxury-item\">";
// line 108
echo twig_escape_filter($this->env, $this->getAttribute(($context["eventsPage"] ?? $this->getContext($context, "eventsPage")), "pageTitle", array()), "html", null, true);
echo "</span>
\t\t\t\t\t\t\t<span class=\"sub-title text-white\">";
// line 109
echo twig_escape_filter($this->env, $this->getAttribute(($context["eventsPage"] ?? $this->getContext($context, "eventsPage")), "pageShortText", array()), "html", null, true);
echo "</span>
\t\t\t\t\t\t</span>
\t\t\t\t\t</span>
</a>
</div>
<div class=\"room-boxes col-sm-6 col-md-3\">
<a href=\"";
// line 115
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("dining_page");
echo "\" class=\"inner-container\" data-bg=\"";
echo twig_escape_filter($this->env, $this->getAttribute(($context["diningPage"] ?? $this->getContext($context, "diningPage")), "pageOgImage", array()), "html", null, true);
echo "\">
\t\t\t\t\t<span class=\"ravis-title\">
\t\t\t\t\t\t<span class=\"inner-box\">
\t\t\t\t\t\t\t<span class=\"title luxury-item\">";
// line 118
echo twig_escape_filter($this->env, $this->getAttribute(($context["diningPage"] ?? $this->getContext($context, "diningPage")), "pageTitle", array()), "html", null, true);
echo "</span>
\t\t\t\t\t\t\t<span class=\"sub-title text-white\">";
// line 119
echo twig_escape_filter($this->env, $this->getAttribute(($context["diningPage"] ?? $this->getContext($context, "diningPage")), "pageShortText", array()), "html", null, true);
echo "\"</span>
\t\t\t\t\t\t</span>
\t\t\t\t\t</span>
</a>
</div>
<div class=\"room-boxes col-sm-6 col-md-3\">
<a href=\"";
// line 125
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("fitness_page");
echo "\" class=\"inner-container\" data-bg=\"";
echo twig_escape_filter($this->env, $this->getAttribute(($context["fitnessPage"] ?? $this->getContext($context, "fitnessPage")), "pageOgImage", array()), "html", null, true);
echo "\">
\t\t\t\t\t<span class=\"ravis-title\">
\t\t\t\t\t\t<span class=\"inner-box\">
\t\t\t\t\t\t\t<span class=\"title luxury-item\">";
// line 128
echo twig_escape_filter($this->env, $this->getAttribute(($context["fitnessPage"] ?? $this->getContext($context, "fitnessPage")), "pageTitle", array()), "html", null, true);
echo "</span>
\t\t\t\t\t\t\t<span class=\"sub-title text-white\">";
// line 129
echo twig_escape_filter($this->env, $this->getAttribute(($context["fitnessPage"] ?? $this->getContext($context, "fitnessPage")), "pageShortText", array()), "html", null, true);
echo "</span>
\t\t\t\t\t\t</span>
\t\t\t\t\t</span>
</a>
</div>
</section>
<!--End of Luxury Room Section-->
<!-- Gallery -->
<section id=\"gallery\">
<div class=\"inner-container container\">
<div class=\"section-title\">
<h3>";
// line 142
echo twig_escape_filter($this->env, $this->getAttribute(($context["galleryPage"] ?? $this->getContext($context, "galleryPage")), "pageTitle", array()), "html", null, true);
echo "</h3>
</div>
<!-- Gallery Container -->
<div class=\"gallery-container\">
<div class=\"sort-section\">
<div class=\"sort-section-container\">
<ul class=\"list-inline\">
<li><a href=\"#!\" class=\"active href-sort\" data-filter=\".all\">";
// line 150
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("All"), "html", null, true);
echo "</a></li>
";
// line 151
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["galleryCateg"] ?? $this->getContext($context, "galleryCateg")));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 152
echo " <li><a href=\"#!\" class=\"href-sort\" data-filter=\".";
echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "id", array()), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "title", array()), "html", null, true);
echo "</a>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 155
echo " </ul>
</div>
</div>
<ul class=\"image-main-box clearfix\">
";
// line 159
$context["galleryCount"] = 0;
// line 160
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["gallery"] ?? $this->getContext($context, "gallery")));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 161
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->env->getExtension('ToolBox\FileBrowserBundle\Twig\AppExtension')->jsonDecode($this->getAttribute($context["item"], "ogImage", array())));
foreach ($context['_seq'] as $context["_key"] => $context["key"]) {
if ((($context["galleryCount"] ?? $this->getContext($context, "galleryCount")) < 9)) {
// line 162
echo " <li class=\"item col-lg-4 col-md-6 col-sm-6 all ";
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["item"], "category", array()), "id", array()), "html", null, true);
echo "\">
<figure style=\"background-image:url(";
// line 163
echo twig_escape_filter($this->env, $this->env->getExtension('ToolBox\FileBrowserBundle\Twig\AppExtension')->getThumb($context["key"]), "html", null, true);
echo ");\">
";
// line 165
echo " <a href=\"";
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\" class=\"more-details\"
data-title=\"\">Enlarge</a>
<figcaption>
</figcaption>
</figure>
</li>
";
// line 171
$context["galleryCount"] = (($context["galleryCount"] ?? $this->getContext($context, "galleryCount")) + 1);
// line 172
echo " ";
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['key'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 173
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 174
echo " </ul>
</div>
</div>
</section>
<!-- End of Gallery -->
<section style=\"margin-bottom: 0;\">
<div class=\"map\">
<div id=\"map\"></div>
</div>
</section>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 186
public function block_javascripts($context, array $blocks = array())
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "javascripts"));
// line 187
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
<script>
// booking
jQuery('#form').submit(function () {
var arrival = new Date(jQuery('#form-arrival').val());
var arrivalMonth = arrival.getMonth() + 1;
if (arrivalMonth < 10) {
arrivalMonth = \"0\" + arrivalMonth;
}
var arrivalDate = arrival.getFullYear() + \"-\" + arrivalMonth + \"-\" + arrival.getDate();
// var adults = jQuery('#adults').val();
// var children = jQuery('#children').val();
var departure = new Date(jQuery('#form-departure').val());
var nights = (departure - arrival) / (1000 * 60 * 60 * 24);
jQuery('#nights').val(nights);
jQuery(this).attr(\"action\", \"/";
// line 204
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["app"] ?? $this->getContext($context, "app")), "request", array()), "locale", array()), "html", null, true);
echo "/booking/?date=\" + arrivalDate + \"&nights=\" + nights);
});
</script>
<script src=\"https://maps.googleapis.com/maps/api/js?key=AIzaSyD74VFI8DTOeAaUT3xTSmfuY_XOJ0Hoozg&callback=initMap\"
async defer></script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "page/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Twig_Source("{% extends 'base.html.twig' %}
{% set metaParams = {
'title': page.pageTitle,
'description': page.metaDescription,
'keywords': page.metaKeywords,
'ogImage': page.pageOgImage
} %}
{% block meta %}
{% include 'parts/meta.html.twig' with metaParams %}
{% endblock %}
{% block title %}{{ parent() }} {{ page.pageTitle }}{% endblock %}
{% set homeActive = true %}
{% block body %}
<div class=\"position-relative\">
<div class=\"owl-carousel owl-theme main-owl\">
{% for item in sliders %}
<div class=\"item\"
style=\"background-image:linear-gradient(#8a8a8a45,#00000080),url({{ item.ogImage }}); height: 100%;\">
<h3>{{ item.title }}</h3>
{#<p>{{ item.shortText }}</p>#}
</div>
{% endfor %}
</div>
<div class=\"form-hotel\">
<div class=\"container\">
<div class=\"form-hotel-body\">
<h4>{{ 'Find a Room'|trans }}</h4>
<form action=\"#!\" id=\"form\" method=\"get\">
<div class=\"input-daterange\">
<div class=\"row\">
<div class=\"booking-fields form-group col-md-3\" >
<input id=\"form-arrival\" autocomplete=\"off\" placeholder=\"Check in\" class=\"datepicker-fields form-control check-in\" type=\"text\"
name=\"date\"/>
</div>
<div class=\"booking-fields form-group col-md-3\" style=\"\">
<input id=\"form-departure\" autocomplete=\"off\" placeholder=\"Check out\" class=\"datepicker-fields form-control check-out\" type=\"text\"
/>
<input type=\"hidden\" name=\"nights\" id=\"nights\">
</div>
<div class=\"form-group col-md-2\">
<select name=\"adults\" id=\"adults\" class=\"form-control\">
<option value=\"\">{{ 'Adult'|trans }}</option>
<option value=\"1\">1</option>
<option value=\"2\">2</option>
<option value=\"3\">3</option>
<option value=\"4\">4</option>
<option value=\"5\">5</option>
</select>
</div>
<div class=\"form-group col-md-2\">
<select name=\"children\" id=\"children\" class=\"form-control\">
<option value=\"\">{{ 'Child'|trans }}</option>
<option value=\"1\">1</option>
<option value=\"2\">2</option>
<option value=\"3\">3</option>
<option value=\"4\">4</option>
<option value=\"5\">5</option>
</select>
</div>
<div class=\"form-group col-md-2\">
<button class=\"btn-ramada-2 hvr-sweep-to-right\"
style=\"width: 100%;\">{{ 'Book'|trans }}</button>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<section>
<div class=\"container\">
<div class=\"section-title\">
<h3>{{ aboutPage.pageTitle }}</h3>
</div>
<div class=\"row align-items-center\">
<div class=\"col-md-12\">
<h4 class=\"about-header text-justify\">
{{ aboutPage.pageShortText }}
</h4>
<div class=\"mb-4\"></div>
<a href=\"{{ path('about_page') }}\" class=\"btn-about btn-ramada hvr-sweep-to-right\"
style=\"float: right;\">{{ 'About'|trans }}</a>
</div>
</div>
</div>
</section>
<!--Luxury Room Section-->
<section id=\"luxury-rooms\" class=\"clearfix\">
<div class=\"room-boxes col-sm-6 col-md-3\">
<a href=\"{{ path('rooms_list_page') }}\" class=\"inner-container\" data-bg=\"{{ roomPage.pageOgImage }}\">
\t\t\t\t\t<span class=\"ravis-title\">
\t\t\t\t\t\t<span class=\"inner-box\">
\t\t\t\t\t\t\t<span class=\"title luxury-item\">{{ roomPage.pageTitle }}</span>
\t\t\t\t\t\t\t<span class=\"sub-title text-white\">{{ roomPage.pageShortText }}</span>
\t\t\t\t\t\t</span>
\t\t\t\t\t</span>
</a>
</div>
<div class=\"room-boxes col-sm-6 col-md-3\">
<a href=\"{{ path('events_list_page') }}\" class=\"inner-container\" data-bg=\"{{ eventsPage.pageOgImage }}\">
\t\t\t\t\t<span class=\"ravis-title\">
\t\t\t\t\t\t<span class=\"inner-box\">
\t\t\t\t\t\t\t<span class=\"title luxury-item\">{{ eventsPage.pageTitle }}</span>
\t\t\t\t\t\t\t<span class=\"sub-title text-white\">{{ eventsPage.pageShortText }}</span>
\t\t\t\t\t\t</span>
\t\t\t\t\t</span>
</a>
</div>
<div class=\"room-boxes col-sm-6 col-md-3\">
<a href=\"{{ path('dining_page') }}\" class=\"inner-container\" data-bg=\"{{ diningPage.pageOgImage }}\">
\t\t\t\t\t<span class=\"ravis-title\">
\t\t\t\t\t\t<span class=\"inner-box\">
\t\t\t\t\t\t\t<span class=\"title luxury-item\">{{ diningPage.pageTitle }}</span>
\t\t\t\t\t\t\t<span class=\"sub-title text-white\">{{ diningPage.pageShortText }}\"</span>
\t\t\t\t\t\t</span>
\t\t\t\t\t</span>
</a>
</div>
<div class=\"room-boxes col-sm-6 col-md-3\">
<a href=\"{{ path('fitness_page') }}\" class=\"inner-container\" data-bg=\"{{ fitnessPage.pageOgImage }}\">
\t\t\t\t\t<span class=\"ravis-title\">
\t\t\t\t\t\t<span class=\"inner-box\">
\t\t\t\t\t\t\t<span class=\"title luxury-item\">{{ fitnessPage.pageTitle }}</span>
\t\t\t\t\t\t\t<span class=\"sub-title text-white\">{{ fitnessPage.pageShortText }}</span>
\t\t\t\t\t\t</span>
\t\t\t\t\t</span>
</a>
</div>
</section>
<!--End of Luxury Room Section-->
<!-- Gallery -->
<section id=\"gallery\">
<div class=\"inner-container container\">
<div class=\"section-title\">
<h3>{{ galleryPage.pageTitle }}</h3>
</div>
<!-- Gallery Container -->
<div class=\"gallery-container\">
<div class=\"sort-section\">
<div class=\"sort-section-container\">
<ul class=\"list-inline\">
<li><a href=\"#!\" class=\"active href-sort\" data-filter=\".all\">{{ 'All'|trans }}</a></li>
{% for item in galleryCateg %}
<li><a href=\"#!\" class=\"href-sort\" data-filter=\".{{ item.id }}\">{{ item.title }}</a>
</li>
{% endfor %}
</ul>
</div>
</div>
<ul class=\"image-main-box clearfix\">
{% set galleryCount = 0 %}
{% for item in gallery %}
{% for key in item.ogImage |json_decode if galleryCount < 9 %}
<li class=\"item col-lg-4 col-md-6 col-sm-6 all {{ item.category.id }}\">
<figure style=\"background-image:url({{ key|get_thumb }});\">
{#<img src=\"{{ key|get_thumb }}\" alt=\"11\"/>#}
<a href=\"{{ key }}\" class=\"more-details\"
data-title=\"\">Enlarge</a>
<figcaption>
</figcaption>
</figure>
</li>
{% set galleryCount = galleryCount + 1 %}
{% endfor %}
{% endfor %}
</ul>
</div>
</div>
</section>
<!-- End of Gallery -->
<section style=\"margin-bottom: 0;\">
<div class=\"map\">
<div id=\"map\"></div>
</div>
</section>
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script>
// booking
jQuery('#form').submit(function () {
var arrival = new Date(jQuery('#form-arrival').val());
var arrivalMonth = arrival.getMonth() + 1;
if (arrivalMonth < 10) {
arrivalMonth = \"0\" + arrivalMonth;
}
var arrivalDate = arrival.getFullYear() + \"-\" + arrivalMonth + \"-\" + arrival.getDate();
// var adults = jQuery('#adults').val();
// var children = jQuery('#children').val();
var departure = new Date(jQuery('#form-departure').val());
var nights = (departure - arrival) / (1000 * 60 * 60 * 24);
jQuery('#nights').val(nights);
jQuery(this).attr(\"action\", \"/{{ app.request.locale }}/booking/?date=\" + arrivalDate + \"&nights=\" + nights);
});
</script>
<script src=\"https://maps.googleapis.com/maps/api/js?key=AIzaSyD74VFI8DTOeAaUT3xTSmfuY_XOJ0Hoozg&callback=initMap\"
async defer></script>
{% endblock %}", "page/index.html.twig", "/home/ramaday/public_html/ramadahotelandsuitesyerevan.am/app/Resources/views/page/index.html.twig");
}
}