<?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/classified-listing.html.twig */
class __TwigTemplate_be23ca42c6a0b2bbd55b5ecfed61b38b extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'column' => [$this, 'block_column'],
];
}
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/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", "content/tmpl/classified-listing.html.twig"));
$this->parent = $this->loadTemplate("1-col-sidebar.html.twig", "content/tmpl/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_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 5
echo "<!-- here down to -->
\t\t\t";
// line 6
if (((isset($context["site_code"]) || array_key_exists("site_code", $context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.', 6, $this->source); })()) == twig_constant("App\\Entity\\Content::SITE_RCS"))) {
// line 7
echo "\t\t\t\t";
$this->loadTemplate("includes/curtain-ads/classified.html.twig", "content/tmpl/classified-listing.html.twig", 7)->display($context);
// line 8
echo "\t\t\t";
} elseif (((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_MCS"))) {
// line 9
echo "\t\t\t\t";
$this->loadTemplate("includes/curtain-ads/classified-mcs.html.twig", "content/tmpl/classified-listing.html.twig", 9)->display($context);
// line 10
echo "\t\t\t";
}
// line 11
echo "<!-- here -->
\t<h1 class=\"post-title\" style=\"margin-bottom: 0\">";
// line 12
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.', 12, $this->source); })()), "title", [], "any", false, false, false, 12), "html", null, true);
echo "</h1>
\t
\t<div style=\"margin: 15px 0px 15px;\">
\t\t<span class=\"job-type\" style=\"margin-right: 25px;\">";
// line 15
echo twig_escape_filter($this->env, (isset($context["region"]) || array_key_exists("region", $context) ? $context["region"] : (function () { throw new RuntimeError('Variable "region" does not exist.', 15, $this->source); })()), "html", null, true);
echo "</span>
\t\t";
// line 16
if ((twig_get_attribute($this->env, $this->source, ($context["content_meta"] ?? null), "_job_location", [], "any", true, true, false, 16) && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["content_meta"]) || array_key_exists("content_meta", $context) ? $context["content_meta"] : (function () { throw new RuntimeError('Variable "content_meta" does not exist.', 16, $this->source); })()), "_job_location", [], "any", false, false, false, 16)))) {
// line 17
echo "\t\t\t<span class=\"location\" style=\"margin-right: 25px;\">
\t\t\t\t<i class=\"fa fa-map-marker\"></i>
\t\t\t\t<a href=\"https://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=
\t\t\t\t";
// line 20
echo twig_escape_filter($this->env, twig_replace_filter(twig_get_attribute($this->env, $this->source, (isset($context["content_meta"]) || array_key_exists("content_meta", $context) ? $context["content_meta"] : (function () { throw new RuntimeError('Variable "content_meta" does not exist.', 20, $this->source); })()), "_job_location", [], "any", false, false, false, 20), [" " => "+"]), "html", null, true);
echo " \"
\t\t\t\ttitle=\"Click to view a Google Map\" target=\"_blank\">
\t\t\t\t\t ";
// line 22
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["content_meta"]) || array_key_exists("content_meta", $context) ? $context["content_meta"] : (function () { throw new RuntimeError('Variable "content_meta" does not exist.', 22, $this->source); })()), "_job_location", [], "any", false, false, false, 22), "html", null, true);
echo "
\t\t\t\t</a>
\t\t\t</span>
\t\t";
}
// line 26
echo "\t\t<span class=\"date-posted\" style=\"margin-right: 25px;\"><i class=\"fa fa-calendar\"></i> Posted ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\RCSExtension']->post_age_format(twig_get_attribute($this->env, $this->source, twig_date_converter($this->env, twig_date_format_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.', 26, $this->source); })()), "publishedat", [], "any", false, false, false, 26))), "diff", [twig_date_converter($this->env, "now")], "method", false, false, false, 26)), "html", null, true);
echo "</span>
\t</div>
\t<div class=\"row\" style=\"margin: 20px 0 20px;\">
\t\t";
// line 29
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.', 29, $this->source); })()), "hasVideoMedia", [], "method", false, false, false, 29)) {
// line 30
echo "\t\t\t<div class=\"col-4\">
\t\t\t\t";
// line 31
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.', 31, $this->source); })()), "getVideoMediaTag", ["", "", (isset($context["autoplay"]) || array_key_exists("autoplay", $context) ? $context["autoplay"] : (function () { throw new RuntimeError('Variable "autoplay" does not exist.', 31, $this->source); })())], "method", false, false, false, 31);
echo "
\t\t\t</div>
\t\t\t<div class=\"col-8\">
\t\t";
} elseif ( !twig_test_empty(twig_get_attribute($this->env, $this->source, // line 34
(isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 34, $this->source); })()), "getFeaturedImageTag", [], "method", false, false, false, 34))) {
// line 35
echo "\t\t\t<div class=\"col-4\">
\t\t\t\t";
// line 36
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.', 36, $this->source); })()), "getFeaturedImageTag", ["", ""], "method", false, false, false, 36);
echo "
\t\t\t</div>
\t\t\t<div class=\"col-8\">
\t\t";
} else {
// line 40
echo "\t\t\t<div class=\"col-12\">
\t\t";
}
// line 42
echo "\t\t
\t\t\t<strong style=\"font-size: 1.2em;\">";
// line 43
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["content_meta"]) || array_key_exists("content_meta", $context) ? $context["content_meta"] : (function () { throw new RuntimeError('Variable "content_meta" does not exist.', 43, $this->source); })()), "_company_name", [], "any", false, false, false, 43), "html", null, true);
echo "</strong>
\t\t\t<span style=\"float: right;\">
\t\t\t\t";
// line 45
if ((twig_get_attribute($this->env, $this->source, ($context["content_meta"] ?? null), "_company_phone", [], "any", true, true, false, 45) && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["content_meta"]) || array_key_exists("content_meta", $context) ? $context["content_meta"] : (function () { throw new RuntimeError('Variable "content_meta" does not exist.', 45, $this->source); })()), "_company_phone", [], "any", false, false, false, 45)))) {
// line 46
echo "\t\t\t\t\t<a href=\"tel:";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["content_meta"]) || array_key_exists("content_meta", $context) ? $context["content_meta"] : (function () { throw new RuntimeError('Variable "content_meta" does not exist.', 46, $this->source); })()), "_company_phone", [], "any", false, false, false, 46), "html", null, true);
echo "\" class=\"phone\"><i class=\"fa fa-phone\"></i> ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["content_meta"]) || array_key_exists("content_meta", $context) ? $context["content_meta"] : (function () { throw new RuntimeError('Variable "content_meta" does not exist.', 46, $this->source); })()), "_company_phone", [], "any", false, false, false, 46), "html", null, true);
echo "</a>
\t\t\t\t";
}
// line 48
echo "\t\t\t\t";
if ((twig_get_attribute($this->env, $this->source, ($context["content_meta"] ?? null), "_company_website", [], "any", true, true, false, 48) && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["content_meta"]) || array_key_exists("content_meta", $context) ? $context["content_meta"] : (function () { throw new RuntimeError('Variable "content_meta" does not exist.', 48, $this->source); })()), "_company_website", [], "any", false, false, false, 48)))) {
// line 49
echo "\t\t\t\t\t<a href=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\RCSExtension']->externalLinkFilter(twig_get_attribute($this->env, $this->source, (isset($context["content_meta"]) || array_key_exists("content_meta", $context) ? $context["content_meta"] : (function () { throw new RuntimeError('Variable "content_meta" does not exist.', 49, $this->source); })()), "_company_website", [], "any", false, false, false, 49)), "html", null, true);
echo "\" class=\"website\"><i class=\"fa fa-link\"> </i>Website</a>
\t\t\t\t";
}
// line 51
echo "\t\t\t</span>
\t\t\t<div>";
// line 52
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.', 52, $this->source); })()), "contentfull", [], "any", false, false, false, 52));
echo "</div>
\t\t\t
\t\t\t";
// line 54
$context["listing_file"] = 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.', 54, $this->source); })()), "getMediaGroupContainers", [], "method", false, false, false, 54);
// line 55
echo "\t\t\t";
if ((array_key_exists("listing_file", $context) && twig_length_filter($this->env, (isset($context["listing_file"]) || array_key_exists("listing_file", $context) ? $context["listing_file"] : (function () { throw new RuntimeError('Variable "listing_file" does not exist.', 55, $this->source); })())))) {
// line 56
echo "\t\t\t\t";
// line 57
echo "\t\t\t\t";
$context["listing_file"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["listing_file"]) || array_key_exists("listing_file", $context) ? $context["listing_file"] : (function () { throw new RuntimeError('Variable "listing_file" does not exist.', 57, $this->source); })()), 0, [], "array", false, false, false, 57), "getMediaGroup", [], "method", false, false, false, 57);
// line 58
echo "\t\t\t\t";
$context["listing_file"] = twig_get_attribute($this->env, $this->source, (isset($context["listing_file"]) || array_key_exists("listing_file", $context) ? $context["listing_file"] : (function () { throw new RuntimeError('Variable "listing_file" does not exist.', 58, $this->source); })()), "getMediaGroupItems", [], "method", false, false, false, 58);
// line 59
echo "\t\t\t\t";
$context["listing_file"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["listing_file"]) || array_key_exists("listing_file", $context) ? $context["listing_file"] : (function () { throw new RuntimeError('Variable "listing_file" does not exist.', 59, $this->source); })()), 0, [], "array", false, false, false, 59), "getMedia", [], "method", false, false, false, 59);
// line 60
echo "\t\t\t";
} else {
// line 61
echo "\t\t\t\t";
$context["listing_file"] = false;
// line 62
echo "\t\t\t";
}
// line 63
echo "\t\t\t";
$context["listing_file_title"] = 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.', 63, $this->source); })()), "getContentMetaValueByKey", ["_file_title"], "method", false, false, false, 63);
// line 64
echo "\t\t\t
\t\t\t";
// line 65
if ((isset($context["listing_file"]) || array_key_exists("listing_file", $context) ? $context["listing_file"] : (function () { throw new RuntimeError('Variable "listing_file" does not exist.', 65, $this->source); })())) {
// line 66
echo "\t\t\t<div class=\"row my-3\">
\t\t\t\t<div class=\"col-md-12\">
\t\t\t\t\t<a class=\"btn btn-secondary float-right\" href=\"";
// line 68
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["listing_file"]) || array_key_exists("listing_file", $context) ? $context["listing_file"] : (function () { throw new RuntimeError('Variable "listing_file" does not exist.', 68, $this->source); })()), "getURL", [], "method", false, false, false, 68), "html", null, true);
echo "\" >Download ";
(((isset($context["listing_file_title"]) || array_key_exists("listing_file_title", $context) ? $context["listing_file_title"] : (function () { throw new RuntimeError('Variable "listing_file_title" does not exist.', 68, $this->source); })())) ? (print (twig_escape_filter($this->env, (isset($context["listing_file_title"]) || array_key_exists("listing_file_title", $context) ? $context["listing_file_title"] : (function () { throw new RuntimeError('Variable "listing_file_title" does not exist.', 68, $this->source); })()), "html", null, true))) : (print ("File")));
echo "</a>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t";
}
// line 72
echo "\t\t\t<br>
\t\t\t<div>
\t\t\t\tTo reply to this listing, contact ";
// line 74
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["content_meta"]) || array_key_exists("content_meta", $context) ? $context["content_meta"] : (function () { throw new RuntimeError('Variable "content_meta" does not exist.', 74, $this->source); })()), "_company_contact", [], "any", false, false, false, 74), "html", null, true);
echo " by clicking \"Request More Information\" and filling out the form below.
\t\t\t</div>
\t\t</div>
\t</div>
\t";
// line 79
echo "\t";
$this->loadTemplate("includes/social-share.html.twig", "content/tmpl/classified-listing.html.twig", 79)->display($context);
// line 80
echo "\t
\t<div style=\"margin-bottom: 20px;margin-top: 20px\">
\t\t<button class=\"button\" href=\"\" id=\"infoButton\" style=\"padding: 15px;\">Request More Information</button>
\t</div>
\t<div id=\"infoForm\" style=\"display: none;\">
\t\t<form method=\"post\" action=\"";
// line 85
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("classified_request_info", ["contact_email" => twig_get_attribute($this->env, $this->source, // line 86
(isset($context["content_meta"]) || array_key_exists("content_meta", $context) ? $context["content_meta"] : (function () { throw new RuntimeError('Variable "content_meta" does not exist.', 86, $this->source); })()), "_application", [], "any", false, false, false, 86), "contact_name" => twig_get_attribute($this->env, $this->source, (isset($context["content_meta"]) || array_key_exists("content_meta", $context) ? $context["content_meta"] : (function () { throw new RuntimeError('Variable "content_meta" does not exist.', 86, $this->source); })()), "_company_contact", [], "any", false, false, false, 86), "listing_title" => 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.', 86, $this->source); })()), "title", [], "any", false, false, false, 86)]), "html", null, true);
echo "\" enctype=\"multipart/form-data\">
\t\t\t<div class=\"row form-row\">
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"form-label\" for=\"fname\">First Name</label>
\t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"fname\" name=\"fname\" placeholder=\"First Name\" required>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"form-label\" for=\"lname\">Last Name</label>
\t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"lname\" name=\"lname\" placeholder=\"Last Name\" required>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"row form-row\">
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"form-label\" for=\"email\">Email</label>
\t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"email\" name=\"email\" placeholder=\"Email Address\" required>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"row form-row\">
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"form-label\" for=\"resume\">Upload your Resumé</label>
\t\t\t\t\t<input type=\"file\" class=\"form-control-file\" id=\"resume\" name=\"resume\">
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"row form-row\">
\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t<label class=\"form-label\" for=\"message\">Your Message</label>
\t\t\t\t\t<textarea class=\"form-control\" id=\"message\" name=\"message\" placeholder=\"Your Message\" required></textarea>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"form-row g-recaptcha\" data-sitekey=\"6LeEIlMUAAAAAGhdmJJLdJHPxaWx2GqBjber5n6B\"></div>
\t\t\t<button type=\"submit\" class=\"button\">Submit</button>
\t\t</form>
\t</div>
\t<br>
\t<script>
\t\$( \"#infoButton\" ).click(function() {
\t\t\$( \"#infoForm\" ).toggle();
\t});
\t</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "content/tmpl/classified-listing.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 254 => 86, 253 => 85, 246 => 80, 243 => 79, 236 => 74, 232 => 72, 223 => 68, 219 => 66, 217 => 65, 214 => 64, 211 => 63, 208 => 62, 205 => 61, 202 => 60, 199 => 59, 196 => 58, 193 => 57, 191 => 56, 188 => 55, 186 => 54, 181 => 52, 178 => 51, 172 => 49, 169 => 48, 161 => 46, 159 => 45, 154 => 43, 151 => 42, 147 => 40, 140 => 36, 137 => 35, 135 => 34, 129 => 31, 126 => 30, 124 => 29, 117 => 26, 110 => 22, 105 => 20, 100 => 17, 98 => 16, 94 => 15, 88 => 12, 85 => 11, 82 => 10, 79 => 9, 76 => 8, 73 => 7, 71 => 6, 68 => 5, 58 => 4, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"1-col-sidebar.html.twig\" %}
{# single post #}
{% block column %}
<!-- here down to -->
\t\t\t{% if site_code == constant(\"App\\\\Entity\\\\Content::SITE_RCS\") %}
\t\t\t\t{% include \"includes/curtain-ads/classified.html.twig\" %}
\t\t\t{% elseif site_code == constant(\"App\\\\Entity\\\\Content::SITE_MCS\") %}
\t\t\t\t{% include \"includes/curtain-ads/classified-mcs.html.twig\" %}
\t\t\t{% endif %}
<!-- here -->
\t<h1 class=\"post-title\" style=\"margin-bottom: 0\">{{ content.title }}</h1>
\t
\t<div style=\"margin: 15px 0px 15px;\">
\t\t<span class=\"job-type\" style=\"margin-right: 25px;\">{{ region }}</span>
\t\t{% if content_meta._job_location is defined and content_meta._job_location is not empty %}
\t\t\t<span class=\"location\" style=\"margin-right: 25px;\">
\t\t\t\t<i class=\"fa fa-map-marker\"></i>
\t\t\t\t<a href=\"https://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=
\t\t\t\t{{ content_meta._job_location|replace({' ': '+'}) }} \"
\t\t\t\ttitle=\"Click to view a Google Map\" target=\"_blank\">
\t\t\t\t\t {{ content_meta._job_location }}
\t\t\t\t</a>
\t\t\t</span>
\t\t{% endif %}
\t\t<span class=\"date-posted\" style=\"margin-right: 25px;\"><i class=\"fa fa-calendar\"></i> Posted {{ post_age_format(date(content.publishedat|date).diff( date(\"now\"))) }}</span>
\t</div>
\t<div class=\"row\" style=\"margin: 20px 0 20px;\">
\t\t{% if content.hasVideoMedia() %}
\t\t\t<div class=\"col-4\">
\t\t\t\t{{ content.getVideoMediaTag(\"\",\"\", autoplay)|raw }}
\t\t\t</div>
\t\t\t<div class=\"col-8\">
\t\t{% elseif content.getFeaturedImageTag() is not empty %}
\t\t\t<div class=\"col-4\">
\t\t\t\t{{ content.getFeaturedImageTag(\"\",\"\")|raw }}
\t\t\t</div>
\t\t\t<div class=\"col-8\">
\t\t{% else %}
\t\t\t<div class=\"col-12\">
\t\t{% endif %}
\t\t
\t\t\t<strong style=\"font-size: 1.2em;\">{{ content_meta._company_name }}</strong>
\t\t\t<span style=\"float: right;\">
\t\t\t\t{% if content_meta._company_phone is defined and content_meta._company_phone is not empty %}
\t\t\t\t\t<a href=\"tel:{{ content_meta._company_phone }}\" class=\"phone\"><i class=\"fa fa-phone\"></i> {{ content_meta._company_phone }}</a>
\t\t\t\t{% endif %}
\t\t\t\t{% if content_meta._company_website is defined and content_meta._company_website is not empty %}
\t\t\t\t\t<a href=\"{{ content_meta._company_website|external_link }}\" class=\"website\"><i class=\"fa fa-link\"> </i>Website</a>
\t\t\t\t{% endif %}
\t\t\t</span>
\t\t\t<div>{{ content.contentfull|wordpress|raw }}</div>
\t\t\t
\t\t\t{% set listing_file = content.getMediaGroupContainers() %}
\t\t\t{% if listing_file is defined and listing_file | length %}
\t\t\t\t{# simply grab the first file for now - in the future we may add more files... #}
\t\t\t\t{% set listing_file = listing_file[0].getMediaGroup() %}
\t\t\t\t{% set listing_file = listing_file.getMediaGroupItems() %}
\t\t\t\t{% set listing_file = listing_file[0].getMedia() %}
\t\t\t{% else %}
\t\t\t\t{% set listing_file = false %}
\t\t\t{% endif %}
\t\t\t{% set listing_file_title = content.getContentMetaValueByKey(\"_file_title\") %}
\t\t\t
\t\t\t{% if listing_file %}
\t\t\t<div class=\"row my-3\">
\t\t\t\t<div class=\"col-md-12\">
\t\t\t\t\t<a class=\"btn btn-secondary float-right\" href=\"{{ listing_file.getURL() }}\" >Download {{ listing_file_title ? listing_file_title : \"File\" }}</a>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t{% endif %}
\t\t\t<br>
\t\t\t<div>
\t\t\t\tTo reply to this listing, contact {{ content_meta._company_contact }} by clicking \"Request More Information\" and filling out the form below.
\t\t\t</div>
\t\t</div>
\t</div>
\t{#social share buttons#}
\t{% include \"includes/social-share.html.twig\" %}
\t
\t<div style=\"margin-bottom: 20px;margin-top: 20px\">
\t\t<button class=\"button\" href=\"\" id=\"infoButton\" style=\"padding: 15px;\">Request More Information</button>
\t</div>
\t<div id=\"infoForm\" style=\"display: none;\">
\t\t<form method=\"post\" action=\"{{ path('classified_request_info',
\t\t\t{ 'contact_email' : content_meta._application, 'contact_name' : content_meta._company_contact, 'listing_title' : content.title }) }}\" enctype=\"multipart/form-data\">
\t\t\t<div class=\"row form-row\">
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"form-label\" for=\"fname\">First Name</label>
\t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"fname\" name=\"fname\" placeholder=\"First Name\" required>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"form-label\" for=\"lname\">Last Name</label>
\t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"lname\" name=\"lname\" placeholder=\"Last Name\" required>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"row form-row\">
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"form-label\" for=\"email\">Email</label>
\t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"email\" name=\"email\" placeholder=\"Email Address\" required>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"row form-row\">
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"form-label\" for=\"resume\">Upload your Resumé</label>
\t\t\t\t\t<input type=\"file\" class=\"form-control-file\" id=\"resume\" name=\"resume\">
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"row form-row\">
\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t<label class=\"form-label\" for=\"message\">Your Message</label>
\t\t\t\t\t<textarea class=\"form-control\" id=\"message\" name=\"message\" placeholder=\"Your Message\" required></textarea>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"form-row g-recaptcha\" data-sitekey=\"6LeEIlMUAAAAAGhdmJJLdJHPxaWx2GqBjber5n6B\"></div>
\t\t\t<button type=\"submit\" class=\"button\">Submit</button>
\t\t</form>
\t</div>
\t<br>
\t<script>
\t\$( \"#infoButton\" ).click(function() {
\t\t\$( \"#infoForm\" ).toggle();
\t});
\t</script>
{% endblock %}
", "content/tmpl/classified-listing.html.twig", "/var/www/vhosts/rooferscoffeeshop.com/staging.rooferscoffeeshop.com/rcs-website/templates/content/tmpl/classified-listing.html.twig");
}
}