<?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;
/* forms/classified-listing.html.twig */
class __TwigTemplate_16d73ce25bf0de6baecc2dccfdc27b63 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.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", "forms/classified-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", "forms/classified-listing.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "forms/classified-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_body($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", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 5
echo "
";
// line 6
$this->loadTemplate("forms/classified-listing.html.twig", "forms/classified-listing.html.twig", 6, "1418437601")->display($context);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "forms/classified-listing.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 71 => 6, 68 => 5, 58 => 4, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"base.html.twig\" %}
{% block body %}
{% embed \"1-col-sidebar.html.twig\" %}
{% block column %}
<!-- here down to -->
{% if site_code == constant(\"App\\\\Entity\\\\Content::SITE_RCS\") %}
\t{% include \"includes/curtain-ads/classified.html.twig\" %}
{% elseif site_code == constant(\"App\\\\Entity\\\\Content::SITE_MCS\") %}
\t{% include \"includes/curtain-ads/classified-mcs.html.twig\" %}
{% endif %}
<!-- here -->
\t<form class=\"classifiedform\" method=\"post\" action=\"\" enctype=\"multipart/form-data\">
\t\t<h1 class=\"mb-3\">Post a Classified AD</h1>
\t\t{% if step == 1 %}
\t\t\t{# initial step #}
\t\t\t{% include \"forms/classified/choose-ad.html.twig\" %}
\t\t{% elseif step == 2 %}
\t\t\t{# fill out listing details #}
\t\t\t{% include \"forms/classified/ad-details.html.twig\" %}
\t\t{% elseif step == 3 %}
\t\t\t{# view preview #}
\t\t\t{% include \"forms/classified/ad-preview.html.twig\" %}
\t\t{% elseif step == 4 %}
\t\t\t{# finalize order #}
\t\t\t{% include \"forms/classified/ad-finalize.html.twig\" %}
\t\t{% endif %}
\t</form>
{% endblock %}
{% block sidebar %}
\t{% include \"includes/sidebar.html.twig\" %}
{% endblock %}
{% endembed %}
{% endblock %}", "forms/classified-listing.html.twig", "/var/www/vhosts/rooferscoffeeshop.com/staging.rooferscoffeeshop.com/rcs-website/templates/forms/classified-listing.html.twig");
}
}
/* forms/classified-listing.html.twig */
class __TwigTemplate_16d73ce25bf0de6baecc2dccfdc27b63___1418437601 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'column' => [$this, 'block_column'],
'sidebar' => [$this, 'block_sidebar'],
];
}
protected function doGetParent(array $context)
{
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", "forms/classified-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", "forms/classified-listing.html.twig"));
$this->parent = $this->loadTemplate("1-col-sidebar.html.twig", "forms/classified-listing.html.twig", 6);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 7
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 8
echo "<!-- here down to -->
";
// line 9
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"))) {
// line 10
echo "\t";
$this->loadTemplate("includes/curtain-ads/classified.html.twig", "forms/classified-listing.html.twig", 10)->display($context);
} elseif (( // line 11
(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"))) {
// line 12
echo "\t";
$this->loadTemplate("includes/curtain-ads/classified-mcs.html.twig", "forms/classified-listing.html.twig", 12)->display($context);
}
// line 14
echo "<!-- here -->
\t<form class=\"classifiedform\" method=\"post\" action=\"\" enctype=\"multipart/form-data\">
\t\t<h1 class=\"mb-3\">Post a Classified AD</h1>
\t\t";
// line 17
if (((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 17, $this->source); })()) == 1)) {
// line 18
echo "\t\t\t";
// line 19
echo "\t\t\t";
$this->loadTemplate("forms/classified/choose-ad.html.twig", "forms/classified-listing.html.twig", 19)->display($context);
// line 20
echo "\t\t";
} elseif (((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 20, $this->source); })()) == 2)) {
// line 21
echo "\t\t\t";
// line 22
echo "\t\t\t";
$this->loadTemplate("forms/classified/ad-details.html.twig", "forms/classified-listing.html.twig", 22)->display($context);
// line 23
echo "\t\t";
} elseif (((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 23, $this->source); })()) == 3)) {
// line 24
echo "\t\t\t";
// line 25
echo "\t\t\t";
$this->loadTemplate("forms/classified/ad-preview.html.twig", "forms/classified-listing.html.twig", 25)->display($context);
// line 26
echo "\t\t";
} elseif (((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 26, $this->source); })()) == 4)) {
// line 27
echo "\t\t\t";
// line 28
echo "\t\t\t";
$this->loadTemplate("forms/classified/ad-finalize.html.twig", "forms/classified-listing.html.twig", 28)->display($context);
// line 29
echo "\t\t";
}
// line 30
echo "\t</form>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 32
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 33
echo "\t";
$this->loadTemplate("includes/sidebar.html.twig", "forms/classified-listing.html.twig", 33)->display($context);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "forms/classified-listing.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends \"base.html.twig\" %}
{% block body %}
{% embed \"1-col-sidebar.html.twig\" %}
{% block column %}
<!-- here down to -->
{% if site_code == constant(\"App\\\\Entity\\\\Content::SITE_RCS\") %}
\t{% include \"includes/curtain-ads/classified.html.twig\" %}
{% elseif site_code == constant(\"App\\\\Entity\\\\Content::SITE_MCS\") %}
\t{% include \"includes/curtain-ads/classified-mcs.html.twig\" %}
{% endif %}
<!-- here -->
\t<form class=\"classifiedform\" method=\"post\" action=\"\" enctype=\"multipart/form-data\">
\t\t<h1 class=\"mb-3\">Post a Classified AD</h1>
\t\t{% if step == 1 %}
\t\t\t{# initial step #}
\t\t\t{% include \"forms/classified/choose-ad.html.twig\" %}
\t\t{% elseif step == 2 %}
\t\t\t{# fill out listing details #}
\t\t\t{% include \"forms/classified/ad-details.html.twig\" %}
\t\t{% elseif step == 3 %}
\t\t\t{# view preview #}
\t\t\t{% include \"forms/classified/ad-preview.html.twig\" %}
\t\t{% elseif step == 4 %}
\t\t\t{# finalize order #}
\t\t\t{% include \"forms/classified/ad-finalize.html.twig\" %}
\t\t{% endif %}
\t</form>
{% endblock %}
{% block sidebar %}
\t{% include \"includes/sidebar.html.twig\" %}
{% endblock %}
{% endembed %}
{% endblock %}", "forms/classified-listing.html.twig", "/var/www/vhosts/rooferscoffeeshop.com/staging.rooferscoffeeshop.com/rcs-website/templates/forms/classified-listing.html.twig");
}
}