var/cache/dev/twig/36/3626fe7fabafa9c4243f123ac1a0382a.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. /* content/tmpl/classified-listing.html.twig */
  14. class __TwigTemplate_be23ca42c6a0b2bbd55b5ecfed61b38b 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 1
  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/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""content/tmpl/classified-listing.html.twig"));
  38.         $this->parent $this->loadTemplate("1-col-sidebar.html.twig""content/tmpl/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_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 5
  54.         echo "<!-- here down to  -->
  55. \t\t\t";
  56.         // line 6
  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.'6$this->source); })()) == twig_constant("App\\Entity\\Content::SITE_RCS"))) {
  58.             // line 7
  59.             echo "\t\t\t\t";
  60.             $this->loadTemplate("includes/curtain-ads/classified.html.twig""content/tmpl/classified-listing.html.twig"7)->display($context);
  61.             // line 8
  62.             echo "\t\t\t";
  63.         } 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"))) {
  64.             // line 9
  65.             echo "\t\t\t\t";
  66.             $this->loadTemplate("includes/curtain-ads/classified-mcs.html.twig""content/tmpl/classified-listing.html.twig"9)->display($context);
  67.             // line 10
  68.             echo "\t\t\t";
  69.         }
  70.         // line 11
  71.         echo "<!-- here -->
  72. \t<h1 class=\"post-title\" style=\"margin-bottom: 0\">";
  73.         // line 12
  74.         echo twig_escape_filter($this->envtwig_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"falsefalsefalse12), "html"nulltrue);
  75.         echo "</h1>
  76. \t
  77. \t<div style=\"margin: 15px 0px 15px;\">
  78. \t\t<span class=\"job-type\" style=\"margin-right: 25px;\">";
  79.         // line 15
  80.         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"nulltrue);
  81.         echo "</span>
  82. \t\t";
  83.         // line 16
  84.         if ((twig_get_attribute($this->env$this->source, ($context["content_meta"] ?? null), "_job_location", [], "any"truetruefalse16) &&  !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"falsefalsefalse16)))) {
  85.             // line 17
  86.             echo "\t\t\t<span class=\"location\" style=\"margin-right: 25px;\">
  87. \t\t\t\t<i class=\"fa fa-map-marker\"></i>
  88. \t\t\t\t<a href=\"https://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=
  89. \t\t\t\t";
  90.             // line 20
  91.             echo twig_escape_filter($this->envtwig_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"falsefalsefalse20), [" " => "+"]), "html"nulltrue);
  92.             echo " \"
  93. \t\t\t\ttitle=\"Click to view a Google Map\" target=\"_blank\">
  94. \t\t\t\t\t ";
  95.             // line 22
  96.             echo twig_escape_filter($this->envtwig_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"falsefalsefalse22), "html"nulltrue);
  97.             echo "
  98. \t\t\t\t</a>
  99. \t\t\t</span>
  100. \t\t";
  101.         }
  102.         // line 26
  103.         echo "\t\t<span class=\"date-posted\" style=\"margin-right: 25px;\"><i class=\"fa fa-calendar\"></i> Posted ";
  104.         echo twig_escape_filter($this->env$this->extensions['App\Twig\RCSExtension']->post_age_format(twig_get_attribute($this->env$this->sourcetwig_date_converter($this->envtwig_date_format_filter($this->envtwig_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"falsefalsefalse26))), "diff", [twig_date_converter($this->env"now")], "method"falsefalsefalse26)), "html"nulltrue);
  105.         echo "</span>
  106. \t</div>
  107. \t<div class=\"row\" style=\"margin: 20px 0 20px;\">
  108. \t\t";
  109.         // line 29
  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.'29$this->source); })()), "hasVideoMedia", [], "method"falsefalsefalse29)) {
  111.             // line 30
  112.             echo "\t\t\t<div class=\"col-4\">
  113. \t\t\t\t";
  114.             // line 31
  115.             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"falsefalsefalse31);
  116.             echo "
  117. \t\t\t</div>
  118. \t\t\t<div class=\"col-8\">
  119. \t\t";
  120.         } elseif ( !twig_test_empty(twig_get_attribute($this->env$this->source,         // line 34
  121. (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'34$this->source); })()), "getFeaturedImageTag", [], "method"falsefalsefalse34))) {
  122.             // line 35
  123.             echo "\t\t\t<div class=\"col-4\">
  124. \t\t\t\t";
  125.             // line 36
  126.             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"falsefalsefalse36);
  127.             echo "
  128. \t\t\t</div>
  129. \t\t\t<div class=\"col-8\">
  130. \t\t";
  131.         } else {
  132.             // line 40
  133.             echo "\t\t\t<div class=\"col-12\">
  134. \t\t";
  135.         }
  136.         // line 42
  137.         echo "\t\t
  138. \t\t\t<strong style=\"font-size: 1.2em;\">";
  139.         // line 43
  140.         echo twig_escape_filter($this->envtwig_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"falsefalsefalse43), "html"nulltrue);
  141.         echo "</strong>
  142. \t\t\t<span style=\"float: right;\">
  143. \t\t\t\t";
  144.         // line 45
  145.         if ((twig_get_attribute($this->env$this->source, ($context["content_meta"] ?? null), "_company_phone", [], "any"truetruefalse45) &&  !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"falsefalsefalse45)))) {
  146.             // line 46
  147.             echo "\t\t\t\t\t<a href=\"tel:";
  148.             echo twig_escape_filter($this->envtwig_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"falsefalsefalse46), "html"nulltrue);
  149.             echo "\" class=\"phone\"><i class=\"fa fa-phone\"></i> ";
  150.             echo twig_escape_filter($this->envtwig_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"falsefalsefalse46), "html"nulltrue);
  151.             echo "</a>&nbsp;&nbsp;&nbsp;
  152. \t\t\t\t";
  153.         }
  154.         // line 48
  155.         echo "\t\t\t\t";
  156.         if ((twig_get_attribute($this->env$this->source, ($context["content_meta"] ?? null), "_company_website", [], "any"truetruefalse48) &&  !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"falsefalsefalse48)))) {
  157.             // line 49
  158.             echo "\t\t\t\t\t<a href=\"";
  159.             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"falsefalsefalse49)), "html"nulltrue);
  160.             echo "\"  class=\"website\"><i class=\"fa fa-link\"> </i>Website</a>
  161. \t\t\t\t";
  162.         }
  163.         // line 51
  164.         echo "\t\t\t</span>
  165. \t\t\t<div>";
  166.         // line 52
  167.         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"falsefalsefalse52));
  168.         echo "</div>
  169. \t\t\t
  170. \t\t\t";
  171.         // line 54
  172.         $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"falsefalsefalse54);
  173.         // line 55
  174.         echo "\t\t\t";
  175.         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); })())))) {
  176.             // line 56
  177.             echo "\t\t\t\t";
  178.             // line 57
  179.             echo "\t\t\t\t";
  180.             $context["listing_file"] = twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse57), "getMediaGroup", [], "method"falsefalsefalse57);
  181.             // line 58
  182.             echo "\t\t\t\t";
  183.             $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"falsefalsefalse58);
  184.             // line 59
  185.             echo "\t\t\t\t";
  186.             $context["listing_file"] = twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse59), "getMedia", [], "method"falsefalsefalse59);
  187.             // line 60
  188.             echo "\t\t\t";
  189.         } else {
  190.             // line 61
  191.             echo "\t\t\t\t";
  192.             $context["listing_file"] = false;
  193.             // line 62
  194.             echo "\t\t\t";
  195.         }
  196.         // line 63
  197.         echo "\t\t\t";
  198.         $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"falsefalsefalse63);
  199.         // line 64
  200.         echo "\t\t\t
  201. \t\t\t";
  202.         // line 65
  203.         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); })())) {
  204.             // line 66
  205.             echo "\t\t\t<div class=\"row my-3\">
  206. \t\t\t\t<div class=\"col-md-12\">
  207. \t\t\t\t\t<a class=\"btn btn-secondary float-right\" href=\"";
  208.             // line 68
  209.             echo twig_escape_filter($this->envtwig_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"falsefalsefalse68), "html"nulltrue);
  210.             echo "\" >Download ";
  211.             (((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"nulltrue))) : (print ("File")));
  212.             echo "</a>
  213. \t\t\t\t</div>
  214. \t\t\t</div>
  215. \t\t\t";
  216.         }
  217.         // line 72
  218.         echo "\t\t\t<br>
  219. \t\t\t<div>
  220. \t\t\t\tTo reply to this listing, contact ";
  221.         // line 74
  222.         echo twig_escape_filter($this->envtwig_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"falsefalsefalse74), "html"nulltrue);
  223.         echo " by clicking \"Request More Information\" and filling out the form below.
  224. \t\t\t</div>
  225. \t\t</div>
  226. \t</div>
  227. \t";
  228.         // line 79
  229.         echo "\t";
  230.         $this->loadTemplate("includes/social-share.html.twig""content/tmpl/classified-listing.html.twig"79)->display($context);
  231.         // line 80
  232.         echo "\t
  233. \t<div style=\"margin-bottom: 20px;margin-top: 20px\">
  234. \t\t<button class=\"button\" href=\"\" id=\"infoButton\" style=\"padding: 15px;\">Request More Information</button>
  235. \t</div>
  236. \t<div id=\"infoForm\" style=\"display: none;\">
  237. \t\t<form method=\"post\" action=\"";
  238.         // line 85
  239.         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
  240. (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"falsefalsefalse86), "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"falsefalsefalse86), "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"falsefalsefalse86)]), "html"nulltrue);
  241.         echo "\" enctype=\"multipart/form-data\">
  242. \t\t\t<div class=\"row form-row\">
  243. \t\t\t\t<div class=\"col-sm-6\">
  244. \t\t\t\t\t<label class=\"form-label\" for=\"fname\">First Name</label>
  245. \t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"fname\" name=\"fname\" placeholder=\"First Name\" required>
  246. \t\t\t\t</div>
  247. \t\t\t\t<div class=\"col-sm-6\">
  248. \t\t\t\t\t<label class=\"form-label\" for=\"lname\">Last Name</label>
  249. \t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"lname\" name=\"lname\" placeholder=\"Last Name\" required>
  250. \t\t\t\t</div>
  251. \t\t\t</div>
  252. \t\t\t<div class=\"row form-row\">
  253. \t\t\t\t<div class=\"col-sm-6\">
  254. \t\t\t\t\t<label class=\"form-label\" for=\"email\">Email</label>
  255. \t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"email\" name=\"email\" placeholder=\"Email Address\" required>
  256. \t\t\t\t</div>
  257. \t\t\t</div>
  258. \t\t\t<div class=\"row form-row\">
  259. \t\t\t\t<div class=\"col-sm-6\">
  260. \t\t\t\t\t<label class=\"form-label\" for=\"resume\">Upload your Resumé</label>
  261. \t\t\t\t\t<input type=\"file\" class=\"form-control-file\" id=\"resume\" name=\"resume\">
  262. \t\t\t\t</div>
  263. \t\t\t</div>
  264. \t\t\t<div class=\"row form-row\">
  265. \t\t\t\t<div class=\"col-12\">
  266. \t\t\t\t\t<label class=\"form-label\" for=\"message\">Your Message</label>
  267. \t\t\t\t\t<textarea class=\"form-control\" id=\"message\" name=\"message\" placeholder=\"Your Message\" required></textarea>
  268. \t\t\t\t</div>
  269. \t\t\t</div>
  270. \t\t\t<div class=\"form-row g-recaptcha\" data-sitekey=\"6LeEIlMUAAAAAGhdmJJLdJHPxaWx2GqBjber5n6B\"></div>
  271. \t\t\t<button type=\"submit\" class=\"button\">Submit</button>
  272. \t\t</form>
  273. \t</div>
  274. \t<br>
  275. \t<script>
  276. \t\$( \"#infoButton\" ).click(function() {
  277. \t\t\$( \"#infoForm\" ).toggle();
  278. \t});
  279. \t</script>
  280. ";
  281.         
  282.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  283.         
  284.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  285.     }
  286.     public function getTemplateName()
  287.     {
  288.         return "content/tmpl/classified-listing.html.twig";
  289.     }
  290.     public function isTraitable()
  291.     {
  292.         return false;
  293.     }
  294.     public function getDebugInfo()
  295.     {
  296.         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,);
  297.     }
  298.     public function getSourceContext()
  299.     {
  300.         return new Source("{% extends \"1-col-sidebar.html.twig\" %}
  301. {# single post #}
  302. {% block column %}
  303. <!-- here down to  -->
  304. \t\t\t{% if site_code == constant(\"App\\\\Entity\\\\Content::SITE_RCS\") %}
  305. \t\t\t\t{% include  \"includes/curtain-ads/classified.html.twig\" %}
  306. \t\t\t{% elseif site_code == constant(\"App\\\\Entity\\\\Content::SITE_MCS\") %}
  307. \t\t\t\t{% include  \"includes/curtain-ads/classified-mcs.html.twig\" %}
  308. \t\t\t{% endif %}
  309. <!-- here -->
  310. \t<h1 class=\"post-title\" style=\"margin-bottom: 0\">{{ content.title }}</h1>
  311. \t
  312. \t<div style=\"margin: 15px 0px 15px;\">
  313. \t\t<span class=\"job-type\" style=\"margin-right: 25px;\">{{ region }}</span>
  314. \t\t{% if content_meta._job_location is defined and content_meta._job_location is not empty %}
  315. \t\t\t<span class=\"location\" style=\"margin-right: 25px;\">
  316. \t\t\t\t<i class=\"fa fa-map-marker\"></i>
  317. \t\t\t\t<a href=\"https://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=
  318. \t\t\t\t{{ content_meta._job_location|replace({' ': '+'}) }} \"
  319. \t\t\t\ttitle=\"Click to view a Google Map\" target=\"_blank\">
  320. \t\t\t\t\t {{ content_meta._job_location }}
  321. \t\t\t\t</a>
  322. \t\t\t</span>
  323. \t\t{% endif %}
  324. \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>
  325. \t</div>
  326. \t<div class=\"row\" style=\"margin: 20px 0 20px;\">
  327. \t\t{% if content.hasVideoMedia() %}
  328. \t\t\t<div class=\"col-4\">
  329. \t\t\t\t{{ content.getVideoMediaTag(\"\",\"\", autoplay)|raw }}
  330. \t\t\t</div>
  331. \t\t\t<div class=\"col-8\">
  332. \t\t{% elseif content.getFeaturedImageTag() is not empty %}
  333. \t\t\t<div class=\"col-4\">
  334. \t\t\t\t{{ content.getFeaturedImageTag(\"\",\"\")|raw }}
  335. \t\t\t</div>
  336. \t\t\t<div class=\"col-8\">
  337. \t\t{% else %}
  338. \t\t\t<div class=\"col-12\">
  339. \t\t{% endif %}
  340. \t\t
  341. \t\t\t<strong style=\"font-size: 1.2em;\">{{ content_meta._company_name }}</strong>
  342. \t\t\t<span style=\"float: right;\">
  343. \t\t\t\t{% if content_meta._company_phone is defined and content_meta._company_phone is not empty %}
  344. \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>&nbsp;&nbsp;&nbsp;
  345. \t\t\t\t{% endif %}
  346. \t\t\t\t{% if content_meta._company_website is defined and content_meta._company_website is not empty %}
  347. \t\t\t\t\t<a href=\"{{ content_meta._company_website|external_link }}\"  class=\"website\"><i class=\"fa fa-link\"> </i>Website</a>
  348. \t\t\t\t{% endif %}
  349. \t\t\t</span>
  350. \t\t\t<div>{{ content.contentfull|wordpress|raw }}</div>
  351. \t\t\t
  352. \t\t\t{% set listing_file = content.getMediaGroupContainers() %}
  353. \t\t\t{% if listing_file is defined and listing_file | length %}
  354. \t\t\t\t{# simply grab the first file for now - in the future we may add more files... #}
  355. \t\t\t\t{% set listing_file = listing_file[0].getMediaGroup() %}
  356. \t\t\t\t{% set listing_file = listing_file.getMediaGroupItems() %}
  357. \t\t\t\t{% set listing_file = listing_file[0].getMedia() %}
  358. \t\t\t{% else %}
  359. \t\t\t\t{% set listing_file = false %}
  360. \t\t\t{% endif %}
  361. \t\t\t{% set listing_file_title = content.getContentMetaValueByKey(\"_file_title\") %}
  362. \t\t\t
  363. \t\t\t{% if listing_file %}
  364. \t\t\t<div class=\"row my-3\">
  365. \t\t\t\t<div class=\"col-md-12\">
  366. \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>
  367. \t\t\t\t</div>
  368. \t\t\t</div>
  369. \t\t\t{% endif %}
  370. \t\t\t<br>
  371. \t\t\t<div>
  372. \t\t\t\tTo reply to this listing, contact {{ content_meta._company_contact }} by clicking \"Request More Information\" and filling out the form below.
  373. \t\t\t</div>
  374. \t\t</div>
  375. \t</div>
  376. \t{#social share buttons#}
  377. \t{% include \"includes/social-share.html.twig\" %}
  378. \t
  379. \t<div style=\"margin-bottom: 20px;margin-top: 20px\">
  380. \t\t<button class=\"button\" href=\"\" id=\"infoButton\" style=\"padding: 15px;\">Request More Information</button>
  381. \t</div>
  382. \t<div id=\"infoForm\" style=\"display: none;\">
  383. \t\t<form method=\"post\" action=\"{{ path('classified_request_info',
  384. \t\t\t{ 'contact_email' : content_meta._application, 'contact_name' : content_meta._company_contact, 'listing_title' : content.title }) }}\" enctype=\"multipart/form-data\">
  385. \t\t\t<div class=\"row form-row\">
  386. \t\t\t\t<div class=\"col-sm-6\">
  387. \t\t\t\t\t<label class=\"form-label\" for=\"fname\">First Name</label>
  388. \t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"fname\" name=\"fname\" placeholder=\"First Name\" required>
  389. \t\t\t\t</div>
  390. \t\t\t\t<div class=\"col-sm-6\">
  391. \t\t\t\t\t<label class=\"form-label\" for=\"lname\">Last Name</label>
  392. \t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"lname\" name=\"lname\" placeholder=\"Last Name\" required>
  393. \t\t\t\t</div>
  394. \t\t\t</div>
  395. \t\t\t<div class=\"row form-row\">
  396. \t\t\t\t<div class=\"col-sm-6\">
  397. \t\t\t\t\t<label class=\"form-label\" for=\"email\">Email</label>
  398. \t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"email\" name=\"email\" placeholder=\"Email Address\" required>
  399. \t\t\t\t</div>
  400. \t\t\t</div>
  401. \t\t\t<div class=\"row form-row\">
  402. \t\t\t\t<div class=\"col-sm-6\">
  403. \t\t\t\t\t<label class=\"form-label\" for=\"resume\">Upload your Resumé</label>
  404. \t\t\t\t\t<input type=\"file\" class=\"form-control-file\" id=\"resume\" name=\"resume\">
  405. \t\t\t\t</div>
  406. \t\t\t</div>
  407. \t\t\t<div class=\"row form-row\">
  408. \t\t\t\t<div class=\"col-12\">
  409. \t\t\t\t\t<label class=\"form-label\" for=\"message\">Your Message</label>
  410. \t\t\t\t\t<textarea class=\"form-control\" id=\"message\" name=\"message\" placeholder=\"Your Message\" required></textarea>
  411. \t\t\t\t</div>
  412. \t\t\t</div>
  413. \t\t\t<div class=\"form-row g-recaptcha\" data-sitekey=\"6LeEIlMUAAAAAGhdmJJLdJHPxaWx2GqBjber5n6B\"></div>
  414. \t\t\t<button type=\"submit\" class=\"button\">Submit</button>
  415. \t\t</form>
  416. \t</div>
  417. \t<br>
  418. \t<script>
  419. \t\$( \"#infoButton\" ).click(function() {
  420. \t\t\$( \"#infoForm\" ).toggle();
  421. \t});
  422. \t</script>
  423. {% endblock %}
  424. ""content/tmpl/classified-listing.html.twig""/var/www/vhosts/rooferscoffeeshop.com/staging.rooferscoffeeshop.com/rcs-website/templates/content/tmpl/classified-listing.html.twig");
  425.     }
  426. }