<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* content/tmpl/directory-listing.html.twig */
class __TwigTemplate_26b7c6224cf8377d37507a5132a203d8 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'colwrapperdiv' => [$this, 'block_colwrapperdiv'],
'column' => [$this, 'block_column'],
'sidebarwrapperdiv' => [$this, 'block_sidebarwrapperdiv'],
'sidebar' => [$this, 'block_sidebar'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "1-col-sidebar.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "content/tmpl/directory-listing.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "content/tmpl/directory-listing.html.twig"));
// line 5
$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", false, false, false, 5);
// line 1
$this->parent = $this->loadTemplate("1-col-sidebar.html.twig", "content/tmpl/directory-listing.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 4
public function block_colwrapperdiv($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "colwrapperdiv"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "colwrapperdiv"));
echo "<div class=\"col-12 col-lg-9\">";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 6
public function block_column($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "column"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "column"));
// line 7
echo "
\t";
// line 8
if ( !array_key_exists("site_code", $context)) {
// line 9
echo "\t\t";
$context["site_code"] = "";
// line 10
echo "\t";
}
// line 11
echo "\t
\t<script src=\"";
// line 12
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/directory-listing.min.js?v=3"), "html", null, true);
echo "\"></script>
\t<div class=\"directory-listing\">
\t\t<a href=\"/our-directory\" class=\"button alt\" style=\"float: right; margin-left:15px;\">Back to Directory</a>
\t\t<a href=\"#connectwithus\" id=\"connectwithusbutton\" class=\"d-block d-lg-none button alt\" style=\"float:right;\">Connect With Us</a>
\t\t<br><br>
\t\t";
// line 17
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", false, false, false, 17)) {
// line 18
echo "\t\t\t<h1 class=\"post-title notranslate directory-title\">";
echo twig_escape_filter($this->env, 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.', 18, $this->source); })()), "getTitle", [], "method", false, false, false, 18), "html", null, true);
echo "</h1>
\t\t";
}
// line 20
echo "\t\t<div>
\t\t\t";
// line 21
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", false, false, false, 21));
echo "
\t\t</div>
\t\t";
// line 23
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); })()))) {
// line 24
echo "
\t\t\t";
// line 26
echo "\t\t\t";
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", false, false, false, 26)))) {
// line 27
echo "\t\t\t\t<hr>
\t\t\t\t<div>
\t\t\t\t\t<h2>
\t\t\t\t\t\t<strong>Latest Promotions and Rebates</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t";
// line 32
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_slice($this->env, 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.', 32, $this->source); })()), "getPromosRebates", [], "method", false, false, false, 32), 0, 3));
foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
// line 33
echo "\t\t\t\t\t\t<div class=\"row list-row\">
\t\t\t\t\t\t\t";
// line 34
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 34))) {
// line 35
echo "\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t\t";
// line 36
echo twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 36);
echo "
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 39
echo "\t\t\t\t\t\t\t<div class=";
echo ((twig_test_empty(twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 39))) ? ("col-sm-12") : ("col-sm-9"));
echo ">
\t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">";
// line 40
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["post"], "title", [], "any", false, false, false, 40), "html", null, true);
echo "</h3>
\t\t\t\t\t\t\t\t<p>";
// line 41
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["post"], "getIntroText", [], "method", false, false, false, 41), "html", null, true);
echo "<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
// line 42
echo twig_escape_filter($this->env, twig_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", false, false, false, 42), "html", null, true);
echo "\">View Promotion</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 47
echo "\t\t\t\t\t";
if ((twig_length_filter($this->env, 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.', 47, $this->source); })()), "getPromosRebates", [], "method", false, false, false, 47)) > 3)) {
// line 48
echo "\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
// line 51
echo twig_escape_filter($this->env, twig_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", false, false, false, 51), "html", null, true);
echo "/content/";
echo twig_escape_filter($this->env, twig_constant("App\\Entity\\Content::PROMOS_REBATES"), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tSee More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 58
echo "\t\t\t\t</div>
\t\t\t";
}
// line 60
echo "
\t\t\t";
// line 61
$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", false, false, false, 61);
// line 62
echo "\t\t\t";
// line 63
echo "\t\t\t";
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); })())))) {
// line 64
echo "\t\t\t\t<hr>
\t\t\t\t<div>
\t\t\t\t\t<h2>
\t\t\t\t\t\t<strong>eBooks</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t";
// line 69
$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); })()));
// line 70
echo "\t\t\t\t\t";
$context['_parent'] = $context;
$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); })()), 0, 3));
foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
// line 71
echo "\t\t\t\t\t\t<div class=\"row list-row\">
\t\t\t\t\t\t\t";
// line 72
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 72))) {
// line 73
echo "\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t\t";
// line 74
echo twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 74);
echo "
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 77
echo "\t\t\t\t\t\t\t<div class=";
echo ((twig_test_empty(twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 77))) ? ("col-sm-12") : ("col-sm-9"));
echo ">
\t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">";
// line 78
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["post"], "title", [], "any", false, false, false, 78), "html", null, true);
echo "</h3>
\t\t\t\t\t\t\t\t<p>";
// line 79
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["post"], "getIntroText", [], "method", false, false, false, 79), "html", null, true);
echo "<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
// line 80
echo twig_escape_filter($this->env, twig_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", false, false, false, 80), "html", null, true);
echo "\">View eBook</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 85
echo "\t\t\t\t\t";
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)) {
// line 86
echo "\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
// line 89
echo twig_escape_filter($this->env, twig_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", false, false, false, 89), "html", null, true);
echo "/content/";
echo twig_escape_filter($this->env, twig_constant("App\\Entity\\Content::EBOOK"), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tSee More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 96
echo "\t\t\t\t</div>
\t\t\t";
}
// line 98
echo "
\t\t\t";
// line 100
echo "\t\t\t";
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", false, false, false, 100)))) {
// line 101
echo "\t\t\t\t<hr>
\t\t\t\t<div>
\t\t\t\t\t<h2>
\t\t\t\t\t\t<strong>Latest Contests and Games</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t";
// line 106
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_slice($this->env, 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.', 106, $this->source); })()), "getContestsGames", [], "method", false, false, false, 106), 0, 3));
foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
// line 107
echo "\t\t\t\t\t\t<div class=\"row list-row\">
\t\t\t\t\t\t\t";
// line 108
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 108))) {
// line 109
echo "\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t\t";
// line 110
echo twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 110);
echo "
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 113
echo "\t\t\t\t\t\t\t<div class=";
echo ((twig_test_empty(twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 113))) ? ("col-sm-12") : ("col-sm-9"));
echo ">
\t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">";
// line 114
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["post"], "title", [], "any", false, false, false, 114), "html", null, true);
echo "</h3>
\t\t\t\t\t\t\t\t<p>";
// line 115
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["post"], "getIntroText", [], "method", false, false, false, 115), "html", null, true);
echo "<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
// line 116
echo twig_escape_filter($this->env, twig_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", false, false, false, 116), "html", null, true);
echo "\">View Contest or Game</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 121
echo "\t\t\t\t\t";
if ((twig_length_filter($this->env, 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.', 121, $this->source); })()), "getContestsGames", [], "method", false, false, false, 121)) > 3)) {
// line 122
echo "\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
// line 125
echo twig_escape_filter($this->env, twig_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", false, false, false, 125), "html", null, true);
echo "/content/";
echo twig_escape_filter($this->env, twig_constant("App\\Entity\\Content::CONTEST_GAMES"), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tSee More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 132
echo "\t\t\t\t</div>
\t\t\t";
}
// line 134
echo "
\t\t\t";
// line 136
echo "\t\t\t";
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", false, false, false, 136)))) {
// line 137
echo "\t\t\t\t<hr>
\t\t\t\t<div>
\t\t\t\t\t<h2>
\t\t\t\t\t\t<strong>Latest Awards</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t";
// line 142
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_slice($this->env, 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.', 142, $this->source); })()), "getAwards", [], "method", false, false, false, 142), 0, 3));
foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
// line 143
echo "\t\t\t\t\t\t<div class=\"row list-row\">
\t\t\t\t\t\t\t";
// line 144
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 144))) {
// line 145
echo "\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t\t";
// line 146
echo twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 146);
echo "
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 149
echo "\t\t\t\t\t\t\t<div class=";
echo ((twig_test_empty(twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 149))) ? ("col-sm-12") : ("col-sm-9"));
echo ">
\t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">";
// line 150
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["post"], "title", [], "any", false, false, false, 150), "html", null, true);
echo "</h3>
\t\t\t\t\t\t\t\t<p>";
// line 151
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["post"], "getIntroText", [], "method", false, false, false, 151), "html", null, true);
echo "<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
// line 152
echo twig_escape_filter($this->env, twig_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", false, false, false, 152), "html", null, true);
echo "\">View Award</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 157
echo "\t\t\t\t\t";
if ((twig_length_filter($this->env, 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.', 157, $this->source); })()), "getAwards", [], "method", false, false, false, 157)) > 3)) {
// line 158
echo "\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
// line 161
echo twig_escape_filter($this->env, twig_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", false, false, false, 161), "html", null, true);
echo "/content/";
echo twig_escape_filter($this->env, twig_constant("App\\Entity\\Content::AWARD"), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tSee More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 168
echo "\t\t\t\t</div>
\t\t\t";
}
// line 170
echo "
\t\t\t";
// line 172
echo "\t\t\t";
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", false, false, false, 172)))) {
// line 173
echo "\t\t\t\t<hr>
\t\t\t\t<div>
\t\t\t\t\t<h2>
\t\t\t\t\t\t<strong>Latest Scholarships</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t";
// line 178
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_slice($this->env, 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.', 178, $this->source); })()), "getScholarships", [], "method", false, false, false, 178), 0, 3));
foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
// line 179
echo "\t\t\t\t\t\t<div class=\"row list-row\">
\t\t\t\t\t\t\t";
// line 180
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 180))) {
// line 181
echo "\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t\t";
// line 182
echo twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 182);
echo "
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 185
echo "\t\t\t\t\t\t\t<div class=";
echo ((twig_test_empty(twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 185))) ? ("col-sm-12") : ("col-sm-9"));
echo ">
\t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">";
// line 186
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["post"], "title", [], "any", false, false, false, 186), "html", null, true);
echo "</h3>
\t\t\t\t\t\t\t\t<p>";
// line 187
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["post"], "getIntroText", [], "method", false, false, false, 187), "html", null, true);
echo "<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
// line 188
echo twig_escape_filter($this->env, twig_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", false, false, false, 188), "html", null, true);
echo "\">View Scholarship</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 193
echo "\t\t\t\t\t";
if ((twig_length_filter($this->env, 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.', 193, $this->source); })()), "getScholarships", [], "method", false, false, false, 193)) > 3)) {
// line 194
echo "\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
// line 197
echo twig_escape_filter($this->env, twig_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", false, false, false, 197), "html", null, true);
echo "/content/";
echo twig_escape_filter($this->env, twig_constant("App\\Entity\\Content::SCHOLARSHIP"), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tSee More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 204
echo "\t\t\t\t</div>
\t\t\t";
}
// line 206
echo "
\t\t\t";
// line 208
echo "\t\t\t";
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); })()))) {
// line 209
echo "\t\t\t\t<hr>
\t\t\t\t<div>
\t\t\t\t\t<h2>
\t\t\t\t\t\t<strong>Latest Spanish Content</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t";
// line 214
$context['_parent'] = $context;
$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); })()), 0, 3));
foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
// line 215
echo "\t\t\t\t\t\t<div class=\"row list-row\">
\t\t\t\t\t\t\t";
// line 216
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 216))) {
// line 217
echo "\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t\t";
// line 218
echo twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 218);
echo "
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 221
echo "\t\t\t\t\t\t\t<div class=";
echo ((twig_test_empty(twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 221))) ? ("col-sm-12") : ("col-sm-9"));
echo ">
\t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">";
// line 222
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["post"], "title", [], "any", false, false, false, 222), "html", null, true);
echo "</h3>
\t\t\t\t\t\t\t\t<p>";
// line 223
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["post"], "getIntroText", [], "method", false, false, false, 223), "html", null, true);
echo "<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
// line 224
echo twig_escape_filter($this->env, twig_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", false, false, false, 224), "html", null, true);
echo "\">View Content</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 229
echo "\t\t\t\t\t";
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)) {
// line 230
echo "\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
// line 233
echo twig_escape_filter($this->env, twig_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", false, false, false, 233), "html", null, true);
echo "/content/spanish\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tSee More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 240
echo "\t\t\t\t</div>
\t\t\t";
}
// line 242
echo "
\t\t\t";
// line 244
echo "\t\t\t";
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); })()))) {
// line 245
echo "\t\t\t\t<hr>
\t\t\t\t<div>
\t\t\t\t\t<h2>
\t\t\t\t\t\t<strong>Latest International Content</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t";
// line 250
$context['_parent'] = $context;
$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); })()), 0, 3));
foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
// line 251
echo "\t\t\t\t\t\t<div class=\"row list-row\">
\t\t\t\t\t\t\t";
// line 252
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 252))) {
// line 253
echo "\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t\t";
// line 254
echo twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 254);
echo "
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 257
echo "\t\t\t\t\t\t\t<div class=";
echo ((twig_test_empty(twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 257))) ? ("col-sm-12") : ("col-sm-9"));
echo ">
\t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">";
// line 258
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["post"], "title", [], "any", false, false, false, 258), "html", null, true);
echo "</h3>
\t\t\t\t\t\t\t\t<p>";
// line 259
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["post"], "getIntroText", [], "method", false, false, false, 259), "html", null, true);
echo "<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
// line 260
echo twig_escape_filter($this->env, twig_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", false, false, false, 260), "html", null, true);
echo "\">View Content</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 265
echo "\t\t\t\t\t";
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)) {
// line 266
echo "\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
// line 269
echo twig_escape_filter($this->env, twig_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", false, false, false, 269), "html", null, true);
echo "/content/international\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tSee More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 276
echo "\t\t\t\t</div>
\t\t\t";
}
// line 278
echo "
\t\t\t";
// line 280
echo "\t\t\t";
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); })()))) {
// line 281
echo "\t\t\t\t<hr>
\t\t\t\t<div>
\t\t\t\t\t<h2>
\t\t\t\t\t\t<strong>Latest Canada Content</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t";
// line 286
$context['_parent'] = $context;
$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); })()), 0, 3));
foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
// line 287
echo "\t\t\t\t\t\t<div class=\"row list-row\">
\t\t\t\t\t\t\t";
// line 288
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 288))) {
// line 289
echo "\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t\t";
// line 290
echo twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 290);
echo "
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 293
echo "\t\t\t\t\t\t\t<div class=";
echo ((twig_test_empty(twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 293))) ? ("col-sm-12") : ("col-sm-9"));
echo ">
\t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">";
// line 294
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["post"], "title", [], "any", false, false, false, 294), "html", null, true);
echo "</h3>
\t\t\t\t\t\t\t\t<p>";
// line 295
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["post"], "getIntroText", [], "method", false, false, false, 295), "html", null, true);
echo "<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
// line 296
echo twig_escape_filter($this->env, twig_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", false, false, false, 296), "html", null, true);
echo "\">View Content</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 301
echo "\t\t\t\t\t";
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)) {
// line 302
echo "\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
// line 305
echo twig_escape_filter($this->env, twig_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", false, false, false, 305), "html", null, true);
echo "/content/canada\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tSee More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 312
echo "\t\t\t\t</div>
\t\t\t";
}
// line 314
echo "
\t\t\t";
// line 317
echo "\t\t\t";
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", false, false, false, 317)))) {
// line 318
echo "\t\t\t\t<hr>
\t\t\t\t<div>
\t\t\t\t\t<h2>
\t\t\t\t\t\t<strong>Latest Podcasts</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t";
// line 323
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_slice($this->env, 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.', 323, $this->source); })()), "getPodcasts", [], "method", false, false, false, 323), 0, 3));
foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
// line 324
echo "\t\t\t\t\t\t<div class=\"row list-row\">
\t\t\t\t\t\t\t";
// line 325
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 325))) {
// line 326
echo "\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t\t";
// line 327
echo twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 327);
echo "
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 330
echo "\t\t\t\t\t\t\t<div class=";
echo ((twig_test_empty(twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 330))) ? ("col-sm-12") : ("col-sm-9"));
echo ">
\t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">";
// line 331
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["post"], "title", [], "any", false, false, false, 331), "html", null, true);
echo "</h3>
\t\t\t\t\t\t\t\t<p>";
// line 332
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["post"], "getIntroText", [], "method", false, false, false, 332), "html", null, true);
echo "<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
// line 333
echo twig_escape_filter($this->env, twig_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", false, false, false, 333), "html", null, true);
echo "\">Listen to the Podcast</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 338
echo "\t\t\t\t\t";
if ((twig_length_filter($this->env, 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.', 338, $this->source); })()), "getPodcasts", [], "method", false, false, false, 338)) > 3)) {
// line 339
echo "\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
// line 342
echo twig_escape_filter($this->env, twig_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", false, false, false, 342), "html", null, true);
echo "/content/";
echo twig_escape_filter($this->env, twig_constant("App\\Entity\\Content::PODCAST"), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tListen More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 349
echo "\t\t\t\t</div>
\t\t\t";
}
// line 351
echo "
\t\t\t";
// line 353
echo "\t\t\t";
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", false, false, false, 353)))) {
// line 354
echo "\t\t\t\t<hr>
\t\t\t\t<div>
\t\t\t\t\t<h2>
\t\t\t\t\t\t<strong>Latest Webinars</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t";
// line 359
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_slice($this->env, 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.', 359, $this->source); })()), "getWebinars", [], "method", false, false, false, 359), 0, 3));
foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
// line 360
echo "\t\t\t\t\t\t<div class=\"row list-row\">
\t\t\t\t\t\t\t";
// line 361
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 361))) {
// line 362
echo "\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t\t";
// line 363
echo twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 363);
echo "
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 366
echo "\t\t\t\t\t\t\t<div class=";
echo ((twig_test_empty(twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 366))) ? ("col-sm-12") : ("col-sm-9"));
echo ">
\t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">";
// line 367
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["post"], "title", [], "any", false, false, false, 367), "html", null, true);
echo "</h3>
\t\t\t\t\t\t\t\t<p>";
// line 368
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["post"], "getIntroText", [], "method", false, false, false, 368), "html", null, true);
echo "<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
// line 369
echo twig_escape_filter($this->env, twig_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", false, false, false, 369), "html", null, true);
echo "\">Watch the Webinar</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 374
echo "\t\t\t\t\t";
if ((twig_length_filter($this->env, 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.', 374, $this->source); })()), "getWebinars", [], "method", false, false, false, 374)) > 3)) {
// line 375
echo "\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
// line 378
echo twig_escape_filter($this->env, twig_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", false, false, false, 378), "html", null, true);
echo "/content/";
echo twig_escape_filter($this->env, twig_constant("App\\Entity\\Content::WEBINAR"), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tSee More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 385
echo "\t\t\t\t</div>
\t\t\t";
}
// line 387
echo "
\t\t\t";
// line 390
echo "\t\t\t";
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", false, false, false, 390)))) {
// line 391
echo "\t\t\t\t<hr>
\t\t\t\t<div>
\t\t\t\t\t<h2>
\t\t\t\t\t\t<strong>Read Listen Watch - Educational Content</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t";
// line 396
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_slice($this->env, 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.', 396, $this->source); })()), "getHUBContent", [], "method", false, false, false, 396), 0, 3));
foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
// line 397
echo "\t\t\t\t\t\t<div class=\"row list-row\">
\t\t\t\t\t\t\t";
// line 398
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 398))) {
// line 399
echo "\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t\t";
// line 400
echo twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 400);
echo "
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 403
echo "\t\t\t\t\t\t\t<div class=";
echo ((twig_test_empty(twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 403))) ? ("col-sm-12") : ("col-sm-9"));
echo ">
\t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">";
// line 404
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["post"], "title", [], "any", false, false, false, 404), "html", null, true);
echo "</h3>
\t\t\t\t\t\t\t\t";
// line 406
echo "\t\t\t\t\t\t\t\t<p>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["post"], "getIntroText", [], "method", false, false, false, 406), "html", null, true);
echo "<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
// line 407
echo twig_escape_filter($this->env, twig_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", false, false, false, 407), "html", null, true);
echo "\">View Content</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 412
echo "\t\t\t\t\t";
if ((twig_length_filter($this->env, 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.', 412, $this->source); })()), "getHUBContent", [], "method", false, false, false, 412)) > 3)) {
// line 413
echo "\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
// line 416
echo twig_escape_filter($this->env, twig_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", false, false, false, 416), "html", null, true);
echo "/content/";
echo twig_escape_filter($this->env, twig_constant("App\\Entity\\Content::THE_HUB"), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tSee More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 423
echo "\t\t\t\t</div>
\t\t\t";
}
// line 425
echo "
\t\t\t";
// line 427
echo "\t\t\t";
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", false, false, false, 427)))) {
// line 428
echo "\t\t\t\t<hr>
\t\t\t\t<div>
\t\t\t\t\t<h2>
\t\t\t\t\t\t<strong>Latest Classifieds</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t";
// line 433
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_slice($this->env, 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.', 433, $this->source); })()), "getClassifieds", [], "method", false, false, false, 433), 0, 3));
foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
// line 434
echo "\t\t\t\t\t\t<div class=\"row list-row\" ";
if (twig_get_attribute($this->env, $this->source, $context["post"], "getVideoMedia", [], "method", false, false, false, 434)) {
echo " data-video-row=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["post"], "getVideoMedia", [], "method", false, false, false, 434), "getId", [], "method", false, false, false, 434), "html", null, true);
echo "\" ";
}
echo ">
\t\t\t\t\t\t\t";
// line 445
echo "
\t\t\t\t\t\t\t<div class=\"col-sm-2 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t";
// line 447
if (twig_get_attribute($this->env, $this->source, $context["post"], "hasVideoMedia", [], "method", false, false, false, 447)) {
// line 448
echo "\t\t\t\t\t\t\t\t\t<a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["post"], "getURL", [], "method", false, false, false, 448), "html", null, true);
echo "?autoplay=1\" class=\"no-style\">
\t\t\t\t\t\t\t\t\t\t<div class=\"ytThumbContainer ytThumbContainer-small\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 450
$context["mURL"] = "";
// line 451
echo "\t\t\t\t\t\t\t\t\t\t\t";
if (twig_get_attribute($this->env, $this->source, $context["post"], "getMedia", [], "method", false, false, false, 451)) {
// line 452
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
$context["mURL"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["post"], "getMedia", [], "method", false, false, false, 452), "getURL", [], "method", false, false, false, 452);
// line 453
echo "\t\t\t\t\t\t\t\t\t\t\t";
}
// line 454
echo "\t\t\t\t\t\t\t\t\t\t\t";
echo twig_get_attribute($this->env, $this->source, $context["post"], "getVideoMediaTag", ["", "max-height:165px;", false, false, true, (isset($context["mURL"]) || array_key_exists("mURL", $context) ? $context["mURL"] : (function () { throw new RuntimeError('Variable "mURL" does not exist.', 454, $this->source); })())], "method", false, false, false, 454);
echo "
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t";
} elseif ( !twig_test_empty(twig_get_attribute($this->env, $this->source, // line 457
$context["post"], "getFeaturedImageTag", [], "method", false, false, false, 457))) {
// line 458
echo "\t\t\t\t\t\t\t\t\t";
echo twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", ["", ""], "method", false, false, false, 458);
echo "
\t\t\t\t\t\t\t\t";
}
// line 460
echo "\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t";
// line 465
echo "\t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["post"], "title", [], "any", false, false, false, 465), "html", null, true);
echo "</h3>
\t\t\t\t\t\t\t\t<p>";
// line 466
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["post"], "getIntroText", [], "method", false, false, false, 466), "html", null, true);
echo "<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
// line 467
echo twig_escape_filter($this->env, twig_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", false, false, false, 467), "html", null, true);
echo "\">View the Classified</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 472
echo "\t\t\t\t\t";
if ((twig_length_filter($this->env, 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.', 472, $this->source); })()), "getClassifieds", [], "method", false, false, false, 472)) > 3)) {
// line 473
echo "\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
// line 476
echo twig_escape_filter($this->env, twig_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", false, false, false, 476), "html", null, true);
echo "/content/";
echo twig_escape_filter($this->env, twig_constant("App\\Entity\\Content::CLASSIFIED"), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tSee More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 483
echo "\t\t\t\t</div>
\t\t\t";
}
// line 485
echo "
\t\t\t";
// line 487
echo "\t\t\t";
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); })())))) {
// line 488
echo "\t\t\t\t<hr>
\t\t\t\t<div>
\t\t\t\t\t<h2>
\t\t\t\t\t\t<strong>Buy Online</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t";
// line 493
$context['_parent'] = $context;
$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); })()), 0, 3));
foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
// line 494
echo "\t\t\t\t\t\t<div class=\"row list-row\">
\t\t\t\t\t\t\t";
// line 495
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 495))) {
// line 496
echo "\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t\t";
// line 497
echo twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 497);
echo "
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 500
echo "\t\t\t\t\t\t\t<div class=";
echo ((twig_test_empty(twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 500))) ? ("col-sm-12") : ("col-sm-9"));
echo ">
\t\t\t\t\t\t\t\t<p>";
// line 501
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["post"], "getIntroText", [], "method", false, false, false, 501), "html", null, true);
echo "<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
// line 502
echo twig_escape_filter($this->env, twig_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", false, false, false, 502), "html", null, true);
echo "\">Read More</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 507
echo "\t\t\t\t\t";
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)) {
// line 508
echo "\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
// line 511
echo twig_escape_filter($this->env, twig_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", false, false, false, 511), "html", null, true);
echo "/content/buy-online\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tSee More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 518
echo "\t\t\t\t</div>
\t\t\t";
}
// line 520
echo "
\t\t\t";
// line 522
echo "\t\t\t";
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", false, false, false, 522)))) {
// line 523
echo "\t\t\t\t<hr>
\t\t\t\t<div>
\t\t\t\t\t<h2>
\t\t\t\t\t\t<strong>Latest Products</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t";
// line 528
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_slice($this->env, 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.', 528, $this->source); })()), "getGiftStoreProducts", [], "method", false, false, false, 528), 0, 3));
foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
// line 529
echo "\t\t\t\t\t\t<div class=\"row list-row\">
\t\t\t\t\t\t\t";
// line 530
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["product"], "getFeaturedImageTag", [], "method", false, false, false, 530))) {
// line 531
echo "\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t\t";
// line 532
echo twig_get_attribute($this->env, $this->source, $context["product"], "getFeaturedImageTag", [], "method", false, false, false, 532);
echo "
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 535
echo "\t\t\t\t\t\t\t<div class=";
echo ((twig_test_empty(twig_get_attribute($this->env, $this->source, $context["product"], "getFeaturedImageTag", [], "method", false, false, false, 535))) ? ("col-sm-12") : ("col-sm-9"));
echo ">
\t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">";
// line 536
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["product"], "title", [], "any", false, false, false, 536), "html", null, true);
echo "</h3>
\t\t\t\t\t\t\t\t<p>";
// line 537
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["product"], "getIntroText", [], "method", false, false, false, 537), "html", null, true);
echo "<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
// line 538
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["product"], "getURL", [], "method", false, false, false, 538), "html", null, true);
echo "/";
echo twig_escape_filter($this->env, 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.', 538, $this->source); })()), "getId", [], "method", false, false, false, 538), "html", null, true);
echo "\">View Product</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 543
echo "\t\t\t\t\t";
if ((twig_length_filter($this->env, 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.', 543, $this->source); })()), "getGiftStoreProducts", [], "method", false, false, false, 543)) > 3)) {
// line 544
echo "\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"/gift-shop/1/_/";
// line 547
echo twig_escape_filter($this->env, 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.', 547, $this->source); })()), "getId", [], "method", false, false, false, 547), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tSee More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 554
echo "\t\t\t\t</div>
\t\t\t";
}
// line 556
echo "
\t\t\t";
// line 558
echo "\t\t\t";
// line 578
echo "
\t\t\t";
// line 580
echo "\t\t\t\t";
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", false, false, false, 580)))) {
// line 581
echo "\t\t\t\t<hr>
\t\t\t\t\t<div>
\t\t\t\t\t\t<h2>
\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\tLatest Videos
\t\t\t\t\t</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t\t";
// line 588
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_slice($this->env, 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.', 588, $this->source); })()), "getVideos", [], "method", false, false, false, 588), 0, 3));
foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
// line 589
echo "\t\t\t\t\t\t\t<div class=\"row list-row\"> ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 589))) {
// line 590
echo "\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t\t";
// line 591
echo twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 591);
echo "
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 594
echo "\t\t\t\t\t\t\t<div class=";
echo ((twig_test_empty(twig_get_attribute($this->env, $this->source, $context["post"], "getFeaturedImageTag", [], "method", false, false, false, 594))) ? ("col-sm-12") : ("col-sm-9"));
echo ">
\t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">";
// line 595
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["post"], "title", [], "any", false, false, false, 595), "html", null, true);
echo "</h3>
\t\t\t\t\t\t\t\t<p>";
// line 596
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["post"], "getIntroText", [], "method", false, false, false, 596), "html", null, true);
echo "<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
// line 597
echo twig_escape_filter($this->env, twig_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", false, false, false, 597), "html", null, true);
echo "\">View Video</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 602
echo "\t\t\t\t\t";
if ((twig_length_filter($this->env, 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.', 602, $this->source); })()), "getVideos", [], "method", false, false, false, 602)) > 3)) {
// line 603
echo "\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"";
// line 606
echo twig_escape_filter($this->env, twig_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", false, false, false, 606), "html", null, true);
echo "/content/";
echo twig_escape_filter($this->env, twig_constant("App\\Entity\\Content::VIDEO"), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tSee More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 613
echo "\t\t\t\t</div>
\t\t\t";
}
// line 615
echo "
\t\t\t";
// line 616
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); })())) {
// line 617
echo "\t\t\t\t";
$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", false, false, false, 617);
// line 618
echo "\t\t\t\t";
// line 619
echo "\t\t\t\t";
// line 620
echo "\t\t\t\t";
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", false, false, false, 620)))) {
// line 621
echo "\t\t\t\t\t<hr>
\t\t\t\t\t<div>
\t\t\t\t\t\t<h2>
\t\t\t\t\t\t\t<strong>Partner Photo Gallery</strong>
\t\t\t\t\t\t</h2>
\t\t\t\t\t\t<div class=\"\" id=\"thumb-holder\">
\t\t\t\t\t\t\t<ul id=\"thumbs\">
\t\t\t\t\t\t\t\t";
// line 628
$context['_parent'] = $context;
$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", false, false, false, 628));
foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
// line 629
echo "\t\t\t\t\t\t\t\t\t";
if ( !(null === twig_get_attribute($this->env, $this->source, $context["photo"], "media", [], "any", false, false, false, 629))) {
// line 630
echo "\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 631
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["photo"], "media", [], "any", false, false, false, 631), "getURL", [], "method", false, false, false, 631), "html", null, true);
echo "\">";
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["photo"], "media", [], "any", false, false, false, 631), "getImageTag", ["", "", "", "", false], "method", false, false, false, 631);
echo "</a>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t";
}
// line 634
echo "\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 635
echo "\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t";
} elseif ( !twig_test_empty(twig_get_attribute($this->env, $this->source, // line 638
(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", false, false, false, 638))) {
// line 639
echo "\t\t\t\t\t<hr>
\t\t\t\t";
}
// line 641
echo "\t\t\t\t";
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", false, false, false, 641))) {
// line 642
echo "\t\t\t\t\t";
// line 643
echo "\t\t\t\t\t";
$context["gallery"] = twig_get_attribute($this->env, $this->source, 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.', 643, $this->source); })()), "getContentsByType", [twig_constant("App\\Entity\\Content::GALLERY")], "method", false, false, false, 643), "first", [], "method", false, false, false, 643);
// line 644
echo "\t\t\t\t\t<a class=\"readmore\" href=\"";
echo twig_escape_filter($this->env, twig_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", false, false, false, 644), "html", null, true);
echo "\"><br>View Full Gallery</a>
\t\t\t\t";
}
// line 646
echo "\t\t\t";
}
// line 647
echo "
\t\t\t";
// line 650
echo "
\t\t";
}
// line 653
echo "\t\t";
// line 654
echo "\t</div>
\t<script>
\t\t(function (\$) {
\t\t\t\$(function () {
\t\t\t\t\$('[data-video-row]').each(function () { // \$video = \$(this).find('video').first();
\t\t\t\t\$(this).on('mouseover', function () {
\t\t\t\t\$(this).find('video').first()[0].play();
\t\t\t\t\$(this).find('.ytThumbContainer').first().stop(true, true).addClass('ytThumbContainer-playing', 500);
\t\t\t\t// console.log(\$video);
\t\t\t\t// console.log(\$(this).attr(\"data-video-row\"));
\t\t\t\t});
\t\t\t\t\$(this).on('mouseleave', function () {
\t\t\t\t// \$(this).find('video').first()[0].pause();
\t\t\t\t// \$(this).find('video').first()[0].currentTime=0;
\t\t\t\t\$(this).find('video').first()[0].load();
\t\t\t\t\$(this).find('.ytThumbContainer').first().stop(true, true).removeClass('ytThumbContainer-playing', 100);
\t\t\t\t});
\t\t\t\t});
\t\t\t\t});
\t\t\t
\t\t\t\t\$(document).on('click', '#connectwithusbutton', function (event) {
\t\t\t\t\tevent.preventDefault();
\t\t\t\t\t\$('html, body').animate({
\t\t\t\t\t\tscrollTop: \$(\$.attr(this, 'href')).offset().top
\t\t\t\t\t}, 500);
\t\t\t\t});
\t\t}(jQuery));
\t</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 687
public function block_sidebarwrapperdiv($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidebarwrapperdiv"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidebarwrapperdiv"));
echo "<div class=\"col-lg-3 d-lg-block\">";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 688
public function block_sidebar($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidebar"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidebar"));
// line 689
echo "\t";
$this->loadTemplate("sidebars/directory.html.twig", "content/tmpl/directory-listing.html.twig", 689)->display($context);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "content/tmpl/directory-listing.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends \"1-col-sidebar.html.twig\" %}
{# directory listing #}
{% block colwrapperdiv %}<div class=\"col-12 col-lg-9\">{% endblock %}
{% set customer = content.getDirectory() %}
{% block column %}
\t{% if site_code is not defined %}
\t\t{% set site_code = '' %}
\t{% endif %}
\t
\t<script src=\"{{ asset(\"assets/js/directory-listing.min.js?v=3\") }}\"></script>
\t<div class=\"directory-listing\">
\t\t<a href=\"/our-directory\" class=\"button alt\" style=\"float: right; margin-left:15px;\">Back to Directory</a>
\t\t<a href=\"#connectwithus\" id=\"connectwithusbutton\" class=\"d-block d-lg-none button alt\" style=\"float:right;\">Connect With Us</a>
\t\t<br><br>
\t\t{% if content.getShowTitle() %}
\t\t\t<h1 class=\"post-title notranslate directory-title\">{{ content.getTitle() }}</h1>
\t\t{% endif %}
\t\t<div>
\t\t\t{{ content.getContentFull()|wordpress|raw }}
\t\t</div>
\t\t{% if customer is not empty %}
\t\t\t{# Promos and Rebates #}
\t\t\t{% if show_promotions and customer.getPromosRebates() is not empty %}
\t\t\t\t<hr>
\t\t\t\t<div>
\t\t\t\t\t<h2>
\t\t\t\t\t\t<strong>Latest Promotions and Rebates</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t{% for post in customer.getPromosRebates()|slice(0, 3) %}
\t\t\t\t\t\t<div class=\"row list-row\">
\t\t\t\t\t\t\t{% if post.getFeaturedImageTag() is not empty %}
\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag()|raw }}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t<div class={{ (post.getFeaturedImageTag() is empty) ? \"col-sm-12\" : \"col-sm-9\" }}>
\t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">{{ post.title }}</h3>
\t\t\t\t\t\t\t\t<p>{{ post.getIntroText() }}<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ post.getFullURL(site_code) }}\">View Promotion</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endfor %}
\t\t\t\t\t{% if customer.getPromosRebates()|length > 3 %}
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ meta.root }}/content/{{ constant(\"App\\\\Entity\\\\Content::PROMOS_REBATES\") }}\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tSee More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t\t{% set ebooks = customer.getEbooks(200) %}
\t\t\t{# Ebooks #}
\t\t\t{% if show_ebooks and ebooks is not empty %}
\t\t\t\t<hr>
\t\t\t\t<div>
\t\t\t\t\t<h2>
\t\t\t\t\t\t<strong>eBooks</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t{% set reBooks = ebooks|shuffle %}
\t\t\t\t\t{% for post in reBooks|slice(0, 3) %}
\t\t\t\t\t\t<div class=\"row list-row\">
\t\t\t\t\t\t\t{% if post.getFeaturedImageTag() is not empty %}
\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag()|raw }}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t<div class={{ (post.getFeaturedImageTag() is empty) ? \"col-sm-12\" : \"col-sm-9\" }}>
\t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">{{ post.title }}</h3>
\t\t\t\t\t\t\t\t<p>{{ post.getIntroText() }}<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ post.getFullURL(site_code) }}\">View eBook</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endfor %}
\t\t\t\t\t{% if ebooks|length > 3 %}
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ meta.root }}/content/{{ constant(\"App\\\\Entity\\\\Content::EBOOK\") }}\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tSee More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t\t{# Contests and Games #}
\t\t\t{% if show_contestgames and customer.getContestsGames() is not empty %}
\t\t\t\t<hr>
\t\t\t\t<div>
\t\t\t\t\t<h2>
\t\t\t\t\t\t<strong>Latest Contests and Games</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t{% for post in customer.getContestsGames()|slice(0, 3) %}
\t\t\t\t\t\t<div class=\"row list-row\">
\t\t\t\t\t\t\t{% if post.getFeaturedImageTag() is not empty %}
\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag()|raw }}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t<div class={{ (post.getFeaturedImageTag() is empty) ? \"col-sm-12\" : \"col-sm-9\" }}>
\t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">{{ post.title }}</h3>
\t\t\t\t\t\t\t\t<p>{{ post.getIntroText() }}<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ post.getFullURL(site_code) }}\">View Contest or Game</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endfor %}
\t\t\t\t\t{% if customer.getContestsGames()|length > 3 %}
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ meta.root }}/content/{{ constant(\"App\\\\Entity\\\\Content::CONTEST_GAMES\") }}\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tSee More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t\t{# Awards #}
\t\t\t{% if show_awards and customer.getAwards() is not empty %}
\t\t\t\t<hr>
\t\t\t\t<div>
\t\t\t\t\t<h2>
\t\t\t\t\t\t<strong>Latest Awards</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t{% for post in customer.getAwards()|slice(0, 3) %}
\t\t\t\t\t\t<div class=\"row list-row\">
\t\t\t\t\t\t\t{% if post.getFeaturedImageTag() is not empty %}
\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag()|raw }}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t<div class={{ (post.getFeaturedImageTag() is empty) ? \"col-sm-12\" : \"col-sm-9\" }}>
\t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">{{ post.title }}</h3>
\t\t\t\t\t\t\t\t<p>{{ post.getIntroText() }}<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ post.getFullURL(site_code) }}\">View Award</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endfor %}
\t\t\t\t\t{% if customer.getAwards()|length > 3 %}
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ meta.root }}/content/{{ constant(\"App\\\\Entity\\\\Content::AWARD\") }}\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tSee More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t\t{# Scholarships #}
\t\t\t{% if show_scholarships and customer.getScholarships() is not empty %}
\t\t\t\t<hr>
\t\t\t\t<div>
\t\t\t\t\t<h2>
\t\t\t\t\t\t<strong>Latest Scholarships</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t{% for post in customer.getScholarships()|slice(0, 3) %}
\t\t\t\t\t\t<div class=\"row list-row\">
\t\t\t\t\t\t\t{% if post.getFeaturedImageTag() is not empty %}
\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag()|raw }}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t<div class={{ (post.getFeaturedImageTag() is empty) ? \"col-sm-12\" : \"col-sm-9\" }}>
\t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">{{ post.title }}</h3>
\t\t\t\t\t\t\t\t<p>{{ post.getIntroText() }}<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ post.getFullURL(site_code) }}\">View Scholarship</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endfor %}
\t\t\t\t\t{% if customer.getScholarships()|length > 3 %}
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ meta.root }}/content/{{ constant(\"App\\\\Entity\\\\Content::SCHOLARSHIP\") }}\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tSee More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t\t{# Spanish Content #}
\t\t\t{% if spanish_content is not empty %}
\t\t\t\t<hr>
\t\t\t\t<div>
\t\t\t\t\t<h2>
\t\t\t\t\t\t<strong>Latest Spanish Content</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t{% for post in spanish_content|slice(0, 3) %}
\t\t\t\t\t\t<div class=\"row list-row\">
\t\t\t\t\t\t\t{% if post.getFeaturedImageTag() is not empty %}
\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag()|raw }}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t<div class={{ (post.getFeaturedImageTag() is empty) ? \"col-sm-12\" : \"col-sm-9\" }}>
\t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">{{ post.title }}</h3>
\t\t\t\t\t\t\t\t<p>{{ post.getIntroText() }}<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ post.getFullURL(site_code) }}\">View Content</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endfor %}
\t\t\t\t\t{% if spanish_content|length > 3 %}
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ meta.root }}/content/spanish\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tSee More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t\t{# International Content #}
\t\t\t{% if int_content is not empty %}
\t\t\t\t<hr>
\t\t\t\t<div>
\t\t\t\t\t<h2>
\t\t\t\t\t\t<strong>Latest International Content</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t{% for post in int_content|slice(0, 3) %}
\t\t\t\t\t\t<div class=\"row list-row\">
\t\t\t\t\t\t\t{% if post.getFeaturedImageTag() is not empty %}
\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag()|raw }}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t<div class={{ (post.getFeaturedImageTag() is empty) ? \"col-sm-12\" : \"col-sm-9\" }}>
\t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">{{ post.title }}</h3>
\t\t\t\t\t\t\t\t<p>{{ post.getIntroText() }}<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ post.getFullURL(site_code) }}\">View Content</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endfor %}
\t\t\t\t\t{% if int_content|length > 3 %}
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ meta.root }}/content/international\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tSee More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t\t{# Canada Content #}
\t\t\t{% if canada_content is not empty %}
\t\t\t\t<hr>
\t\t\t\t<div>
\t\t\t\t\t<h2>
\t\t\t\t\t\t<strong>Latest Canada Content</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t{% for post in canada_content|slice(0, 3) %}
\t\t\t\t\t\t<div class=\"row list-row\">
\t\t\t\t\t\t\t{% if post.getFeaturedImageTag() is not empty %}
\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag()|raw }}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t<div class={{ (post.getFeaturedImageTag() is empty) ? \"col-sm-12\" : \"col-sm-9\" }}>
\t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">{{ post.title }}</h3>
\t\t\t\t\t\t\t\t<p>{{ post.getIntroText() }}<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ post.getFullURL(site_code) }}\">View Content</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endfor %}
\t\t\t\t\t{% if canada_content|length > 3 %}
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ meta.root }}/content/canada\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tSee More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t\t{# Podcasts #}
\t\t\t{% if show_podcasts and customer.getPodcasts() is not empty %}
\t\t\t\t<hr>
\t\t\t\t<div>
\t\t\t\t\t<h2>
\t\t\t\t\t\t<strong>Latest Podcasts</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t{% for post in customer.getPodcasts()|slice(0, 3) %}
\t\t\t\t\t\t<div class=\"row list-row\">
\t\t\t\t\t\t\t{% if post.getFeaturedImageTag() is not empty %}
\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag()|raw }}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t<div class={{ (post.getFeaturedImageTag() is empty) ? \"col-sm-12\" : \"col-sm-9\" }}>
\t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">{{ post.title }}</h3>
\t\t\t\t\t\t\t\t<p>{{ post.getIntroText() }}<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ post.getFullURL(site_code) }}\">Listen to the Podcast</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endfor %}
\t\t\t\t\t{% if customer.getPodcasts()|length > 3 %}
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ meta.root }}/content/{{ constant(\"App\\\\Entity\\\\Content::PODCAST\") }}\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tListen More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t\t{# Webinars #}
\t\t\t{% if show_webinars and customer.getWebinars() is not empty %}
\t\t\t\t<hr>
\t\t\t\t<div>
\t\t\t\t\t<h2>
\t\t\t\t\t\t<strong>Latest Webinars</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t{% for post in customer.getWebinars()|slice(0, 3) %}
\t\t\t\t\t\t<div class=\"row list-row\">
\t\t\t\t\t\t\t{% if post.getFeaturedImageTag() is not empty %}
\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag()|raw }}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t<div class={{ (post.getFeaturedImageTag() is empty) ? \"col-sm-12\" : \"col-sm-9\" }}>
\t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">{{ post.title }}</h3>
\t\t\t\t\t\t\t\t<p>{{ post.getIntroText() }}<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ post.getFullURL(site_code) }}\">Watch the Webinar</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endfor %}
\t\t\t\t\t{% if customer.getWebinars()|length > 3 %}
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ meta.root }}/content/{{ constant(\"App\\\\Entity\\\\Content::WEBINAR\") }}\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tSee More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t\t{# Educational Content (TheHUB) #}
\t\t\t{% if show_education and customer.getHUBContent() is not empty %}
\t\t\t\t<hr>
\t\t\t\t<div>
\t\t\t\t\t<h2>
\t\t\t\t\t\t<strong>Read Listen Watch - Educational Content</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t{% for post in customer.getHUBContent()|slice(0, 3) %}
\t\t\t\t\t\t<div class=\"row list-row\">
\t\t\t\t\t\t\t{% if post.getFeaturedImageTag() is not empty %}
\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag()|raw }}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t<div class={{ (post.getFeaturedImageTag() is empty) ? \"col-sm-12\" : \"col-sm-9\" }}>
\t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">{{ post.title }}</h3>
\t\t\t\t\t\t\t\t{# <p>{{ post.contentfull|snippet(320) }}<br> #}
\t\t\t\t\t\t\t\t<p>{{ post.getIntroText() }}<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ post.getFullURL(site_code) }}\">View Content</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endfor %}
\t\t\t\t\t{% if customer.getHUBContent()|length > 3 %}
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ meta.root }}/content/{{ constant(\"App\\\\Entity\\\\Content::THE_HUB\") }}\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tSee More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t\t{# Classifieds #}
\t\t\t{% if show_classifieds and customer.getClassifieds() is not empty %}
\t\t\t\t<hr>
\t\t\t\t<div>
\t\t\t\t\t<h2>
\t\t\t\t\t\t<strong>Latest Classifieds</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t{% for post in customer.getClassifieds()|slice(0, 3) %}
\t\t\t\t\t\t<div class=\"row list-row\" {% if post.getVideoMedia() %} data-video-row=\"{{post.getVideoMedia().getId()}}\" {% endif %}>
\t\t\t\t\t\t\t{# {% if post.getFeaturedImageTag() is not empty %}
\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t\t{% if post.hasVideoMedia() %}
\t\t\t\t\t\t\t\t\t\t{{ post.getVideoMediaTag(\"\",\"\", false)|raw }}
\t\t\t\t\t\t\t\t\t{% elseif post.getFeaturedImageTag() is not empty %}
\t\t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag(\"\",\"\")|raw }}
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %} #}
\t\t\t\t\t\t\t<div class=\"col-sm-2 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t{% if post.hasVideoMedia() %}
\t\t\t\t\t\t\t\t\t<a href=\"{{ post.getURL() }}?autoplay=1\" class=\"no-style\">
\t\t\t\t\t\t\t\t\t\t<div class=\"ytThumbContainer ytThumbContainer-small\">
\t\t\t\t\t\t\t\t\t\t\t{% set mURL = \"\" %}
\t\t\t\t\t\t\t\t\t\t\t{% if post.getMedia() %}
\t\t\t\t\t\t\t\t\t\t\t\t{% set mURL = post.getMedia().getURL() %}
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t{{ post.getVideoMediaTag(\"\",\"max-height:165px;\", false, false, true, mURL)|raw }}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t{% elseif post.getFeaturedImageTag() is not empty %}
\t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag(\"\",\"\")|raw }}
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\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\" }}> #}
\t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">{{ post.title }}</h3>
\t\t\t\t\t\t\t\t<p>{{ post.getIntroText() }}<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ post.getFullURL(site_code) }}\">View the Classified</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endfor %}
\t\t\t\t\t{% if customer.getClassifieds()|length > 3 %}
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ meta.root }}/content/{{ constant(\"App\\\\Entity\\\\Content::CLASSIFIED\") }}\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tSee More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t\t{# Buy Online #}
\t\t\t{% if show_buy_online and buy_online_posts is not empty %}
\t\t\t\t<hr>
\t\t\t\t<div>
\t\t\t\t\t<h2>
\t\t\t\t\t\t<strong>Buy Online</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t{% for post in buy_online_posts|slice(0, 3) %}
\t\t\t\t\t\t<div class=\"row list-row\">
\t\t\t\t\t\t\t{% if post.getFeaturedImageTag() is not empty %}
\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag()|raw }}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t<div class={{ (post.getFeaturedImageTag() is empty) ? \"col-sm-12\" : \"col-sm-9\" }}>
\t\t\t\t\t\t\t\t<p>{{ post.getIntroText() }}<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ post.getFullURL(site_code) }}\">Read More</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endfor %}
\t\t\t\t\t{% if buy_online_posts|length > 3 %}
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ meta.root }}/content/buy-online\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tSee More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t\t{# Products #}
\t\t\t{% if show_products and customer.getGiftStoreProducts() is not empty %}
\t\t\t\t<hr>
\t\t\t\t<div>
\t\t\t\t\t<h2>
\t\t\t\t\t\t<strong>Latest Products</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t{% for product in customer.getGiftStoreProducts()|slice(0, 3) %}
\t\t\t\t\t\t<div class=\"row list-row\">
\t\t\t\t\t\t\t{% if product.getFeaturedImageTag() is not empty %}
\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t\t{{ product.getFeaturedImageTag()|raw }}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t<div class={{ (product.getFeaturedImageTag() is empty) ? \"col-sm-12\" : \"col-sm-9\" }}>
\t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">{{ product.title }}</h3>
\t\t\t\t\t\t\t\t<p>{{ product.getIntroText() }}<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{product.getURL()}}/{{customer.getId()}}\">View Product</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endfor %}
\t\t\t\t\t{% if customer.getGiftStoreProducts()|length > 3 %}
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"/gift-shop/1/_/{{customer.getId()}}\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tSee More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t\t{# Partner Videos #}
\t\t\t{#
\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 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<hr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div>
\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>
\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 %}
\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\">
\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 %}
\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\">
\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 }}
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\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\" }}>
\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 }}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t#}
\t\t\t{# Partner Videos #}
\t\t\t\t{% if show_video and customer.getVideos() is not empty %}
\t\t\t\t<hr>
\t\t\t\t\t<div>
\t\t\t\t\t\t<h2>
\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\tLatest Videos
\t\t\t\t\t</strong>
\t\t\t\t\t</h2>
\t\t\t\t\t\t{% for post in customer.getVideos()|slice(0, 3) %}
\t\t\t\t\t\t\t<div class=\"row list-row\"> {% if post.getFeaturedImageTag() is not empty %}
\t\t\t\t\t\t\t\t<div class=\"col-sm-3 post-thumbnail directoryitem\">
\t\t\t\t\t\t\t\t\t{{ post.getFeaturedImageTag()|raw }}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t<div class={{ (post.getFeaturedImageTag() is empty) ? \"col-sm-12\" : \"col-sm-9\" }}>
\t\t\t\t\t\t\t\t<h3 class=\"list-post-title\">{{ post.title }}</h3>
\t\t\t\t\t\t\t\t<p>{{ post.getIntroText() }}<br>
\t\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ post.getFullURL(site_code) }}\">View Video</a>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endfor %}
\t\t\t\t\t{% if customer.getVideos()|length > 3 %}
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-sm-3\"></div>
\t\t\t\t\t\t\t<div class=\"col-sm-9\">
\t\t\t\t\t\t\t\t<a class=\"readmore\" href=\"{{ meta.root }}/content/{{ constant(\"App\\\\Entity\\\\Content::VIDEO\") }}\">
\t\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t\tSee More</strong>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t\t{% if show_photos %}
\t\t\t\t{% set preview_gallery = customer.getFirstPartnerGalleryMediaGroup() %}
\t\t\t\t{#{% if customer.photogallery is not null and customer.photogallery.mediagroupitems is not empty %}#}
\t\t\t\t{#{% if customer.getFirstPartnerGalleryMediaGroup() is not null and customer.getFirstPartnerGalleryMediaGroup() is not empty %}#}
\t\t\t\t{% if preview_gallery is not null and preview_gallery.mediagroupitems is not empty %}
\t\t\t\t\t<hr>
\t\t\t\t\t<div>
\t\t\t\t\t\t<h2>
\t\t\t\t\t\t\t<strong>Partner Photo Gallery</strong>
\t\t\t\t\t\t</h2>
\t\t\t\t\t\t<div class=\"\" id=\"thumb-holder\">
\t\t\t\t\t\t\t<ul id=\"thumbs\">
\t\t\t\t\t\t\t\t{% for photo in preview_gallery.getMediaGroupItemsForDirectoryPreview() %}
\t\t\t\t\t\t\t\t\t{% if photo.media is not null %}
\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ photo.media.getURL() }}\">{{ photo.media.getImageTag(\"\",\"\",\"\",\"\", false)|raw }}</a>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t{% elseif customer.getContentsByType(constant(\"App\\\\Entity\\\\Content::GALLERY\")) is not empty %}
\t\t\t\t\t<hr>
\t\t\t\t{% endif %}
\t\t\t\t{% if customer.getContentsByType(constant(\"App\\\\Entity\\\\Content::GALLERY\")) is not empty %}
\t\t\t\t\t{# Will there only be one? #}
\t\t\t\t\t{% set gallery = customer.getContentsByType(constant(\"App\\\\Entity\\\\Content::GALLERY\")).first() %}
\t\t\t\t\t<a class=\"readmore\" href=\"{{ gallery.getFullURL(site_code) }}\"><br>View Full Gallery</a>
\t\t\t\t{% endif %}
\t\t\t{% endif %}
\t\t\t{# Video Gallery #}
\t\t{% endif %}
\t\t{# customer not empty #}
\t</div>
\t<script>
\t\t(function (\$) {
\t\t\t\$(function () {
\t\t\t\t\$('[data-video-row]').each(function () { // \$video = \$(this).find('video').first();
\t\t\t\t\$(this).on('mouseover', function () {
\t\t\t\t\$(this).find('video').first()[0].play();
\t\t\t\t\$(this).find('.ytThumbContainer').first().stop(true, true).addClass('ytThumbContainer-playing', 500);
\t\t\t\t// console.log(\$video);
\t\t\t\t// console.log(\$(this).attr(\"data-video-row\"));
\t\t\t\t});
\t\t\t\t\$(this).on('mouseleave', function () {
\t\t\t\t// \$(this).find('video').first()[0].pause();
\t\t\t\t// \$(this).find('video').first()[0].currentTime=0;
\t\t\t\t\$(this).find('video').first()[0].load();
\t\t\t\t\$(this).find('.ytThumbContainer').first().stop(true, true).removeClass('ytThumbContainer-playing', 100);
\t\t\t\t});
\t\t\t\t});
\t\t\t\t});
\t\t\t
\t\t\t\t\$(document).on('click', '#connectwithusbutton', function (event) {
\t\t\t\t\tevent.preventDefault();
\t\t\t\t\t\$('html, body').animate({
\t\t\t\t\t\tscrollTop: \$(\$.attr(this, 'href')).offset().top
\t\t\t\t\t}, 500);
\t\t\t\t});
\t\t}(jQuery));
\t</script>
{% endblock %}
{% block sidebarwrapperdiv %}<div class=\"col-lg-3 d-lg-block\">{% endblock %}
{% block sidebar %}
\t{% include \"sidebars/directory.html.twig\" %}
{% endblock %}
", "content/tmpl/directory-listing.html.twig", "/var/www/vhosts/rooferscoffeeshop.com/staging.rooferscoffeeshop.com/rcs-website/templates/content/tmpl/directory-listing.html.twig");
}
}