var/cache/dev/twig/f0/f09f181eb251b8749477159e028cc9fe.php line 38

  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. /* Default/articles.html.twig */
  14. class __TwigTemplate_757c07773c7a4d68059a586794471c8e 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->blocks = [
  23.             'content' => [$this'block_content'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 8
  29.         return "Default/base.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Default/articles.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Default/articles.html.twig"));
  38.         // line 1
  39.         $context["title"] = (((isset($context["cat"]) || array_key_exists("cat"$context) ? $context["cat"] : (function () { throw new RuntimeError('Variable "cat" does not exist.'1$this->source); })())) ? (twig_get_attribute($this->env$this->source, (isset($context["cat"]) || array_key_exists("cat"$context) ? $context["cat"] : (function () { throw new RuntimeError('Variable "cat" does not exist.'1$this->source); })()), "name", [], "any"falsefalsefalse1)) : ("Publications"));
  40.         // line 2
  41.         $context["iconColor"] = "#1F4878";
  42.         // line 3
  43.         $context["titleColor"] = "#ffffff";
  44.         // line 4
  45.         $context["bgColor"] = "#81B0B1";
  46.         // line 5
  47.         $context["menu"] = "articles";
  48.         // line 6
  49.         $macros["macros"] = $this->macros["macros"] = $this->loadTemplate("Default/macros.html.twig""Default/articles.html.twig"6)->unwrap();
  50.         // line 8
  51.         $this->parent $this->loadTemplate("Default/base.html.twig""Default/articles.html.twig"8);
  52.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  53.         
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  55.         
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  57.     }
  58.     // line 10
  59.     public function block_content($context, array $blocks = [])
  60.     {
  61.         $macros $this->macros;
  62.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  66.         // line 11
  67.         echo "<div class='bg-white ";
  68.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("gpadding top-80-in"), "html"nulltrue);
  69.         echo " ";
  70.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("top-40-in hz-20-in"), "html"nulltrue);
  71.         echo " '>
  72. \t";
  73.         // line 16
  74.         echo "\t<div class='w100 articles ";
  75.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("top-70 top-6-in"), "html"nulltrue);
  76.         echo "'>
  77. \t\t<div class='w100 ";
  78.         // line 17
  79.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()(" flex row space wrap vt-30-in"), "html"nulltrue);
  80.         echo " ";
  81.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()(""), "html"nulltrue);
  82.         echo "'>
  83. \t\t\t";
  84.         // line 18
  85.         $context['_parent'] = $context;
  86.         $context['_seq'] = twig_ensure_traversable((isset($context["list"]) || array_key_exists("list"$context) ? $context["list"] : (function () { throw new RuntimeError('Variable "list" does not exist.'18$this->source); })()));
  87.         $context['loop'] = [
  88.           'parent' => $context['_parent'],
  89.           'index0' => 0,
  90.           'index'  => 1,
  91.           'first'  => true,
  92.         ];
  93.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  94.             $length count($context['_seq']);
  95.             $context['loop']['revindex0'] = $length 1;
  96.             $context['loop']['revindex'] = $length;
  97.             $context['loop']['length'] = $length;
  98.             $context['loop']['last'] = === $length;
  99.         }
  100.         foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
  101.             // line 19
  102.             echo "\t\t\t";
  103.             echo twig_call_macro($macros["macros"], "macro_article", [$context["o"], twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse19)], 19$context$this->getSourceContext());
  104.             echo "
  105. \t\t\t";
  106.             ++$context['loop']['index0'];
  107.             ++$context['loop']['index'];
  108.             $context['loop']['first'] = false;
  109.             if (isset($context['loop']['length'])) {
  110.                 --$context['loop']['revindex0'];
  111.                 --$context['loop']['revindex'];
  112.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  113.             }
  114.         }
  115.         $_parent $context['_parent'];
  116.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);
  117.         $context array_intersect_key($context$_parent) + $_parent;
  118.         // line 21
  119.         echo "\t\t</div>
  120.     </div>
  121.     <div class='";
  122.         // line 23
  123.         echo twig_escape_filter($this->env$this->env->getFunction('desktop')->getCallable()("gpadding vt-30-in"), "html"nulltrue);
  124.         echo " ";
  125.         echo twig_escape_filter($this->env$this->env->getFunction('mobile')->getCallable()("padding-20"), "html"nulltrue);
  126.         echo "'>
  127.     ";
  128.         // line 24
  129.         $this->loadTemplate("Default/counter.html.twig""Default/articles.html.twig"24)->display(twig_array_merge($context, ["expanded" => true]));
  130.         // line 25
  131.         echo "    </div>
  132. </div>
  133. ";
  134.         
  135.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  136.         
  137.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  138.     }
  139.     public function getTemplateName()
  140.     {
  141.         return "Default/articles.html.twig";
  142.     }
  143.     public function isTraitable()
  144.     {
  145.         return false;
  146.     }
  147.     public function getDebugInfo()
  148.     {
  149.         return array (  145 => 25,  143 => 24,  137 => 23,  133 => 21,  116 => 19,  99 => 18,  93 => 17,  88 => 16,  81 => 11,  71 => 10,  60 => 8,  58 => 6,  56 => 5,  54 => 4,  52 => 3,  50 => 2,  48 => 1,  35 => 8,);
  150.     }
  151.     public function getSourceContext()
  152.     {
  153.         return new Source("{% set title = cat ? cat.name : \"Publications\" %}
  154. {% set iconColor = \"#1F4878\" %}
  155. {% set titleColor = \"#ffffff\" %} 
  156. {% set bgColor = \"#81B0B1\" %}
  157. {% set menu = 'articles' %}
  158. {% import \"Default/macros.html.twig\" as macros %}
  159. {% extends 'Default/base.html.twig' %}
  160. {% block content %}
  161. <div class='bg-white {{desktop(\"gpadding top-80-in\")}} {{mobile(\"top-40-in hz-20-in\")}} '>
  162. \t{#{% set list =  [{'id':1,'slug':'azerty','title' : \"Le Directeur Général de l'ASIN sur The Voice Of Africa\", \"description\":\"Le Directeur Général de l'Agence des Systèmes d'Information et du Numérique (ASIN), Monsieur Marc-André AkinOlu LOKO était l'invité ce lundi 13 février 2023 de la web radio tunisienne « The Voice of Africa ».\", 'banner':\"images/art1.png\"}] %}
  163. \t{% set list =  list|merge([{'id':1,'slug':'azerty','title' : 'Magazine Benin Numérique N°001 - Février 2023',\"description\":\"Découvrez le premier numéro de BENIN NUMERIQUE le magazine d'information dédié au secteur du numérique au Bénin.\", 'banner':\"images/art2.jpg\"}]) %}
  164. \t{% set list =  list|merge([{'id':1,'slug':'azerty','title' : \"Dixième Conférence des DSI\",'description' : \"L'Agence des Systèmes d’Information et du Numérique (ASIN) à travers son pôle Systèmes d’Information et Digitalisation a organisé le mardi 29 novembre 2022, la dixième Conférence des Directeurs des Systèmes d’Information (CDSI)...\", 'banner':\"images/art3.jpg\"}]) %}
  165. \t#}
  166. \t<div class='w100 articles {{desktop(\"top-70 top-6-in\")}}'>
  167. \t\t<div class='w100 {{desktop(\" flex row space wrap vt-30-in\")}} {{mobile(\"\")}}'>
  168. \t\t\t{% for o in list %}
  169. \t\t\t{{macros.article(o, loop.last )}}
  170. \t\t\t{%endfor%}
  171. \t\t</div>
  172.     </div>
  173.     <div class='{{desktop(\"gpadding vt-30-in\")}} {{mobile(\"padding-20\")}}'>
  174.     {% include (\"Default/counter.html.twig\") with {expanded:true} %}
  175.     </div>
  176. </div>
  177. {% endblock %}
  178. ""Default/articles.html.twig""/home/olasoftnka/asin/templates/Default/articles.html.twig");
  179.     }
  180. }