<?php

/* @users/partials/posts.twig */
class __TwigTemplate_1dc544570182eb0935371b41304708a00253e95000f84180b1b166b8a4d9068b extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 1
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(($context["posts"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
            // line 2
            echo "\t<div class=\"item mp-post mbsOneProfilePost\" data-post-id=\"";
            echo twig_escape_filter($this->env, $this->getAttribute($context["post"], "id", array()), "html", null, true);
            echo "\">
\t\t<div class=\"content\">
\t\t\t<a class=\"header\" href=\"";
            // line 4
            echo twig_escape_filter($this->env, $this->getAttribute($context["post"], "link", array()), "html", null, true);
            echo "\">";
            echo twig_escape_filter($this->env, $this->getAttribute($context["post"], "title", array()), "html", null, true);
            echo " </a>
\t\t\t<div class=\"meta\">
\t\t\t\t<small class=\"date\">";
            // line 6
            echo twig_escape_filter($this->env, $this->getAttribute($context["post"], "date", array()), "html", null, true);
            echo "</small>
\t\t\t</div>
\t\t\t<div class=\"extra\">
\t\t\t\t<div><small>";
            // line 9
            echo twig_escape_filter($this->env, $this->getAttribute($context["post"], "category", array()), "html", null, true);
            echo "</small></div>
\t\t\t\t";
            // line 10
            if ($this->getAttribute($context["post"], "comments_count", array())) {
                // line 11
                echo "\t\t\t\t\t<small>";
                echo twig_escape_filter($this->env, $this->getAttribute($context["post"], "comments_count", array()), "html", null, true);
                echo " ";
                echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Comments")), "html", null, true);
                echo "</small>
\t\t\t\t";
            }
            // line 13
            echo "\t\t\t</div>
\t\t</div>
\t\t";
            // line 15
            if ((($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["settings"] ?? null), "base", array()), "plugins", array()), "socialShare", array()), "enabled", array()) == 1) && twig_length_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["settings"] ?? null), "base", array()), "plugins", array()), "socialShare", array()), "ids", array())))) {
                // line 16
                echo "\t\t\t<div class=\"mbsSocShareContainerForPost\">
\t\t\t\t";
                // line 17
                echo $this->env->getExtension('Membership_Activity_Twig')->getSocShareProject(array("projectId" => $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(                // line 18
($context["settings"] ?? null), "base", array()), "plugins", array()), "socialShare", array()), "ids", array()), 0, array(), "array"), "url" => $this->getAttribute(                // line 19
$context["post"], "link", array()), "title" => $this->getAttribute(                // line 20
$context["post"], "title", array()), "type" => "pp", "id" => $this->getAttribute(                // line 22
$context["post"], "id", array())));
                // line 23
                echo "
\t\t\t</div>
\t\t";
            }
            // line 26
            echo "\t</div>
";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
    }

    public function getTemplateName()
    {
        return "@users/partials/posts.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  76 => 26,  71 => 23,  69 => 22,  68 => 20,  67 => 19,  66 => 18,  65 => 17,  62 => 16,  60 => 15,  56 => 13,  48 => 11,  46 => 10,  42 => 9,  36 => 6,  29 => 4,  23 => 2,  19 => 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("", "@users/partials/posts.twig", "D:\\xampp\\htdocs\\wordpress\\wp-content\\plugins\\membership-by-supsystic\\src\\Membership\\Users\\views\\partials\\posts.twig");
    }
}
