var/cache/dev/twig/c2/c20d143f8c49589218796d5cf98c1207.php line 38

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* content/tmpl/partner-webinars.html.twig */
  14. class __TwigTemplate_9f71bce25d52c5f2ea1c268218c2ea45 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'column' => [$this'block_column'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 3
  29.         return "1-col-sidebar.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""content/tmpl/partner-webinars.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""content/tmpl/partner-webinars.html.twig"));
  38.         $this->parent $this->loadTemplate("1-col-sidebar.html.twig""content/tmpl/partner-webinars.html.twig"3);
  39.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  40.         
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  42.         
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  44.     }
  45.     // line 6
  46.     public function block_column($context, array $blocks = [])
  47.     {
  48.         $macros $this->macros;
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""column"));
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""column"));
  53.         // line 7
  54.         echo "
  55. \t\t\t";
  56.         // line 8
  57.         if (((isset($context["site_code"]) || array_key_exists("site_code"$context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.'8$this->source); })()) == twig_constant("App\\Entity\\Content::SITE_RCS"))) {
  58.             // line 9
  59.             echo "\t\t\t
  60. ";
  61.             // line 10
  62.             $this->loadTemplate("includes/curtain-ads/rlw.html.twig""content/tmpl/partner-webinars.html.twig"10)->display($context);
  63.             // line 11
  64.             echo "\t\t\t";
  65.         }
  66.         // line 12
  67.         echo "\t";
  68.         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.'12$this->source); })()), "getShowTitle", [], "method"falsefalsefalse12)) {
  69.             // line 13
  70.             echo "\t\t<h1>";
  71.             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.'13$this->source); })()), "getTitle", [], "method"falsefalsefalse13);
  72.             echo "</h1>
  73. \t";
  74.         }
  75.         // line 15
  76.         echo "
  77. \t";
  78.         // line 17
  79.         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); })()), "getFeaturedImageTag", [], "method"falsefalsefalse17)) {
  80.             // line 18
  81.             echo "\t\t";
  82.             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.'18$this->source); })()), "getFeaturedImageTag", ["display-block"""], "method"falsefalsefalse18);
  83.             echo "
  84. \t";
  85.         }
  86.         // line 20
  87.         echo "
  88. \t";
  89.         // line 22
  90.         echo "\t";
  91.         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.'22$this->source); })()), "getContentFull", [], "method"falsefalsefalse22))) {
  92.             // line 23
  93.             echo "\t\t";
  94.             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.'23$this->source); })()), "getContentFull", [], "method"falsefalsefalse23));
  95.             echo "
  96. \t";
  97.         }
  98.         // line 25
  99.         echo "
  100. \t";
  101.         // line 71
  102.         echo "
  103. \t";
  104.         // line 73
  105.         echo "\t<br>
  106. \t<h2>Webinars On Demand</h2>
  107. \t<hr>
  108. \t";
  109.         // line 76
  110.         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.'76$this->source); })()), "getContentBuilder", [], "method"falsefalsefalse76) && (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.'76$this->source); })()), "getContentBuilder", [], "method"falsefalsefalse76) != "{}"))) {
  111.             // line 77
  112.             echo "\t\t";
  113.             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.'77$this->source); })()), "getContentBuilder", [], "method"falsefalsefalse77));
  114.             echo "
  115. \t";
  116.         }
  117.         // line 79
  118.         echo "
  119. ";
  120.         
  121.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  122.         
  123.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  124.     }
  125.     public function getTemplateName()
  126.     {
  127.         return "content/tmpl/partner-webinars.html.twig";
  128.     }
  129.     public function isTraitable()
  130.     {
  131.         return false;
  132.     }
  133.     public function getDebugInfo()
  134.     {
  135.         return array (  134 => 79,  128 => 77,  126 => 76,  121 => 73,  118 => 71,  114 => 25,  108 => 23,  105 => 22,  102 => 20,  96 => 18,  94 => 17,  90 => 15,  84 => 13,  81 => 12,  78 => 11,  76 => 10,  73 => 9,  71 => 8,  68 => 7,  58 => 6,  35 => 3,);
  136.     }
  137.     public function getSourceContext()
  138.     {
  139.         return new Source("
  140. {% extends \"1-col-sidebar.html.twig\" %}
  141. {# webinars #}
  142. {% block column %}
  143. \t\t\t{% if site_code == constant(\"App\\\\Entity\\\\Content::SITE_RCS\") %}
  144. \t\t\t
  145. {% include  \"includes/curtain-ads/rlw.html.twig\" %}
  146. \t\t\t{% endif %}
  147. \t{% if content.getShowTitle() %}
  148. \t\t<h1>{{ content.getTitle() | raw }}</h1>
  149. \t{% endif %}
  150. \t{% if content.getFeaturedImageTag() %}
  151. \t\t{{ content.getFeaturedImageTag(\"display-block\",\"\")|raw }}
  152. \t{% endif %}
  153. \t{# show full content #}
  154. \t{% if content.getContentFull() is not empty %}
  155. \t\t{{ content.getContentFull() | wordpress | raw }}
  156. \t{% endif %}
  157. \t{#<hr>
  158. \t{% if webinars['coming_up'] %}
  159. \t<h2 style=\"color: #ab1616;\">Sign up for these upcoming webinars today!</h2>
  160. \t{% endif %}
  161. \t{% set count = 0 %}
  162. \t{% for webinar in webinars['coming_up'] %}
  163. \t\t<div class=\"row my-3\">
  164. \t\t\t{% if webinar.getFeaturedImageTag() is not empty %}
  165. \t\t\t\t<div class=\"col-3 post-thumbnail\">
  166. \t\t\t\t\t{{ webinar.getFeaturedImageTag(\"\",\"\")|raw }}
  167. \t\t\t\t</div>
  168. \t\t\t{% endif %}
  169. \t\t\t<div class={{ (webinar.getFeaturedImageTag() is empty) ? \"col-12\" : \"col-9\" }}>
  170. \t\t\t\t<h3 class=\"list-post-title\" style=\"color: #62696b; margin-bottom: 0.5em;\"><a href=\"{{ webinar.getURL() }}\">{{ webinar.title }}</a></h3>
  171. \t\t\t\t<p>{{ webinar.contentfull | wordpress | raw }}</p>
  172. \t\t\t</div>
  173. \t\t</div>
  174. \t\t<hr>
  175. \t\t{% set count = count + 1 %}
  176. \t{% endfor %}#]
  177. \t{#
  178. \t<br><br>
  179. \t<h2>RCS Webinar Series On Demand</h2>
  180. \t<hr>
  181. \t{% set count = 0 %}
  182. \t{% for webinar in webinars['series_2018'] %}
  183. \t\t<div class=\"row my-3\">
  184. \t\t\t{% if webinar.getFeaturedImageTag() is not empty %}
  185. \t\t\t\t<div class=\"col-3 post-thumbnail\">
  186. \t\t\t\t\t{{ webinar.getFeaturedImageTag(\"\",\"\")|raw }}
  187. \t\t\t\t</div>
  188. \t\t\t{% endif %}
  189. \t\t\t<div class={{ (webinar.getFeaturedImageTag() is empty) ? \"col-12\" : \"col-9\" }}>
  190. \t\t\t\t<h3 class=\"list-post-title\" style=\"color: #62696b; margin-bottom: 0.5em;\"><a href=\"{{ webinar.getURL() }}\">{{ webinar.title }}</a></h3>
  191. \t\t\t\t<p>{{ webinar.contentfull | wordpress | raw }}</p>
  192. \t\t\t</div>
  193. \t\t</div>
  194. \t\t<hr>
  195. \t\t{% set count = count + 1 %}
  196. \t{% endfor %}
  197. \t#}
  198. \t{# show builder content #}
  199. \t<br>
  200. \t<h2>Webinars On Demand</h2>
  201. \t<hr>
  202. \t{% if content.getContentBuilder() and content.getContentBuilder() != '{}' %}
  203. \t\t{{ content.getContentBuilder() | builder | raw }}
  204. \t{% endif %}
  205. {% endblock %}
  206. ""content/tmpl/partner-webinars.html.twig""/var/www/vhosts/rooferscoffeeshop.com/staging.rooferscoffeeshop.com/rcs-website/templates/content/tmpl/partner-webinars.html.twig");
  207.     }
  208. }