<?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/about.html.twig */
class __TwigTemplate_cda8ec435acaa8cdd44909f4ea8dda44a59a9caf62527abb803073f60158483b extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'stylesheets' => [$this, 'block_stylesheets'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
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/about.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/about.html.twig"));
// line 2
$context["page"] = "about";
// line 1
$this->parent = $this->loadTemplate("base.html.twig", "Main/about.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_stylesheets($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(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 4
echo "\t";
$this->displayParentBlock("stylesheets", $context, $blocks);
echo "
\t<style>
\t\t.iconactive{
\t\t\tcolor:#007176;
\t\t}
\t\t.iconInline{
\t\t\tdisplay:inline-block;
\t\t}
\t</style>
\t<link href=\"";
// line 13
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/sidebar-widget.css"), "html", null, true);
echo "\" rel=\"stylesheet\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 15
public function block_body($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(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 16
echo "\t<!--KODE MOSQUES WRAP STRAT-->
\t<div class=\"kode_mosques_wrap\">
\t\t<!--CONTAINER STRAT-->
\t\t<div class=\"container\">
\t\t\t<!--ROW STRAT-->
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-md-6\">
\t\t\t\t\t<div class=\"kode_mosque_row mosque\">
\t\t\t\t\t\t<figure class=\"\">
\t\t\t\t\t\t\t<img src=\"";
// line 25
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("uploads/masjids/20210424_235146.webp"), "html", null, true);
echo "\" alt=\"sharjah-masjids.com\" />
\t\t\t\t\t\t</figure>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-md-6\">
\t\t\t\t\t<div class=\"kode_mosque_text\">
\t\t\t\t\t\t<div class=\"section_hdg\">
\t\t\t\t\t\t\t<a href=\"#\"><img src=\"";
// line 32
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/hdg-img.png"), "html", null, true);
echo "\" alt=\"hdg\"></a>
\t\t\t\t\t\t\t<h1>";
// line 33
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("about.title"), "html", null, true);
echo "</h1>
\t\t\t\t\t\t\t<span><i class=\"fa icon-art\"></i></span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"kode_mosque_item\">
\t\t\t\t\t\t\t<p>";
// line 37
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("presentationText"), "html", null, true);
echo "</p>
\t\t\t\t\t\t\t<ul class=\"kode_counter_mosque\">
\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t<span class=\"counter\">";
// line 40
echo twig_escape_filter($this->env, (isset($context["countMasjid"]) || array_key_exists("countMasjid", $context) ? $context["countMasjid"] : (function () { throw new RuntimeError('Variable "countMasjid" does not exist.', 40, $this->source); })()), "html", null, true);
echo "</span>
\t\t\t\t\t\t\t\t\t<h6><a href=\"#\">";
// line 41
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("about.masjids"), "html", null, true);
echo "</a></h6>
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t<span class=\"counter\">";
// line 44
echo twig_escape_filter($this->env, (isset($context["countPictures"]) || array_key_exists("countPictures", $context) ? $context["countPictures"] : (function () { throw new RuntimeError('Variable "countPictures" does not exist.', 44, $this->source); })()), "html", null, true);
echo "</span>
\t\t\t\t\t\t\t\t\t<h6><a href=\"#\">";
// line 45
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("about.pictures", ["photos" => twig_length_filter($this->env, (isset($context["countPictures"]) || array_key_exists("countPictures", $context) ? $context["countPictures"] : (function () { throw new RuntimeError('Variable "countPictures" does not exist.', 45, $this->source); })()))]), "html", null, true);
echo "</a></h6>
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t<span class=\"counter\">";
// line 48
echo twig_escape_filter($this->env, (isset($context["countUser"]) || array_key_exists("countUser", $context) ? $context["countUser"] : (function () { throw new RuntimeError('Variable "countUser" does not exist.', 48, $this->source); })()), "html", null, true);
echo "</span>
\t\t\t\t\t\t\t\t\t<h6><a href=\"#\">";
// line 49
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("about.users"), "html", null, true);
echo "</a></h6>
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<!--ROW END-->
\t\t</div>
\t\t<!--CONTAINER END-->
\t</div>
\t<!--KODE MOSQUES WRAP END-->
\t<!--KODE PHILOSOPHY WRAP START-->
\t<div class=\"kode_Philosophy_wrap them_overlay\">
\t\t<!--CONTAINER START-->
\t\t<div class=\"container\">
\t\t\t<!--SECTION HDG START-->
\t\t\t<div class=\"section_hdg hdg_2 hdg_3\">
\t\t\t\t<a href=\"#\"><img src=\"";
// line 70
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/hdg-img.png"), "html", null, true);
echo "\" alt=\"hdg\"></a>
\t\t\t\t<h2>";
// line 71
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("about.random.mosque"), "html", null, true);
echo "</h2>
\t\t\t\t<span><i class=\"fa icon-art\"></i></span>
\t\t\t</div>
\t\t\t<!--SECTION HDG END-->
\t\t\t<div class=\"kode-pholisophy-slide\">
\t\t\t\t";
// line 76
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["masjidRandom"]) || array_key_exists("masjidRandom", $context) ? $context["masjidRandom"] : (function () { throw new RuntimeError('Variable "masjidRandom" does not exist.', 76, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["masjid"]) {
// line 77
echo "\t\t\t\t\t<div>
\t\t\t\t\t\t<div class=\"kode_philosophy_text\">
\t\t\t\t\t\t\t<span class=\"hvr-ripple-out\"><a href=\"";
// line 79
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("masjid_show", ["slug" => twig_get_attribute($this->env, $this->source, $context["masjid"], "slug", [], "any", false, false, false, 79)]), "html", null, true);
echo "\"><i class=\"fa icon-art\"></i></a></span>
\t\t\t\t\t\t\t<h4><a href=\"";
// line 80
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("masjid_show", ["slug" => twig_get_attribute($this->env, $this->source, $context["masjid"], "slug", [], "any", false, false, false, 80)]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["masjid"], "translations", [], "any", false, false, false, 80), 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.', 80, $this->source); })()), "request", [], "any", false, false, false, 80), "locale", [], "any", false, false, false, 80), [], "array", false, false, false, 80), "name", [], "any", false, false, false, 80), "html", null, true);
echo "</a></h4>
\t\t\t\t\t\t\t<ul>
\t\t\t\t\t\t\t\t<li class=\"iconInline\"><i class=\"fa fa-female ";
// line 82
if (twig_get_attribute($this->env, $this->source, $context["masjid"], "isWomen", [], "any", false, false, false, 82)) {
echo " iconactive ";
}
echo "\"></i></li>
\t\t\t\t\t\t\t\t<li class=\"iconInline\"><i class=\"fa icon-art ";
// line 83
if (twig_get_attribute($this->env, $this->source, $context["masjid"], "isJumah", [], "any", false, false, false, 83)) {
echo " iconactive ";
}
echo "\"></i></li>
\t\t\t\t\t\t\t\t<li class=\"iconInline\"><i class=\"fa fa-language ";
// line 84
if (twig_get_attribute($this->env, $this->source, $context["masjid"], "isEnglish", [], "any", false, false, false, 84)) {
echo " iconactive ";
}
echo "\"></i></li>
\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t<a class=\"small_btn background-bg-dark btn_hover\" href=\"";
// line 86
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("masjid_show", ["slug" => twig_get_attribute($this->env, $this->source, $context["masjid"], "slug", [], "any", false, false, false, 86)]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("about.masjid.readmore"), "html", null, true);
echo "</a>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['masjid'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 90
echo "\t\t\t</div>
\t\t</div>
\t\t<!--CONTAINER END-->
\t</div>
\t<!--KODE PHILOSOPHY WRAP END-->
\t\t\t\t
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "Main/about.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 255 => 90, 243 => 86, 236 => 84, 230 => 83, 224 => 82, 217 => 80, 213 => 79, 209 => 77, 205 => 76, 197 => 71, 193 => 70, 169 => 49, 165 => 48, 159 => 45, 155 => 44, 149 => 41, 145 => 40, 139 => 37, 132 => 33, 128 => 32, 118 => 25, 107 => 16, 97 => 15, 85 => 13, 72 => 4, 62 => 3, 51 => 1, 49 => 2, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% set page = \"about\" %}
{% block stylesheets %}
\t{{ parent() }}
\t<style>
\t\t.iconactive{
\t\t\tcolor:#007176;
\t\t}
\t\t.iconInline{
\t\t\tdisplay:inline-block;
\t\t}
\t</style>
\t<link href=\"{{asset('css/sidebar-widget.css')}}\" rel=\"stylesheet\">
{% endblock %}
{% block body %}
\t<!--KODE MOSQUES WRAP STRAT-->
\t<div class=\"kode_mosques_wrap\">
\t\t<!--CONTAINER STRAT-->
\t\t<div class=\"container\">
\t\t\t<!--ROW STRAT-->
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-md-6\">
\t\t\t\t\t<div class=\"kode_mosque_row mosque\">
\t\t\t\t\t\t<figure class=\"\">
\t\t\t\t\t\t\t<img src=\"{{asset('uploads/masjids/20210424_235146.webp')}}\" alt=\"sharjah-masjids.com\" />
\t\t\t\t\t\t</figure>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-md-6\">
\t\t\t\t\t<div class=\"kode_mosque_text\">
\t\t\t\t\t\t<div class=\"section_hdg\">
\t\t\t\t\t\t\t<a href=\"#\"><img src=\"{{asset('images/hdg-img.png')}}\" alt=\"hdg\"></a>
\t\t\t\t\t\t\t<h1>{{ 'about.title'|trans }}</h1>
\t\t\t\t\t\t\t<span><i class=\"fa icon-art\"></i></span>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"kode_mosque_item\">
\t\t\t\t\t\t\t<p>{{ 'presentationText'|trans }}</p>
\t\t\t\t\t\t\t<ul class=\"kode_counter_mosque\">
\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t<span class=\"counter\">{{ countMasjid }}</span>
\t\t\t\t\t\t\t\t\t<h6><a href=\"#\">{{ 'about.masjids'|trans }}</a></h6>
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t<span class=\"counter\">{{ countPictures }}</span>
\t\t\t\t\t\t\t\t\t<h6><a href=\"#\">{{ 'about.pictures'|trans({'photos': countPictures|length}) }}</a></h6>
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t<span class=\"counter\">{{ countUser }}</span>
\t\t\t\t\t\t\t\t\t<h6><a href=\"#\">{{ 'about.users'|trans }}</a></h6>
\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<!--ROW END-->
\t\t</div>
\t\t<!--CONTAINER END-->
\t</div>
\t<!--KODE MOSQUES WRAP END-->
\t<!--KODE PHILOSOPHY WRAP START-->
\t<div class=\"kode_Philosophy_wrap them_overlay\">
\t\t<!--CONTAINER START-->
\t\t<div class=\"container\">
\t\t\t<!--SECTION HDG START-->
\t\t\t<div class=\"section_hdg hdg_2 hdg_3\">
\t\t\t\t<a href=\"#\"><img src=\"{{asset('images/hdg-img.png')}}\" alt=\"hdg\"></a>
\t\t\t\t<h2>{{ 'about.random.mosque'|trans }}</h2>
\t\t\t\t<span><i class=\"fa icon-art\"></i></span>
\t\t\t</div>
\t\t\t<!--SECTION HDG END-->
\t\t\t<div class=\"kode-pholisophy-slide\">
\t\t\t\t{% for masjid in masjidRandom %}
\t\t\t\t\t<div>
\t\t\t\t\t\t<div class=\"kode_philosophy_text\">
\t\t\t\t\t\t\t<span class=\"hvr-ripple-out\"><a href=\"{{path('masjid_show',{slug:masjid.slug})}}\"><i class=\"fa icon-art\"></i></a></span>
\t\t\t\t\t\t\t<h4><a href=\"{{path('masjid_show',{slug:masjid.slug})}}\">{{ masjid.translations[app.request.locale].name }}</a></h4>
\t\t\t\t\t\t\t<ul>
\t\t\t\t\t\t\t\t<li class=\"iconInline\"><i class=\"fa fa-female {% if masjid.isWomen %} iconactive {% endif %}\"></i></li>
\t\t\t\t\t\t\t\t<li class=\"iconInline\"><i class=\"fa icon-art {% if masjid.isJumah %} iconactive {% endif %}\"></i></li>
\t\t\t\t\t\t\t\t<li class=\"iconInline\"><i class=\"fa fa-language {% if masjid.isEnglish %} iconactive {% endif %}\"></i></li>
\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t<a class=\"small_btn background-bg-dark btn_hover\" href=\"{{path('masjid_show',{slug:masjid.slug})}}\">{{ 'about.masjid.readmore'|trans }}</a>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t{% endfor %}
\t\t\t</div>
\t\t</div>
\t\t<!--CONTAINER END-->
\t</div>
\t<!--KODE PHILOSOPHY WRAP END-->
\t\t\t\t
{% endblock %}
", "Main/about.html.twig", "/var/www/sharjah/templates/Main/about.html.twig");
}
}