var/cache/dev/twig/3b/3ba115f43b811635554e17507827c55d.php line 48

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. /* forms/classified-listing.html.twig */
  14. class __TwigTemplate_16d73ce25bf0de6baecc2dccfdc27b63 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.             'body' => [$this'block_body'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return "base.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""forms/classified-listing.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""forms/classified-listing.html.twig"));
  38.         $this->parent $this->loadTemplate("base.html.twig""forms/classified-listing.html.twig"1);
  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 4
  46.     public function block_body($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""body"));
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  53.         // line 5
  54.         echo "
  55. ";
  56.         // line 6
  57.         $this->loadTemplate("forms/classified-listing.html.twig""forms/classified-listing.html.twig"6"1418437601")->display($context);
  58.         
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  60.         
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  62.     }
  63.     public function getTemplateName()
  64.     {
  65.         return "forms/classified-listing.html.twig";
  66.     }
  67.     public function isTraitable()
  68.     {
  69.         return false;
  70.     }
  71.     public function getDebugInfo()
  72.     {
  73.         return array (  71 => 6,  68 => 5,  58 => 4,  35 => 1,);
  74.     }
  75.     public function getSourceContext()
  76.     {
  77.         return new Source("{% extends \"base.html.twig\" %}
  78. {% block body %}
  79. {% embed \"1-col-sidebar.html.twig\" %}
  80. {% block column %}
  81. <!-- here down to  -->
  82. {% if site_code == constant(\"App\\\\Entity\\\\Content::SITE_RCS\") %}
  83. \t{% include  \"includes/curtain-ads/classified.html.twig\" %}
  84. {% elseif site_code == constant(\"App\\\\Entity\\\\Content::SITE_MCS\") %}
  85. \t{% include  \"includes/curtain-ads/classified-mcs.html.twig\" %}
  86. {% endif %}
  87. <!-- here -->
  88. \t<form class=\"classifiedform\" method=\"post\" action=\"\" enctype=\"multipart/form-data\">
  89. \t\t<h1 class=\"mb-3\">Post a Classified AD</h1>
  90. \t\t{% if step == 1 %}
  91. \t\t\t{# initial step #}
  92. \t\t\t{% include \"forms/classified/choose-ad.html.twig\" %}
  93. \t\t{% elseif step == 2 %}
  94. \t\t\t{# fill out listing details #}
  95. \t\t\t{% include \"forms/classified/ad-details.html.twig\" %}
  96. \t\t{% elseif step == 3 %}
  97. \t\t\t{# view preview #}
  98. \t\t\t{% include \"forms/classified/ad-preview.html.twig\" %}
  99. \t\t{% elseif step == 4 %}
  100. \t\t\t{# finalize order #}
  101. \t\t\t{% include \"forms/classified/ad-finalize.html.twig\" %}
  102. \t\t{% endif %}
  103. \t</form>
  104. {% endblock %}
  105. {% block sidebar %}
  106. \t{% include \"includes/sidebar.html.twig\" %}
  107. {% endblock %}
  108. {% endembed %}
  109. {% endblock %}""forms/classified-listing.html.twig""/var/www/vhosts/rooferscoffeeshop.com/staging.rooferscoffeeshop.com/rcs-website/templates/forms/classified-listing.html.twig");
  110.     }
  111. }
  112. /* forms/classified-listing.html.twig */
  113. class __TwigTemplate_16d73ce25bf0de6baecc2dccfdc27b63___1418437601 extends Template
  114. {
  115.     private $source;
  116.     private $macros = [];
  117.     public function __construct(Environment $env)
  118.     {
  119.         parent::__construct($env);
  120.         $this->source $this->getSourceContext();
  121.         $this->blocks = [
  122.             'column' => [$this'block_column'],
  123.             'sidebar' => [$this'block_sidebar'],
  124.         ];
  125.     }
  126.     protected function doGetParent(array $context)
  127.     {
  128.         return "1-col-sidebar.html.twig";
  129.     }
  130.     protected function doDisplay(array $context, array $blocks = [])
  131.     {
  132.         $macros $this->macros;
  133.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  134.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""forms/classified-listing.html.twig"));
  135.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  136.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""forms/classified-listing.html.twig"));
  137.         $this->parent $this->loadTemplate("1-col-sidebar.html.twig""forms/classified-listing.html.twig"6);
  138.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  139.         
  140.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  141.         
  142.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  143.     }
  144.     // line 7
  145.     public function block_column($context, array $blocks = [])
  146.     {
  147.         $macros $this->macros;
  148.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  149.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""column"));
  150.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  151.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""column"));
  152.         // line 8
  153.         echo "<!-- here down to  -->
  154. ";
  155.         // line 9
  156.         if (((isset($context["site_code"]) || array_key_exists("site_code"$context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.'9$this->source); })()) == twig_constant("App\\Entity\\Content::SITE_RCS"))) {
  157.             // line 10
  158.             echo "\t";
  159.             $this->loadTemplate("includes/curtain-ads/classified.html.twig""forms/classified-listing.html.twig"10)->display($context);
  160.         } elseif ((        // line 11
  161. (isset($context["site_code"]) || array_key_exists("site_code"$context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.'11$this->source); })()) == twig_constant("App\\Entity\\Content::SITE_MCS"))) {
  162.             // line 12
  163.             echo "\t";
  164.             $this->loadTemplate("includes/curtain-ads/classified-mcs.html.twig""forms/classified-listing.html.twig"12)->display($context);
  165.         }
  166.         // line 14
  167.         echo "<!-- here -->
  168. \t<form class=\"classifiedform\" method=\"post\" action=\"\" enctype=\"multipart/form-data\">
  169. \t\t<h1 class=\"mb-3\">Post a Classified AD</h1>
  170. \t\t";
  171.         // line 17
  172.         if (((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'17$this->source); })()) == 1)) {
  173.             // line 18
  174.             echo "\t\t\t";
  175.             // line 19
  176.             echo "\t\t\t";
  177.             $this->loadTemplate("forms/classified/choose-ad.html.twig""forms/classified-listing.html.twig"19)->display($context);
  178.             // line 20
  179.             echo "\t\t";
  180.         } elseif (((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'20$this->source); })()) == 2)) {
  181.             // line 21
  182.             echo "\t\t\t";
  183.             // line 22
  184.             echo "\t\t\t";
  185.             $this->loadTemplate("forms/classified/ad-details.html.twig""forms/classified-listing.html.twig"22)->display($context);
  186.             // line 23
  187.             echo "\t\t";
  188.         } elseif (((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'23$this->source); })()) == 3)) {
  189.             // line 24
  190.             echo "\t\t\t";
  191.             // line 25
  192.             echo "\t\t\t";
  193.             $this->loadTemplate("forms/classified/ad-preview.html.twig""forms/classified-listing.html.twig"25)->display($context);
  194.             // line 26
  195.             echo "\t\t";
  196.         } elseif (((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'26$this->source); })()) == 4)) {
  197.             // line 27
  198.             echo "\t\t\t";
  199.             // line 28
  200.             echo "\t\t\t";
  201.             $this->loadTemplate("forms/classified/ad-finalize.html.twig""forms/classified-listing.html.twig"28)->display($context);
  202.             // line 29
  203.             echo "\t\t";
  204.         }
  205.         // line 30
  206.         echo "\t</form>
  207. ";
  208.         
  209.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  210.         
  211.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  212.     }
  213.     // line 32
  214.     public function block_sidebar($context, array $blocks = [])
  215.     {
  216.         $macros $this->macros;
  217.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  218.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar"));
  219.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  220.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar"));
  221.         // line 33
  222.         echo "\t";
  223.         $this->loadTemplate("includes/sidebar.html.twig""forms/classified-listing.html.twig"33)->display($context);
  224.         
  225.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  226.         
  227.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  228.     }
  229.     public function getTemplateName()
  230.     {
  231.         return "forms/classified-listing.html.twig";
  232.     }
  233.     public function isTraitable()
  234.     {
  235.         return false;
  236.     }
  237.     public function getDebugInfo()
  238.     {
  239.         return array (  265 => 33,  255 => 32,  244 => 30,  241 => 29,  238 => 28,  236 => 27,  233 => 26,  230 => 25,  228 => 24,  225 => 23,  222 => 22,  220 => 21,  217 => 20,  214 => 19,  212 => 18,  210 => 17,  205 => 14,  201 => 12,  199 => 11,  196 => 10,  194 => 9,  191 => 8,  181 => 7,  71 => 6,  68 => 5,  58 => 4,  35 => 1,);
  240.     }
  241.     public function getSourceContext()
  242.     {
  243.         return new Source("{% extends \"base.html.twig\" %}
  244. {% block body %}
  245. {% embed \"1-col-sidebar.html.twig\" %}
  246. {% block column %}
  247. <!-- here down to  -->
  248. {% if site_code == constant(\"App\\\\Entity\\\\Content::SITE_RCS\") %}
  249. \t{% include  \"includes/curtain-ads/classified.html.twig\" %}
  250. {% elseif site_code == constant(\"App\\\\Entity\\\\Content::SITE_MCS\") %}
  251. \t{% include  \"includes/curtain-ads/classified-mcs.html.twig\" %}
  252. {% endif %}
  253. <!-- here -->
  254. \t<form class=\"classifiedform\" method=\"post\" action=\"\" enctype=\"multipart/form-data\">
  255. \t\t<h1 class=\"mb-3\">Post a Classified AD</h1>
  256. \t\t{% if step == 1 %}
  257. \t\t\t{# initial step #}
  258. \t\t\t{% include \"forms/classified/choose-ad.html.twig\" %}
  259. \t\t{% elseif step == 2 %}
  260. \t\t\t{# fill out listing details #}
  261. \t\t\t{% include \"forms/classified/ad-details.html.twig\" %}
  262. \t\t{% elseif step == 3 %}
  263. \t\t\t{# view preview #}
  264. \t\t\t{% include \"forms/classified/ad-preview.html.twig\" %}
  265. \t\t{% elseif step == 4 %}
  266. \t\t\t{# finalize order #}
  267. \t\t\t{% include \"forms/classified/ad-finalize.html.twig\" %}
  268. \t\t{% endif %}
  269. \t</form>
  270. {% endblock %}
  271. {% block sidebar %}
  272. \t{% include \"includes/sidebar.html.twig\" %}
  273. {% endblock %}
  274. {% endembed %}
  275. {% endblock %}""forms/classified-listing.html.twig""/var/www/vhosts/rooferscoffeeshop.com/staging.rooferscoffeeshop.com/rcs-website/templates/forms/classified-listing.html.twig");
  276.     }
  277. }