<?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/1-col-sidebar.html.twig */
class __TwigTemplate_fb31c5e5988e08e61bbf19c6515adbae extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'bottom' => [$this, 'block_bottom'],
];
}
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/1-col-sidebar.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/1-col-sidebar.html.twig"));
// line 2
echo "<div class=\"container content\">
\t<div class=\"row\">
\t\t<div class=\"col-12 col-md-9\">
\t\t\t";
// line 6
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Master\\ContentController::pinnedCurtainAd", ["base_url" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 9
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 9, $this->source); })()), "request", [], "any", false, false, false, 9), "getSchemeAndHttpHost", [], "method", false, false, false, 9), "uri" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 10
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 10, $this->source); })()), "request", [], "any", false, false, false, 10), "getRequestUri", [], "method", false, false, false, 10), "current_route" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 11
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 11, $this->source); })()), "request", [], "any", false, false, false, 11), "attributes", [], "any", false, false, false, 11), "get", ["_route"], "method", false, false, false, 11)]));
// line 14
echo "
\t\t";
// line 81
echo "
\t\t\t";
// line 83
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.', 83, $this->source); })()), "getShowTitle", [], "method", false, false, false, 83)) {
// line 84
echo "\t\t\t\t<h1>";
echo 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.', 84, $this->source); })()), "getTitle", [], "method", false, false, false, 84);
echo "</h1>
\t\t\t";
}
// line 86
echo "
\t\t\t";
// line 88
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.', 88, $this->source); })()), "getFeaturedImageTag", [], "method", false, false, false, 88)) {
// line 89
echo "\t\t\t\t";
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.', 89, $this->source); })()), "getMediaURL", [], "method", false, false, false, 89)) {
echo "<a href=\"";
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.', 89, $this->source); })()), "getMediaURL", [], "method", false, false, false, 89), "html", null, true);
echo "\">";
}
// line 90
echo "\t\t\t\t\t";
if ((array_key_exists("site_code", $context) && ((isset($context["site_code"]) || array_key_exists("site_code", $context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.', 90, $this->source); })()) == twig_constant("App\\Entity\\Content::SITE_AAR")))) {
// line 91
echo "\t\t\t\t\t\t";
// line 92
echo "\t\t\t\t\t\t<div class=\"post-thumbnail\">
\t\t\t\t\t\t\t";
// line 93
echo 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.', 93, $this->source); })()), "getFeaturedImageTag", ["", "max-height: 450px"], "method", false, false, false, 93);
echo "
\t\t\t\t\t\t</div>
\t\t\t\t\t";
} else {
// line 96
echo "\t\t\t\t\t\t";
// line 97
echo "\t\t\t\t\t\t";
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 97, $this->source); })()), "request", [], "any", false, false, false, 97), "attributes", [], "any", false, false, false, 97), "get", ["_route"], "method", false, false, false, 97) == "ebook")) {
// line 98
echo "\t\t\t\t\t\t\t";
echo 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.', 98, $this->source); })()), "getFeaturedImageTag", ["display-block", "max-width: 40%"], "method", false, false, false, 98);
echo "
\t\t\t\t\t\t";
} else {
// line 100
echo "\t\t\t\t\t\t\t";
echo 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.', 100, $this->source); })()), "getFeaturedImageTag", ["display-block", ""], "method", false, false, false, 100);
echo "
\t\t\t\t\t\t";
}
// line 102
echo "\t\t\t\t\t";
}
// line 103
echo "\t\t\t\t\t";
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.', 103, $this->source); })()), "getMediaURL", [], "method", false, false, false, 103)) {
echo "</a>";
}
// line 104
echo "\t\t\t";
}
// line 105
echo "
\t\t\t";
// line 107
echo "\t\t\t";
if ( !twig_test_empty(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.', 107, $this->source); })()), "getContentFull", [], "method", false, false, false, 107))) {
// line 108
echo "\t\t\t\t";
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.', 108, $this->source); })()), "getContentFull", [], "method", false, false, false, 108));
echo "
\t\t\t";
}
// line 110
echo "
\t\t\t";
// line 112
echo "\t\t\t";
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.', 112, $this->source); })()), "getContentBuilder", [], "method", false, false, false, 112) && (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.', 112, $this->source); })()), "getContentBuilder", [], "method", false, false, false, 112) != "{}"))) {
// line 113
echo "\t\t\t\t";
echo $this->extensions['App\Twig\RCSExtension']->builder(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.', 113, $this->source); })()), "getContentBuilder", [], "method", false, false, false, 113));
echo "
\t\t\t";
}
// line 115
echo "
\t\t\t";
// line 117
echo "\t\t\t";
$context["page"] = (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 117, $this->source); })());
// line 118
echo "\t\t\t";
$context["modules"] = 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.', 118, $this->source); })()), "getContentMetaValueByKey", ["mtm_content_modules"], "method", false, false, false, 118);
// line 119
echo "\t\t\t";
if ( !twig_test_empty((isset($context["modules"]) || array_key_exists("modules", $context) ? $context["modules"] : (function () { throw new RuntimeError('Variable "modules" does not exist.', 119, $this->source); })()))) {
// line 120
echo "\t\t\t\t";
// line 121
echo "\t\t\t\t";
$context["modules"] = $this->extensions['App\Twig\RCSExtension']->unserialize((isset($context["modules"]) || array_key_exists("modules", $context) ? $context["modules"] : (function () { throw new RuntimeError('Variable "modules" does not exist.', 121, $this->source); })()));
// line 122
echo "\t\t\t\t";
$this->loadTemplate("content/tmpl/mtm-module-loop.html.twig", "content/tmpl/1-col-sidebar.html.twig", 122)->display($context);
// line 123
echo "\t\t\t";
}
// line 124
echo "
\t\t\t";
// line 126
echo "\t\t\t";
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.', 126, $this->source); })()), "getType", [], "method", false, false, false, 126) == twig_constant("App\\Entity\\Content::THE_HUB"))) {
// line 127
echo "\t\t\t\t";
$context["videoLink"] = 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.', 127, $this->source); })()), "getContentMetaValueByKey", ["rcs_learning_center_video"], "method", false, false, false, 127);
// line 128
echo "\t\t\t\t";
if ( !twig_test_empty((isset($context["videoLink"]) || array_key_exists("videoLink", $context) ? $context["videoLink"] : (function () { throw new RuntimeError('Variable "videoLink" does not exist.', 128, $this->source); })()))) {
// line 129
echo "\t\t\t\t\t<p>
\t\t\t\t\t\t<a href=\"";
// line 130
echo twig_escape_filter($this->env, (isset($context["videoLink"]) || array_key_exists("videoLink", $context) ? $context["videoLink"] : (function () { throw new RuntimeError('Variable "videoLink" does not exist.', 130, $this->source); })()), "html", null, true);
echo "\">
\t\t\t\t\t\t\t<i class=\"fa fa-play-circle\"></i>
\t\t\t\t\t\t\tClick here to view the video.</a>
\t\t\t\t\t</p>
\t\t\t\t";
}
// line 135
echo "\t\t\t\t";
// line 136
echo "\t\t\t";
}
// line 137
echo "
\t\t\t";
// line 139
echo "\t\t\t";
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.', 139, $this->source); })()), "getType", [], "method", false, false, false, 139) == twig_constant("App\\Entity\\Content::WEBINAR"))) {
// line 140
echo "\t\t\t\t";
$context["webinarLink"] = 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.', 140, $this->source); })()), "getContentMetaValueByKey", ["webinar_hostandguest"], "method", false, false, false, 140);
// line 141
echo "\t\t\t\t";
if ( !twig_test_empty((isset($context["webinarLink"]) || array_key_exists("webinarLink", $context) ? $context["webinarLink"] : (function () { throw new RuntimeError('Variable "webinarLink" does not exist.', 141, $this->source); })()))) {
// line 142
echo "\t\t\t\t\t";
echo (isset($context["webinarLink"]) || array_key_exists("webinarLink", $context) ? $context["webinarLink"] : (function () { throw new RuntimeError('Variable "webinarLink" does not exist.', 142, $this->source); })());
echo "
\t\t\t\t";
}
// line 144
echo "\t\t\t";
}
// line 145
echo "
\t\t\t";
// line 146
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.', 146, $this->source); })()), "getScriptTag", [], "method", false, false, false, 146)) {
// line 147
echo "\t\t\t\t";
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.', 147, $this->source); })()), "getScriptTag", [], "method", false, false, false, 147));
echo "
\t\t\t";
}
// line 149
echo "
\t\t\t";
// line 150
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.', 150, $this->source); })()), "getType", [], "method", false, false, false, 150) == twig_constant("App\\Entity\\Content::EBOOK")) || (twig_get_attribute($this->env, $this->source, // line 151
(isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 151, $this->source); })()), "getType", [], "method", false, false, false, 151) == twig_constant("App\\Entity\\Content::AWARD"))) || (twig_get_attribute($this->env, $this->source, // line 152
(isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 152, $this->source); })()), "getType", [], "method", false, false, false, 152) == twig_constant("App\\Entity\\Content::VIDEO"))) || (twig_get_attribute($this->env, $this->source, // line 153
(isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 153, $this->source); })()), "getType", [], "method", false, false, false, 153) == twig_constant("App\\Entity\\Content::WEBINAR"))) || (twig_get_attribute($this->env, $this->source, // line 154
(isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 154, $this->source); })()), "getType", [], "method", false, false, false, 154) == twig_constant("App\\Entity\\Content::CONTEST_GAMES"))) || (twig_get_attribute($this->env, $this->source, // line 155
(isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 155, $this->source); })()), "getType", [], "method", false, false, false, 155) == twig_constant("App\\Entity\\Content::PAGE"))) || (twig_get_attribute($this->env, $this->source, // line 156
(isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 156, $this->source); })()), "getType", [], "method", false, false, false, 156) == twig_constant("App\\Entity\\Content::PROMOS_REBATES"))) || (twig_get_attribute($this->env, $this->source, // line 157
(isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 157, $this->source); })()), "getType", [], "method", false, false, false, 157) == twig_constant("App\\Entity\\Content::R_CLUB_PERK"))) || (twig_get_attribute($this->env, $this->source, // line 158
(isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 158, $this->source); })()), "getType", [], "method", false, false, false, 158) == twig_constant("App\\Entity\\Content::THE_HUB"))) || (twig_get_attribute($this->env, $this->source, // line 159
(isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 159, $this->source); })()), "getType", [], "method", false, false, false, 159) == twig_constant("App\\Entity\\Content::SCHOLARSHIP")))) {
// line 161
echo "\t\t\t\t";
// line 162
echo "\t\t\t\t";
$this->loadTemplate("includes/social-share.html.twig", "content/tmpl/1-col-sidebar.html.twig", 162)->display($context);
// line 163
echo "\t\t\t";
}
// line 164
echo "
\t\t\t";
// line 166
echo "\t\t\t";
$context["mtm_grid"] = 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.', 166, $this->source); })()), "getContentMetaValueByKey", ["mtm_grid_archive_manual"], "method", false, false, false, 166);
// line 167
echo "\t\t\t";
$context["mtm_cols"] = 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.', 167, $this->source); })()), "getContentMetaValueByKey", ["mtm_grid_archive_per_row"], "method", false, false, false, 167);
// line 168
echo "\t\t\t";
if (twig_test_empty((isset($context["mtm_cols"]) || array_key_exists("mtm_cols", $context) ? $context["mtm_cols"] : (function () { throw new RuntimeError('Variable "mtm_cols" does not exist.', 168, $this->source); })()))) {
// line 169
echo "\t\t\t\t";
$context["mtm_cols"] = 3;
// line 170
echo "\t\t\t";
}
// line 171
echo "\t\t\t";
if ( !twig_test_empty((isset($context["mtm_grid"]) || array_key_exists("mtm_grid", $context) ? $context["mtm_grid"] : (function () { throw new RuntimeError('Variable "mtm_grid" does not exist.', 171, $this->source); })()))) {
// line 172
echo "\t\t\t\t";
$context["mtm_grid"] = $this->extensions['App\Twig\RCSExtension']->unserialize((isset($context["mtm_grid"]) || array_key_exists("mtm_grid", $context) ? $context["mtm_grid"] : (function () { throw new RuntimeError('Variable "mtm_grid" does not exist.', 172, $this->source); })()));
// line 173
echo "\t\t\t\t";
$context["grid_count"] = 0;
// line 174
echo "\t\t\t\t<div class=\"row my-3\">
\t\t\t\t\t";
// line 175
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["mtm_grid"]) || array_key_exists("mtm_grid", $context) ? $context["mtm_grid"] : (function () { throw new RuntimeError('Variable "mtm_grid" does not exist.', 175, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["gal_id"]) {
// line 176
echo "\t\t\t\t\t\t";
if ((0 == (isset($context["grid_count"]) || array_key_exists("grid_count", $context) ? $context["grid_count"] : (function () { throw new RuntimeError('Variable "grid_count" does not exist.', 176, $this->source); })()) % (isset($context["mtm_cols"]) || array_key_exists("mtm_cols", $context) ? $context["mtm_cols"] : (function () { throw new RuntimeError('Variable "mtm_cols" does not exist.', 176, $this->source); })()))) {
// line 177
echo "\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"row my-3\">
\t\t\t\t\t\t";
}
// line 180
echo "\t\t\t\t\t\t<div class=\"col-md-";
echo twig_escape_filter($this->env, (12 / (isset($context["mtm_cols"]) || array_key_exists("mtm_cols", $context) ? $context["mtm_cols"] : (function () { throw new RuntimeError('Variable "mtm_cols" does not exist.', 180, $this->source); })())), "html", null, true);
echo "\">
\t\t\t\t\t\t\t";
// line 181
$context["gal"] = $this->extensions['App\Twig\RCSExtension']->get_entity("Content", "old_id", $context["gal_id"]);
// line 182
echo "\t\t\t\t\t\t\t<a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["gal"]) || array_key_exists("gal", $context) ? $context["gal"] : (function () { throw new RuntimeError('Variable "gal" does not exist.', 182, $this->source); })()), "getURL", [], "method", false, false, false, 182), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t";
// line 183
echo twig_get_attribute($this->env, $this->source, (isset($context["gal"]) || array_key_exists("gal", $context) ? $context["gal"] : (function () { throw new RuntimeError('Variable "gal" does not exist.', 183, $this->source); })()), "getFeaturedImageTag", ["", ""], "method", false, false, false, 183);
echo "
\t\t\t\t\t\t\t\t<br/>
\t\t\t\t\t\t\t\t";
// line 185
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["gal"]) || array_key_exists("gal", $context) ? $context["gal"] : (function () { throw new RuntimeError('Variable "gal" does not exist.', 185, $this->source); })()), "getTitle", [], "method", false, false, false, 185), "html", null, true);
echo "
\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t";
// line 188
$context["grid_count"] = ((isset($context["grid_count"]) || array_key_exists("grid_count", $context) ? $context["grid_count"] : (function () { throw new RuntimeError('Variable "grid_count" does not exist.', 188, $this->source); })()) + 1);
// line 189
echo "\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['gal_id'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 190
echo "\t\t\t\t</div>
\t\t\t";
}
// line 192
echo "
\t\t\t";
// line 194
$this->displayBlock('bottom', $context, $blocks);
// line 197
echo "\t\t</div>
\t\t<div class=\"col-md-3 d-none d-md-block\">
\t\t\t";
// line 199
$this->loadTemplate("includes/sidebar.html.twig", "content/tmpl/1-col-sidebar.html.twig", 199)->display($context);
// line 200
echo "\t\t</div>
\t</div>
</div>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 194
public function block_bottom($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", "bottom"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bottom"));
// line 195
echo "\t\t\t\t";
$this->loadTemplate("includes/bottom.html.twig", "content/tmpl/1-col-sidebar.html.twig", 195)->display($context);
// line 196
echo "\t\t\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "content/tmpl/1-col-sidebar.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 370 => 196, 367 => 195, 357 => 194, 344 => 200, 342 => 199, 338 => 197, 336 => 194, 332 => 192, 328 => 190, 322 => 189, 320 => 188, 314 => 185, 309 => 183, 304 => 182, 302 => 181, 297 => 180, 292 => 177, 289 => 176, 285 => 175, 282 => 174, 279 => 173, 276 => 172, 273 => 171, 270 => 170, 267 => 169, 264 => 168, 261 => 167, 258 => 166, 255 => 164, 252 => 163, 249 => 162, 247 => 161, 245 => 159, 244 => 158, 243 => 157, 242 => 156, 241 => 155, 240 => 154, 239 => 153, 238 => 152, 237 => 151, 236 => 150, 233 => 149, 227 => 147, 225 => 146, 222 => 145, 219 => 144, 213 => 142, 210 => 141, 207 => 140, 204 => 139, 201 => 137, 198 => 136, 196 => 135, 188 => 130, 185 => 129, 182 => 128, 179 => 127, 176 => 126, 173 => 124, 170 => 123, 167 => 122, 164 => 121, 162 => 120, 159 => 119, 156 => 118, 153 => 117, 150 => 115, 144 => 113, 141 => 112, 138 => 110, 132 => 108, 129 => 107, 126 => 105, 123 => 104, 118 => 103, 115 => 102, 109 => 100, 103 => 98, 100 => 97, 98 => 96, 92 => 93, 89 => 92, 87 => 91, 84 => 90, 77 => 89, 75 => 88, 71 => 86, 65 => 84, 63 => 83, 59 => 81, 55 => 14, 53 => 11, 52 => 10, 51 => 9, 50 => 6, 44 => 2,);
}
public function getSourceContext()
{
return new Source("{# 1 column sidebar #}
<div class=\"container content\">
\t<div class=\"row\">
\t\t<div class=\"col-12 col-md-9\">
\t\t\t{{ render(controller(
\t\t\t\t'App\\\\Controller\\\\Master\\\\ContentController::pinnedCurtainAd',
\t\t\t\t{
\t\t\t\t\t'base_url': app.request.getSchemeAndHttpHost(),
\t\t\t\t\t'uri': app.request.getRequestUri(),
\t\t\t\t\t'current_route': app.request.attributes.get('_route')
\t\t\t\t}
\t\t\t\t))
\t\t\t}}
\t\t{#
\t\t\t{% set current_route = app.request.attributes.get('_route') %}
\t\t\t{% if site_code == constant(\"App\\\\Entity\\\\Content::SITE_RCS\") %}
\t\t\t\t{% if (content.getType() == constant(\"App\\\\Entity\\\\Content::THE_HUB\") or content.getType() == constant(\"App\\\\Entity\\\\Content::WEBINAR\") or content.getType() == constant(\"App\\\\Entity\\\\Content::EBOOK\") or content.getType() == constant(\"App\\\\Entity\\\\Content::VIDEO\")) %}
\t\t\t\t\t{% include \"includes/curtain-ads/rlw.html.twig\" %}
\t\t\t\t{% endif %}
\t\t\t\t{% if (
\t\t\t\t(app.request.pathinfo == '/rcs-influencers')
\t\t\t\tor (app.request.pathinfo == '/rlw-news-header')
\t\t\t\tor (app.request.pathinfo == '/roofing-galleries')
\t\t\t\tor (app.request.pathinfo == '/news-room')
\t\t\t\tor (app.request.pathinfo == '/roofing-galleries')
\t\t\t\tor (app.request.pathinfo == '/rcs-weekly-newsletters-week-review')
\t\t\t\tor (app.request.pathinfo == '/roofing-galleries')
\t\t\t\tor (app.request.pathinfo == '/trends-report-results')
\t\t\t\tor (app.request.pathinfo == '/forum-news-header')) %}
\t\t\t\t\t{% include \"includes/curtain-ads/newForum.html.twig\" %}
\t\t\t\t{% endif %}
\t\t\t\t{% if ((app.request.pathinfo == '/what-is-r-club')
\t\t\t\tor (app.request.pathinfo == '/members-only')
\t\t\t\tor (app.request.pathinfo == '/consulting')
\t\t\t\tor (app.request.pathinfo == '/new-club-member')
\t\t\t\tor (app.request.pathinfo == '/rcs-club-sign-up')
\t\t\t\tor (app.request.pathinfo == '/handy-forms')
\t\t\t\tor (app.request.pathinfo == '/sign-up')
\t\t\t\tor (app.request.pathinfo == '/roofers-safety-information')
\t\t\t\tor (app.request.pathinfo == '/coffee-break')
\t\t\t\tor (app.request.pathinfo == '/roofer-of-the-month')
\t\t\t\tor current_route == \"r-club-perk\"
\t\t\t\t) %}
\t\t\t\t\t{% include \"includes/curtain-ads/rclub.html.twig\" %}
\t\t\t\t{% endif %}
\t\t\t\t{ # information on section # }
\t\t\t\t{% if (
\t\t\t\t\t(app.request.pathinfo == '/opportunities') or (app.request.pathinfo == '/promos-rebates')
\t\t\t\tor \t(app.request.pathinfo == '/buy-online') or (app.request.pathinfo == '/quick-quiz')
\t\t\t\tor \t(app.request.pathinfo == '/contests-and-games') or (app.request.pathinfo == '/take-our-survey')
\t\t\t\tor \t(app.request.pathinfo == '/rcs-photo-contest') or (app.request.pathinfo == '/information-on')
\t\t\t\tor \t(app.request.pathinfo == '/roofing') or (app.request.pathinfo == '/information-on')
\t\t\t\tor \t(app.request.pathinfo == '/product-information/roofing-technology') or (app.request.pathinfo == '/scholarships')
\t\t\t\tor \t(app.request.pathinfo == '/vocational-schools') or (app.request.pathinfo == '/events')
\t\t\t\tor \t(app.request.pathinfo == '/add-us') or (app.request.pathinfo == '/building-owners')
\t\t\t\tor \t(app.request.pathinfo == '/safety-tip-of-the-week') or (app.request.pathinfo == '/product-information')
\t\t\t\tor \t(app.request.pathinfo == '/training-resources') or (app.request.pathinfo == '/capacitacion-en-espanol')
\t\t\t\tor \t(app.request.pathinfo == '/advocacy') or (app.request.pathinfo == '/trade-roofing-associations')
\t\t\t\tor \t(app.request.pathinfo == '/rcs-cares') or (app.request.pathinfo == '/look-up')
\t\t\t\tor \t(app.request.pathinfo == '/join-roofing-industry') or (app.request.pathinfo == '/awards')
\t\t\t\tor \t(app.request.pathinfo == '/giving-back') or (app.request.pathinfo == '/veterans')
\t\t\t\tor \t(app.request.pathinfo == '/about-us') or (app.request.pathinfo == '/advertise-on-rcs')
\t\t\t\tor \t(app.request.pathinfo == '/canada-content') or (app.request.pathinfo == '/rcs-en-espanol')
\t\t\t\tor \t(app.request.pathinfo == '/meet-the-team') or (app.request.pathinfo == '/partners')
\t\t\t\tor \t(app.request.pathinfo == '/how-tos') or (app.request.pathinfo == '/contact-us')
\t\t\t\tor \t(current_route == 'promos') or (current_route == 'contests')
\t\t\t\tor \t(current_route == 'scholarship') or (current_route == 'event')
\t\t\t\tor \t(current_route == 'award')
\t\t\t\t) %}
\t\t\t\t\t{% include \"includes/curtain-ads/information.html.twig\" %}
\t\t\t\t{% endif %}
\t\t\t{% endif %}
\t\t#}
\t\t\t{% if content.getShowTitle() %}
\t\t\t\t<h1>{{ content.getTitle() | raw }}</h1>
\t\t\t{% endif %}
\t\t\t{% if content.getFeaturedImageTag() %}
\t\t\t\t{% if content.getMediaURL() %}<a href=\"{{content.getMediaURL()}}\">{% endif %}
\t\t\t\t\t{% if site_code is defined and site_code == constant(\"App\\\\Entity\\\\Content::SITE_AAR\") %}
\t\t\t\t\t\t{# center image on AAR #}
\t\t\t\t\t\t<div class=\"post-thumbnail\">
\t\t\t\t\t\t\t{{ content.getFeaturedImageTag(\"\", \"max-height: 450px\")|raw }}
\t\t\t\t\t\t</div>
\t\t\t\t\t{% else %}
\t\t\t\t\t\t{#{% if current_route == 'ebook' %}#}
\t\t\t\t\t\t{% if app.request.attributes.get('_route') == 'ebook' %}
\t\t\t\t\t\t\t{{ content.getFeaturedImageTag(\"display-block\",\"max-width: 40%\")|raw }}
\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t{{ content.getFeaturedImageTag(\"display-block\",\"\")|raw }}
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t{% endif %}
\t\t\t\t\t{% if content.getMediaURL() %}</a>{% endif %}
\t\t\t{% endif %}
\t\t\t{# show full content #}
\t\t\t{% if content.getContentFull() is not empty %}
\t\t\t\t{{ content.getContentFull() | wordpress | raw }}
\t\t\t{% endif %}
\t\t\t{# show builder content #}
\t\t\t{% if content.getContentBuilder() and content.getContentBuilder() != '{}' %}
\t\t\t\t{{ content.getContentBuilder() | builder | raw }}
\t\t\t{% endif %}
\t\t\t{# show module content #}
\t\t\t{% set page = content %}
\t\t\t{% set modules = content.getContentMetaValueByKey(\"mtm_content_modules\") %}
\t\t\t{% if modules is not empty %}
\t\t\t\t{# { modules } #}
\t\t\t\t{% set modules = unserialize(modules) %}
\t\t\t\t{% include \"content/tmpl/mtm-module-loop.html.twig\" %}
\t\t\t{% endif %}
\t\t\t{# the hub link types - TODO - find better place for these exceptions #}
\t\t\t{% if content.getType() == constant(\"App\\\\Entity\\\\Content::THE_HUB\") %}
\t\t\t\t{% set videoLink = content.getContentMetaValueByKey(\"rcs_learning_center_video\") %}
\t\t\t\t{% if videoLink is not empty %}
\t\t\t\t\t<p>
\t\t\t\t\t\t<a href=\"{{ videoLink }}\">
\t\t\t\t\t\t\t<i class=\"fa fa-play-circle\"></i>
\t\t\t\t\t\t\tClick here to view the video.</a>
\t\t\t\t\t</p>
\t\t\t\t{% endif %}
\t\t\t\t{#social share buttons#}
\t\t\t{% endif %}
\t\t\t{# webinar links - TODO - find better place for these exceptions #}
\t\t\t{% if content.getType() == constant(\"App\\\\Entity\\\\Content::WEBINAR\") %}
\t\t\t\t{% set webinarLink = content.getContentMetaValueByKey(\"webinar_hostandguest\") %}
\t\t\t\t{% if webinarLink is not empty %}
\t\t\t\t\t{{ webinarLink | raw }}
\t\t\t\t{% endif %}
\t\t\t{% endif %}
\t\t\t{% if content.getScriptTag() %}
\t\t\t\t{{ content.getScriptTag() | wordpress | raw }}
\t\t\t{% endif %}
\t\t\t{% if content.getType() == constant(\"App\\\\Entity\\\\Content::EBOOK\") or
content.getType() == constant(\"App\\\\Entity\\\\Content::AWARD\") or
content.getType() == constant(\"App\\\\Entity\\\\Content::VIDEO\") or
content.getType() == constant(\"App\\\\Entity\\\\Content::WEBINAR\") or
content.getType() == constant(\"App\\\\Entity\\\\Content::CONTEST_GAMES\") or
content.getType() == constant(\"App\\\\Entity\\\\Content::PAGE\") or
content.getType() == constant(\"App\\\\Entity\\\\Content::PROMOS_REBATES\") or
content.getType() == constant(\"App\\\\Entity\\\\Content::R_CLUB_PERK\") or
content.getType() == constant(\"App\\\\Entity\\\\Content::THE_HUB\") or
content.getType() == constant(\"App\\\\Entity\\\\Content::SCHOLARSHIP\")
%}
\t\t\t\t{#social share buttons#}
\t\t\t\t{% include \"includes/social-share.html.twig\" %}
\t\t\t{% endif %}
\t\t\t{# /partner-galleries #}
\t\t\t{% set mtm_grid = content.getContentMetaValueByKey(\"mtm_grid_archive_manual\") %}
\t\t\t{% set mtm_cols = content.getContentMetaValueByKey(\"mtm_grid_archive_per_row\") %}
\t\t\t{% if mtm_cols is empty %}
\t\t\t\t{% set mtm_cols = 3 %}
\t\t\t{% endif %}
\t\t\t{% if mtm_grid is not empty %}
\t\t\t\t{% set mtm_grid = unserialize(mtm_grid) %}
\t\t\t\t{% set grid_count = 0 %}
\t\t\t\t<div class=\"row my-3\">
\t\t\t\t\t{% for gal_id in mtm_grid %}
\t\t\t\t\t\t{% if grid_count is divisible by(mtm_cols) %}
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"row my-3\">
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t<div class=\"col-md-{{ 12 / mtm_cols }}\">
\t\t\t\t\t\t\t{% set gal = get_entity(\"Content\", \"old_id\", gal_id) %}
\t\t\t\t\t\t\t<a href=\"{{ gal.getURL() }}\">
\t\t\t\t\t\t\t\t{{ gal.getFeaturedImageTag(\"\",\"\")|raw }}
\t\t\t\t\t\t\t\t<br/>
\t\t\t\t\t\t\t\t{{ gal.getTitle() }}
\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t{% set grid_count = grid_count + 1 %}
\t\t\t\t\t{% endfor %}
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t\t{% block bottom %}
\t\t\t\t{% include \"includes/bottom.html.twig\" %}
\t\t\t{% endblock %}
\t\t</div>
\t\t<div class=\"col-md-3 d-none d-md-block\">
\t\t\t{% include \"includes/sidebar.html.twig\" %}
\t\t</div>
\t</div>
</div>
", "content/tmpl/1-col-sidebar.html.twig", "/var/www/vhosts/rooferscoffeeshop.com/staging.rooferscoffeeshop.com/rcs-website/templates/content/tmpl/1-col-sidebar.html.twig");
}
}