<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* Main/header.html.twig */
class __TwigTemplate_7d4b23db6829272d27114ac953c60775be0a7a40a7c994096ecf3ad36b7788df extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Main/header.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Main/header.html.twig"));
// line 1
$context["_route"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1, $this->source); })()), "request", [], "any", false, false, false, 1), "attributes", [], "any", false, false, false, 1), "get", [0 => "_route"], "method", false, false, false, 1);
// line 2
$context["_route_params"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "attributes", [], "any", false, false, false, 2), "get", [0 => "_route_params"], "method", false, false, false, 2);
// line 3
$context["params"] = twig_array_merge((isset($context["route_params"]) || array_key_exists("route_params", $context) ? $context["route_params"] : (function () { throw new RuntimeError('Variable "route_params" does not exist.', 3, $this->source); })()), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 3, $this->source); })()), "request", [], "any", false, false, false, 3), "query", [], "any", false, false, false, 3), "all", [], "any", false, false, false, 3));
// line 4
$context["page"] = "";
// line 5
echo "
<header>
<!--KODE TOP WRAP START-->
<!--KODE TOP2 WRAP START-->
<!--KODE TOP2 WRAP END-->
<div class=\"kode_top2_icon\">
<ul>
<li>
<div class=\"dropdown\">
<div id=\"dLabel\" data-toggle=\"dropdown\">
<img src=\"";
// line 18
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("images/locale_flags/" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 18, $this->source); })()), "request", [], "any", false, false, false, 18), "locale", [], "any", false, false, false, 18)) . ".png")), "html", null, true);
echo "\" alt=\"flag\">";
echo twig_escape_filter($this->env, twig_title_string_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 18, $this->source); })()), "request", [], "any", false, false, false, 18), "locale", [], "any", false, false, false, 18)), "html", null, true);
echo "
<span class=\"fa fa-angle-down\"></span>
</div>
<ul class=\"dropdown-menu\" aria-labelledby=\"dLabel\">
";
// line 22
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["locales"]) || array_key_exists("locales", $context) ? $context["locales"] : (function () { throw new RuntimeError('Variable "locales" does not exist.', 22, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["locale"]) {
// line 23
echo " ";
if ((0 !== twig_compare($context["locale"], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 23, $this->source); })()), "request", [], "any", false, false, false, 23), "locale", [], "any", false, false, false, 23)))) {
// line 24
echo " <li>
<a href=\"";
// line 25
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath((isset($context["route"]) || array_key_exists("route", $context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.', 25, $this->source); })()), twig_array_merge((isset($context["params"]) || array_key_exists("params", $context) ? $context["params"] : (function () { throw new RuntimeError('Variable "params" does not exist.', 25, $this->source); })()), ["_locale" => $context["locale"]])), "html", null, true);
echo "\">
<img src=\"";
// line 26
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("images/locale_flags/" . $context["locale"]) . ".png")), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, $context["locale"], "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $context["locale"]), "html", null, true);
echo "
</a>
</li>
";
}
// line 30
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['locale'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 31
echo " </ul>
</div>
</li>
</ul>
<div id=\"installContainer\" class=\"\">
</div>
<div class=\"donate_btn\">
<!-- Button trigger modal
<div class=\"medium_btn theme_color_bg btn_hover2\" data-toggle=\"modal\" data-target=\"#myModal\">
";
// line 41
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("header.donate.title"), "html", null, true);
echo "
</div>
<!-- Modal -->
<div class=\"modal fade\" id=\"myModal\" tabindex=\"-1\" role=\"dialog\">
<div class=\"modal-dialog\" role=\"document\">
<div class=\"modal-content\">
<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
<span aria-hidden=\"true\">×</span></button>
<div class=\"modal-body\">
<!--KODE DONATE DES START-->
";
// line 51
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Front\\PaymentController::donate"));
echo "
<!--KODE DONATE DES END-->
</div>
</div>
</div>
</div>
</div>
</div>
<!--KODE TOP WRAP END-->
<!--KODE TOP LOGO WRAP START-->
<div class=\"kode_top_logo_wrap them_overlay\">
<!--CONTAINER START-->
<div class=\"container\">
<div class=\"top_logo\">
<a href=\"#\"><img src=\"";
// line 66
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/header-logo.webp"), "html", null, true);
echo "\" alt=\"sharjah Masjids\"></a>
</div>
<div class=\"top_time_circle\">
<ul>
<li><a href=\"#\">Fajr</a><span id=\"fajr\">5:30</span></li>
<li><a href=\"#\">Dhur</a><span id=\"dhor\">1:30</span></li>
<li><a href=\"#\">Asar</a><span id=\"asr\">5:00</span></li>
<li><a href=\"#\">Magrib</a><span id=\"maghreb\">6:30</span></li>
<li><a href=\"#\">iSHA</a><span id=\"icha\">8:00</span></li>
</ul>
</div>
</div>
<!--CONTAINER END-->
</div>
<!--KODE TOP LOGO WRAP END-->
<!--KODE NAVIGATION WRAP START-->
<!--KODE NAVIGATION WRAP END-->
</header>
<script> var city = '";
// line 85
echo twig_escape_filter($this->env, (isset($context["city"]) || array_key_exists("city", $context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.', 85, $this->source); })()), "html", null, true);
echo "'</script>";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "Main/header.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 171 => 85, 149 => 66, 131 => 51, 118 => 41, 106 => 31, 100 => 30, 89 => 26, 85 => 25, 82 => 24, 79 => 23, 75 => 22, 66 => 18, 51 => 5, 49 => 4, 47 => 3, 45 => 2, 43 => 1,);
}
public function getSourceContext()
{
return new Source("{% set _route = app.request.attributes.get('_route') %}
{% set _route_params = app.request.attributes.get('_route_params') %}
{% set params = route_params|merge(app.request.query.all) %}
{%set page = \"\" %}
<header>
<!--KODE TOP WRAP START-->
<!--KODE TOP2 WRAP START-->
<!--KODE TOP2 WRAP END-->
<div class=\"kode_top2_icon\">
<ul>
<li>
<div class=\"dropdown\">
<div id=\"dLabel\" data-toggle=\"dropdown\">
<img src=\"{{ asset('images/locale_flags/' ~ app.request.locale ~ '.png') }}\" alt=\"flag\">{{ app.request.locale|title }}
<span class=\"fa fa-angle-down\"></span>
</div>
<ul class=\"dropdown-menu\" aria-labelledby=\"dLabel\">
{% for locale in locales %}
{% if locale != app.request.locale %}
<li>
<a href=\"{{ path(route, params|merge({ _locale: locale })) }}\">
<img src=\"{{ asset('images/locale_flags/' ~ locale ~ '.png') }}\" alt=\"{{ locale }}\">{{ locale|title }}
</a>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</li>
</ul>
<div id=\"installContainer\" class=\"\">
</div>
<div class=\"donate_btn\">
<!-- Button trigger modal
<div class=\"medium_btn theme_color_bg btn_hover2\" data-toggle=\"modal\" data-target=\"#myModal\">
{{ 'header.donate.title' | trans}}
</div>
<!-- Modal -->
<div class=\"modal fade\" id=\"myModal\" tabindex=\"-1\" role=\"dialog\">
<div class=\"modal-dialog\" role=\"document\">
<div class=\"modal-content\">
<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
<span aria-hidden=\"true\">×</span></button>
<div class=\"modal-body\">
<!--KODE DONATE DES START-->
{{ render(controller(\"App\\\\Controller\\\\Front\\\\PaymentController::donate\") )}}
<!--KODE DONATE DES END-->
</div>
</div>
</div>
</div>
</div>
</div>
<!--KODE TOP WRAP END-->
<!--KODE TOP LOGO WRAP START-->
<div class=\"kode_top_logo_wrap them_overlay\">
<!--CONTAINER START-->
<div class=\"container\">
<div class=\"top_logo\">
<a href=\"#\"><img src=\"{{asset('images/header-logo.webp')}}\" alt=\"sharjah Masjids\"></a>
</div>
<div class=\"top_time_circle\">
<ul>
<li><a href=\"#\">Fajr</a><span id=\"fajr\">5:30</span></li>
<li><a href=\"#\">Dhur</a><span id=\"dhor\">1:30</span></li>
<li><a href=\"#\">Asar</a><span id=\"asr\">5:00</span></li>
<li><a href=\"#\">Magrib</a><span id=\"maghreb\">6:30</span></li>
<li><a href=\"#\">iSHA</a><span id=\"icha\">8:00</span></li>
</ul>
</div>
</div>
<!--CONTAINER END-->
</div>
<!--KODE TOP LOGO WRAP END-->
<!--KODE NAVIGATION WRAP START-->
<!--KODE NAVIGATION WRAP END-->
</header>
<script> var city = '{{city}}'</script>", "Main/header.html.twig", "/var/www/sharjah/templates/Main/header.html.twig");
}
}