var/cache/dev/twig/dd/dd34026615deb3dd58b4705025f97641.php line 41

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. /* content/tmpl/directory-listing.html.twig */
  14. class __TwigTemplate_26b7c6224cf8377d37507a5132a203d8 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.             'colwrapperdiv' => [$this'block_colwrapperdiv'],
  24.             'column' => [$this'block_column'],
  25.             'sidebarwrapperdiv' => [$this'block_sidebarwrapperdiv'],
  26.             'sidebar' => [$this'block_sidebar'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "1-col-sidebar.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""content/tmpl/directory-listing.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""content/tmpl/directory-listing.html.twig"));
  41.         // line 5
  42.         $context["customer"] = twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'5$this->source); })()), "getDirectory", [], "method"falsefalsefalse5);
  43.         // line 1
  44.         $this->parent $this->loadTemplate("1-col-sidebar.html.twig""content/tmpl/directory-listing.html.twig"1);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 4
  52.     public function block_colwrapperdiv($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""colwrapperdiv"));
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""colwrapperdiv"));
  59.         echo "<div class=\"col-12 col-lg-9\">";
  60.         
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  62.         
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  64.     }
  65.     // line 6
  66.     public function block_column($context, array $blocks = [])
  67.     {
  68.         $macros $this->macros;
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""column"));
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""column"));
  73.         // line 7
  74.         echo "
  75. \t";
  76.         // line 8
  77.         if ( !array_key_exists("site_code"$context)) {
  78.             // line 9
  79.             echo "\t\t";
  80.             $context["site_code"] = "";
  81.             // line 10
  82.             echo "\t";
  83.         }
  84.         // line 11
  85.         echo "\t
  86. \t<script src=\"";
  87.         // line 12
  88.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/directory-listing.min.js?v=3"), "html"nulltrue);
  89.         echo "\"></script>
  90. \t<div class=\"directory-listing\">
  91. \t\t<a href=\"/our-directory\" class=\"button alt\" style=\"float: right; margin-left:15px;\">Back to Directory</a>
  92. \t\t<a href=\"#connectwithus\" id=\"connectwithusbutton\" class=\"d-block d-lg-none button alt\" style=\"float:right;\">Connect With Us</a>
  93. \t\t<br><br>
  94. \t\t";
  95.         // line 17
  96.         if (twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'17$this->source); })()), "getShowTitle", [], "method"falsefalsefalse17)) {
  97.             // line 18
  98.             echo "\t\t\t<h1 class=\"post-title notranslate directory-title\">";
  99.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'18$this->source); })()), "getTitle", [], "method"falsefalsefalse18), "html"nulltrue);
  100.             echo "</h1>
  101. \t\t";
  102.         }
  103.         // line 20
  104.         echo "\t\t<div>
  105. \t\t\t";
  106.         // line 21
  107.         echo $this->extensions['App\Twig\RCSExtension']->wordpress(twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'21$this->source); })()), "getContentFull", [], "method"falsefalsefalse21));
  108.         echo "
  109. \t\t</div>
  110. \t\t";
  111.         // line 23
  112.         if ( !twig_test_empty((isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'23$this->source); })()))) {
  113.             // line 24
  114.             echo "
  115. \t\t\t";
  116.             // line 26
  117.             echo "\t\t\t";
  118.             if (((isset($context["show_promotions"]) || array_key_exists("show_promotions"$context) ? $context["show_promotions"] : (function () { throw new RuntimeError('Variable "show_promotions" does not exist.'26$this->source); })()) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'26$this->source); })()), "getPromosRebates", [], "method"falsefalsefalse26)))) {
  119.                 // line 27
  120.                 echo "\t\t\t\t<hr>
  121. \t\t\t\t<div>
  122. \t\t\t\t\t<h2>
  123. \t\t\t\t\t\t<strong>Latest Promotions and Rebates</strong>
  124. \t\t\t\t\t</h2>
  125. \t\t\t\t\t";
  126.                 // line 32
  127.                 $context['_parent'] = $context;
  128.                 $context['_seq'] = twig_ensure_traversable(twig_slice($this->envtwig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'32$this->source); })()), "getPromosRebates", [], "method"falsefalsefalse32), 03));
  129.                 foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
  130.                     // line 33
  131.                     echo "\t\t\t\t\t\t<div class=\"row list-row\">
  132. \t\t\t\t\t\t\t";
  133.                     // line 34
  134.                     if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse34))) {
  135.                         // line 35
  136.                         echo "\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  137. \t\t\t\t\t\t\t\t\t";
  138.                         // line 36
  139.                         echo twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse36);
  140.                         echo "
  141. \t\t\t\t\t\t\t\t</div>
  142. \t\t\t\t\t\t\t";
  143.                     }
  144.                     // line 39
  145.                     echo "\t\t\t\t\t\t\t<div class=";
  146.                     echo ((twig_test_empty(twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse39))) ? ("col-sm-12") : ("col-sm-9"));
  147.                     echo ">
  148. \t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">";
  149.                     // line 40
  150.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "title", [], "any"falsefalsefalse40), "html"nulltrue);
  151.                     echo "</h3>
  152. \t\t\t\t\t\t\t\t<p>";
  153.                     // line 41
  154.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "getIntroText", [], "method"falsefalsefalse41), "html"nulltrue);
  155.                     echo "<br>
  156. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
  157.                     // line 42
  158.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "getFullURL", [(isset($context["site_code"]) || array_key_exists("site_code"$context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.'42$this->source); })())], "method"falsefalsefalse42), "html"nulltrue);
  159.                     echo "\">View Promotion</a>
  160. \t\t\t\t\t\t\t\t</p>
  161. \t\t\t\t\t\t\t</div>
  162. \t\t\t\t\t\t</div>
  163. \t\t\t\t\t";
  164.                 }
  165.                 $_parent $context['_parent'];
  166.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
  167.                 $context array_intersect_key($context$_parent) + $_parent;
  168.                 // line 47
  169.                 echo "\t\t\t\t\t";
  170.                 if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'47$this->source); })()), "getPromosRebates", [], "method"falsefalsefalse47)) > 3)) {
  171.                     // line 48
  172.                     echo "\t\t\t\t\t\t<div class=\"row\">
  173. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  174. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  175. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
  176.                     // line 51
  177.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["meta"]) || array_key_exists("meta"$context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.'51$this->source); })()), "root", [], "any"falsefalsefalse51), "html"nulltrue);
  178.                     echo "/content/";
  179.                     echo twig_escape_filter($this->envtwig_constant("App\\Entity\\Content::PROMOS_REBATES"), "html"nulltrue);
  180.                     echo "\">
  181. \t\t\t\t\t\t\t\t\t<strong>
  182. \t\t\t\t\t\t\t\t\t\tSee More</strong>
  183. \t\t\t\t\t\t\t\t</a>
  184. \t\t\t\t\t\t\t</div>
  185. \t\t\t\t\t\t</div>
  186. \t\t\t\t\t";
  187.                 }
  188.                 // line 58
  189.                 echo "\t\t\t\t</div>
  190. \t\t\t";
  191.             }
  192.             // line 60
  193.             echo "
  194. \t\t\t";
  195.             // line 61
  196.             $context["ebooks"] = twig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'61$this->source); })()), "getEbooks", [200], "method"falsefalsefalse61);
  197.             // line 62
  198.             echo "\t\t\t";
  199.             // line 63
  200.             echo "\t\t\t";
  201.             if (((isset($context["show_ebooks"]) || array_key_exists("show_ebooks"$context) ? $context["show_ebooks"] : (function () { throw new RuntimeError('Variable "show_ebooks" does not exist.'63$this->source); })()) &&  !twig_test_empty((isset($context["ebooks"]) || array_key_exists("ebooks"$context) ? $context["ebooks"] : (function () { throw new RuntimeError('Variable "ebooks" does not exist.'63$this->source); })())))) {
  202.                 // line 64
  203.                 echo "\t\t\t\t<hr>
  204. \t\t\t\t<div>
  205. \t\t\t\t\t<h2>
  206. \t\t\t\t\t\t<strong>eBooks</strong>
  207. \t\t\t\t\t</h2>
  208. \t\t\t\t\t";
  209.                 // line 69
  210.                 $context["reBooks"] = $this->extensions['App\Twig\RCSExtension']->twigRandom((isset($context["ebooks"]) || array_key_exists("ebooks"$context) ? $context["ebooks"] : (function () { throw new RuntimeError('Variable "ebooks" does not exist.'69$this->source); })()));
  211.                 // line 70
  212.                 echo "\t\t\t\t\t";
  213.                 $context['_parent'] = $context;
  214.                 $context['_seq'] = twig_ensure_traversable(twig_slice($this->env, (isset($context["reBooks"]) || array_key_exists("reBooks"$context) ? $context["reBooks"] : (function () { throw new RuntimeError('Variable "reBooks" does not exist.'70$this->source); })()), 03));
  215.                 foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
  216.                     // line 71
  217.                     echo "\t\t\t\t\t\t<div class=\"row list-row\">
  218. \t\t\t\t\t\t\t";
  219.                     // line 72
  220.                     if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse72))) {
  221.                         // line 73
  222.                         echo "\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  223. \t\t\t\t\t\t\t\t\t";
  224.                         // line 74
  225.                         echo twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse74);
  226.                         echo "
  227. \t\t\t\t\t\t\t\t</div>
  228. \t\t\t\t\t\t\t";
  229.                     }
  230.                     // line 77
  231.                     echo "\t\t\t\t\t\t\t<div class=";
  232.                     echo ((twig_test_empty(twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse77))) ? ("col-sm-12") : ("col-sm-9"));
  233.                     echo ">
  234. \t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">";
  235.                     // line 78
  236.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "title", [], "any"falsefalsefalse78), "html"nulltrue);
  237.                     echo "</h3>
  238. \t\t\t\t\t\t\t\t<p>";
  239.                     // line 79
  240.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "getIntroText", [], "method"falsefalsefalse79), "html"nulltrue);
  241.                     echo "<br>
  242. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
  243.                     // line 80
  244.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "getFullURL", [(isset($context["site_code"]) || array_key_exists("site_code"$context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.'80$this->source); })())], "method"falsefalsefalse80), "html"nulltrue);
  245.                     echo "\">View eBook</a>
  246. \t\t\t\t\t\t\t\t</p>
  247. \t\t\t\t\t\t\t</div>
  248. \t\t\t\t\t\t</div>
  249. \t\t\t\t\t";
  250.                 }
  251.                 $_parent $context['_parent'];
  252.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
  253.                 $context array_intersect_key($context$_parent) + $_parent;
  254.                 // line 85
  255.                 echo "\t\t\t\t\t";
  256.                 if ((twig_length_filter($this->env, (isset($context["ebooks"]) || array_key_exists("ebooks"$context) ? $context["ebooks"] : (function () { throw new RuntimeError('Variable "ebooks" does not exist.'85$this->source); })())) > 3)) {
  257.                     // line 86
  258.                     echo "\t\t\t\t\t\t<div class=\"row\">
  259. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  260. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  261. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
  262.                     // line 89
  263.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["meta"]) || array_key_exists("meta"$context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.'89$this->source); })()), "root", [], "any"falsefalsefalse89), "html"nulltrue);
  264.                     echo "/content/";
  265.                     echo twig_escape_filter($this->envtwig_constant("App\\Entity\\Content::EBOOK"), "html"nulltrue);
  266.                     echo "\">
  267. \t\t\t\t\t\t\t\t\t<strong>
  268. \t\t\t\t\t\t\t\t\t\tSee More</strong>
  269. \t\t\t\t\t\t\t\t</a>
  270. \t\t\t\t\t\t\t</div>
  271. \t\t\t\t\t\t</div>
  272. \t\t\t\t\t";
  273.                 }
  274.                 // line 96
  275.                 echo "\t\t\t\t</div>
  276. \t\t\t";
  277.             }
  278.             // line 98
  279.             echo "
  280. \t\t\t";
  281.             // line 100
  282.             echo "\t\t\t";
  283.             if (((isset($context["show_contestgames"]) || array_key_exists("show_contestgames"$context) ? $context["show_contestgames"] : (function () { throw new RuntimeError('Variable "show_contestgames" does not exist.'100$this->source); })()) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'100$this->source); })()), "getContestsGames", [], "method"falsefalsefalse100)))) {
  284.                 // line 101
  285.                 echo "\t\t\t\t<hr>
  286. \t\t\t\t<div>
  287. \t\t\t\t\t<h2>
  288. \t\t\t\t\t\t<strong>Latest Contests and Games</strong>
  289. \t\t\t\t\t</h2>
  290. \t\t\t\t\t";
  291.                 // line 106
  292.                 $context['_parent'] = $context;
  293.                 $context['_seq'] = twig_ensure_traversable(twig_slice($this->envtwig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'106$this->source); })()), "getContestsGames", [], "method"falsefalsefalse106), 03));
  294.                 foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
  295.                     // line 107
  296.                     echo "\t\t\t\t\t\t<div class=\"row list-row\">
  297. \t\t\t\t\t\t\t";
  298.                     // line 108
  299.                     if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse108))) {
  300.                         // line 109
  301.                         echo "\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  302. \t\t\t\t\t\t\t\t\t";
  303.                         // line 110
  304.                         echo twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse110);
  305.                         echo "
  306. \t\t\t\t\t\t\t\t</div>
  307. \t\t\t\t\t\t\t";
  308.                     }
  309.                     // line 113
  310.                     echo "\t\t\t\t\t\t\t<div class=";
  311.                     echo ((twig_test_empty(twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse113))) ? ("col-sm-12") : ("col-sm-9"));
  312.                     echo ">
  313. \t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">";
  314.                     // line 114
  315.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "title", [], "any"falsefalsefalse114), "html"nulltrue);
  316.                     echo "</h3>
  317. \t\t\t\t\t\t\t\t<p>";
  318.                     // line 115
  319.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "getIntroText", [], "method"falsefalsefalse115), "html"nulltrue);
  320.                     echo "<br>
  321. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
  322.                     // line 116
  323.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "getFullURL", [(isset($context["site_code"]) || array_key_exists("site_code"$context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.'116$this->source); })())], "method"falsefalsefalse116), "html"nulltrue);
  324.                     echo "\">View Contest or Game</a>
  325. \t\t\t\t\t\t\t\t</p>
  326. \t\t\t\t\t\t\t</div>
  327. \t\t\t\t\t\t</div>
  328. \t\t\t\t\t";
  329.                 }
  330.                 $_parent $context['_parent'];
  331.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
  332.                 $context array_intersect_key($context$_parent) + $_parent;
  333.                 // line 121
  334.                 echo "\t\t\t\t\t";
  335.                 if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'121$this->source); })()), "getContestsGames", [], "method"falsefalsefalse121)) > 3)) {
  336.                     // line 122
  337.                     echo "\t\t\t\t\t\t<div class=\"row\">
  338. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  339. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  340. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
  341.                     // line 125
  342.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["meta"]) || array_key_exists("meta"$context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.'125$this->source); })()), "root", [], "any"falsefalsefalse125), "html"nulltrue);
  343.                     echo "/content/";
  344.                     echo twig_escape_filter($this->envtwig_constant("App\\Entity\\Content::CONTEST_GAMES"), "html"nulltrue);
  345.                     echo "\">
  346. \t\t\t\t\t\t\t\t\t<strong>
  347. \t\t\t\t\t\t\t\t\t\tSee More</strong>
  348. \t\t\t\t\t\t\t\t</a>
  349. \t\t\t\t\t\t\t</div>
  350. \t\t\t\t\t\t</div>
  351. \t\t\t\t\t";
  352.                 }
  353.                 // line 132
  354.                 echo "\t\t\t\t</div>
  355. \t\t\t";
  356.             }
  357.             // line 134
  358.             echo "
  359. \t\t\t";
  360.             // line 136
  361.             echo "\t\t\t";
  362.             if (((isset($context["show_awards"]) || array_key_exists("show_awards"$context) ? $context["show_awards"] : (function () { throw new RuntimeError('Variable "show_awards" does not exist.'136$this->source); })()) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'136$this->source); })()), "getAwards", [], "method"falsefalsefalse136)))) {
  363.                 // line 137
  364.                 echo "\t\t\t\t<hr>
  365. \t\t\t\t<div>
  366. \t\t\t\t\t<h2>
  367. \t\t\t\t\t\t<strong>Latest Awards</strong>
  368. \t\t\t\t\t</h2>
  369. \t\t\t\t\t";
  370.                 // line 142
  371.                 $context['_parent'] = $context;
  372.                 $context['_seq'] = twig_ensure_traversable(twig_slice($this->envtwig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'142$this->source); })()), "getAwards", [], "method"falsefalsefalse142), 03));
  373.                 foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
  374.                     // line 143
  375.                     echo "\t\t\t\t\t\t<div class=\"row list-row\">
  376. \t\t\t\t\t\t\t";
  377.                     // line 144
  378.                     if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse144))) {
  379.                         // line 145
  380.                         echo "\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  381. \t\t\t\t\t\t\t\t\t";
  382.                         // line 146
  383.                         echo twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse146);
  384.                         echo "
  385. \t\t\t\t\t\t\t\t</div>
  386. \t\t\t\t\t\t\t";
  387.                     }
  388.                     // line 149
  389.                     echo "\t\t\t\t\t\t\t<div class=";
  390.                     echo ((twig_test_empty(twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse149))) ? ("col-sm-12") : ("col-sm-9"));
  391.                     echo ">
  392. \t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">";
  393.                     // line 150
  394.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "title", [], "any"falsefalsefalse150), "html"nulltrue);
  395.                     echo "</h3>
  396. \t\t\t\t\t\t\t\t<p>";
  397.                     // line 151
  398.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "getIntroText", [], "method"falsefalsefalse151), "html"nulltrue);
  399.                     echo "<br>
  400. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
  401.                     // line 152
  402.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "getFullURL", [(isset($context["site_code"]) || array_key_exists("site_code"$context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.'152$this->source); })())], "method"falsefalsefalse152), "html"nulltrue);
  403.                     echo "\">View Award</a>
  404. \t\t\t\t\t\t\t\t</p>
  405. \t\t\t\t\t\t\t</div>
  406. \t\t\t\t\t\t</div>
  407. \t\t\t\t\t";
  408.                 }
  409.                 $_parent $context['_parent'];
  410.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
  411.                 $context array_intersect_key($context$_parent) + $_parent;
  412.                 // line 157
  413.                 echo "\t\t\t\t\t";
  414.                 if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'157$this->source); })()), "getAwards", [], "method"falsefalsefalse157)) > 3)) {
  415.                     // line 158
  416.                     echo "\t\t\t\t\t\t<div class=\"row\">
  417. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  418. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  419. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
  420.                     // line 161
  421.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["meta"]) || array_key_exists("meta"$context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.'161$this->source); })()), "root", [], "any"falsefalsefalse161), "html"nulltrue);
  422.                     echo "/content/";
  423.                     echo twig_escape_filter($this->envtwig_constant("App\\Entity\\Content::AWARD"), "html"nulltrue);
  424.                     echo "\">
  425. \t\t\t\t\t\t\t\t\t<strong>
  426. \t\t\t\t\t\t\t\t\t\tSee More</strong>
  427. \t\t\t\t\t\t\t\t</a>
  428. \t\t\t\t\t\t\t</div>
  429. \t\t\t\t\t\t</div>
  430. \t\t\t\t\t";
  431.                 }
  432.                 // line 168
  433.                 echo "\t\t\t\t</div>
  434. \t\t\t";
  435.             }
  436.             // line 170
  437.             echo "
  438. \t\t\t";
  439.             // line 172
  440.             echo "\t\t\t";
  441.             if (((isset($context["show_scholarships"]) || array_key_exists("show_scholarships"$context) ? $context["show_scholarships"] : (function () { throw new RuntimeError('Variable "show_scholarships" does not exist.'172$this->source); })()) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'172$this->source); })()), "getScholarships", [], "method"falsefalsefalse172)))) {
  442.                 // line 173
  443.                 echo "\t\t\t\t<hr>
  444. \t\t\t\t<div>
  445. \t\t\t\t\t<h2>
  446. \t\t\t\t\t\t<strong>Latest Scholarships</strong>
  447. \t\t\t\t\t</h2>
  448. \t\t\t\t\t";
  449.                 // line 178
  450.                 $context['_parent'] = $context;
  451.                 $context['_seq'] = twig_ensure_traversable(twig_slice($this->envtwig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'178$this->source); })()), "getScholarships", [], "method"falsefalsefalse178), 03));
  452.                 foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
  453.                     // line 179
  454.                     echo "\t\t\t\t\t\t<div class=\"row list-row\">
  455. \t\t\t\t\t\t\t";
  456.                     // line 180
  457.                     if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse180))) {
  458.                         // line 181
  459.                         echo "\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  460. \t\t\t\t\t\t\t\t\t";
  461.                         // line 182
  462.                         echo twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse182);
  463.                         echo "
  464. \t\t\t\t\t\t\t\t</div>
  465. \t\t\t\t\t\t\t";
  466.                     }
  467.                     // line 185
  468.                     echo "\t\t\t\t\t\t\t<div class=";
  469.                     echo ((twig_test_empty(twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse185))) ? ("col-sm-12") : ("col-sm-9"));
  470.                     echo ">
  471. \t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">";
  472.                     // line 186
  473.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "title", [], "any"falsefalsefalse186), "html"nulltrue);
  474.                     echo "</h3>
  475. \t\t\t\t\t\t\t\t<p>";
  476.                     // line 187
  477.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "getIntroText", [], "method"falsefalsefalse187), "html"nulltrue);
  478.                     echo "<br>
  479. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
  480.                     // line 188
  481.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "getFullURL", [(isset($context["site_code"]) || array_key_exists("site_code"$context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.'188$this->source); })())], "method"falsefalsefalse188), "html"nulltrue);
  482.                     echo "\">View Scholarship</a>
  483. \t\t\t\t\t\t\t\t</p>
  484. \t\t\t\t\t\t\t</div>
  485. \t\t\t\t\t\t</div>
  486. \t\t\t\t\t";
  487.                 }
  488.                 $_parent $context['_parent'];
  489.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
  490.                 $context array_intersect_key($context$_parent) + $_parent;
  491.                 // line 193
  492.                 echo "\t\t\t\t\t";
  493.                 if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'193$this->source); })()), "getScholarships", [], "method"falsefalsefalse193)) > 3)) {
  494.                     // line 194
  495.                     echo "\t\t\t\t\t\t<div class=\"row\">
  496. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  497. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  498. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
  499.                     // line 197
  500.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["meta"]) || array_key_exists("meta"$context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.'197$this->source); })()), "root", [], "any"falsefalsefalse197), "html"nulltrue);
  501.                     echo "/content/";
  502.                     echo twig_escape_filter($this->envtwig_constant("App\\Entity\\Content::SCHOLARSHIP"), "html"nulltrue);
  503.                     echo "\">
  504. \t\t\t\t\t\t\t\t\t<strong>
  505. \t\t\t\t\t\t\t\t\t\tSee More</strong>
  506. \t\t\t\t\t\t\t\t</a>
  507. \t\t\t\t\t\t\t</div>
  508. \t\t\t\t\t\t</div>
  509. \t\t\t\t\t";
  510.                 }
  511.                 // line 204
  512.                 echo "\t\t\t\t</div>
  513. \t\t\t";
  514.             }
  515.             // line 206
  516.             echo "
  517. \t\t\t";
  518.             // line 208
  519.             echo "\t\t\t";
  520.             if ( !twig_test_empty((isset($context["spanish_content"]) || array_key_exists("spanish_content"$context) ? $context["spanish_content"] : (function () { throw new RuntimeError('Variable "spanish_content" does not exist.'208$this->source); })()))) {
  521.                 // line 209
  522.                 echo "\t\t\t\t<hr>
  523. \t\t\t\t<div>
  524. \t\t\t\t\t<h2>
  525. \t\t\t\t\t\t<strong>Latest Spanish Content</strong>
  526. \t\t\t\t\t</h2>
  527. \t\t\t\t\t";
  528.                 // line 214
  529.                 $context['_parent'] = $context;
  530.                 $context['_seq'] = twig_ensure_traversable(twig_slice($this->env, (isset($context["spanish_content"]) || array_key_exists("spanish_content"$context) ? $context["spanish_content"] : (function () { throw new RuntimeError('Variable "spanish_content" does not exist.'214$this->source); })()), 03));
  531.                 foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
  532.                     // line 215
  533.                     echo "\t\t\t\t\t\t<div class=\"row list-row\">
  534. \t\t\t\t\t\t\t";
  535.                     // line 216
  536.                     if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse216))) {
  537.                         // line 217
  538.                         echo "\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  539. \t\t\t\t\t\t\t\t\t";
  540.                         // line 218
  541.                         echo twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse218);
  542.                         echo "
  543. \t\t\t\t\t\t\t\t</div>
  544. \t\t\t\t\t\t\t";
  545.                     }
  546.                     // line 221
  547.                     echo "\t\t\t\t\t\t\t<div class=";
  548.                     echo ((twig_test_empty(twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse221))) ? ("col-sm-12") : ("col-sm-9"));
  549.                     echo ">
  550. \t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">";
  551.                     // line 222
  552.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "title", [], "any"falsefalsefalse222), "html"nulltrue);
  553.                     echo "</h3>
  554. \t\t\t\t\t\t\t\t<p>";
  555.                     // line 223
  556.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "getIntroText", [], "method"falsefalsefalse223), "html"nulltrue);
  557.                     echo "<br>
  558. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
  559.                     // line 224
  560.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "getFullURL", [(isset($context["site_code"]) || array_key_exists("site_code"$context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.'224$this->source); })())], "method"falsefalsefalse224), "html"nulltrue);
  561.                     echo "\">View Content</a>
  562. \t\t\t\t\t\t\t\t</p>
  563. \t\t\t\t\t\t\t</div>
  564. \t\t\t\t\t\t</div>
  565. \t\t\t\t\t";
  566.                 }
  567.                 $_parent $context['_parent'];
  568.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
  569.                 $context array_intersect_key($context$_parent) + $_parent;
  570.                 // line 229
  571.                 echo "\t\t\t\t\t";
  572.                 if ((twig_length_filter($this->env, (isset($context["spanish_content"]) || array_key_exists("spanish_content"$context) ? $context["spanish_content"] : (function () { throw new RuntimeError('Variable "spanish_content" does not exist.'229$this->source); })())) > 3)) {
  573.                     // line 230
  574.                     echo "\t\t\t\t\t\t<div class=\"row\">
  575. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  576. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  577. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
  578.                     // line 233
  579.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["meta"]) || array_key_exists("meta"$context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.'233$this->source); })()), "root", [], "any"falsefalsefalse233), "html"nulltrue);
  580.                     echo "/content/spanish\">
  581. \t\t\t\t\t\t\t\t\t<strong>
  582. \t\t\t\t\t\t\t\t\t\tSee More</strong>
  583. \t\t\t\t\t\t\t\t</a>
  584. \t\t\t\t\t\t\t</div>
  585. \t\t\t\t\t\t</div>
  586. \t\t\t\t\t";
  587.                 }
  588.                 // line 240
  589.                 echo "\t\t\t\t</div>
  590. \t\t\t";
  591.             }
  592.             // line 242
  593.             echo "
  594. \t\t\t";
  595.             // line 244
  596.             echo "\t\t\t";
  597.             if ( !twig_test_empty((isset($context["int_content"]) || array_key_exists("int_content"$context) ? $context["int_content"] : (function () { throw new RuntimeError('Variable "int_content" does not exist.'244$this->source); })()))) {
  598.                 // line 245
  599.                 echo "\t\t\t\t<hr>
  600. \t\t\t\t<div>
  601. \t\t\t\t\t<h2>
  602. \t\t\t\t\t\t<strong>Latest International Content</strong>
  603. \t\t\t\t\t</h2>
  604. \t\t\t\t\t";
  605.                 // line 250
  606.                 $context['_parent'] = $context;
  607.                 $context['_seq'] = twig_ensure_traversable(twig_slice($this->env, (isset($context["int_content"]) || array_key_exists("int_content"$context) ? $context["int_content"] : (function () { throw new RuntimeError('Variable "int_content" does not exist.'250$this->source); })()), 03));
  608.                 foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
  609.                     // line 251
  610.                     echo "\t\t\t\t\t\t<div class=\"row list-row\">
  611. \t\t\t\t\t\t\t";
  612.                     // line 252
  613.                     if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse252))) {
  614.                         // line 253
  615.                         echo "\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  616. \t\t\t\t\t\t\t\t\t";
  617.                         // line 254
  618.                         echo twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse254);
  619.                         echo "
  620. \t\t\t\t\t\t\t\t</div>
  621. \t\t\t\t\t\t\t";
  622.                     }
  623.                     // line 257
  624.                     echo "\t\t\t\t\t\t\t<div class=";
  625.                     echo ((twig_test_empty(twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse257))) ? ("col-sm-12") : ("col-sm-9"));
  626.                     echo ">
  627. \t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">";
  628.                     // line 258
  629.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "title", [], "any"falsefalsefalse258), "html"nulltrue);
  630.                     echo "</h3>
  631. \t\t\t\t\t\t\t\t<p>";
  632.                     // line 259
  633.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "getIntroText", [], "method"falsefalsefalse259), "html"nulltrue);
  634.                     echo "<br>
  635. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
  636.                     // line 260
  637.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "getFullURL", [(isset($context["site_code"]) || array_key_exists("site_code"$context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.'260$this->source); })())], "method"falsefalsefalse260), "html"nulltrue);
  638.                     echo "\">View Content</a>
  639. \t\t\t\t\t\t\t\t</p>
  640. \t\t\t\t\t\t\t</div>
  641. \t\t\t\t\t\t</div>
  642. \t\t\t\t\t";
  643.                 }
  644.                 $_parent $context['_parent'];
  645.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
  646.                 $context array_intersect_key($context$_parent) + $_parent;
  647.                 // line 265
  648.                 echo "\t\t\t\t\t";
  649.                 if ((twig_length_filter($this->env, (isset($context["int_content"]) || array_key_exists("int_content"$context) ? $context["int_content"] : (function () { throw new RuntimeError('Variable "int_content" does not exist.'265$this->source); })())) > 3)) {
  650.                     // line 266
  651.                     echo "\t\t\t\t\t\t<div class=\"row\">
  652. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  653. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  654. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
  655.                     // line 269
  656.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["meta"]) || array_key_exists("meta"$context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.'269$this->source); })()), "root", [], "any"falsefalsefalse269), "html"nulltrue);
  657.                     echo "/content/international\">
  658. \t\t\t\t\t\t\t\t\t<strong>
  659. \t\t\t\t\t\t\t\t\t\tSee More</strong>
  660. \t\t\t\t\t\t\t\t</a>
  661. \t\t\t\t\t\t\t</div>
  662. \t\t\t\t\t\t</div>
  663. \t\t\t\t\t";
  664.                 }
  665.                 // line 276
  666.                 echo "\t\t\t\t</div>
  667. \t\t\t";
  668.             }
  669.             // line 278
  670.             echo "
  671. \t\t\t";
  672.             // line 280
  673.             echo "\t\t\t";
  674.             if ( !twig_test_empty((isset($context["canada_content"]) || array_key_exists("canada_content"$context) ? $context["canada_content"] : (function () { throw new RuntimeError('Variable "canada_content" does not exist.'280$this->source); })()))) {
  675.                 // line 281
  676.                 echo "\t\t\t\t<hr>
  677. \t\t\t\t<div>
  678. \t\t\t\t\t<h2>
  679. \t\t\t\t\t\t<strong>Latest Canada Content</strong>
  680. \t\t\t\t\t</h2>
  681. \t\t\t\t\t";
  682.                 // line 286
  683.                 $context['_parent'] = $context;
  684.                 $context['_seq'] = twig_ensure_traversable(twig_slice($this->env, (isset($context["canada_content"]) || array_key_exists("canada_content"$context) ? $context["canada_content"] : (function () { throw new RuntimeError('Variable "canada_content" does not exist.'286$this->source); })()), 03));
  685.                 foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
  686.                     // line 287
  687.                     echo "\t\t\t\t\t\t<div class=\"row list-row\">
  688. \t\t\t\t\t\t\t";
  689.                     // line 288
  690.                     if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse288))) {
  691.                         // line 289
  692.                         echo "\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  693. \t\t\t\t\t\t\t\t\t";
  694.                         // line 290
  695.                         echo twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse290);
  696.                         echo "
  697. \t\t\t\t\t\t\t\t</div>
  698. \t\t\t\t\t\t\t";
  699.                     }
  700.                     // line 293
  701.                     echo "\t\t\t\t\t\t\t<div class=";
  702.                     echo ((twig_test_empty(twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse293))) ? ("col-sm-12") : ("col-sm-9"));
  703.                     echo ">
  704. \t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">";
  705.                     // line 294
  706.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "title", [], "any"falsefalsefalse294), "html"nulltrue);
  707.                     echo "</h3>
  708. \t\t\t\t\t\t\t\t<p>";
  709.                     // line 295
  710.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "getIntroText", [], "method"falsefalsefalse295), "html"nulltrue);
  711.                     echo "<br>
  712. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
  713.                     // line 296
  714.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "getFullURL", [(isset($context["site_code"]) || array_key_exists("site_code"$context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.'296$this->source); })())], "method"falsefalsefalse296), "html"nulltrue);
  715.                     echo "\">View Content</a>
  716. \t\t\t\t\t\t\t\t</p>
  717. \t\t\t\t\t\t\t</div>
  718. \t\t\t\t\t\t</div>
  719. \t\t\t\t\t";
  720.                 }
  721.                 $_parent $context['_parent'];
  722.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
  723.                 $context array_intersect_key($context$_parent) + $_parent;
  724.                 // line 301
  725.                 echo "\t\t\t\t\t";
  726.                 if ((twig_length_filter($this->env, (isset($context["canada_content"]) || array_key_exists("canada_content"$context) ? $context["canada_content"] : (function () { throw new RuntimeError('Variable "canada_content" does not exist.'301$this->source); })())) > 3)) {
  727.                     // line 302
  728.                     echo "\t\t\t\t\t\t<div class=\"row\">
  729. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  730. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  731. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
  732.                     // line 305
  733.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["meta"]) || array_key_exists("meta"$context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.'305$this->source); })()), "root", [], "any"falsefalsefalse305), "html"nulltrue);
  734.                     echo "/content/canada\">
  735. \t\t\t\t\t\t\t\t\t<strong>
  736. \t\t\t\t\t\t\t\t\t\tSee More</strong>
  737. \t\t\t\t\t\t\t\t</a>
  738. \t\t\t\t\t\t\t</div>
  739. \t\t\t\t\t\t</div>
  740. \t\t\t\t\t";
  741.                 }
  742.                 // line 312
  743.                 echo "\t\t\t\t</div>
  744. \t\t\t";
  745.             }
  746.             // line 314
  747.             echo "
  748. \t\t\t";
  749.             // line 317
  750.             echo "\t\t\t";
  751.             if (((isset($context["show_podcasts"]) || array_key_exists("show_podcasts"$context) ? $context["show_podcasts"] : (function () { throw new RuntimeError('Variable "show_podcasts" does not exist.'317$this->source); })()) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'317$this->source); })()), "getPodcasts", [], "method"falsefalsefalse317)))) {
  752.                 // line 318
  753.                 echo "\t\t\t\t<hr>
  754. \t\t\t\t<div>
  755. \t\t\t\t\t<h2>
  756. \t\t\t\t\t\t<strong>Latest Podcasts</strong>
  757. \t\t\t\t\t</h2>
  758. \t\t\t\t\t";
  759.                 // line 323
  760.                 $context['_parent'] = $context;
  761.                 $context['_seq'] = twig_ensure_traversable(twig_slice($this->envtwig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'323$this->source); })()), "getPodcasts", [], "method"falsefalsefalse323), 03));
  762.                 foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
  763.                     // line 324
  764.                     echo "\t\t\t\t\t\t<div class=\"row list-row\">
  765. \t\t\t\t\t\t\t";
  766.                     // line 325
  767.                     if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse325))) {
  768.                         // line 326
  769.                         echo "\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  770. \t\t\t\t\t\t\t\t\t";
  771.                         // line 327
  772.                         echo twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse327);
  773.                         echo "
  774. \t\t\t\t\t\t\t\t</div>
  775. \t\t\t\t\t\t\t";
  776.                     }
  777.                     // line 330
  778.                     echo "\t\t\t\t\t\t\t<div class=";
  779.                     echo ((twig_test_empty(twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse330))) ? ("col-sm-12") : ("col-sm-9"));
  780.                     echo ">
  781. \t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">";
  782.                     // line 331
  783.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "title", [], "any"falsefalsefalse331), "html"nulltrue);
  784.                     echo "</h3>
  785. \t\t\t\t\t\t\t\t<p>";
  786.                     // line 332
  787.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "getIntroText", [], "method"falsefalsefalse332), "html"nulltrue);
  788.                     echo "<br>
  789. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
  790.                     // line 333
  791.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "getFullURL", [(isset($context["site_code"]) || array_key_exists("site_code"$context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.'333$this->source); })())], "method"falsefalsefalse333), "html"nulltrue);
  792.                     echo "\">Listen to the Podcast</a>
  793. \t\t\t\t\t\t\t\t</p>
  794. \t\t\t\t\t\t\t</div>
  795. \t\t\t\t\t\t</div>
  796. \t\t\t\t\t";
  797.                 }
  798.                 $_parent $context['_parent'];
  799.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
  800.                 $context array_intersect_key($context$_parent) + $_parent;
  801.                 // line 338
  802.                 echo "\t\t\t\t\t";
  803.                 if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'338$this->source); })()), "getPodcasts", [], "method"falsefalsefalse338)) > 3)) {
  804.                     // line 339
  805.                     echo "\t\t\t\t\t\t<div class=\"row\">
  806. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  807. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  808. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
  809.                     // line 342
  810.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["meta"]) || array_key_exists("meta"$context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.'342$this->source); })()), "root", [], "any"falsefalsefalse342), "html"nulltrue);
  811.                     echo "/content/";
  812.                     echo twig_escape_filter($this->envtwig_constant("App\\Entity\\Content::PODCAST"), "html"nulltrue);
  813.                     echo "\">
  814. \t\t\t\t\t\t\t\t\t<strong>
  815. \t\t\t\t\t\t\t\t\t\tListen More</strong>
  816. \t\t\t\t\t\t\t\t</a>
  817. \t\t\t\t\t\t\t</div>
  818. \t\t\t\t\t\t</div>
  819. \t\t\t\t\t";
  820.                 }
  821.                 // line 349
  822.                 echo "\t\t\t\t</div>
  823. \t\t\t";
  824.             }
  825.             // line 351
  826.             echo "
  827. \t\t\t";
  828.             // line 353
  829.             echo "\t\t\t";
  830.             if (((isset($context["show_webinars"]) || array_key_exists("show_webinars"$context) ? $context["show_webinars"] : (function () { throw new RuntimeError('Variable "show_webinars" does not exist.'353$this->source); })()) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'353$this->source); })()), "getWebinars", [], "method"falsefalsefalse353)))) {
  831.                 // line 354
  832.                 echo "\t\t\t\t<hr>
  833. \t\t\t\t<div>
  834. \t\t\t\t\t<h2>
  835. \t\t\t\t\t\t<strong>Latest Webinars</strong>
  836. \t\t\t\t\t</h2>
  837. \t\t\t\t\t";
  838.                 // line 359
  839.                 $context['_parent'] = $context;
  840.                 $context['_seq'] = twig_ensure_traversable(twig_slice($this->envtwig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'359$this->source); })()), "getWebinars", [], "method"falsefalsefalse359), 03));
  841.                 foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
  842.                     // line 360
  843.                     echo "\t\t\t\t\t\t<div class=\"row list-row\">
  844. \t\t\t\t\t\t\t";
  845.                     // line 361
  846.                     if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse361))) {
  847.                         // line 362
  848.                         echo "\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  849. \t\t\t\t\t\t\t\t\t";
  850.                         // line 363
  851.                         echo twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse363);
  852.                         echo "
  853. \t\t\t\t\t\t\t\t</div>
  854. \t\t\t\t\t\t\t";
  855.                     }
  856.                     // line 366
  857.                     echo "\t\t\t\t\t\t\t<div class=";
  858.                     echo ((twig_test_empty(twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse366))) ? ("col-sm-12") : ("col-sm-9"));
  859.                     echo ">
  860. \t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">";
  861.                     // line 367
  862.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "title", [], "any"falsefalsefalse367), "html"nulltrue);
  863.                     echo "</h3>
  864. \t\t\t\t\t\t\t\t<p>";
  865.                     // line 368
  866.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "getIntroText", [], "method"falsefalsefalse368), "html"nulltrue);
  867.                     echo "<br>
  868. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
  869.                     // line 369
  870.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "getFullURL", [(isset($context["site_code"]) || array_key_exists("site_code"$context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.'369$this->source); })())], "method"falsefalsefalse369), "html"nulltrue);
  871.                     echo "\">Watch the Webinar</a>
  872. \t\t\t\t\t\t\t\t</p>
  873. \t\t\t\t\t\t\t</div>
  874. \t\t\t\t\t\t</div>
  875. \t\t\t\t\t";
  876.                 }
  877.                 $_parent $context['_parent'];
  878.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
  879.                 $context array_intersect_key($context$_parent) + $_parent;
  880.                 // line 374
  881.                 echo "\t\t\t\t\t";
  882.                 if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'374$this->source); })()), "getWebinars", [], "method"falsefalsefalse374)) > 3)) {
  883.                     // line 375
  884.                     echo "\t\t\t\t\t\t<div class=\"row\">
  885. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  886. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  887. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
  888.                     // line 378
  889.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["meta"]) || array_key_exists("meta"$context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.'378$this->source); })()), "root", [], "any"falsefalsefalse378), "html"nulltrue);
  890.                     echo "/content/";
  891.                     echo twig_escape_filter($this->envtwig_constant("App\\Entity\\Content::WEBINAR"), "html"nulltrue);
  892.                     echo "\">
  893. \t\t\t\t\t\t\t\t\t<strong>
  894. \t\t\t\t\t\t\t\t\t\tSee More</strong>
  895. \t\t\t\t\t\t\t\t</a>
  896. \t\t\t\t\t\t\t</div>
  897. \t\t\t\t\t\t</div>
  898. \t\t\t\t\t";
  899.                 }
  900.                 // line 385
  901.                 echo "\t\t\t\t</div>
  902. \t\t\t";
  903.             }
  904.             // line 387
  905.             echo "
  906. \t\t\t";
  907.             // line 390
  908.             echo "\t\t\t";
  909.             if (((isset($context["show_education"]) || array_key_exists("show_education"$context) ? $context["show_education"] : (function () { throw new RuntimeError('Variable "show_education" does not exist.'390$this->source); })()) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'390$this->source); })()), "getHUBContent", [], "method"falsefalsefalse390)))) {
  910.                 // line 391
  911.                 echo "\t\t\t\t<hr>
  912. \t\t\t\t<div>
  913. \t\t\t\t\t<h2>
  914. \t\t\t\t\t\t<strong>Read Listen Watch - Educational Content</strong>
  915. \t\t\t\t\t</h2>
  916. \t\t\t\t\t";
  917.                 // line 396
  918.                 $context['_parent'] = $context;
  919.                 $context['_seq'] = twig_ensure_traversable(twig_slice($this->envtwig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'396$this->source); })()), "getHUBContent", [], "method"falsefalsefalse396), 03));
  920.                 foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
  921.                     // line 397
  922.                     echo "\t\t\t\t\t\t<div class=\"row list-row\">
  923. \t\t\t\t\t\t\t";
  924.                     // line 398
  925.                     if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse398))) {
  926.                         // line 399
  927.                         echo "\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  928. \t\t\t\t\t\t\t\t\t";
  929.                         // line 400
  930.                         echo twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse400);
  931.                         echo "
  932. \t\t\t\t\t\t\t\t</div>
  933. \t\t\t\t\t\t\t";
  934.                     }
  935.                     // line 403
  936.                     echo "\t\t\t\t\t\t\t<div class=";
  937.                     echo ((twig_test_empty(twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse403))) ? ("col-sm-12") : ("col-sm-9"));
  938.                     echo ">
  939. \t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">";
  940.                     // line 404
  941.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "title", [], "any"falsefalsefalse404), "html"nulltrue);
  942.                     echo "</h3>
  943. \t\t\t\t\t\t\t\t";
  944.                     // line 406
  945.                     echo "\t\t\t\t\t\t\t\t<p>";
  946.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "getIntroText", [], "method"falsefalsefalse406), "html"nulltrue);
  947.                     echo "<br>
  948. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
  949.                     // line 407
  950.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "getFullURL", [(isset($context["site_code"]) || array_key_exists("site_code"$context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.'407$this->source); })())], "method"falsefalsefalse407), "html"nulltrue);
  951.                     echo "\">View Content</a>
  952. \t\t\t\t\t\t\t\t</p>
  953. \t\t\t\t\t\t\t</div>
  954. \t\t\t\t\t\t</div>
  955. \t\t\t\t\t";
  956.                 }
  957.                 $_parent $context['_parent'];
  958.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
  959.                 $context array_intersect_key($context$_parent) + $_parent;
  960.                 // line 412
  961.                 echo "\t\t\t\t\t";
  962.                 if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'412$this->source); })()), "getHUBContent", [], "method"falsefalsefalse412)) > 3)) {
  963.                     // line 413
  964.                     echo "\t\t\t\t\t\t<div class=\"row\">
  965. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  966. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  967. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
  968.                     // line 416
  969.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["meta"]) || array_key_exists("meta"$context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.'416$this->source); })()), "root", [], "any"falsefalsefalse416), "html"nulltrue);
  970.                     echo "/content/";
  971.                     echo twig_escape_filter($this->envtwig_constant("App\\Entity\\Content::THE_HUB"), "html"nulltrue);
  972.                     echo "\">
  973. \t\t\t\t\t\t\t\t\t<strong>
  974. \t\t\t\t\t\t\t\t\t\tSee More</strong>
  975. \t\t\t\t\t\t\t\t</a>
  976. \t\t\t\t\t\t\t</div>
  977. \t\t\t\t\t\t</div>
  978. \t\t\t\t\t";
  979.                 }
  980.                 // line 423
  981.                 echo "\t\t\t\t</div>
  982. \t\t\t";
  983.             }
  984.             // line 425
  985.             echo "
  986. \t\t\t";
  987.             // line 427
  988.             echo "\t\t\t";
  989.             if (((isset($context["show_classifieds"]) || array_key_exists("show_classifieds"$context) ? $context["show_classifieds"] : (function () { throw new RuntimeError('Variable "show_classifieds" does not exist.'427$this->source); })()) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'427$this->source); })()), "getClassifieds", [], "method"falsefalsefalse427)))) {
  990.                 // line 428
  991.                 echo "\t\t\t\t<hr>
  992. \t\t\t\t<div>
  993. \t\t\t\t\t<h2>
  994. \t\t\t\t\t\t<strong>Latest Classifieds</strong>
  995. \t\t\t\t\t</h2>
  996. \t\t\t\t\t";
  997.                 // line 433
  998.                 $context['_parent'] = $context;
  999.                 $context['_seq'] = twig_ensure_traversable(twig_slice($this->envtwig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'433$this->source); })()), "getClassifieds", [], "method"falsefalsefalse433), 03));
  1000.                 foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
  1001.                     // line 434
  1002.                     echo "\t\t\t\t\t\t<div class=\"row list-row\" ";
  1003.                     if (twig_get_attribute($this->env$this->source$context["post"], "getVideoMedia", [], "method"falsefalsefalse434)) {
  1004.                         echo " data-video-row=\"";
  1005.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["post"], "getVideoMedia", [], "method"falsefalsefalse434), "getId", [], "method"falsefalsefalse434), "html"nulltrue);
  1006.                         echo "\" ";
  1007.                     }
  1008.                     echo ">
  1009. \t\t\t\t\t\t\t";
  1010.                     // line 445
  1011.                     echo "
  1012. \t\t\t\t\t\t\t<div class=\"col-sm-2 post-thumbnail directoryitem\">
  1013. \t\t\t\t\t\t\t\t";
  1014.                     // line 447
  1015.                     if (twig_get_attribute($this->env$this->source$context["post"], "hasVideoMedia", [], "method"falsefalsefalse447)) {
  1016.                         // line 448
  1017.                         echo "\t\t\t\t\t\t\t\t\t<a href=\"";
  1018.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "getURL", [], "method"falsefalsefalse448), "html"nulltrue);
  1019.                         echo "?autoplay=1\" class=\"no-style\">
  1020. \t\t\t\t\t\t\t\t\t\t<div class=\"ytThumbContainer ytThumbContainer-small\">
  1021. \t\t\t\t\t\t\t\t\t\t\t";
  1022.                         // line 450
  1023.                         $context["mURL"] = "";
  1024.                         // line 451
  1025.                         echo "\t\t\t\t\t\t\t\t\t\t\t";
  1026.                         if (twig_get_attribute($this->env$this->source$context["post"], "getMedia", [], "method"falsefalsefalse451)) {
  1027.                             // line 452
  1028.                             echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  1029.                             $context["mURL"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["post"], "getMedia", [], "method"falsefalsefalse452), "getURL", [], "method"falsefalsefalse452);
  1030.                             // line 453
  1031.                             echo "\t\t\t\t\t\t\t\t\t\t\t";
  1032.                         }
  1033.                         // line 454
  1034.                         echo "\t\t\t\t\t\t\t\t\t\t\t";
  1035.                         echo twig_get_attribute($this->env$this->source$context["post"], "getVideoMediaTag", ["""max-height:165px;"falsefalsetrue, (isset($context["mURL"]) || array_key_exists("mURL"$context) ? $context["mURL"] : (function () { throw new RuntimeError('Variable "mURL" does not exist.'454$this->source); })())], "method"falsefalsefalse454);
  1036.                         echo "
  1037. \t\t\t\t\t\t\t\t\t\t</div>
  1038. \t\t\t\t\t\t\t\t\t</a>
  1039. \t\t\t\t\t\t\t\t";
  1040.                     } elseif ( !twig_test_empty(twig_get_attribute($this->env$this->source,                     // line 457
  1041. $context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse457))) {
  1042.                         // line 458
  1043.                         echo "\t\t\t\t\t\t\t\t\t";
  1044.                         echo twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [""""], "method"falsefalsefalse458);
  1045.                         echo "
  1046. \t\t\t\t\t\t\t\t";
  1047.                     }
  1048.                     // line 460
  1049.                     echo "\t\t\t\t\t\t\t</div>
  1050. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  1051. \t\t\t\t\t\t\t";
  1052.                     // line 465
  1053.                     echo "\t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">";
  1054.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "title", [], "any"falsefalsefalse465), "html"nulltrue);
  1055.                     echo "</h3>
  1056. \t\t\t\t\t\t\t\t<p>";
  1057.                     // line 466
  1058.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "getIntroText", [], "method"falsefalsefalse466), "html"nulltrue);
  1059.                     echo "<br>
  1060. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
  1061.                     // line 467
  1062.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "getFullURL", [(isset($context["site_code"]) || array_key_exists("site_code"$context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.'467$this->source); })())], "method"falsefalsefalse467), "html"nulltrue);
  1063.                     echo "\">View the Classified</a>
  1064. \t\t\t\t\t\t\t\t</p>
  1065. \t\t\t\t\t\t\t</div>
  1066. \t\t\t\t\t\t</div>
  1067. \t\t\t\t\t";
  1068.                 }
  1069.                 $_parent $context['_parent'];
  1070.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
  1071.                 $context array_intersect_key($context$_parent) + $_parent;
  1072.                 // line 472
  1073.                 echo "\t\t\t\t\t";
  1074.                 if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'472$this->source); })()), "getClassifieds", [], "method"falsefalsefalse472)) > 3)) {
  1075.                     // line 473
  1076.                     echo "\t\t\t\t\t\t<div class=\"row\">
  1077. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  1078. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  1079. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
  1080.                     // line 476
  1081.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["meta"]) || array_key_exists("meta"$context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.'476$this->source); })()), "root", [], "any"falsefalsefalse476), "html"nulltrue);
  1082.                     echo "/content/";
  1083.                     echo twig_escape_filter($this->envtwig_constant("App\\Entity\\Content::CLASSIFIED"), "html"nulltrue);
  1084.                     echo "\">
  1085. \t\t\t\t\t\t\t\t\t<strong>
  1086. \t\t\t\t\t\t\t\t\t\tSee More</strong>
  1087. \t\t\t\t\t\t\t\t</a>
  1088. \t\t\t\t\t\t\t</div>
  1089. \t\t\t\t\t\t</div>
  1090. \t\t\t\t\t";
  1091.                 }
  1092.                 // line 483
  1093.                 echo "\t\t\t\t</div>
  1094. \t\t\t";
  1095.             }
  1096.             // line 485
  1097.             echo "
  1098. \t\t\t";
  1099.             // line 487
  1100.             echo "\t\t\t";
  1101.             if (((isset($context["show_buy_online"]) || array_key_exists("show_buy_online"$context) ? $context["show_buy_online"] : (function () { throw new RuntimeError('Variable "show_buy_online" does not exist.'487$this->source); })()) &&  !twig_test_empty((isset($context["buy_online_posts"]) || array_key_exists("buy_online_posts"$context) ? $context["buy_online_posts"] : (function () { throw new RuntimeError('Variable "buy_online_posts" does not exist.'487$this->source); })())))) {
  1102.                 // line 488
  1103.                 echo "\t\t\t\t<hr>
  1104. \t\t\t\t<div>
  1105. \t\t\t\t\t<h2>
  1106. \t\t\t\t\t\t<strong>Buy Online</strong>
  1107. \t\t\t\t\t</h2>
  1108. \t\t\t\t\t";
  1109.                 // line 493
  1110.                 $context['_parent'] = $context;
  1111.                 $context['_seq'] = twig_ensure_traversable(twig_slice($this->env, (isset($context["buy_online_posts"]) || array_key_exists("buy_online_posts"$context) ? $context["buy_online_posts"] : (function () { throw new RuntimeError('Variable "buy_online_posts" does not exist.'493$this->source); })()), 03));
  1112.                 foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
  1113.                     // line 494
  1114.                     echo "\t\t\t\t\t\t<div class=\"row list-row\">
  1115. \t\t\t\t\t\t\t";
  1116.                     // line 495
  1117.                     if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse495))) {
  1118.                         // line 496
  1119.                         echo "\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  1120. \t\t\t\t\t\t\t\t\t";
  1121.                         // line 497
  1122.                         echo twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse497);
  1123.                         echo "
  1124. \t\t\t\t\t\t\t\t</div>
  1125. \t\t\t\t\t\t\t";
  1126.                     }
  1127.                     // line 500
  1128.                     echo "\t\t\t\t\t\t\t<div class=";
  1129.                     echo ((twig_test_empty(twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse500))) ? ("col-sm-12") : ("col-sm-9"));
  1130.                     echo ">
  1131. \t\t\t\t\t\t\t\t<p>";
  1132.                     // line 501
  1133.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "getIntroText", [], "method"falsefalsefalse501), "html"nulltrue);
  1134.                     echo "<br>
  1135. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
  1136.                     // line 502
  1137.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "getFullURL", [(isset($context["site_code"]) || array_key_exists("site_code"$context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.'502$this->source); })())], "method"falsefalsefalse502), "html"nulltrue);
  1138.                     echo "\">Read More</a>
  1139. \t\t\t\t\t\t\t\t</p>
  1140. \t\t\t\t\t\t\t</div>
  1141. \t\t\t\t\t\t</div>
  1142. \t\t\t\t\t";
  1143.                 }
  1144.                 $_parent $context['_parent'];
  1145.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
  1146.                 $context array_intersect_key($context$_parent) + $_parent;
  1147.                 // line 507
  1148.                 echo "\t\t\t\t\t";
  1149.                 if ((twig_length_filter($this->env, (isset($context["buy_online_posts"]) || array_key_exists("buy_online_posts"$context) ? $context["buy_online_posts"] : (function () { throw new RuntimeError('Variable "buy_online_posts" does not exist.'507$this->source); })())) > 3)) {
  1150.                     // line 508
  1151.                     echo "\t\t\t\t\t\t<div class=\"row\">
  1152. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  1153. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  1154. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
  1155.                     // line 511
  1156.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["meta"]) || array_key_exists("meta"$context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.'511$this->source); })()), "root", [], "any"falsefalsefalse511), "html"nulltrue);
  1157.                     echo "/content/buy-online\">
  1158. \t\t\t\t\t\t\t\t\t<strong>
  1159. \t\t\t\t\t\t\t\t\t\tSee More</strong>
  1160. \t\t\t\t\t\t\t\t</a>
  1161. \t\t\t\t\t\t\t</div>
  1162. \t\t\t\t\t\t</div>
  1163. \t\t\t\t\t";
  1164.                 }
  1165.                 // line 518
  1166.                 echo "\t\t\t\t</div>
  1167. \t\t\t";
  1168.             }
  1169.             // line 520
  1170.             echo "
  1171. \t\t\t";
  1172.             // line 522
  1173.             echo "\t\t\t";
  1174.             if (((isset($context["show_products"]) || array_key_exists("show_products"$context) ? $context["show_products"] : (function () { throw new RuntimeError('Variable "show_products" does not exist.'522$this->source); })()) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'522$this->source); })()), "getGiftStoreProducts", [], "method"falsefalsefalse522)))) {
  1175.                 // line 523
  1176.                 echo "\t\t\t\t<hr>
  1177. \t\t\t\t<div>
  1178. \t\t\t\t\t<h2>
  1179. \t\t\t\t\t\t<strong>Latest Products</strong>
  1180. \t\t\t\t\t</h2>
  1181. \t\t\t\t\t";
  1182.                 // line 528
  1183.                 $context['_parent'] = $context;
  1184.                 $context['_seq'] = twig_ensure_traversable(twig_slice($this->envtwig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'528$this->source); })()), "getGiftStoreProducts", [], "method"falsefalsefalse528), 03));
  1185.                 foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
  1186.                     // line 529
  1187.                     echo "\t\t\t\t\t\t<div class=\"row list-row\">
  1188. \t\t\t\t\t\t\t";
  1189.                     // line 530
  1190.                     if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["product"], "getFeaturedImageTag", [], "method"falsefalsefalse530))) {
  1191.                         // line 531
  1192.                         echo "\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  1193. \t\t\t\t\t\t\t\t\t";
  1194.                         // line 532
  1195.                         echo twig_get_attribute($this->env$this->source$context["product"], "getFeaturedImageTag", [], "method"falsefalsefalse532);
  1196.                         echo "
  1197. \t\t\t\t\t\t\t\t</div>
  1198. \t\t\t\t\t\t\t";
  1199.                     }
  1200.                     // line 535
  1201.                     echo "\t\t\t\t\t\t\t<div class=";
  1202.                     echo ((twig_test_empty(twig_get_attribute($this->env$this->source$context["product"], "getFeaturedImageTag", [], "method"falsefalsefalse535))) ? ("col-sm-12") : ("col-sm-9"));
  1203.                     echo ">
  1204. \t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">";
  1205.                     // line 536
  1206.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["product"], "title", [], "any"falsefalsefalse536), "html"nulltrue);
  1207.                     echo "</h3>
  1208. \t\t\t\t\t\t\t\t<p>";
  1209.                     // line 537
  1210.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["product"], "getIntroText", [], "method"falsefalsefalse537), "html"nulltrue);
  1211.                     echo "<br>
  1212. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
  1213.                     // line 538
  1214.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["product"], "getURL", [], "method"falsefalsefalse538), "html"nulltrue);
  1215.                     echo "/";
  1216.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'538$this->source); })()), "getId", [], "method"falsefalsefalse538), "html"nulltrue);
  1217.                     echo "\">View Product</a>
  1218. \t\t\t\t\t\t\t\t</p>
  1219. \t\t\t\t\t\t\t</div>
  1220. \t\t\t\t\t\t</div>
  1221. \t\t\t\t\t";
  1222.                 }
  1223.                 $_parent $context['_parent'];
  1224.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
  1225.                 $context array_intersect_key($context$_parent) + $_parent;
  1226.                 // line 543
  1227.                 echo "\t\t\t\t\t";
  1228.                 if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'543$this->source); })()), "getGiftStoreProducts", [], "method"falsefalsefalse543)) > 3)) {
  1229.                     // line 544
  1230.                     echo "\t\t\t\t\t\t<div class=\"row\">
  1231. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  1232. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  1233. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"/gift-shop/1/_/";
  1234.                     // line 547
  1235.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'547$this->source); })()), "getId", [], "method"falsefalsefalse547), "html"nulltrue);
  1236.                     echo "\">
  1237. \t\t\t\t\t\t\t\t\t<strong>
  1238. \t\t\t\t\t\t\t\t\t\tSee More</strong>
  1239. \t\t\t\t\t\t\t\t</a>
  1240. \t\t\t\t\t\t\t</div>
  1241. \t\t\t\t\t\t</div>
  1242. \t\t\t\t\t";
  1243.                 }
  1244.                 // line 554
  1245.                 echo "\t\t\t\t</div>
  1246. \t\t\t";
  1247.             }
  1248.             // line 556
  1249.             echo "
  1250. \t\t\t";
  1251.             // line 558
  1252.             echo "\t\t\t";
  1253.             // line 578
  1254.             echo "
  1255. \t\t\t";
  1256.             // line 580
  1257.             echo "\t\t\t\t";
  1258.             if (((isset($context["show_video"]) || array_key_exists("show_video"$context) ? $context["show_video"] : (function () { throw new RuntimeError('Variable "show_video" does not exist.'580$this->source); })()) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'580$this->source); })()), "getVideos", [], "method"falsefalsefalse580)))) {
  1259.                 // line 581
  1260.                 echo "\t\t\t\t<hr>
  1261. \t\t\t\t\t<div>
  1262. \t\t\t\t\t\t<h2>
  1263. \t\t\t\t\t\t\t<strong>
  1264. \t\t\t\t\t\tLatest Videos
  1265. \t\t\t\t\t</strong>
  1266. \t\t\t\t\t</h2>
  1267. \t\t\t\t\t\t";
  1268.                 // line 588
  1269.                 $context['_parent'] = $context;
  1270.                 $context['_seq'] = twig_ensure_traversable(twig_slice($this->envtwig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'588$this->source); })()), "getVideos", [], "method"falsefalsefalse588), 03));
  1271.                 foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
  1272.                     // line 589
  1273.                     echo "\t\t\t\t\t\t\t<div class=\"row list-row\"> ";
  1274.                     if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse589))) {
  1275.                         // line 590
  1276.                         echo "\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  1277. \t\t\t\t\t\t\t\t\t";
  1278.                         // line 591
  1279.                         echo twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse591);
  1280.                         echo "
  1281. \t\t\t\t\t\t\t\t</div>
  1282. \t\t\t\t\t\t\t";
  1283.                     }
  1284.                     // line 594
  1285.                     echo "\t\t\t\t\t\t\t<div class=";
  1286.                     echo ((twig_test_empty(twig_get_attribute($this->env$this->source$context["post"], "getFeaturedImageTag", [], "method"falsefalsefalse594))) ? ("col-sm-12") : ("col-sm-9"));
  1287.                     echo ">
  1288. \t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">";
  1289.                     // line 595
  1290.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "title", [], "any"falsefalsefalse595), "html"nulltrue);
  1291.                     echo "</h3>
  1292. \t\t\t\t\t\t\t\t<p>";
  1293.                     // line 596
  1294.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "getIntroText", [], "method"falsefalsefalse596), "html"nulltrue);
  1295.                     echo "<br>
  1296. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
  1297.                     // line 597
  1298.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "getFullURL", [(isset($context["site_code"]) || array_key_exists("site_code"$context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.'597$this->source); })())], "method"falsefalsefalse597), "html"nulltrue);
  1299.                     echo "\">View Video</a>
  1300. \t\t\t\t\t\t\t\t</p>
  1301. \t\t\t\t\t\t\t</div>
  1302. \t\t\t\t\t\t</div>
  1303. \t\t\t\t\t";
  1304.                 }
  1305.                 $_parent $context['_parent'];
  1306.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
  1307.                 $context array_intersect_key($context$_parent) + $_parent;
  1308.                 // line 602
  1309.                 echo "\t\t\t\t\t";
  1310.                 if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'602$this->source); })()), "getVideos", [], "method"falsefalsefalse602)) > 3)) {
  1311.                     // line 603
  1312.                     echo "\t\t\t\t\t\t<div class=\"row\">
  1313. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  1314. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  1315. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
  1316.                     // line 606
  1317.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["meta"]) || array_key_exists("meta"$context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.'606$this->source); })()), "root", [], "any"falsefalsefalse606), "html"nulltrue);
  1318.                     echo "/content/";
  1319.                     echo twig_escape_filter($this->envtwig_constant("App\\Entity\\Content::VIDEO"), "html"nulltrue);
  1320.                     echo "\">
  1321. \t\t\t\t\t\t\t\t\t<strong>
  1322. \t\t\t\t\t\t\t\t\t\tSee More</strong>
  1323. \t\t\t\t\t\t\t\t</a>
  1324. \t\t\t\t\t\t\t</div>
  1325. \t\t\t\t\t\t</div>
  1326. \t\t\t\t\t";
  1327.                 }
  1328.                 // line 613
  1329.                 echo "\t\t\t\t</div>
  1330. \t\t\t";
  1331.             }
  1332.             // line 615
  1333.             echo "
  1334. \t\t\t";
  1335.             // line 616
  1336.             if ((isset($context["show_photos"]) || array_key_exists("show_photos"$context) ? $context["show_photos"] : (function () { throw new RuntimeError('Variable "show_photos" does not exist.'616$this->source); })())) {
  1337.                 // line 617
  1338.                 echo "\t\t\t\t";
  1339.                 $context["preview_gallery"] = twig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'617$this->source); })()), "getFirstPartnerGalleryMediaGroup", [], "method"falsefalsefalse617);
  1340.                 // line 618
  1341.                 echo "\t\t\t\t";
  1342.                 // line 619
  1343.                 echo "\t\t\t\t";
  1344.                 // line 620
  1345.                 echo "\t\t\t\t";
  1346.                 if (( !(null === (isset($context["preview_gallery"]) || array_key_exists("preview_gallery"$context) ? $context["preview_gallery"] : (function () { throw new RuntimeError('Variable "preview_gallery" does not exist.'620$this->source); })())) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["preview_gallery"]) || array_key_exists("preview_gallery"$context) ? $context["preview_gallery"] : (function () { throw new RuntimeError('Variable "preview_gallery" does not exist.'620$this->source); })()), "mediagroupitems", [], "any"falsefalsefalse620)))) {
  1347.                     // line 621
  1348.                     echo "\t\t\t\t\t<hr>
  1349. \t\t\t\t\t<div>
  1350. \t\t\t\t\t\t<h2>
  1351. \t\t\t\t\t\t\t<strong>Partner Photo Gallery</strong>
  1352. \t\t\t\t\t\t</h2>
  1353. \t\t\t\t\t\t<div class=\"\" id=\"thumb-holder\">
  1354. \t\t\t\t\t\t\t<ul id=\"thumbs\">
  1355. \t\t\t\t\t\t\t\t";
  1356.                     // line 628
  1357.                     $context['_parent'] = $context;
  1358.                     $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["preview_gallery"]) || array_key_exists("preview_gallery"$context) ? $context["preview_gallery"] : (function () { throw new RuntimeError('Variable "preview_gallery" does not exist.'628$this->source); })()), "getMediaGroupItemsForDirectoryPreview", [], "method"falsefalsefalse628));
  1359.                     foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
  1360.                         // line 629
  1361.                         echo "\t\t\t\t\t\t\t\t\t";
  1362.                         if ( !(null === twig_get_attribute($this->env$this->source$context["photo"], "media", [], "any"falsefalsefalse629))) {
  1363.                             // line 630
  1364.                             echo "\t\t\t\t\t\t\t\t\t\t<li>
  1365. \t\t\t\t\t\t\t\t\t\t\t<a href=\"";
  1366.                             // line 631
  1367.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["photo"], "media", [], "any"falsefalsefalse631), "getURL", [], "method"falsefalsefalse631), "html"nulltrue);
  1368.                             echo "\">";
  1369.                             echo twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["photo"], "media", [], "any"falsefalsefalse631), "getImageTag", [""""""""false], "method"falsefalsefalse631);
  1370.                             echo "</a>
  1371. \t\t\t\t\t\t\t\t\t\t</li>
  1372. \t\t\t\t\t\t\t\t\t";
  1373.                         }
  1374.                         // line 634
  1375.                         echo "\t\t\t\t\t\t\t\t";
  1376.                     }
  1377.                     $_parent $context['_parent'];
  1378.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
  1379.                     $context array_intersect_key($context$_parent) + $_parent;
  1380.                     // line 635
  1381.                     echo "\t\t\t\t\t\t\t</ul>
  1382. \t\t\t\t\t\t</div>
  1383. \t\t\t\t\t</div>
  1384. \t\t\t\t";
  1385.                 } elseif ( !twig_test_empty(twig_get_attribute($this->env$this->source,                 // line 638
  1386. (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'638$this->source); })()), "getContentsByType", [twig_constant("App\\Entity\\Content::GALLERY")], "method"falsefalsefalse638))) {
  1387.                     // line 639
  1388.                     echo "\t\t\t\t\t<hr>
  1389. \t\t\t\t";
  1390.                 }
  1391.                 // line 641
  1392.                 echo "\t\t\t\t";
  1393.                 if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'641$this->source); })()), "getContentsByType", [twig_constant("App\\Entity\\Content::GALLERY")], "method"falsefalsefalse641))) {
  1394.                     // line 642
  1395.                     echo "\t\t\t\t\t";
  1396.                     // line 643
  1397.                     echo "\t\t\t\t\t";
  1398.                     $context["gallery"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["customer"]) || array_key_exists("customer"$context) ? $context["customer"] : (function () { throw new RuntimeError('Variable "customer" does not exist.'643$this->source); })()), "getContentsByType", [twig_constant("App\\Entity\\Content::GALLERY")], "method"falsefalsefalse643), "first", [], "method"falsefalsefalse643);
  1399.                     // line 644
  1400.                     echo "\t\t\t\t\t<a class=\"readmore\" href=\"";
  1401.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["gallery"]) || array_key_exists("gallery"$context) ? $context["gallery"] : (function () { throw new RuntimeError('Variable "gallery" does not exist.'644$this->source); })()), "getFullURL", [(isset($context["site_code"]) || array_key_exists("site_code"$context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.'644$this->source); })())], "method"falsefalsefalse644), "html"nulltrue);
  1402.                     echo "\"><br>View Full Gallery</a>
  1403. \t\t\t\t";
  1404.                 }
  1405.                 // line 646
  1406.                 echo "\t\t\t";
  1407.             }
  1408.             // line 647
  1409.             echo "
  1410. \t\t\t";
  1411.             // line 650
  1412.             echo "
  1413. \t\t";
  1414.         }
  1415.         // line 653
  1416.         echo "\t\t";
  1417.         // line 654
  1418.         echo "\t</div>
  1419. \t<script>
  1420. \t\t(function (\$) {
  1421. \t\t\t\$(function () {
  1422. \t\t\t\t\$('[data-video-row]').each(function () { // \$video = \$(this).find('video').first();
  1423. \t\t\t\t\$(this).on('mouseover', function () {
  1424. \t\t\t\t\$(this).find('video').first()[0].play();
  1425. \t\t\t\t\$(this).find('.ytThumbContainer').first().stop(true, true).addClass('ytThumbContainer-playing', 500);
  1426. \t\t\t\t// console.log(\$video);
  1427. \t\t\t\t// console.log(\$(this).attr(\"data-video-row\"));
  1428. \t\t\t\t});
  1429. \t\t\t\t\$(this).on('mouseleave', function () {
  1430. \t\t\t\t// \$(this).find('video').first()[0].pause();
  1431. \t\t\t\t// \$(this).find('video').first()[0].currentTime=0;
  1432. \t\t\t\t\$(this).find('video').first()[0].load();
  1433. \t\t\t\t\$(this).find('.ytThumbContainer').first().stop(true, true).removeClass('ytThumbContainer-playing', 100);
  1434. \t\t\t\t});
  1435. \t\t\t\t});
  1436. \t\t\t\t});
  1437. \t\t\t
  1438. \t\t\t\t\$(document).on('click', '#connectwithusbutton', function (event) {
  1439. \t\t\t\t\tevent.preventDefault();
  1440. \t\t\t\t\t\$('html, body').animate({
  1441. \t\t\t\t\t\tscrollTop: \$(\$.attr(this, 'href')).offset().top
  1442. \t\t\t\t\t}, 500);
  1443. \t\t\t\t});
  1444. \t\t}(jQuery));
  1445. \t</script>
  1446. ";
  1447.         
  1448.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1449.         
  1450.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1451.     }
  1452.     // line 687
  1453.     public function block_sidebarwrapperdiv($context, array $blocks = [])
  1454.     {
  1455.         $macros $this->macros;
  1456.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1457.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebarwrapperdiv"));
  1458.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1459.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebarwrapperdiv"));
  1460.         echo "<div class=\"col-lg-3 d-lg-block\">";
  1461.         
  1462.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1463.         
  1464.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1465.     }
  1466.     // line 688
  1467.     public function block_sidebar($context, array $blocks = [])
  1468.     {
  1469.         $macros $this->macros;
  1470.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1471.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar"));
  1472.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1473.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar"));
  1474.         // line 689
  1475.         echo "\t";
  1476.         $this->loadTemplate("sidebars/directory.html.twig""content/tmpl/directory-listing.html.twig"689)->display($context);
  1477.         
  1478.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1479.         
  1480.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1481.     }
  1482.     public function getTemplateName()
  1483.     {
  1484.         return "content/tmpl/directory-listing.html.twig";
  1485.     }
  1486.     public function isTraitable()
  1487.     {
  1488.         return false;
  1489.     }
  1490.     public function getDebugInfo()
  1491.     {
  1492.         return array (  1515 => 689,  1505 => 688,  1486 => 687,  1444 => 654,  1442 => 653,  1437 => 650,  1433 => 647,  1430 => 646,  1424 => 644,  1421 => 643,  1419 => 642,  1416 => 641,  1412 => 639,  1410 => 638,  1405 => 635,  1399 => 634,  1391 => 631,  1388 => 630,  1385 => 629,  1381 => 628,  1372 => 621,  1369 => 620,  1367 => 619,  1365 => 618,  1362 => 617,  1360 => 616,  1357 => 615,  1353 => 613,  1341 => 606,  1336 => 603,  1333 => 602,  1322 => 597,  1318 => 596,  1314 => 595,  1309 => 594,  1303 => 591,  1300 => 590,  1297 => 589,  1293 => 588,  1284 => 581,  1281 => 580,  1278 => 578,  1276 => 558,  1273 => 556,  1269 => 554,  1259 => 547,  1254 => 544,  1251 => 543,  1238 => 538,  1234 => 537,  1230 => 536,  1225 => 535,  1219 => 532,  1216 => 531,  1214 => 530,  1211 => 529,  1207 => 528,  1200 => 523,  1197 => 522,  1194 => 520,  1190 => 518,  1180 => 511,  1175 => 508,  1172 => 507,  1161 => 502,  1157 => 501,  1152 => 500,  1146 => 497,  1143 => 496,  1141 => 495,  1138 => 494,  1134 => 493,  1127 => 488,  1124 => 487,  1121 => 485,  1117 => 483,  1105 => 476,  1100 => 473,  1097 => 472,  1086 => 467,  1082 => 466,  1077 => 465,  1071 => 460,  1065 => 458,  1063 => 457,  1056 => 454,  1053 => 453,  1050 => 452,  1047 => 451,  1045 => 450,  1039 => 448,  1037 => 447,  1033 => 445,  1023 => 434,  1019 => 433,  1012 => 428,  1009 => 427,  1006 => 425,  1002 => 423,  990 => 416,  985 => 413,  982 => 412,  971 => 407,  966 => 406,  962 => 404,  957 => 403,  951 => 400,  948 => 399,  946 => 398,  943 => 397,  939 => 396,  932 => 391,  929 => 390,  925 => 387,  921 => 385,  909 => 378,  904 => 375,  901 => 374,  890 => 369,  886 => 368,  882 => 367,  877 => 366,  871 => 363,  868 => 362,  866 => 361,  863 => 360,  859 => 359,  852 => 354,  849 => 353,  846 => 351,  842 => 349,  830 => 342,  825 => 339,  822 => 338,  811 => 333,  807 => 332,  803 => 331,  798 => 330,  792 => 327,  789 => 326,  787 => 325,  784 => 324,  780 => 323,  773 => 318,  770 => 317,  766 => 314,  762 => 312,  752 => 305,  747 => 302,  744 => 301,  733 => 296,  729 => 295,  725 => 294,  720 => 293,  714 => 290,  711 => 289,  709 => 288,  706 => 287,  702 => 286,  695 => 281,  692 => 280,  689 => 278,  685 => 276,  675 => 269,  670 => 266,  667 => 265,  656 => 260,  652 => 259,  648 => 258,  643 => 257,  637 => 254,  634 => 253,  632 => 252,  629 => 251,  625 => 250,  618 => 245,  615 => 244,  612 => 242,  608 => 240,  598 => 233,  593 => 230,  590 => 229,  579 => 224,  575 => 223,  571 => 222,  566 => 221,  560 => 218,  557 => 217,  555 => 216,  552 => 215,  548 => 214,  541 => 209,  538 => 208,  535 => 206,  531 => 204,  519 => 197,  514 => 194,  511 => 193,  500 => 188,  496 => 187,  492 => 186,  487 => 185,  481 => 182,  478 => 181,  476 => 180,  473 => 179,  469 => 178,  462 => 173,  459 => 172,  456 => 170,  452 => 168,  440 => 161,  435 => 158,  432 => 157,  421 => 152,  417 => 151,  413 => 150,  408 => 149,  402 => 146,  399 => 145,  397 => 144,  394 => 143,  390 => 142,  383 => 137,  380 => 136,  377 => 134,  373 => 132,  361 => 125,  356 => 122,  353 => 121,  342 => 116,  338 => 115,  334 => 114,  329 => 113,  323 => 110,  320 => 109,  318 => 108,  315 => 107,  311 => 106,  304 => 101,  301 => 100,  298 => 98,  294 => 96,  282 => 89,  277 => 86,  274 => 85,  263 => 80,  259 => 79,  255 => 78,  250 => 77,  244 => 74,  241 => 73,  239 => 72,  236 => 71,  231 => 70,  229 => 69,  222 => 64,  219 => 63,  217 => 62,  215 => 61,  212 => 60,  208 => 58,  196 => 51,  191 => 48,  188 => 47,  177 => 42,  173 => 41,  169 => 40,  164 => 39,  158 => 36,  155 => 35,  153 => 34,  150 => 33,  146 => 32,  139 => 27,  136 => 26,  133 => 24,  131 => 23,  126 => 21,  123 => 20,  117 => 18,  115 => 17,  107 => 12,  104 => 11,  101 => 10,  98 => 9,  96 => 8,  93 => 7,  83 => 6,  64 => 4,  53 => 1,  51 => 5,  38 => 1,);
  1493.     }
  1494.     public function getSourceContext()
  1495.     {
  1496.         return new Source("{% extends \"1-col-sidebar.html.twig\" %}
  1497. {# directory listing #}
  1498. {% block colwrapperdiv %}<div class=\"col-12 col-lg-9\">{% endblock %}
  1499. {% set customer = content.getDirectory() %}
  1500. {% block column %}
  1501. \t{% if site_code is not defined %}
  1502. \t\t{% set site_code = '' %}
  1503. \t{% endif %}
  1504. \t
  1505. \t<script src=\"{{ asset(\"assets/js/directory-listing.min.js?v=3\") }}\"></script>
  1506. \t<div class=\"directory-listing\">
  1507. \t\t<a href=\"/our-directory\" class=\"button alt\" style=\"float: right; margin-left:15px;\">Back to Directory</a>
  1508. \t\t<a href=\"#connectwithus\" id=\"connectwithusbutton\" class=\"d-block d-lg-none button alt\" style=\"float:right;\">Connect With Us</a>
  1509. \t\t<br><br>
  1510. \t\t{% if content.getShowTitle() %}
  1511. \t\t\t<h1 class=\"post-title notranslate directory-title\">{{ content.getTitle() }}</h1>
  1512. \t\t{% endif %}
  1513. \t\t<div>
  1514. \t\t\t{{ content.getContentFull()|wordpress|raw }}
  1515. \t\t</div>
  1516. \t\t{% if customer is not empty %}
  1517. \t\t\t{# Promos and Rebates #}
  1518. \t\t\t{% if show_promotions and customer.getPromosRebates() is not empty %}
  1519. \t\t\t\t<hr>
  1520. \t\t\t\t<div>
  1521. \t\t\t\t\t<h2>
  1522. \t\t\t\t\t\t<strong>Latest Promotions and Rebates</strong>
  1523. \t\t\t\t\t</h2>
  1524. \t\t\t\t\t{% for post in customer.getPromosRebates()|slice(0, 3) %}
  1525. \t\t\t\t\t\t<div class=\"row list-row\">
  1526. \t\t\t\t\t\t\t{% if post.getFeaturedImageTag() is not empty %}
  1527. \t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  1528. \t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag()|raw }}
  1529. \t\t\t\t\t\t\t\t</div>
  1530. \t\t\t\t\t\t\t{% endif %}
  1531. \t\t\t\t\t\t\t<div class={{ (post.getFeaturedImageTag() is empty) ? \"col-sm-12\" : \"col-sm-9\" }}>
  1532. \t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">{{ post.title }}</h3>
  1533. \t\t\t\t\t\t\t\t<p>{{ post.getIntroText() }}<br>
  1534. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ post.getFullURL(site_code) }}\">View Promotion</a>
  1535. \t\t\t\t\t\t\t\t</p>
  1536. \t\t\t\t\t\t\t</div>
  1537. \t\t\t\t\t\t</div>
  1538. \t\t\t\t\t{% endfor %}
  1539. \t\t\t\t\t{% if customer.getPromosRebates()|length > 3 %}
  1540. \t\t\t\t\t\t<div class=\"row\">
  1541. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  1542. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  1543. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ meta.root }}/content/{{ constant(\"App\\\\Entity\\\\Content::PROMOS_REBATES\") }}\">
  1544. \t\t\t\t\t\t\t\t\t<strong>
  1545. \t\t\t\t\t\t\t\t\t\tSee More</strong>
  1546. \t\t\t\t\t\t\t\t</a>
  1547. \t\t\t\t\t\t\t</div>
  1548. \t\t\t\t\t\t</div>
  1549. \t\t\t\t\t{% endif %}
  1550. \t\t\t\t</div>
  1551. \t\t\t{% endif %}
  1552. \t\t\t{% set ebooks = customer.getEbooks(200) %}
  1553. \t\t\t{# Ebooks #}
  1554. \t\t\t{% if show_ebooks and ebooks is not empty %}
  1555. \t\t\t\t<hr>
  1556. \t\t\t\t<div>
  1557. \t\t\t\t\t<h2>
  1558. \t\t\t\t\t\t<strong>eBooks</strong>
  1559. \t\t\t\t\t</h2>
  1560. \t\t\t\t\t{% set reBooks = ebooks|shuffle %}
  1561. \t\t\t\t\t{% for post in reBooks|slice(0, 3) %}
  1562. \t\t\t\t\t\t<div class=\"row list-row\">
  1563. \t\t\t\t\t\t\t{% if post.getFeaturedImageTag() is not empty %}
  1564. \t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  1565. \t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag()|raw }}
  1566. \t\t\t\t\t\t\t\t</div>
  1567. \t\t\t\t\t\t\t{% endif %}
  1568. \t\t\t\t\t\t\t<div class={{ (post.getFeaturedImageTag() is empty) ? \"col-sm-12\" : \"col-sm-9\" }}>
  1569. \t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">{{ post.title }}</h3>
  1570. \t\t\t\t\t\t\t\t<p>{{ post.getIntroText() }}<br>
  1571. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ post.getFullURL(site_code) }}\">View eBook</a>
  1572. \t\t\t\t\t\t\t\t</p>
  1573. \t\t\t\t\t\t\t</div>
  1574. \t\t\t\t\t\t</div>
  1575. \t\t\t\t\t{% endfor %}
  1576. \t\t\t\t\t{% if ebooks|length > 3 %}
  1577. \t\t\t\t\t\t<div class=\"row\">
  1578. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  1579. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  1580. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ meta.root }}/content/{{ constant(\"App\\\\Entity\\\\Content::EBOOK\") }}\">
  1581. \t\t\t\t\t\t\t\t\t<strong>
  1582. \t\t\t\t\t\t\t\t\t\tSee More</strong>
  1583. \t\t\t\t\t\t\t\t</a>
  1584. \t\t\t\t\t\t\t</div>
  1585. \t\t\t\t\t\t</div>
  1586. \t\t\t\t\t{% endif %}
  1587. \t\t\t\t</div>
  1588. \t\t\t{% endif %}
  1589. \t\t\t{# Contests and Games #}
  1590. \t\t\t{% if show_contestgames and customer.getContestsGames() is not empty %}
  1591. \t\t\t\t<hr>
  1592. \t\t\t\t<div>
  1593. \t\t\t\t\t<h2>
  1594. \t\t\t\t\t\t<strong>Latest Contests and Games</strong>
  1595. \t\t\t\t\t</h2>
  1596. \t\t\t\t\t{% for post in customer.getContestsGames()|slice(0, 3) %}
  1597. \t\t\t\t\t\t<div class=\"row list-row\">
  1598. \t\t\t\t\t\t\t{% if post.getFeaturedImageTag() is not empty %}
  1599. \t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  1600. \t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag()|raw }}
  1601. \t\t\t\t\t\t\t\t</div>
  1602. \t\t\t\t\t\t\t{% endif %}
  1603. \t\t\t\t\t\t\t<div class={{ (post.getFeaturedImageTag() is empty) ? \"col-sm-12\" : \"col-sm-9\" }}>
  1604. \t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">{{ post.title }}</h3>
  1605. \t\t\t\t\t\t\t\t<p>{{ post.getIntroText() }}<br>
  1606. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ post.getFullURL(site_code) }}\">View Contest or Game</a>
  1607. \t\t\t\t\t\t\t\t</p>
  1608. \t\t\t\t\t\t\t</div>
  1609. \t\t\t\t\t\t</div>
  1610. \t\t\t\t\t{% endfor %}
  1611. \t\t\t\t\t{% if customer.getContestsGames()|length > 3 %}
  1612. \t\t\t\t\t\t<div class=\"row\">
  1613. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  1614. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  1615. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ meta.root }}/content/{{ constant(\"App\\\\Entity\\\\Content::CONTEST_GAMES\") }}\">
  1616. \t\t\t\t\t\t\t\t\t<strong>
  1617. \t\t\t\t\t\t\t\t\t\tSee More</strong>
  1618. \t\t\t\t\t\t\t\t</a>
  1619. \t\t\t\t\t\t\t</div>
  1620. \t\t\t\t\t\t</div>
  1621. \t\t\t\t\t{% endif %}
  1622. \t\t\t\t</div>
  1623. \t\t\t{% endif %}
  1624. \t\t\t{# Awards #}
  1625. \t\t\t{% if show_awards and customer.getAwards() is not empty %}
  1626. \t\t\t\t<hr>
  1627. \t\t\t\t<div>
  1628. \t\t\t\t\t<h2>
  1629. \t\t\t\t\t\t<strong>Latest Awards</strong>
  1630. \t\t\t\t\t</h2>
  1631. \t\t\t\t\t{% for post in customer.getAwards()|slice(0, 3) %}
  1632. \t\t\t\t\t\t<div class=\"row list-row\">
  1633. \t\t\t\t\t\t\t{% if post.getFeaturedImageTag() is not empty %}
  1634. \t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  1635. \t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag()|raw }}
  1636. \t\t\t\t\t\t\t\t</div>
  1637. \t\t\t\t\t\t\t{% endif %}
  1638. \t\t\t\t\t\t\t<div class={{ (post.getFeaturedImageTag() is empty) ? \"col-sm-12\" : \"col-sm-9\" }}>
  1639. \t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">{{ post.title }}</h3>
  1640. \t\t\t\t\t\t\t\t<p>{{ post.getIntroText() }}<br>
  1641. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ post.getFullURL(site_code) }}\">View Award</a>
  1642. \t\t\t\t\t\t\t\t</p>
  1643. \t\t\t\t\t\t\t</div>
  1644. \t\t\t\t\t\t</div>
  1645. \t\t\t\t\t{% endfor %}
  1646. \t\t\t\t\t{% if customer.getAwards()|length > 3 %}
  1647. \t\t\t\t\t\t<div class=\"row\">
  1648. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  1649. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  1650. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ meta.root }}/content/{{ constant(\"App\\\\Entity\\\\Content::AWARD\") }}\">
  1651. \t\t\t\t\t\t\t\t\t<strong>
  1652. \t\t\t\t\t\t\t\t\t\tSee More</strong>
  1653. \t\t\t\t\t\t\t\t</a>
  1654. \t\t\t\t\t\t\t</div>
  1655. \t\t\t\t\t\t</div>
  1656. \t\t\t\t\t{% endif %}
  1657. \t\t\t\t</div>
  1658. \t\t\t{% endif %}
  1659. \t\t\t{# Scholarships #}
  1660. \t\t\t{% if show_scholarships and customer.getScholarships() is not empty %}
  1661. \t\t\t\t<hr>
  1662. \t\t\t\t<div>
  1663. \t\t\t\t\t<h2>
  1664. \t\t\t\t\t\t<strong>Latest Scholarships</strong>
  1665. \t\t\t\t\t</h2>
  1666. \t\t\t\t\t{% for post in customer.getScholarships()|slice(0, 3) %}
  1667. \t\t\t\t\t\t<div class=\"row list-row\">
  1668. \t\t\t\t\t\t\t{% if post.getFeaturedImageTag() is not empty %}
  1669. \t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  1670. \t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag()|raw }}
  1671. \t\t\t\t\t\t\t\t</div>
  1672. \t\t\t\t\t\t\t{% endif %}
  1673. \t\t\t\t\t\t\t<div class={{ (post.getFeaturedImageTag() is empty) ? \"col-sm-12\" : \"col-sm-9\" }}>
  1674. \t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">{{ post.title }}</h3>
  1675. \t\t\t\t\t\t\t\t<p>{{ post.getIntroText() }}<br>
  1676. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ post.getFullURL(site_code) }}\">View Scholarship</a>
  1677. \t\t\t\t\t\t\t\t</p>
  1678. \t\t\t\t\t\t\t</div>
  1679. \t\t\t\t\t\t</div>
  1680. \t\t\t\t\t{% endfor %}
  1681. \t\t\t\t\t{% if customer.getScholarships()|length > 3 %}
  1682. \t\t\t\t\t\t<div class=\"row\">
  1683. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  1684. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  1685. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ meta.root }}/content/{{ constant(\"App\\\\Entity\\\\Content::SCHOLARSHIP\") }}\">
  1686. \t\t\t\t\t\t\t\t\t<strong>
  1687. \t\t\t\t\t\t\t\t\t\tSee More</strong>
  1688. \t\t\t\t\t\t\t\t</a>
  1689. \t\t\t\t\t\t\t</div>
  1690. \t\t\t\t\t\t</div>
  1691. \t\t\t\t\t{% endif %}
  1692. \t\t\t\t</div>
  1693. \t\t\t{% endif %}
  1694. \t\t\t{# Spanish Content #}
  1695. \t\t\t{% if spanish_content is not empty %}
  1696. \t\t\t\t<hr>
  1697. \t\t\t\t<div>
  1698. \t\t\t\t\t<h2>
  1699. \t\t\t\t\t\t<strong>Latest Spanish Content</strong>
  1700. \t\t\t\t\t</h2>
  1701. \t\t\t\t\t{% for post in spanish_content|slice(0, 3) %}
  1702. \t\t\t\t\t\t<div class=\"row list-row\">
  1703. \t\t\t\t\t\t\t{% if post.getFeaturedImageTag() is not empty %}
  1704. \t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  1705. \t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag()|raw }}
  1706. \t\t\t\t\t\t\t\t</div>
  1707. \t\t\t\t\t\t\t{% endif %}
  1708. \t\t\t\t\t\t\t<div class={{ (post.getFeaturedImageTag() is empty) ? \"col-sm-12\" : \"col-sm-9\" }}>
  1709. \t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">{{ post.title }}</h3>
  1710. \t\t\t\t\t\t\t\t<p>{{ post.getIntroText() }}<br>
  1711. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ post.getFullURL(site_code) }}\">View Content</a>
  1712. \t\t\t\t\t\t\t\t</p>
  1713. \t\t\t\t\t\t\t</div>
  1714. \t\t\t\t\t\t</div>
  1715. \t\t\t\t\t{% endfor %}
  1716. \t\t\t\t\t{% if spanish_content|length > 3 %}
  1717. \t\t\t\t\t\t<div class=\"row\">
  1718. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  1719. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  1720. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ meta.root }}/content/spanish\">
  1721. \t\t\t\t\t\t\t\t\t<strong>
  1722. \t\t\t\t\t\t\t\t\t\tSee More</strong>
  1723. \t\t\t\t\t\t\t\t</a>
  1724. \t\t\t\t\t\t\t</div>
  1725. \t\t\t\t\t\t</div>
  1726. \t\t\t\t\t{% endif %}
  1727. \t\t\t\t</div>
  1728. \t\t\t{% endif %}
  1729. \t\t\t{# International Content #}
  1730. \t\t\t{% if int_content is not empty %}
  1731. \t\t\t\t<hr>
  1732. \t\t\t\t<div>
  1733. \t\t\t\t\t<h2>
  1734. \t\t\t\t\t\t<strong>Latest International Content</strong>
  1735. \t\t\t\t\t</h2>
  1736. \t\t\t\t\t{% for post in int_content|slice(0, 3) %}
  1737. \t\t\t\t\t\t<div class=\"row list-row\">
  1738. \t\t\t\t\t\t\t{% if post.getFeaturedImageTag() is not empty %}
  1739. \t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  1740. \t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag()|raw }}
  1741. \t\t\t\t\t\t\t\t</div>
  1742. \t\t\t\t\t\t\t{% endif %}
  1743. \t\t\t\t\t\t\t<div class={{ (post.getFeaturedImageTag() is empty) ? \"col-sm-12\" : \"col-sm-9\" }}>
  1744. \t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">{{ post.title }}</h3>
  1745. \t\t\t\t\t\t\t\t<p>{{ post.getIntroText() }}<br>
  1746. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ post.getFullURL(site_code) }}\">View Content</a>
  1747. \t\t\t\t\t\t\t\t</p>
  1748. \t\t\t\t\t\t\t</div>
  1749. \t\t\t\t\t\t</div>
  1750. \t\t\t\t\t{% endfor %}
  1751. \t\t\t\t\t{% if int_content|length > 3 %}
  1752. \t\t\t\t\t\t<div class=\"row\">
  1753. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  1754. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  1755. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ meta.root }}/content/international\">
  1756. \t\t\t\t\t\t\t\t\t<strong>
  1757. \t\t\t\t\t\t\t\t\t\tSee More</strong>
  1758. \t\t\t\t\t\t\t\t</a>
  1759. \t\t\t\t\t\t\t</div>
  1760. \t\t\t\t\t\t</div>
  1761. \t\t\t\t\t{% endif %}
  1762. \t\t\t\t</div>
  1763. \t\t\t{% endif %}
  1764. \t\t\t{# Canada Content #}
  1765. \t\t\t{% if canada_content is not empty %}
  1766. \t\t\t\t<hr>
  1767. \t\t\t\t<div>
  1768. \t\t\t\t\t<h2>
  1769. \t\t\t\t\t\t<strong>Latest Canada Content</strong>
  1770. \t\t\t\t\t</h2>
  1771. \t\t\t\t\t{% for post in canada_content|slice(0, 3) %}
  1772. \t\t\t\t\t\t<div class=\"row list-row\">
  1773. \t\t\t\t\t\t\t{% if post.getFeaturedImageTag() is not empty %}
  1774. \t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  1775. \t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag()|raw }}
  1776. \t\t\t\t\t\t\t\t</div>
  1777. \t\t\t\t\t\t\t{% endif %}
  1778. \t\t\t\t\t\t\t<div class={{ (post.getFeaturedImageTag() is empty) ? \"col-sm-12\" : \"col-sm-9\" }}>
  1779. \t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">{{ post.title }}</h3>
  1780. \t\t\t\t\t\t\t\t<p>{{ post.getIntroText() }}<br>
  1781. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ post.getFullURL(site_code) }}\">View Content</a>
  1782. \t\t\t\t\t\t\t\t</p>
  1783. \t\t\t\t\t\t\t</div>
  1784. \t\t\t\t\t\t</div>
  1785. \t\t\t\t\t{% endfor %}
  1786. \t\t\t\t\t{% if canada_content|length > 3 %}
  1787. \t\t\t\t\t\t<div class=\"row\">
  1788. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  1789. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  1790. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ meta.root }}/content/canada\">
  1791. \t\t\t\t\t\t\t\t\t<strong>
  1792. \t\t\t\t\t\t\t\t\t\tSee More</strong>
  1793. \t\t\t\t\t\t\t\t</a>
  1794. \t\t\t\t\t\t\t</div>
  1795. \t\t\t\t\t\t</div>
  1796. \t\t\t\t\t{% endif %}
  1797. \t\t\t\t</div>
  1798. \t\t\t{% endif %}
  1799. \t\t\t{# Podcasts #}
  1800. \t\t\t{% if show_podcasts and customer.getPodcasts() is not empty %}
  1801. \t\t\t\t<hr>
  1802. \t\t\t\t<div>
  1803. \t\t\t\t\t<h2>
  1804. \t\t\t\t\t\t<strong>Latest Podcasts</strong>
  1805. \t\t\t\t\t</h2>
  1806. \t\t\t\t\t{% for post in customer.getPodcasts()|slice(0, 3) %}
  1807. \t\t\t\t\t\t<div class=\"row list-row\">
  1808. \t\t\t\t\t\t\t{% if post.getFeaturedImageTag() is not empty %}
  1809. \t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  1810. \t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag()|raw }}
  1811. \t\t\t\t\t\t\t\t</div>
  1812. \t\t\t\t\t\t\t{% endif %}
  1813. \t\t\t\t\t\t\t<div class={{ (post.getFeaturedImageTag() is empty) ? \"col-sm-12\" : \"col-sm-9\" }}>
  1814. \t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">{{ post.title }}</h3>
  1815. \t\t\t\t\t\t\t\t<p>{{ post.getIntroText() }}<br>
  1816. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ post.getFullURL(site_code) }}\">Listen to the Podcast</a>
  1817. \t\t\t\t\t\t\t\t</p>
  1818. \t\t\t\t\t\t\t</div>
  1819. \t\t\t\t\t\t</div>
  1820. \t\t\t\t\t{% endfor %}
  1821. \t\t\t\t\t{% if customer.getPodcasts()|length > 3 %}
  1822. \t\t\t\t\t\t<div class=\"row\">
  1823. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  1824. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  1825. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ meta.root }}/content/{{ constant(\"App\\\\Entity\\\\Content::PODCAST\") }}\">
  1826. \t\t\t\t\t\t\t\t\t<strong>
  1827. \t\t\t\t\t\t\t\t\t\tListen More</strong>
  1828. \t\t\t\t\t\t\t\t</a>
  1829. \t\t\t\t\t\t\t</div>
  1830. \t\t\t\t\t\t</div>
  1831. \t\t\t\t\t{% endif %}
  1832. \t\t\t\t</div>
  1833. \t\t\t{% endif %}
  1834. \t\t\t{# Webinars #}
  1835. \t\t\t{% if show_webinars and customer.getWebinars() is not empty %}
  1836. \t\t\t\t<hr>
  1837. \t\t\t\t<div>
  1838. \t\t\t\t\t<h2>
  1839. \t\t\t\t\t\t<strong>Latest Webinars</strong>
  1840. \t\t\t\t\t</h2>
  1841. \t\t\t\t\t{% for post in customer.getWebinars()|slice(0, 3) %}
  1842. \t\t\t\t\t\t<div class=\"row list-row\">
  1843. \t\t\t\t\t\t\t{% if post.getFeaturedImageTag() is not empty %}
  1844. \t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  1845. \t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag()|raw }}
  1846. \t\t\t\t\t\t\t\t</div>
  1847. \t\t\t\t\t\t\t{% endif %}
  1848. \t\t\t\t\t\t\t<div class={{ (post.getFeaturedImageTag() is empty) ? \"col-sm-12\" : \"col-sm-9\" }}>
  1849. \t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">{{ post.title }}</h3>
  1850. \t\t\t\t\t\t\t\t<p>{{ post.getIntroText() }}<br>
  1851. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ post.getFullURL(site_code) }}\">Watch the Webinar</a>
  1852. \t\t\t\t\t\t\t\t</p>
  1853. \t\t\t\t\t\t\t</div>
  1854. \t\t\t\t\t\t</div>
  1855. \t\t\t\t\t{% endfor %}
  1856. \t\t\t\t\t{% if customer.getWebinars()|length > 3 %}
  1857. \t\t\t\t\t\t<div class=\"row\">
  1858. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  1859. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  1860. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ meta.root }}/content/{{ constant(\"App\\\\Entity\\\\Content::WEBINAR\") }}\">
  1861. \t\t\t\t\t\t\t\t\t<strong>
  1862. \t\t\t\t\t\t\t\t\t\tSee More</strong>
  1863. \t\t\t\t\t\t\t\t</a>
  1864. \t\t\t\t\t\t\t</div>
  1865. \t\t\t\t\t\t</div>
  1866. \t\t\t\t\t{% endif %}
  1867. \t\t\t\t</div>
  1868. \t\t\t{% endif %}
  1869. \t\t\t{# Educational Content (TheHUB) #}
  1870. \t\t\t{% if show_education and customer.getHUBContent() is not empty %}
  1871. \t\t\t\t<hr>
  1872. \t\t\t\t<div>
  1873. \t\t\t\t\t<h2>
  1874. \t\t\t\t\t\t<strong>Read Listen Watch - Educational Content</strong>
  1875. \t\t\t\t\t</h2>
  1876. \t\t\t\t\t{% for post in customer.getHUBContent()|slice(0, 3) %}
  1877. \t\t\t\t\t\t<div class=\"row list-row\">
  1878. \t\t\t\t\t\t\t{% if post.getFeaturedImageTag() is not empty %}
  1879. \t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  1880. \t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag()|raw }}
  1881. \t\t\t\t\t\t\t\t</div>
  1882. \t\t\t\t\t\t\t{% endif %}
  1883. \t\t\t\t\t\t\t<div class={{ (post.getFeaturedImageTag() is empty) ? \"col-sm-12\" : \"col-sm-9\" }}>
  1884. \t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">{{ post.title }}</h3>
  1885. \t\t\t\t\t\t\t\t{# <p>{{ post.contentfull|snippet(320) }}<br> #}
  1886. \t\t\t\t\t\t\t\t<p>{{ post.getIntroText() }}<br>
  1887. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ post.getFullURL(site_code) }}\">View Content</a>
  1888. \t\t\t\t\t\t\t\t</p>
  1889. \t\t\t\t\t\t\t</div>
  1890. \t\t\t\t\t\t</div>
  1891. \t\t\t\t\t{% endfor %}
  1892. \t\t\t\t\t{% if customer.getHUBContent()|length > 3 %}
  1893. \t\t\t\t\t\t<div class=\"row\">
  1894. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  1895. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  1896. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ meta.root }}/content/{{ constant(\"App\\\\Entity\\\\Content::THE_HUB\") }}\">
  1897. \t\t\t\t\t\t\t\t\t<strong>
  1898. \t\t\t\t\t\t\t\t\t\tSee More</strong>
  1899. \t\t\t\t\t\t\t\t</a>
  1900. \t\t\t\t\t\t\t</div>
  1901. \t\t\t\t\t\t</div>
  1902. \t\t\t\t\t{% endif %}
  1903. \t\t\t\t</div>
  1904. \t\t\t{% endif %}
  1905. \t\t\t{# Classifieds #}
  1906. \t\t\t{% if show_classifieds and customer.getClassifieds() is not empty %}
  1907. \t\t\t\t<hr>
  1908. \t\t\t\t<div>
  1909. \t\t\t\t\t<h2>
  1910. \t\t\t\t\t\t<strong>Latest Classifieds</strong>
  1911. \t\t\t\t\t</h2>
  1912. \t\t\t\t\t{% for post in customer.getClassifieds()|slice(0, 3) %}
  1913. \t\t\t\t\t\t<div class=\"row list-row\" {% if post.getVideoMedia() %} data-video-row=\"{{post.getVideoMedia().getId()}}\" {% endif %}>
  1914. \t\t\t\t\t\t\t{# {% if post.getFeaturedImageTag() is not empty %}
  1915. \t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  1916. \t\t\t\t\t\t\t\t\t{% if post.hasVideoMedia() %}
  1917. \t\t\t\t\t\t\t\t\t\t{{ post.getVideoMediaTag(\"\",\"\", false)|raw }}
  1918. \t\t\t\t\t\t\t\t\t{% elseif post.getFeaturedImageTag() is not empty %}
  1919. \t\t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag(\"\",\"\")|raw }}
  1920. \t\t\t\t\t\t\t\t\t{% endif %}
  1921. \t\t\t\t\t\t\t\t</div>
  1922. \t\t\t\t\t\t\t{% endif %} #}
  1923. \t\t\t\t\t\t\t<div class=\"col-sm-2 post-thumbnail directoryitem\">
  1924. \t\t\t\t\t\t\t\t{% if post.hasVideoMedia() %}
  1925. \t\t\t\t\t\t\t\t\t<a href=\"{{ post.getURL() }}?autoplay=1\" class=\"no-style\">
  1926. \t\t\t\t\t\t\t\t\t\t<div class=\"ytThumbContainer ytThumbContainer-small\">
  1927. \t\t\t\t\t\t\t\t\t\t\t{% set mURL = \"\" %}
  1928. \t\t\t\t\t\t\t\t\t\t\t{% if post.getMedia() %}
  1929. \t\t\t\t\t\t\t\t\t\t\t\t{% set mURL = post.getMedia().getURL() %}
  1930. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1931. \t\t\t\t\t\t\t\t\t\t\t{{ post.getVideoMediaTag(\"\",\"max-height:165px;\", false, false, true, mURL)|raw }}
  1932. \t\t\t\t\t\t\t\t\t\t</div>
  1933. \t\t\t\t\t\t\t\t\t</a>
  1934. \t\t\t\t\t\t\t\t{% elseif post.getFeaturedImageTag() is not empty %}
  1935. \t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag(\"\",\"\")|raw }}
  1936. \t\t\t\t\t\t\t\t{% endif %}
  1937. \t\t\t\t\t\t\t</div>
  1938. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  1939. \t\t\t\t\t\t\t{# <div class={{ post.getFeaturedImageTag() is empty or  post.getVideoMediaTag(\"\",\"\", false)|raw is empty   ? \"col-sm-12\" : \"col-sm-9\" }}> #}
  1940. \t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">{{ post.title }}</h3>
  1941. \t\t\t\t\t\t\t\t<p>{{ post.getIntroText() }}<br>
  1942. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ post.getFullURL(site_code) }}\">View the Classified</a>
  1943. \t\t\t\t\t\t\t\t</p>
  1944. \t\t\t\t\t\t\t</div>
  1945. \t\t\t\t\t\t</div>
  1946. \t\t\t\t\t{% endfor %}
  1947. \t\t\t\t\t{% if customer.getClassifieds()|length > 3 %}
  1948. \t\t\t\t\t\t<div class=\"row\">
  1949. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  1950. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  1951. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ meta.root }}/content/{{ constant(\"App\\\\Entity\\\\Content::CLASSIFIED\") }}\">
  1952. \t\t\t\t\t\t\t\t\t<strong>
  1953. \t\t\t\t\t\t\t\t\t\tSee More</strong>
  1954. \t\t\t\t\t\t\t\t</a>
  1955. \t\t\t\t\t\t\t</div>
  1956. \t\t\t\t\t\t</div>
  1957. \t\t\t\t\t{% endif %}
  1958. \t\t\t\t</div>
  1959. \t\t\t{% endif %}
  1960. \t\t\t{# Buy Online #}
  1961. \t\t\t{% if show_buy_online and buy_online_posts is not empty %}
  1962. \t\t\t\t<hr>
  1963. \t\t\t\t<div>
  1964. \t\t\t\t\t<h2>
  1965. \t\t\t\t\t\t<strong>Buy Online</strong>
  1966. \t\t\t\t\t</h2>
  1967. \t\t\t\t\t{% for post in buy_online_posts|slice(0, 3) %}
  1968. \t\t\t\t\t\t<div class=\"row list-row\">
  1969. \t\t\t\t\t\t\t{% if post.getFeaturedImageTag() is not empty %}
  1970. \t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  1971. \t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag()|raw }}
  1972. \t\t\t\t\t\t\t\t</div>
  1973. \t\t\t\t\t\t\t{% endif %}
  1974. \t\t\t\t\t\t\t<div class={{ (post.getFeaturedImageTag() is empty) ? \"col-sm-12\" : \"col-sm-9\" }}>
  1975. \t\t\t\t\t\t\t\t<p>{{ post.getIntroText() }}<br>
  1976. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ post.getFullURL(site_code) }}\">Read More</a>
  1977. \t\t\t\t\t\t\t\t</p>
  1978. \t\t\t\t\t\t\t</div>
  1979. \t\t\t\t\t\t</div>
  1980. \t\t\t\t\t{% endfor %}
  1981. \t\t\t\t\t{% if buy_online_posts|length > 3 %}
  1982. \t\t\t\t\t\t<div class=\"row\">
  1983. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  1984. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  1985. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ meta.root }}/content/buy-online\">
  1986. \t\t\t\t\t\t\t\t\t<strong>
  1987. \t\t\t\t\t\t\t\t\t\tSee More</strong>
  1988. \t\t\t\t\t\t\t\t</a>
  1989. \t\t\t\t\t\t\t</div>
  1990. \t\t\t\t\t\t</div>
  1991. \t\t\t\t\t{% endif %}
  1992. \t\t\t\t</div>
  1993. \t\t\t{% endif %}
  1994. \t\t\t{# Products #}
  1995. \t\t\t{% if show_products and customer.getGiftStoreProducts() is not empty %}
  1996. \t\t\t\t<hr>
  1997. \t\t\t\t<div>
  1998. \t\t\t\t\t<h2>
  1999. \t\t\t\t\t\t<strong>Latest Products</strong>
  2000. \t\t\t\t\t</h2>
  2001. \t\t\t\t\t{% for product in customer.getGiftStoreProducts()|slice(0, 3) %}
  2002. \t\t\t\t\t\t<div class=\"row list-row\">
  2003. \t\t\t\t\t\t\t{% if product.getFeaturedImageTag() is not empty %}
  2004. \t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  2005. \t\t\t\t\t\t\t\t\t{{ product.getFeaturedImageTag()|raw }}
  2006. \t\t\t\t\t\t\t\t</div>
  2007. \t\t\t\t\t\t\t{% endif %}
  2008. \t\t\t\t\t\t\t<div class={{ (product.getFeaturedImageTag() is empty) ? \"col-sm-12\" : \"col-sm-9\" }}>
  2009. \t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">{{ product.title }}</h3>
  2010. \t\t\t\t\t\t\t\t<p>{{ product.getIntroText() }}<br>
  2011. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{product.getURL()}}/{{customer.getId()}}\">View Product</a>
  2012. \t\t\t\t\t\t\t\t</p>
  2013. \t\t\t\t\t\t\t</div>
  2014. \t\t\t\t\t\t</div>
  2015. \t\t\t\t\t{% endfor %}
  2016. \t\t\t\t\t{% if customer.getGiftStoreProducts()|length > 3 %}
  2017. \t\t\t\t\t\t<div class=\"row\">
  2018. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  2019. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  2020. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"/gift-shop/1/_/{{customer.getId()}}\">
  2021. \t\t\t\t\t\t\t\t\t<strong>
  2022. \t\t\t\t\t\t\t\t\t\tSee More</strong>
  2023. \t\t\t\t\t\t\t\t</a>
  2024. \t\t\t\t\t\t\t</div>
  2025. \t\t\t\t\t\t</div>
  2026. \t\t\t\t\t{% endif %}
  2027. \t\t\t\t</div>
  2028. \t\t\t{% endif %}
  2029. \t\t\t{# Partner Videos #}
  2030. \t\t\t{#
  2031. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if show_video and video_posts is not empty %}
  2032. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr>
  2033. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div>
  2034. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h2><strong>Partner Videos</strong></h2>
  2035. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for post in video_posts %}
  2036. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row list-row\">
  2037. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if post.getFeaturedImageTag() is not empty %}
  2038. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  2039. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag()|raw }}
  2040. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2041. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  2042. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class={{ (post.getFeaturedImageTag() is empty) ? \"col-sm-12\" : \"col-sm-9\" }}>
  2043. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ post.getContentFull() | wordpress | raw }}
  2044. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2045. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2046. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  2047. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  2048. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  2049. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t#}
  2050. \t\t\t{# Partner Videos #}
  2051. \t\t\t\t{% if show_video and customer.getVideos() is not empty %}
  2052. \t\t\t\t<hr>
  2053. \t\t\t\t\t<div>
  2054. \t\t\t\t\t\t<h2>
  2055. \t\t\t\t\t\t\t<strong>
  2056. \t\t\t\t\t\tLatest Videos
  2057. \t\t\t\t\t</strong>
  2058. \t\t\t\t\t</h2>
  2059. \t\t\t\t\t\t{% for post in customer.getVideos()|slice(0, 3) %}
  2060. \t\t\t\t\t\t\t<div class=\"row list-row\"> {% if post.getFeaturedImageTag() is not empty %}
  2061. \t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
  2062. \t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag()|raw }}
  2063. \t\t\t\t\t\t\t\t</div>
  2064. \t\t\t\t\t\t\t{% endif %}
  2065. \t\t\t\t\t\t\t<div class={{ (post.getFeaturedImageTag() is empty) ? \"col-sm-12\" : \"col-sm-9\" }}>
  2066. \t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">{{ post.title }}</h3>
  2067. \t\t\t\t\t\t\t\t<p>{{ post.getIntroText() }}<br>
  2068. \t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ post.getFullURL(site_code) }}\">View Video</a>
  2069. \t\t\t\t\t\t\t\t</p>
  2070. \t\t\t\t\t\t\t</div>
  2071. \t\t\t\t\t\t</div>
  2072. \t\t\t\t\t{% endfor %}
  2073. \t\t\t\t\t{% if customer.getVideos()|length > 3 %}
  2074. \t\t\t\t\t\t<div class=\"row\">
  2075. \t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
  2076. \t\t\t\t\t\t\t<div class=\"col-sm-9\">
  2077. \t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ meta.root }}/content/{{ constant(\"App\\\\Entity\\\\Content::VIDEO\") }}\">
  2078. \t\t\t\t\t\t\t\t\t<strong>
  2079. \t\t\t\t\t\t\t\t\t\tSee More</strong>
  2080. \t\t\t\t\t\t\t\t</a>
  2081. \t\t\t\t\t\t\t</div>
  2082. \t\t\t\t\t\t</div>
  2083. \t\t\t\t\t{% endif %}
  2084. \t\t\t\t</div>
  2085. \t\t\t{% endif %}
  2086. \t\t\t{% if show_photos %}
  2087. \t\t\t\t{% set preview_gallery = customer.getFirstPartnerGalleryMediaGroup() %}
  2088. \t\t\t\t{#{% if customer.photogallery is not null and customer.photogallery.mediagroupitems is not empty %}#}
  2089. \t\t\t\t{#{% if customer.getFirstPartnerGalleryMediaGroup() is not null and customer.getFirstPartnerGalleryMediaGroup() is not empty %}#}
  2090. \t\t\t\t{% if preview_gallery is not null and preview_gallery.mediagroupitems is not empty %}
  2091. \t\t\t\t\t<hr>
  2092. \t\t\t\t\t<div>
  2093. \t\t\t\t\t\t<h2>
  2094. \t\t\t\t\t\t\t<strong>Partner Photo Gallery</strong>
  2095. \t\t\t\t\t\t</h2>
  2096. \t\t\t\t\t\t<div class=\"\" id=\"thumb-holder\">
  2097. \t\t\t\t\t\t\t<ul id=\"thumbs\">
  2098. \t\t\t\t\t\t\t\t{% for photo in preview_gallery.getMediaGroupItemsForDirectoryPreview() %}
  2099. \t\t\t\t\t\t\t\t\t{% if photo.media is not null %}
  2100. \t\t\t\t\t\t\t\t\t\t<li>
  2101. \t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ photo.media.getURL() }}\">{{ photo.media.getImageTag(\"\",\"\",\"\",\"\", false)|raw }}</a>
  2102. \t\t\t\t\t\t\t\t\t\t</li>
  2103. \t\t\t\t\t\t\t\t\t{% endif %}
  2104. \t\t\t\t\t\t\t\t{% endfor %}
  2105. \t\t\t\t\t\t\t</ul>
  2106. \t\t\t\t\t\t</div>
  2107. \t\t\t\t\t</div>
  2108. \t\t\t\t{% elseif customer.getContentsByType(constant(\"App\\\\Entity\\\\Content::GALLERY\")) is not empty %}
  2109. \t\t\t\t\t<hr>
  2110. \t\t\t\t{% endif %}
  2111. \t\t\t\t{% if customer.getContentsByType(constant(\"App\\\\Entity\\\\Content::GALLERY\")) is not empty %}
  2112. \t\t\t\t\t{# Will there only be one? #}
  2113. \t\t\t\t\t{% set gallery = customer.getContentsByType(constant(\"App\\\\Entity\\\\Content::GALLERY\")).first() %}
  2114. \t\t\t\t\t<a class=\"readmore\" href=\"{{ gallery.getFullURL(site_code) }}\"><br>View Full Gallery</a>
  2115. \t\t\t\t{% endif %}
  2116. \t\t\t{% endif %}
  2117. \t\t\t{# Video Gallery #}
  2118. \t\t{% endif %}
  2119. \t\t{# customer not empty #}
  2120. \t</div>
  2121. \t<script>
  2122. \t\t(function (\$) {
  2123. \t\t\t\$(function () {
  2124. \t\t\t\t\$('[data-video-row]').each(function () { // \$video = \$(this).find('video').first();
  2125. \t\t\t\t\$(this).on('mouseover', function () {
  2126. \t\t\t\t\$(this).find('video').first()[0].play();
  2127. \t\t\t\t\$(this).find('.ytThumbContainer').first().stop(true, true).addClass('ytThumbContainer-playing', 500);
  2128. \t\t\t\t// console.log(\$video);
  2129. \t\t\t\t// console.log(\$(this).attr(\"data-video-row\"));
  2130. \t\t\t\t});
  2131. \t\t\t\t\$(this).on('mouseleave', function () {
  2132. \t\t\t\t// \$(this).find('video').first()[0].pause();
  2133. \t\t\t\t// \$(this).find('video').first()[0].currentTime=0;
  2134. \t\t\t\t\$(this).find('video').first()[0].load();
  2135. \t\t\t\t\$(this).find('.ytThumbContainer').first().stop(true, true).removeClass('ytThumbContainer-playing', 100);
  2136. \t\t\t\t});
  2137. \t\t\t\t});
  2138. \t\t\t\t});
  2139. \t\t\t
  2140. \t\t\t\t\$(document).on('click', '#connectwithusbutton', function (event) {
  2141. \t\t\t\t\tevent.preventDefault();
  2142. \t\t\t\t\t\$('html, body').animate({
  2143. \t\t\t\t\t\tscrollTop: \$(\$.attr(this, 'href')).offset().top
  2144. \t\t\t\t\t}, 500);
  2145. \t\t\t\t});
  2146. \t\t}(jQuery));
  2147. \t</script>
  2148. {% endblock %}
  2149. {% block sidebarwrapperdiv %}<div class=\"col-lg-3 d-lg-block\">{% endblock %}
  2150. {% block sidebar %}
  2151. \t{% include \"sidebars/directory.html.twig\" %}
  2152. {% endblock %}
  2153. ""content/tmpl/directory-listing.html.twig""/var/www/vhosts/rooferscoffeeshop.com/staging.rooferscoffeeshop.com/rcs-website/templates/content/tmpl/directory-listing.html.twig");
  2154.     }
  2155. }