var/cache/dev/twig/71/7180cc14fba9d60e2683fece93983ae564cdb6dcc5a067f4905d7ea716bbb0ce.php line 131

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* Main/header.html.twig */
  14. class __TwigTemplate_7d4b23db6829272d27114ac953c60775be0a7a40a7c994096ecf3ad36b7788df extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Main/header.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Main/header.html.twig"));
  33.         // line 1
  34.         $context["_route"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse1), "attributes", [], "any"falsefalsefalse1), "get", [=> "_route"], "method"falsefalsefalse1);
  35.         // line 2
  36.         $context["_route_params"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse2), "attributes", [], "any"falsefalsefalse2), "get", [=> "_route_params"], "method"falsefalsefalse2);
  37.         // line 3
  38.         $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->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse3), "query", [], "any"falsefalsefalse3), "all", [], "any"falsefalsefalse3));
  39.         // line 4
  40.         $context["page"] = "";
  41.         // line 5
  42.         echo "
  43. <header>
  44.     <!--KODE TOP WRAP START-->
  45.     <!--KODE TOP2 WRAP START-->
  46.     
  47.     <!--KODE TOP2 WRAP END-->
  48.       <div class=\"kode_top2_icon\">
  49.                     <ul>
  50.                         <li>
  51.                             <div class=\"dropdown\">
  52.                                 <div id=\"dLabel\" data-toggle=\"dropdown\">
  53.                                     <img src=\"";
  54.         // line 18
  55.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("images/locale_flags/" twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse18), "locale", [], "any"falsefalsefalse18)) . ".png")), "html"nulltrue);
  56.         echo "\" alt=\"flag\">";
  57.         echo twig_escape_filter($this->envtwig_title_string_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse18), "locale", [], "any"falsefalsefalse18)), "html"nulltrue);
  58.         echo "
  59.                                     <span class=\"fa fa-angle-down\"></span>
  60.                                 </div>
  61.                                 <ul class=\"dropdown-menu\" aria-labelledby=\"dLabel\">
  62.                                     ";
  63.         // line 22
  64.         $context['_parent'] = $context;
  65.         $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); })()));
  66.         foreach ($context['_seq'] as $context["_key"] => $context["locale"]) {
  67.             // line 23
  68.             echo "                                        ";
  69.             if ((!== twig_compare($context["locale"], twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse23), "locale", [], "any"falsefalsefalse23)))) {
  70.                 // line 24
  71.                 echo "                                        <li>
  72.                                             <a href=\"";
  73.                 // line 25
  74.                 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"nulltrue);
  75.                 echo "\">
  76.                                                 <img src=\"";
  77.                 // line 26
  78.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("images/locale_flags/" $context["locale"]) . ".png")), "html"nulltrue);
  79.                 echo "\" alt=\"";
  80.                 echo twig_escape_filter($this->env$context["locale"], "html"nulltrue);
  81.                 echo "\">";
  82.                 echo twig_escape_filter($this->envtwig_title_string_filter($this->env$context["locale"]), "html"nulltrue);
  83.                 echo "
  84.                                             </a>
  85.                                         </li>
  86.                                         ";
  87.             }
  88.             // line 30
  89.             echo "                                    ";
  90.         }
  91.         $_parent $context['_parent'];
  92.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['locale'], $context['_parent'], $context['loop']);
  93.         $context array_intersect_key($context$_parent) + $_parent;
  94.         // line 31
  95.         echo "                                </ul>
  96.                             </div>
  97.                         </li>
  98.                     </ul>
  99.                     <div id=\"installContainer\" class=\"\">
  100.                       
  101.                     </div>
  102.                     <div class=\"donate_btn\">
  103.                         <!-- Button trigger modal 
  104.                         <div class=\"medium_btn theme_color_bg btn_hover2\" data-toggle=\"modal\" data-target=\"#myModal\">
  105.                             ";
  106.         // line 41
  107.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("header.donate.title"), "html"nulltrue);
  108.         echo "
  109.                         </div>
  110.                         <!-- Modal -->
  111.                         <div class=\"modal fade\" id=\"myModal\" tabindex=\"-1\" role=\"dialog\">
  112.                             <div class=\"modal-dialog\" role=\"document\">
  113.                                 <div class=\"modal-content\">
  114.                                     <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  115.                                         <span aria-hidden=\"true\">&times;</span></button>
  116.                                     <div class=\"modal-body\">
  117.                                         <!--KODE DONATE DES START-->
  118.                                         ";
  119.         // line 51
  120.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Front\\PaymentController::donate"));
  121.         echo "
  122.                                         <!--KODE DONATE DES END-->
  123.                                     </div>
  124.                                 </div>
  125.                             </div>
  126.                         </div>
  127.                     </div>
  128.                 </div>
  129.     <!--KODE TOP WRAP END-->
  130.     
  131.     <!--KODE TOP LOGO WRAP START-->
  132.     <div class=\"kode_top_logo_wrap them_overlay\">
  133.         <!--CONTAINER START-->  
  134.         <div class=\"container\">
  135.             <div class=\"top_logo\">
  136.                 <a href=\"#\"><img src=\"";
  137.         // line 66
  138.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/header-logo.webp"), "html"nulltrue);
  139.         echo "\" alt=\"sharjah Masjids\"></a>
  140.             </div>
  141.             <div class=\"top_time_circle\">
  142.                 <ul>
  143.                     <li><a href=\"#\">Fajr</a><span id=\"fajr\">5:30</span></li>
  144.                     <li><a href=\"#\">Dhur</a><span id=\"dhor\">1:30</span></li>
  145.                     <li><a href=\"#\">Asar</a><span id=\"asr\">5:00</span></li>
  146.                     <li><a href=\"#\">Magrib</a><span id=\"maghreb\">6:30</span></li>
  147.                     <li><a href=\"#\">iSHA</a><span id=\"icha\">8:00</span></li>
  148.                 </ul>
  149.             </div>
  150.         </div>
  151.         <!--CONTAINER END-->
  152.     </div>
  153.     <!--KODE TOP LOGO WRAP END-->
  154.     
  155.     <!--KODE NAVIGATION WRAP START-->
  156.     <!--KODE NAVIGATION WRAP END-->
  157. </header>
  158. <script> var city = '";
  159.         // line 85
  160.         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"nulltrue);
  161.         echo "'</script>";
  162.         
  163.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  164.         
  165.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  166.     }
  167.     public function getTemplateName()
  168.     {
  169.         return "Main/header.html.twig";
  170.     }
  171.     public function isTraitable()
  172.     {
  173.         return false;
  174.     }
  175.     public function getDebugInfo()
  176.     {
  177.         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,);
  178.     }
  179.     public function getSourceContext()
  180.     {
  181.         return new Source("{% set _route = app.request.attributes.get('_route') %}
  182. {% set _route_params = app.request.attributes.get('_route_params') %}
  183. {% set params = route_params|merge(app.request.query.all) %}
  184. {%set page = \"\" %}
  185. <header>
  186.     <!--KODE TOP WRAP START-->
  187.     <!--KODE TOP2 WRAP START-->
  188.     
  189.     <!--KODE TOP2 WRAP END-->
  190.       <div class=\"kode_top2_icon\">
  191.                     <ul>
  192.                         <li>
  193.                             <div class=\"dropdown\">
  194.                                 <div id=\"dLabel\" data-toggle=\"dropdown\">
  195.                                     <img src=\"{{ asset('images/locale_flags/' ~ app.request.locale ~ '.png') }}\" alt=\"flag\">{{ app.request.locale|title }}
  196.                                     <span class=\"fa fa-angle-down\"></span>
  197.                                 </div>
  198.                                 <ul class=\"dropdown-menu\" aria-labelledby=\"dLabel\">
  199.                                     {% for locale in locales  %}
  200.                                         {% if locale !=  app.request.locale %}
  201.                                         <li>
  202.                                             <a href=\"{{ path(route, params|merge({ _locale: locale })) }}\">
  203.                                                 <img src=\"{{ asset('images/locale_flags/' ~ locale ~ '.png') }}\" alt=\"{{ locale }}\">{{ locale|title }}
  204.                                             </a>
  205.                                         </li>
  206.                                         {% endif %}
  207.                                     {% endfor %}
  208.                                 </ul>
  209.                             </div>
  210.                         </li>
  211.                     </ul>
  212.                     <div id=\"installContainer\" class=\"\">
  213.                       
  214.                     </div>
  215.                     <div class=\"donate_btn\">
  216.                         <!-- Button trigger modal 
  217.                         <div class=\"medium_btn theme_color_bg btn_hover2\" data-toggle=\"modal\" data-target=\"#myModal\">
  218.                             {{ 'header.donate.title' | trans}}
  219.                         </div>
  220.                         <!-- Modal -->
  221.                         <div class=\"modal fade\" id=\"myModal\" tabindex=\"-1\" role=\"dialog\">
  222.                             <div class=\"modal-dialog\" role=\"document\">
  223.                                 <div class=\"modal-content\">
  224.                                     <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  225.                                         <span aria-hidden=\"true\">&times;</span></button>
  226.                                     <div class=\"modal-body\">
  227.                                         <!--KODE DONATE DES START-->
  228.                                         {{ render(controller(\"App\\\\Controller\\\\Front\\\\PaymentController::donate\") )}}
  229.                                         <!--KODE DONATE DES END-->
  230.                                     </div>
  231.                                 </div>
  232.                             </div>
  233.                         </div>
  234.                     </div>
  235.                 </div>
  236.     <!--KODE TOP WRAP END-->
  237.     
  238.     <!--KODE TOP LOGO WRAP START-->
  239.     <div class=\"kode_top_logo_wrap them_overlay\">
  240.         <!--CONTAINER START-->  
  241.         <div class=\"container\">
  242.             <div class=\"top_logo\">
  243.                 <a href=\"#\"><img src=\"{{asset('images/header-logo.webp')}}\" alt=\"sharjah Masjids\"></a>
  244.             </div>
  245.             <div class=\"top_time_circle\">
  246.                 <ul>
  247.                     <li><a href=\"#\">Fajr</a><span id=\"fajr\">5:30</span></li>
  248.                     <li><a href=\"#\">Dhur</a><span id=\"dhor\">1:30</span></li>
  249.                     <li><a href=\"#\">Asar</a><span id=\"asr\">5:00</span></li>
  250.                     <li><a href=\"#\">Magrib</a><span id=\"maghreb\">6:30</span></li>
  251.                     <li><a href=\"#\">iSHA</a><span id=\"icha\">8:00</span></li>
  252.                 </ul>
  253.             </div>
  254.         </div>
  255.         <!--CONTAINER END-->
  256.     </div>
  257.     <!--KODE TOP LOGO WRAP END-->
  258.     
  259.     <!--KODE NAVIGATION WRAP START-->
  260.     <!--KODE NAVIGATION WRAP END-->
  261. </header>
  262. <script> var city = '{{city}}'</script>""Main/header.html.twig""/var/www/sharjah/templates/Main/header.html.twig");
  263.     }
  264. }