<?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;
/* frontend/auctions.html.twig */
class __TwigTemplate_6138aa25d1d01283d2191a61fd9faf58 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'meta_title' => [$this, 'block_meta_title'],
'meta_decription' => [$this, 'block_meta_decription'],
'stylesheets' => [$this, 'block_stylesheets'],
'slider' => [$this, 'block_slider'],
'layout' => [$this, 'block_layout'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "layout.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", "frontend/auctions.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/auctions.html.twig"));
$this->parent = $this->loadTemplate("layout.html.twig", "frontend/auctions.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 2
public function block_meta_title($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", "meta_title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_title"));
// line 3
echo " ";
$context["metaTitle"] = twig_get_attribute($this->env, $this->source, (isset($context["meta"]) || array_key_exists("meta", $context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.', 3, $this->source); })()), "metaTitle", [], "any", false, false, false, 3);
// line 4
echo " ";
echo twig_escape_filter($this->env, (isset($context["metaTitle"]) || array_key_exists("metaTitle", $context) ? $context["metaTitle"] : (function () { throw new RuntimeError('Variable "metaTitle" does not exist.', 4, $this->source); })()), "html", null, true);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 6
public function block_meta_decription($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", "meta_decription"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_decription"));
// line 7
echo " ";
$context["metaTitle"] = twig_get_attribute($this->env, $this->source, (isset($context["meta"]) || array_key_exists("meta", $context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.', 7, $this->source); })()), "metaTitle", [], "any", false, false, false, 7);
// line 8
echo " ";
// line 9
$context["metaDescription"] = twig_get_attribute($this->env, $this->source, (isset($context["meta"]) || array_key_exists("meta", $context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.', 9, $this->source); })()), "metaDescription", [], "any", false, false, false, 9);
// line 11
echo " <meta name=\"description\" content=\"";
echo twig_escape_filter($this->env, (isset($context["metaDescription"]) || array_key_exists("metaDescription", $context) ? $context["metaDescription"] : (function () { throw new RuntimeError('Variable "metaDescription" does not exist.', 11, $this->source); })()), "html", null, true);
echo "\">
<meta name=\"twitter:card\" content=\"summary\" />
<meta name=\"twitter:site\" content=\"@motusaa\" />
<meta name=\"twitter:title\" content=\"";
// line 14
echo twig_escape_filter($this->env, (isset($context["metaTitle"]) || array_key_exists("metaTitle", $context) ? $context["metaTitle"] : (function () { throw new RuntimeError('Variable "metaTitle" does not exist.', 14, $this->source); })()), "html", null, true);
echo "\" />
<meta name=\"twitter:description\" content=\"";
// line 15
echo twig_escape_filter($this->env, (isset($context["metaDescription"]) || array_key_exists("metaDescription", $context) ? $context["metaDescription"] : (function () { throw new RuntimeError('Variable "metaDescription" does not exist.', 15, $this->source); })()), "html", null, true);
echo "\" />
<meta name=\"twitter:image\" content=\"";
// line 16
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 16, $this->source); })()), "request", [], "any", false, false, false, 16), "uri", [], "any", false, false, false, 16) . "images/banners") . twig_get_attribute($this->env, $this->source, (isset($context["meta"]) || array_key_exists("meta", $context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.', 16, $this->source); })()), "image", [], "any", false, false, false, 16)), "html", null, true);
echo "\" />
<meta name=\"twitter:url\" content=\"";
// line 17
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 17, $this->source); })()), "request", [], "any", false, false, false, 17), "uri", [], "any", false, false, false, 17), "html", null, true);
echo "\" />
<meta name=\"og:image\" content=\"";
// line 19
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 19, $this->source); })()), "request", [], "any", false, false, false, 19), "uri", [], "any", false, false, false, 19) . "images/banners") . twig_get_attribute($this->env, $this->source, (isset($context["meta"]) || array_key_exists("meta", $context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.', 19, $this->source); })()), "image", [], "any", false, false, false, 19)), "html", null, true);
echo "\" />
<meta name=\"og:title\" content=\"";
// line 20
echo twig_escape_filter($this->env, (isset($context["metaTitle"]) || array_key_exists("metaTitle", $context) ? $context["metaTitle"] : (function () { throw new RuntimeError('Variable "metaTitle" does not exist.', 20, $this->source); })()), "html", null, true);
echo "\" />
<meta name=\"og:description\" content=\"";
// line 21
echo twig_escape_filter($this->env, (isset($context["metaDescription"]) || array_key_exists("metaDescription", $context) ? $context["metaDescription"] : (function () { throw new RuntimeError('Variable "metaDescription" does not exist.', 21, $this->source); })()), "html", null, true);
echo "\" />
<meta name=\"og:url\" content=\"";
// line 22
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 22, $this->source); })()), "request", [], "any", false, false, false, 22), "uri", [], "any", false, false, false, 22), "html", null, true);
echo "\" />
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 24
public function block_stylesheets($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", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 25
echo " ";
$this->displayParentBlock("stylesheets", $context, $blocks);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 28
public function block_slider($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", "slider"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "slider"));
// line 29
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 31
public function block_layout($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", "layout"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout"));
// line 32
echo "
<section class=\"section-padding-100 listing-with-map listing-with-map-3\">
<div class=\"container-fluid\">
<div class=\"row\">
<div class=\"col-12\" style=\"padding-bottom:15px\">
<a href=\"";
// line 39
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 39, $this->source); })()), "request", [], "any", false, false, false, 39), "uri", [], "any", false, false, false, 39), "html", null, true);
echo "/auctions/\">Home</a> » <a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 39, $this->source); })()), "request", [], "any", false, false, false, 39), "uri", [], "any", false, false, false, 39), "html", null, true);
echo "/auctions/\" style=\"color:#e2003c\">Auction ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["auctions"]) || array_key_exists("auctions", $context) ? $context["auctions"] : (function () { throw new RuntimeError('Variable "auctions" does not exist.', 39, $this->source); })()), "id", [], "any", false, false, false, 39), "html", null, true);
echo "</a>
</div>
</div>
<div class=\"col-12 text-center primary-1\">
<h1>
";
// line 45
if ((twig_get_attribute($this->env, $this->source, (isset($context["auctions"]) || array_key_exists("auctions", $context) ? $context["auctions"] : (function () { throw new RuntimeError('Variable "auctions" does not exist.', 45, $this->source); })()), "id", [], "any", false, false, false, 45) > 0)) {
// line 46
echo " <span class=\"d-none d-md-block\">
";
// line 47
if ((twig_get_attribute($this->env, $this->source, (isset($context["auctions"]) || array_key_exists("auctions", $context) ? $context["auctions"] : (function () { throw new RuntimeError('Variable "auctions" does not exist.', 47, $this->source); })()), "isOnline", [], "any", false, false, false, 47) == 1)) {
// line 48
echo " ";
$context["auctionType"] = "Timed Online Auction";
// line 49
echo " ";
} else {
// line 50
echo " ";
$context["auctionType"] = "Ohysical Online Auction";
// line 51
echo " ";
}
// line 52
echo " ";
echo twig_escape_filter($this->env, (((isset($context["auctionType"]) || array_key_exists("auctionType", $context) ? $context["auctionType"] : (function () { throw new RuntimeError('Variable "auctionType" does not exist.', 52, $this->source); })()) . " ") . twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["auctions"]) || array_key_exists("auctions", $context) ? $context["auctions"] : (function () { throw new RuntimeError('Variable "auctions" does not exist.', 52, $this->source); })()), "dateStart", [], "any", false, false, false, 52), "l j F Y H:ia")), "html", null, true);
echo "
</span>
<span class=\"d-block d-md-none auc-header\">
";
// line 55
echo twig_escape_filter($this->env, (((isset($context["auctionType"]) || array_key_exists("auctionType", $context) ? $context["auctionType"] : (function () { throw new RuntimeError('Variable "auctionType" does not exist.', 55, $this->source); })()) . " ") . twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["auctions"]) || array_key_exists("auctions", $context) ? $context["auctions"] : (function () { throw new RuntimeError('Variable "auctions" does not exist.', 55, $this->source); })()), "dateStart", [], "any", false, false, false, 55), "l j F Y H:ia")), "html", null, true);
echo "
</span>
";
} else {
// line 58
echo " <span class=\"auc-header\">
Auction Closed
</span>
";
}
// line 62
echo " </h1>
</div>
<div class=\"col-12\" data-animation=\"scaleIn\" style=\"padding-left: 0;padding-right: 0;\">
<div class=\"multisteps-form__content\">
<div class=\"clearfix\">
<ul class=\"nav nav-tabs m-b10\">
<li role=\"presentation\" class=\"namv-item auc-tabs active\" id=\"auction-details\">
<a data-toggle=\"tab\" class=\"nav-link <?php echo \$auction_details; ?>\" aria-controls=\"auc-det\" href=\"#auc-det\">
<h4 class=\"m-btm-0\">Auction Details</h4>
</a>
</li>
<li role=\"presentation\" class=\"namv-item auc-tabs <?php echo \$bidding_requirements; ?>\" id=\"bidding-requirements\">
<a data-toggle=\"tab\" class=\"nav-link <?php echo \$bidding_requirements; ?>\" aria-controls=\"bid-req\" href=\"#bid-req\">
<h4 class=\"m-btm-0\">
Bidding Requirements
</h4>
</a>
</li>
<li role=\"presentation\" class=\"namv-item auc-tabs <?php echo \$downloads; ?>\" id=\"download\">
<a data-toggle=\"tab\" class=\"nav-link <?php echo \$downloads; ?>\" aria-controls=\"dnld\" href=\"#dnld\">
<h4 class=\"m-btm-0\">Downloads</h4>
</a>
</li>
<li role=\"presentation\" class=\"namv-item auc-tabs <?php echo \$contacts; ?>\" id=\"contact\">
<a data-toggle=\"tab\" class=\"nav-link <?php echo \$contacts; ?>\" aria-controls=\"contact\" href=\"#con\">
<h4 class=\"m-btm-0\">Contacts</h4>
</a>
</li>
<li role=\"presentation\" class=\"namv-item auc-tabs <?php echo \$mailing_list; ?>\" id=\"mail-list\">
<a data-toggle=\"tab\" class=\"nav-link <?php echo \$mailing_list; ?>\" aria-controls=\"mail-list\" href=\"#ml-list\">
<h4 class=\"m-btm-0\">Join our Mailing List</h4>
</a>
</li>
<li role=\"presentation\" class=\"namv-item auc-tabs <?php echo \$get_finance; ?>\" id=\"finance\">
<a data-toggle=\"tab\" class=\"nav-link <?php echo \$get_finance; ?>\" aria-controls=\"finance\" href=\"#fin\">
<h4 class=\"m-btm-0\">Get Auction Finance</h4>
</a>
</li>
<li role=\"presentation\" class=\"namv-item auc-tabs auc-rester-tab\" id=\"finance\">
<a class=\"nav-link\" target=\"_blank\" href=\"<?php echo \$reg_url; ?>\">
<h4 class=\"m-btm-0\">Register for this auction</h4>
</a>
</li>
</ul>
<div class=\"dlab-tabs\">
<div class=\"tab-content\">
<!-- Auction Details -->
<div id=\"auc-det\" class=\"tab-pane clearfix city-list active\">
<div class=\"dlab-accordion advanced-search toggle\" id=\"accordion1\">
<div class=\"panel\">
<div class=\"row\">
<div class=\"d-none d-md-block col-md-3\">
<picture>
<source srcset=\"";
// line 121
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/img-5.jpeg"), "html", null, true);
echo "\" type=\"image/webp\">
<source srcset=\"";
// line 122
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/img-5.jpeg"), "html", null, true);
echo "\" type=\"image/jpeg\">
<img src=\"";
// line 123
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/img-5.jpeg"), "html", null, true);
echo "\" alt=\"Auction Details\" class=\"img-fluid\">
</picture>
</div>
<div class=\"col-12 col-md-9\">
<div class=\"row auc-copy\" style=\"height:100%\">
<div class=\"col-12 col-sm-4\">
<p class=\"primary-1\" style=\"margin-bottom:12px\">Venue</p>
Motus Auto Auctions<br>
19 Herman Road, Meadowdale<br>
Next to Makro Germiston<br>
<script>
var x = document.getElementById(\"demo\");
function getLocation() {
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(showPosition);
} else {
x.innerHTML = \"Geolocation is not supported by this browser.\";
}
}
function showPosition(position) {
var url = 'http://maps.google.com/maps?saddr=&daddr=19 Herman Road, Meadowdale';
window.open(url, \"_blank\");
}
</script>
<input type=\"hidden\" class=\"form-control\" name=\"saddr\" id=\"saddr\" value=\"\">
<input type=\"hidden\" class=\"form-control\" value=\"19 Herman Road, Meadowdale\" name=\"daddr\">
<input type=\"submit\" target=\"_blank\" value=\"Get Directions\" class=\"btn-second orange-btn vbtm\" onclick=\"getLocation()\">
</div>
<div class=\"col-12 col-sm-4\">
<p class=\"primary-1\" style=\"margin-bottom:12px\">Date & Time</p>
";
// line 157
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["auctions"]) || array_key_exists("auctions", $context) ? $context["auctions"] : (function () { throw new RuntimeError('Variable "auctions" does not exist.', 157, $this->source); })()), "dateStart", [], "any", false, false, false, 157), "D d M Y "), "html", null, true);
echo "<br>
Auction starts at ";
// line 158
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["auctions"]) || array_key_exists("auctions", $context) ? $context["auctions"] : (function () { throw new RuntimeError('Variable "auctions" does not exist.', 158, $this->source); })()), "dateStart", [], "any", false, false, false, 158), "H:i A"), "html", null, true);
echo "<br>
<br>
<div class=\"align-self-end\">
<h4 class=\"primary-1\">Add To Calendar</h4>
<a class=\"email-icons-links align-baseline\" href=\"https://www.google.com/calendar/render?action=TEMPLATE&text=Motus+Auto+Auction&dates=<?php echo \$g_date_time_start; ?>/<?php echo \$g_date_time_end; ?>Z&details=For+details,+link+here:+<?php echo \$auction->protocol . HOST; ?>&location=19+Herman+St,+Meadowdale,+Germiston,+1614&sf=true&output=xml\" target=\"_blank\">
<picture>
<source srcset=\"";
// line 164
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/icon-gmail.webp"), "html", null, true);
echo "\" type=\"image/webp\">
<source srcset=\"";
// line 165
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/icon-gmail.png"), "html", null, true);
echo "\" type=\"image/png\">
<img src=\"";
// line 166
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/icon-gmail.png"), "html", null, true);
echo "\" class=\"img-fluid\" alt=\"Gmail\" title=\"Gmail\">
</picture>
</a>
<a class=\"email-icons-links\" href=\"<?php echo \$auction->protocol . HOST; ?>i-cal.php?from=<?php echo urlencode(\$auction->auctions_row['date_start']); ?>&till=<?php echo urlencode(\$auction->auctions_row['date_end']); ?>&id=<?php echo \$_GET['id']; ?>&details=For+details,+link here:+<?php echo \$auction->protocol . HOST; ?>\">
<picture>
<source srcset=\"";
// line 172
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/icon-outllook.webp"), "html", null, true);
echo "\" type=\"image/webp\">
<source srcset=\"";
// line 173
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/icon-outllook.png"), "html", null, true);
echo "\" type=\"image/png\">
<img src=\"";
// line 174
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/icon-outllook.png"), "html", null, true);
echo "\" class=\"img-fluid\" alt=\"Outlook\" title=\"Outlook\">
</picture>
</a>
<a class=\"email-icons-links\" href=\"<?php echo \$auction->protocol . HOST; ?>mac-cal.php?from=<?php echo urlencode(\$auction->auctions_row['date_start']); ?>&till=<?php echo urlencode(\$auction->auctions_row['date_end']); ?>&id=<?php echo \$_GET['id']; ?>&details=For+details,+link here:+<?php echo \$auction->protocol . HOST; ?>\">
<picture>
<source srcset=\"";
// line 179
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/icon-apple.webp"), "html", null, true);
echo "\" type=\"image/webp\">
<source srcset=\"";
// line 180
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/icon-apple.png"), "html", null, true);
echo "\" type=\"image/png\">
<img src=\"";
// line 181
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/icon-apple.png"), "html", null, true);
echo "\" class=\"img-fluid\" alt=\"Apple\" title=\"Apple\">
</picture>
</a>
</div>
</div>
<div class=\"col-12 col-sm-4\">
<p class=\"primary-1\" style=\"margin-bottom:12px\">Viewing Days</p>
Friday: 8:00 am - 5:00 pm<br>
Saturday: 9:00 am - 1:00 pm<br>
Monday: before the auction<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Bidding Requirements -->
<div id=\"bid-req\" class=\"tab-pane clearfix city-list <?php echo \$bidding_requirements; ?>\">
<div class=\"dlab-accordion advanced-search toggle\" id=\"accordion2\">
<div class=\"panel\">
<div class=\"row\">
<div class=\"d-none d-md-block col-md-3\">
<picture>
<source srcset=\"";
// line 208
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/img-6.webp"), "html", null, true);
echo "\" type=\"image/webp\">
<source srcset=\"";
// line 209
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/img-6.jpeg"), "html", null, true);
echo "\" type=\"image/jpeg\">
<img src=\"";
// line 210
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/img-6.jpeg"), "html", null, true);
echo "\" alt=\"Bidding Requirements\" class=\"img-fluid\">
</picture>
</div>
<div class=\"col-12 col-md-9\">
<div class=\"row auc-copy\" style=\"height:100%\">
<div class=\"col-12\">
<p class=\"primary-1\" style=\"margin-bottom:12px\">
Requirements For Bidding
</p>
<p>
<ul>
<li class=\"li-bullets\">Completed registration process</li>
<li class=\"li-bullets\">Proof of Payment of R5 000 Refundable Deposit</li>
<li class=\"li-bullets\">Proof of Identity</li>
<li class=\"li-bullets\">FICA documents</li>
</ul>
</p>
<br><br>
<a href=\"<?php echo \$auction->protocol . HOST; ?>buy/fica-requirements/\" class=\"btn-second orange-btn vbtm\">Click here for more info</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Downloads -->
<div id=\"dnld\" class=\"tab-pane clearfix city-list <?php echo \$downloads; ?>\">
<div class=\"dlab-accordion advanced-search toggle\" id=\"accordion3\">
<div class=\"panel\">
<div class=\"row\">
<div class=\"d-none d-md-block col-md-3\">
<picture>
<source srcset=\"";
// line 248
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/img-8.webp"), "html", null, true);
echo "\" type=\"image/webp\">
<source srcset=\"";
// line 249
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/img-8.jpeg"), "html", null, true);
echo "\" type=\"image/jpeg\">
<img src=\"";
// line 250
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/img-8.jpeg"), "html", null, true);
echo "\" alt=\"Downloads\" class=\"img-fluid\">
</picture>
</div>
<div class=\"col-12 col-md-9\">
<div class=\"row auc-copy\">
<div class=\"col-12\">
";
// line 256
if ((twig_get_attribute($this->env, $this->source, (isset($context["auctions"]) || array_key_exists("auctions", $context) ? $context["auctions"] : (function () { throw new RuntimeError('Variable "auctions" does not exist.', 256, $this->source); })()), "id", [], "any", false, false, false, 256) > 0)) {
// line 257
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("auction_pdf");
echo "\" class=\"btn btn-download btn-download\" style=\"margin-top:0 !important\" alt=\"Download auction list\">
<i class=\"far fa-file-pdf\"></i>
<b> Auction catalogue</b>
</a>
<br>
";
}
// line 264
echo "
<a class=\"btn btn-download btn-download\" role=\"button\" href=\"<?php echo \$auction->protocol . HOST; ?>buy/fica-requirements/\" title=\"Fica Requirements\">
<i class=\"far fa-file-pdf\"></i>
<b> FICA Requirements</b>
</a>
<br>
<a class=\"btn btn-download btn-download\" role=\"button\" href=\"<?php echo \$auction->protocol . HOST; ?>download.php?banking-details&auctions\" alt=\"Download auction list\">
<i class=\"far fa-file-pdf\"></i>
<b> Motus Auto Auctions Banking Details</b>
</a>
<br>
<a class=\"btn btn-download btn-download\" role=\"button\" href=\"<?php echo \$auction->protocol . HOST; ?>download.php?rules&auctions\" title=\"Terms & Conditions\">
<i class=\"far fa-file-pdf\"></i>
<b> Motus Auto Auctions Terms and Conditions</b>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Contact Us -->
<div id=\"con\" class=\"tab-pane clearfix city-list <?php echo \$contacts; ?>\">
<div class=\"dlab-accordion advanced-search toggle\" id=\"accordion4\">
<div class=\"panel\">
<div class=\"row\">
<div class=\"d-none d-md-block col-md-3\">
<picture>
<source srcset=\"";
// line 300
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/auc-contact.webp"), "html", null, true);
echo "\" type=\"image/webp\">
<source srcset=\"";
// line 301
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/auc-contact-lg.jpg"), "html", null, true);
echo "\" type=\"image/jpeg\">
<img src=\"";
// line 302
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/auc-contact-lg.jpg"), "html", null, true);
echo "\" alt=\"Contact Us\" class=\"img-fluid\">
</picture>
</div>
<div class=\"col-12 col-md-9\">
<div class=\"row auc-copy\">
<div class=\"col-12 col-sm-4 no-gutters-left\">
<p class=\"primary-1\" class=\"auction-con-tab-title\">Esias Van Der Westhuizen</p>
General Manager<br>
<i class=\"fas fa-phone-alt\" style=\"color: #293e6b\"></i>
<a href=\"tel:060 990 0066\">060 990 0066</a><br>
<i class=\"fas fa-envelope primary-1\"></i>
<a href=\"mailto:esias.vanderwesthuizen@motusaa.co.za\">esias.vanderwesthuizen@motusaa.co.za</a>
</div>
<div class=\"col-12 col-sm-4\">
<p class=\"primary-1\" class=\"auction-con-tab-title\">Christiaan Viviers</p>
Auction Manager<br>
<i class=\"fas fa-phone-alt\" style=\"color: #293e6b\"></i>
<a href=\"tel:082 871 7096\">082 871 7096</a><br>
<i class=\"fas fa-envelope primary-1\"></i>
<a href=\"mailto:christiaan.viviers@motusaa.co.za\">christiaan.viviers@motusaa.co.za</a>
<div class=\"auction-spacer-15\"></div>
</div>
<div class=\"col-12 col-sm-4\">
<p class=\"primary-1\" class=\"auction-con-tab-title\">Motus Auto Auctions</p>
Office<br>
<i class=\"fas fa-phone-alt primary-1\"></i>
<a href=\"tel:011 201 3700\">011 201 3700</a><br>
<i class=\"fas fa-envelope primary-1\"></i>
<a target=\"_blank\" href=\"mailto:info@motusaa.co.za\"> info@motusaa.co.za </a>
<div class=\"auction-spacer-15\"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Mail Lists -->
<div id=\"ml-list\" class=\"tab-pane clearfix city-list <?php echo \$mailing_list; ?>\">
<div class=\"dlab-accordion advanced-search toggle\" id=\"accordion5\">
<div class=\"panel\">
<div class=\"row\">
<div class=\"d-none d-md-block col-md-3\">
<picture>
<source srcset=\"";
// line 349
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/img-8.webp"), "html", null, true);
echo "\" type=\"image/webp\">
<source srcset=\"";
// line 350
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/img-8.jpeg"), "html", null, true);
echo "\" type=\"image/jpeg\">
<img src=\"";
// line 351
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/img-8.jpeg"), "html", null, true);
echo "\" alt=\"Mailing Lists\" class=\"img-fluid\">
</picture>
</div>
<div class=\"col-12 col-md-9 auc-copy\">
<p class=\"primary-1\" style=\"margin-bottom:12px\">Auction Alert</p>
<form action=\"/subscribe/auctions/thank-you/\" id=\"form\" method=\"post\">
<input type=\"hidden\" name=\"form_id\" value=\"7\" />
<table border=\"0\" cellpadding=\"2\" cellspacing=\"2\" style=\"width: 90%; font-family: arial;\">
<tr style=\"height: 28px;\">
<td style=\"padding-right:10px !important\"><input type=\"text\" class=\"form-control\" name=\"100\" id=\"name\" placeholder=\"First Name\" style=\"width: 100%;\" /></td>
<td style=\"padding-left:10px !important\"><input type=\"text\" class=\"form-control\" name=\"102\" id=\"email\" placeholder=\"Email Address\" style=\"width: 100%;\" /></td>
</tr>
<tr>
<td colspan=\"2\">
<input type=\"hidden\" name=\"Created\" id=\"Created\" value=\"<?php echo date('Y-m-d H:i:s'); ?>\" />
<input type=\"hidden\" name=\"register\" value=\"1\" />
<!-- <input type=\"hidden\" name=\"109\" value=\"1\">-->
<input type=\"checkbox\" name=\"contact_me_by_fax_only\" value=\"1\" tabindex=\"-1\" class=\"con-fax\" autocomplete=\"off\">
<input type=\"submit\" name=\"save\" value=\"Submit\" class=\"btn btn-primary ml-auto float-right\" style=\"background-color: #00bad7; color: #fff; margin-top: 14px;\" />
</td>
</tr>
</table>
</form>
</div>
</div>
</div>
</div>
</div>
<!-- Finance -->
<div id=\"fin\" class=\"tab-pane clearfix city-list <?php echo \$get_finance; ?>\">
<div class=\"dlab-accordion advanced-search toggle\" id=\"accordion6\">
<div class=\"panel\">
<div class=\"row\" style=\"height:100%\">
<div class=\"d-none d-md-block col-md-3\">
<picture>
<source srcset=\"";
// line 394
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/auc-fin.webp"), "html", null, true);
echo "\" type=\"image/webp\">
<source srcset=\"";
// line 395
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/auc-fin-lg.jpg"), "html", null, true);
echo "\" type=\"image/jpeg\">
<img src=\"";
// line 396
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/auc-fin.jpg"), "html", null, true);
echo "\" alt=\"Downloads\" class=\"img-fluid\">
</picture>
</div>
<div class=\"col-12 col-md-9 auc-copy\">
<p class=\"primary-1\" style=\"margin-bottom:12px\">Auction Finance</p>
Let us help you finance your auction car.<br><br>
<b>CALL</b><br>
Carin: <a href=\"tel:082 654 7232\"> 082 654 7232 </a>
<img src=\"";
// line 408
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/auction-finance-logo.jpg"), "html", null, true);
echo "\" style=\"position: absolute;right: 55px;top: 10px;width: 100%;max-width: 242px\">
<a href=\"https://www.auctionfinance.co.za/\" target=\"_blank\" class=\"btn-second orange-btn vbtm\" style=\"right:65px;left: auto\">Visit Auction Finance website</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Vehicles -->
<div class=\"container auction-container\">
<div class=\"tab-content\">
<div id=\"listing_list\" class=\"tab-pane active\">
<div class=\"row\">
<div class=\"col-sm-12\">
<div class=\"row\">
";
// line 434
if (twig_test_iterable((isset($context["auction_vehicles"]) || array_key_exists("auction_vehicles", $context) ? $context["auction_vehicles"] : (function () { throw new RuntimeError('Variable "auction_vehicles" does not exist.', 434, $this->source); })()))) {
// line 435
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["auction_vehicles"]) || array_key_exists("auction_vehicles", $context) ? $context["auction_vehicles"] : (function () { throw new RuntimeError('Variable "auction_vehicles" does not exist.', 435, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["auction"]) {
// line 436
echo " ";
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["auction"], "auction", [], "any", false, false, false, 436), "isOnline", [], "any", false, false, false, 436) == 1)) {
// line 437
echo " ";
$context["auctionType"] = "Timed Online Auction";
// line 438
echo " ";
} else {
// line 439
echo " ";
$context["auctionType"] = "Physical Online Auction";
// line 440
echo " ";
}
// line 441
echo " <div class=\"col-12 col-sm-3\">
<div class=\"car-model-layout-list\">
<div class=\"thumb-con img-fluid-vehicle\">
";
// line 444
$context["thumb"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["auction"], "vehicle", [], "any", false, false, false, 444), "vehicleImages", [], "any", false, false, false, 444), "first", [], "any", false, false, false, 444), "thumbName", [], "any", false, false, false, 444);
// line 445
echo " ";
if ($this->extensions['App\Twig\ImageExistsExtension']->imageExists(((("https://" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 445, $this->source); })()), "request", [], "any", false, false, false, 445), "httpHost", [], "any", false, false, false, 445)) . "/images/vehicles/") . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["auction"], "vehicle", [], "any", false, false, false, 445), "vehicleImages", [], "any", false, false, false, 445), "first", [], "any", false, false, false, 445), "thumbName", [], "any", false, false, false, 445)))) {
// line 446
echo " ";
// line 447
echo " <picture>
<source srcset=\"";
// line 448
echo twig_escape_filter($this->env, $this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("/images/vehicles/" . (isset($context["thumb"]) || array_key_exists("thumb", $context) ? $context["thumb"] : (function () { throw new RuntimeError('Variable "thumb" does not exist.', 448, $this->source); })())) . "")), "vehicle_thumb_webp"), "html", null, true);
echo "\" type=\"image/webp\">
<source srcset=\"";
// line 449
echo twig_escape_filter($this->env, $this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("/images/vehicles/" . (isset($context["thumb"]) || array_key_exists("thumb", $context) ? $context["thumb"] : (function () { throw new RuntimeError('Variable "thumb" does not exist.', 449, $this->source); })())) . "")), "vehicle_thumb_jpeg"), "html", null, true);
echo "\" type=\"image/jpeg\">
<img src=\"";
// line 450
echo twig_escape_filter($this->env, $this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("/images/vehicles/" . (isset($context["thumb"]) || array_key_exists("thumb", $context) ? $context["thumb"] : (function () { throw new RuntimeError('Variable "thumb" does not exist.', 450, $this->source); })())) . "")), "vehicle_thumb_jpeg"), "html", null, true);
echo "\"
width=\"270\" height=\"145\"
class=\"img-fluid full-width image-preview\"
alt=\"";
// line 453
echo twig_escape_filter($this->env, ((((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["auction"], "vehicle", [], "any", false, false, false, 453), "year", [], "any", false, false, false, 453) . " ") . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["auction"], "vehicle", [], "any", false, false, false, 453), "make", [], "any", false, false, false, 453)) . " ") . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["auction"], "vehicle", [], "any", false, false, false, 453), "model", [], "any", false, false, false, 453)), "html", null, true);
echo "\"
>
</picture>
";
// line 457
echo " ";
} elseif ($this->extensions['App\Twig\ImageExistsExtension']->imageExists(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["auction"], "vehicle", [], "any", false, false, false, 457), "vehicleImages", [], "any", false, false, false, 457), "first", [], "any", false, false, false, 457), "thumbPath", [], "any", false, false, false, 457))) {
// line 458
echo " <img
src=\"";
// line 459
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["auction"], "vehicle", [], "any", false, false, false, 459), "vehicleImages", [], "any", false, false, false, 459), "first", [], "any", false, false, false, 459), "thumbPath", [], "any", false, false, false, 459), "html", null, true);
echo "\"
class=\"img-fluid full-width image-preview\"
alt=\"image\"
>
";
} else {
// line 464
echo " <img
src=\"";
// line 465
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/no-img-1.jpg"), "html", null, true);
echo "\"
class=\"img-fluid full-width image-preview img-max-height\"
alt=\"Image unavailable\"
>
";
}
// line 470
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("vehicle", ["year" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 472
$context["auction"], "vehicle", [], "any", false, false, false, 472), "year", [], "any", false, false, false, 472), "make" => twig_urlencode_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 473
$context["auction"], "vehicle", [], "any", false, false, false, 473), "make", [], "any", false, false, false, 473)), "model" => twig_urlencode_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 474
$context["auction"], "vehicle", [], "any", false, false, false, 474), "model", [], "any", false, false, false, 474)), "id" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 475
$context["auction"], "vehicle", [], "any", false, false, false, 475), "id", [], "any", false, false, false, 475)]), "html", null, true);
// line 476
echo "\"
class=\"overlay-auc\">
<div class=\"text\">
View Vehicle Details<br>
<span class=\"preview-icon\">
<i class=\"fa fa-car\" style=\"font-size:60px\"></i>
</span>
<br>
";
// line 484
echo twig_escape_filter($this->env, (((isset($context["auctionType"]) || array_key_exists("auctionType", $context) ? $context["auctionType"] : (function () { throw new RuntimeError('Variable "auctionType" does not exist.', 484, $this->source); })()) . " ") . twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["auction"], "auction", [], "any", false, false, false, 484), "dateStart", [], "any", false, false, false, 484), "l j F Y H:ia")), "html", null, true);
echo "
</div>
</a>
</div>
<div class=\"view\" style=\"padding:15px;padding-top:8px\">
<div class=\"row\">
<h5 class=\"title ellipsis col-12\">
<a href=\"";
// line 492
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("vehicle", ["year" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 494
$context["auction"], "vehicle", [], "any", false, false, false, 494), "year", [], "any", false, false, false, 494), "make" => twig_urlencode_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 495
$context["auction"], "vehicle", [], "any", false, false, false, 495), "make", [], "any", false, false, false, 495)), "model" => twig_urlencode_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 496
$context["auction"], "vehicle", [], "any", false, false, false, 496), "model", [], "any", false, false, false, 496)), "id" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 497
$context["auction"], "vehicle", [], "any", false, false, false, 497), "id", [], "any", false, false, false, 497)]), "html", null, true);
// line 498
echo "\"
class=\"text-light-black vehicle-title\">
";
// line 500
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["auction"], "vehicle", [], "any", false, false, false, 500), "year", [], "any", false, false, false, 500) . " ") . twig_upper_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["auction"], "vehicle", [], "any", false, false, false, 500), "make", [], "any", false, false, false, 500))), "html", null, true);
echo "
</a>
<br>
<a href=\"";
// line 503
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("vehicle", ["year" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 505
$context["auction"], "vehicle", [], "any", false, false, false, 505), "year", [], "any", false, false, false, 505), "make" => twig_urlencode_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 506
$context["auction"], "vehicle", [], "any", false, false, false, 506), "make", [], "any", false, false, false, 506)), "model" => twig_urlencode_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 507
$context["auction"], "vehicle", [], "any", false, false, false, 507), "model", [], "any", false, false, false, 507)), "id" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 508
$context["auction"], "vehicle", [], "any", false, false, false, 508), "id", [], "any", false, false, false, 508)]), "html", null, true);
// line 509
echo "\"
class=\"text-light-black vehicle-title variant\">
";
// line 511
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["auction"], "vehicle", [], "any", false, false, false, 511), "variant", [], "any", false, false, false, 511), "html", null, true);
echo "
</a>
</h5>
</div>
<div class=\"row\">
<div class=\"col-6 no-gutters-right\">
<div class=\"ellipsis\">
<b>Lot no:</b> ";
// line 518
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["auction"], "vehicle", [], "any", false, false, false, 518), "vehicleMotusData", [], "any", false, false, false, 518), "lotNo", [], "any", false, false, false, 518), "html", null, true);
echo "
</div>
</div>
<div class=\"col-6 no-gutters-left no-gutters-right\">
<div class=\"ellipsis\">
<b title=\"Market Guide Value\">MGV:</b> R";
// line 523
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["auction"], "vehicle", [], "any", false, false, false, 523), "vehicleMotusData", [], "any", false, false, false, 523), "mgv", [], "any", false, false, false, 523)), "html", null, true);
echo "
</div>
</div>
<div class=\"col-6 no-gutters-right\">
<div class=\"ellipsis\">
<b>Reg:</b> ";
// line 528
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["auction"], "vehicle", [], "any", false, false, false, 528), "regNo", [], "any", false, false, false, 528), "html", null, true);
echo "
</div>
</div>
<div class=\"col-6 no-gutters-right no-gutters-left\">
<div class=\"ellipsis\">
";
// line 533
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["auction"], "vehicle", [], "any", false, false, false, 533), "mileage", [], "any", false, false, false, 533) > 0)) {
// line 534
echo " <b>Mileage:</b> ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["auction"], "vehicle", [], "any", false, false, false, 534), "mileage", [], "any", false, false, false, 534), "html", null, true);
echo "km
";
} else {
// line 536
echo " N/A
";
}
// line 538
echo " </div>
</div>
</div>
</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['auction'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 545
echo "
<div class=\"col-12\">
<!-- pagination -->
";
// line 548
$context["_currentPage"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 548, $this->source); })()), "request", [], "any", false, false, false, 548), "query", [], "any", false, false, false, 548), "get", [0 => "p"], "method", false, false, false, 548)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 548, $this->source); })()), "request", [], "any", false, false, false, 548), "query", [], "any", false, false, false, 548), "get", [0 => "p"], "method", false, false, false, 548)) : (1));
// line 549
echo " ";
$context["_currentRoute"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 549, $this->source); })()), "request", [], "any", false, false, false, 549), "attributes", [], "any", false, false, false, 549), "get", [0 => "_route"], "method", false, false, false, 549);
// line 550
echo " ";
$context["_currentParams"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 550, $this->source); })()), "request", [], "any", false, false, false, 550), "query", [], "any", false, false, false, 550), "all", [], "any", false, false, false, 550);
// line 551
echo " ";
if (((isset($context["lastPage"]) || array_key_exists("lastPage", $context) ? $context["lastPage"] : (function () { throw new RuntimeError('Variable "lastPage" does not exist.', 551, $this->source); })()) > 1)) {
// line 552
echo " <div class=\"col-12\">
<nav class=\"custom-pagination\">
<ul class=\"pagination\">
";
// line 555
if (((isset($context["_currentPage"]) || array_key_exists("_currentPage", $context) ? $context["_currentPage"] : (function () { throw new RuntimeError('Variable "_currentPage" does not exist.', 555, $this->source); })()) > 1)) {
// line 556
echo " <li class=\"page-item\"><a class=\"page-link\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath((isset($context["_currentRoute"]) || array_key_exists("_currentRoute", $context) ? $context["_currentRoute"] : (function () { throw new RuntimeError('Variable "_currentRoute" does not exist.', 556, $this->source); })()), twig_array_merge((isset($context["_currentParams"]) || array_key_exists("_currentParams", $context) ? $context["_currentParams"] : (function () { throw new RuntimeError('Variable "_currentParams" does not exist.', 556, $this->source); })()), ["p" => ((isset($context["_currentPage"]) || array_key_exists("_currentPage", $context) ? $context["_currentPage"] : (function () { throw new RuntimeError('Variable "_currentPage" does not exist.', 556, $this->source); })()) - 1)])), "html", null, true);
echo "\">Previous</a></li>
";
}
// line 558
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(1, (isset($context["lastPage"]) || array_key_exists("lastPage", $context) ? $context["lastPage"] : (function () { throw new RuntimeError('Variable "lastPage" does not exist.', 558, $this->source); })())));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 559
echo " <li class=\"page-item ";
if (($context["i"] == (isset($context["_currentPage"]) || array_key_exists("_currentPage", $context) ? $context["_currentPage"] : (function () { throw new RuntimeError('Variable "_currentPage" does not exist.', 559, $this->source); })()))) {
echo "active";
}
echo "\"><a class=\"page-link\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath((isset($context["_currentRoute"]) || array_key_exists("_currentRoute", $context) ? $context["_currentRoute"] : (function () { throw new RuntimeError('Variable "_currentRoute" does not exist.', 559, $this->source); })()), twig_array_merge((isset($context["_currentParams"]) || array_key_exists("_currentParams", $context) ? $context["_currentParams"] : (function () { throw new RuntimeError('Variable "_currentParams" does not exist.', 559, $this->source); })()), ["p" => $context["i"]])), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $context["i"], "html", null, true);
echo "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 561
echo " ";
if (((isset($context["_currentPage"]) || array_key_exists("_currentPage", $context) ? $context["_currentPage"] : (function () { throw new RuntimeError('Variable "_currentPage" does not exist.', 561, $this->source); })()) < (isset($context["lastPage"]) || array_key_exists("lastPage", $context) ? $context["lastPage"] : (function () { throw new RuntimeError('Variable "lastPage" does not exist.', 561, $this->source); })()))) {
// line 562
echo " <li class=\"page-item\"><a class=\"page-link\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath((isset($context["_currentRoute"]) || array_key_exists("_currentRoute", $context) ? $context["_currentRoute"] : (function () { throw new RuntimeError('Variable "_currentRoute" does not exist.', 562, $this->source); })()), twig_array_merge((isset($context["_currentParams"]) || array_key_exists("_currentParams", $context) ? $context["_currentParams"] : (function () { throw new RuntimeError('Variable "_currentParams" does not exist.', 562, $this->source); })()), ["p" => ((isset($context["_currentPage"]) || array_key_exists("_currentPage", $context) ? $context["_currentPage"] : (function () { throw new RuntimeError('Variable "_currentPage" does not exist.', 562, $this->source); })()) + 1)])), "html", null, true);
echo "\">Next</a></li>
";
}
// line 564
echo " </ul>
</nav>
</div>
";
}
// line 568
echo " </div>
";
} else {
// line 571
echo " <div class=\"col-12 text-center\">
<?php echo \$auction->vehicles_row; ?>
</div>
";
}
// line 575
echo " </div>
<div class=\"row\">
<div class=\"col-12 padding-btm-20\">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<iframe allowfullscreen=\"\" frameborder=\"0\" width=\"100%\" height=\"450\" src=\"https://www.google.com/maps/embed/v1/place?key=<?php echo MAPS_API_KEY; ?>&q=Imperial+Auto+Auctions&zoom=16\"></iframe>
</section>
";
// line 592
$this->displayParentBlock("layout", $context, $blocks);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 596
public function block_javascripts($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", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 597
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "frontend/auctions.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1049 => 597, 1039 => 596, 1026 => 592, 1007 => 575, 1001 => 571, 996 => 568, 990 => 564, 984 => 562, 981 => 561, 966 => 559, 961 => 558, 955 => 556, 953 => 555, 948 => 552, 945 => 551, 942 => 550, 939 => 549, 937 => 548, 932 => 545, 920 => 538, 916 => 536, 910 => 534, 908 => 533, 900 => 528, 892 => 523, 884 => 518, 874 => 511, 870 => 509, 868 => 508, 867 => 507, 866 => 506, 865 => 505, 864 => 503, 858 => 500, 854 => 498, 852 => 497, 851 => 496, 850 => 495, 849 => 494, 848 => 492, 837 => 484, 827 => 476, 825 => 475, 824 => 474, 823 => 473, 822 => 472, 820 => 470, 812 => 465, 809 => 464, 801 => 459, 798 => 458, 795 => 457, 789 => 453, 783 => 450, 779 => 449, 775 => 448, 772 => 447, 770 => 446, 767 => 445, 765 => 444, 760 => 441, 757 => 440, 754 => 439, 751 => 438, 748 => 437, 745 => 436, 740 => 435, 738 => 434, 709 => 408, 694 => 396, 690 => 395, 686 => 394, 640 => 351, 636 => 350, 632 => 349, 582 => 302, 578 => 301, 574 => 300, 536 => 264, 525 => 257, 523 => 256, 514 => 250, 510 => 249, 506 => 248, 465 => 210, 461 => 209, 457 => 208, 427 => 181, 423 => 180, 419 => 179, 411 => 174, 407 => 173, 403 => 172, 394 => 166, 390 => 165, 386 => 164, 377 => 158, 373 => 157, 336 => 123, 332 => 122, 328 => 121, 267 => 62, 261 => 58, 255 => 55, 248 => 52, 245 => 51, 242 => 50, 239 => 49, 236 => 48, 234 => 47, 231 => 46, 229 => 45, 216 => 39, 207 => 32, 197 => 31, 187 => 29, 177 => 28, 164 => 25, 154 => 24, 142 => 22, 138 => 21, 134 => 20, 130 => 19, 125 => 17, 121 => 16, 117 => 15, 113 => 14, 106 => 11, 104 => 9, 102 => 8, 99 => 7, 89 => 6, 76 => 4, 73 => 3, 63 => 2, 40 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'layout.html.twig' %}
{% block meta_title %}
{% set metaTitle = meta.metaTitle %}
{{ metaTitle }}
{% endblock %}
{% block meta_decription %}
{% set metaTitle = meta.metaTitle %}
{%
set metaDescription = meta.metaDescription
%}
<meta name=\"description\" content=\"{{ metaDescription }}\">
<meta name=\"twitter:card\" content=\"summary\" />
<meta name=\"twitter:site\" content=\"@motusaa\" />
<meta name=\"twitter:title\" content=\"{{ metaTitle }}\" />
<meta name=\"twitter:description\" content=\"{{ metaDescription }}\" />
<meta name=\"twitter:image\" content=\"{{ app.request.uri ~ 'images/banners' ~ meta.image }}\" />
<meta name=\"twitter:url\" content=\"{{ app.request.uri }}\" />
<meta name=\"og:image\" content=\"{{ app.request.uri ~ 'images/banners' ~ meta.image }}\" />
<meta name=\"og:title\" content=\"{{ metaTitle }}\" />
<meta name=\"og:description\" content=\"{{ metaDescription }}\" />
<meta name=\"og:url\" content=\"{{ app.request.uri }}\" />
{% endblock %}
{% block stylesheets %}
{{parent()}}
{% endblock %}
{% block slider %}
{% endblock %}
{% block layout %}
<section class=\"section-padding-100 listing-with-map listing-with-map-3\">
<div class=\"container-fluid\">
<div class=\"row\">
<div class=\"col-12\" style=\"padding-bottom:15px\">
<a href=\"{{ app.request.uri }}/auctions/\">Home</a> » <a href=\"{{ app.request.uri }}/auctions/\" style=\"color:#e2003c\">Auction {{ auctions.id }}</a>
</div>
</div>
<div class=\"col-12 text-center primary-1\">
<h1>
{% if auctions.id > 0 %}
<span class=\"d-none d-md-block\">
{% if auctions.isOnline == 1 %}
{% set auctionType = 'Timed Online Auction' %}
{% else %}
{% set auctionType = 'Ohysical Online Auction' %}
{% endif %}
{{ auctionType ~ ' ' ~ auctions.dateStart|date('l j F Y H:ia') }}
</span>
<span class=\"d-block d-md-none auc-header\">
{{ auctionType ~ ' ' ~ auctions.dateStart|date('l j F Y H:ia') }}
</span>
{% else %}
<span class=\"auc-header\">
Auction Closed
</span>
{% endif %}
</h1>
</div>
<div class=\"col-12\" data-animation=\"scaleIn\" style=\"padding-left: 0;padding-right: 0;\">
<div class=\"multisteps-form__content\">
<div class=\"clearfix\">
<ul class=\"nav nav-tabs m-b10\">
<li role=\"presentation\" class=\"namv-item auc-tabs active\" id=\"auction-details\">
<a data-toggle=\"tab\" class=\"nav-link <?php echo \$auction_details; ?>\" aria-controls=\"auc-det\" href=\"#auc-det\">
<h4 class=\"m-btm-0\">Auction Details</h4>
</a>
</li>
<li role=\"presentation\" class=\"namv-item auc-tabs <?php echo \$bidding_requirements; ?>\" id=\"bidding-requirements\">
<a data-toggle=\"tab\" class=\"nav-link <?php echo \$bidding_requirements; ?>\" aria-controls=\"bid-req\" href=\"#bid-req\">
<h4 class=\"m-btm-0\">
Bidding Requirements
</h4>
</a>
</li>
<li role=\"presentation\" class=\"namv-item auc-tabs <?php echo \$downloads; ?>\" id=\"download\">
<a data-toggle=\"tab\" class=\"nav-link <?php echo \$downloads; ?>\" aria-controls=\"dnld\" href=\"#dnld\">
<h4 class=\"m-btm-0\">Downloads</h4>
</a>
</li>
<li role=\"presentation\" class=\"namv-item auc-tabs <?php echo \$contacts; ?>\" id=\"contact\">
<a data-toggle=\"tab\" class=\"nav-link <?php echo \$contacts; ?>\" aria-controls=\"contact\" href=\"#con\">
<h4 class=\"m-btm-0\">Contacts</h4>
</a>
</li>
<li role=\"presentation\" class=\"namv-item auc-tabs <?php echo \$mailing_list; ?>\" id=\"mail-list\">
<a data-toggle=\"tab\" class=\"nav-link <?php echo \$mailing_list; ?>\" aria-controls=\"mail-list\" href=\"#ml-list\">
<h4 class=\"m-btm-0\">Join our Mailing List</h4>
</a>
</li>
<li role=\"presentation\" class=\"namv-item auc-tabs <?php echo \$get_finance; ?>\" id=\"finance\">
<a data-toggle=\"tab\" class=\"nav-link <?php echo \$get_finance; ?>\" aria-controls=\"finance\" href=\"#fin\">
<h4 class=\"m-btm-0\">Get Auction Finance</h4>
</a>
</li>
<li role=\"presentation\" class=\"namv-item auc-tabs auc-rester-tab\" id=\"finance\">
<a class=\"nav-link\" target=\"_blank\" href=\"<?php echo \$reg_url; ?>\">
<h4 class=\"m-btm-0\">Register for this auction</h4>
</a>
</li>
</ul>
<div class=\"dlab-tabs\">
<div class=\"tab-content\">
<!-- Auction Details -->
<div id=\"auc-det\" class=\"tab-pane clearfix city-list active\">
<div class=\"dlab-accordion advanced-search toggle\" id=\"accordion1\">
<div class=\"panel\">
<div class=\"row\">
<div class=\"d-none d-md-block col-md-3\">
<picture>
<source srcset=\"{{ asset('images/img-5.jpeg') }}\" type=\"image/webp\">
<source srcset=\"{{ asset('images/img-5.jpeg') }}\" type=\"image/jpeg\">
<img src=\"{{ asset('images/img-5.jpeg') }}\" alt=\"Auction Details\" class=\"img-fluid\">
</picture>
</div>
<div class=\"col-12 col-md-9\">
<div class=\"row auc-copy\" style=\"height:100%\">
<div class=\"col-12 col-sm-4\">
<p class=\"primary-1\" style=\"margin-bottom:12px\">Venue</p>
Motus Auto Auctions<br>
19 Herman Road, Meadowdale<br>
Next to Makro Germiston<br>
<script>
var x = document.getElementById(\"demo\");
function getLocation() {
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(showPosition);
} else {
x.innerHTML = \"Geolocation is not supported by this browser.\";
}
}
function showPosition(position) {
var url = 'http://maps.google.com/maps?saddr=&daddr=19 Herman Road, Meadowdale';
window.open(url, \"_blank\");
}
</script>
<input type=\"hidden\" class=\"form-control\" name=\"saddr\" id=\"saddr\" value=\"\">
<input type=\"hidden\" class=\"form-control\" value=\"19 Herman Road, Meadowdale\" name=\"daddr\">
<input type=\"submit\" target=\"_blank\" value=\"Get Directions\" class=\"btn-second orange-btn vbtm\" onclick=\"getLocation()\">
</div>
<div class=\"col-12 col-sm-4\">
<p class=\"primary-1\" style=\"margin-bottom:12px\">Date & Time</p>
{{ auctions.dateStart|date('D d M Y ') }}<br>
Auction starts at {{ auctions.dateStart|date('H:i A') }}<br>
<br>
<div class=\"align-self-end\">
<h4 class=\"primary-1\">Add To Calendar</h4>
<a class=\"email-icons-links align-baseline\" href=\"https://www.google.com/calendar/render?action=TEMPLATE&text=Motus+Auto+Auction&dates=<?php echo \$g_date_time_start; ?>/<?php echo \$g_date_time_end; ?>Z&details=For+details,+link+here:+<?php echo \$auction->protocol . HOST; ?>&location=19+Herman+St,+Meadowdale,+Germiston,+1614&sf=true&output=xml\" target=\"_blank\">
<picture>
<source srcset=\"{{ asset('images/icon-gmail.webp') }}\" type=\"image/webp\">
<source srcset=\"{{ asset('images/icon-gmail.png') }}\" type=\"image/png\">
<img src=\"{{ asset('images/icon-gmail.png') }}\" class=\"img-fluid\" alt=\"Gmail\" title=\"Gmail\">
</picture>
</a>
<a class=\"email-icons-links\" href=\"<?php echo \$auction->protocol . HOST; ?>i-cal.php?from=<?php echo urlencode(\$auction->auctions_row['date_start']); ?>&till=<?php echo urlencode(\$auction->auctions_row['date_end']); ?>&id=<?php echo \$_GET['id']; ?>&details=For+details,+link here:+<?php echo \$auction->protocol . HOST; ?>\">
<picture>
<source srcset=\"{{ asset('images/icon-outllook.webp') }}\" type=\"image/webp\">
<source srcset=\"{{ asset('images/icon-outllook.png') }}\" type=\"image/png\">
<img src=\"{{ asset('images/icon-outllook.png') }}\" class=\"img-fluid\" alt=\"Outlook\" title=\"Outlook\">
</picture>
</a>
<a class=\"email-icons-links\" href=\"<?php echo \$auction->protocol . HOST; ?>mac-cal.php?from=<?php echo urlencode(\$auction->auctions_row['date_start']); ?>&till=<?php echo urlencode(\$auction->auctions_row['date_end']); ?>&id=<?php echo \$_GET['id']; ?>&details=For+details,+link here:+<?php echo \$auction->protocol . HOST; ?>\">
<picture>
<source srcset=\"{{ asset('images/icon-apple.webp') }}\" type=\"image/webp\">
<source srcset=\"{{ asset('images/icon-apple.png') }}\" type=\"image/png\">
<img src=\"{{ asset('images/icon-apple.png') }}\" class=\"img-fluid\" alt=\"Apple\" title=\"Apple\">
</picture>
</a>
</div>
</div>
<div class=\"col-12 col-sm-4\">
<p class=\"primary-1\" style=\"margin-bottom:12px\">Viewing Days</p>
Friday: 8:00 am - 5:00 pm<br>
Saturday: 9:00 am - 1:00 pm<br>
Monday: before the auction<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Bidding Requirements -->
<div id=\"bid-req\" class=\"tab-pane clearfix city-list <?php echo \$bidding_requirements; ?>\">
<div class=\"dlab-accordion advanced-search toggle\" id=\"accordion2\">
<div class=\"panel\">
<div class=\"row\">
<div class=\"d-none d-md-block col-md-3\">
<picture>
<source srcset=\"{{ asset('images/img-6.webp') }}\" type=\"image/webp\">
<source srcset=\"{{ asset('images/img-6.jpeg') }}\" type=\"image/jpeg\">
<img src=\"{{ asset('images/img-6.jpeg') }}\" alt=\"Bidding Requirements\" class=\"img-fluid\">
</picture>
</div>
<div class=\"col-12 col-md-9\">
<div class=\"row auc-copy\" style=\"height:100%\">
<div class=\"col-12\">
<p class=\"primary-1\" style=\"margin-bottom:12px\">
Requirements For Bidding
</p>
<p>
<ul>
<li class=\"li-bullets\">Completed registration process</li>
<li class=\"li-bullets\">Proof of Payment of R5 000 Refundable Deposit</li>
<li class=\"li-bullets\">Proof of Identity</li>
<li class=\"li-bullets\">FICA documents</li>
</ul>
</p>
<br><br>
<a href=\"<?php echo \$auction->protocol . HOST; ?>buy/fica-requirements/\" class=\"btn-second orange-btn vbtm\">Click here for more info</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Downloads -->
<div id=\"dnld\" class=\"tab-pane clearfix city-list <?php echo \$downloads; ?>\">
<div class=\"dlab-accordion advanced-search toggle\" id=\"accordion3\">
<div class=\"panel\">
<div class=\"row\">
<div class=\"d-none d-md-block col-md-3\">
<picture>
<source srcset=\"{{ asset('images/img-8.webp') }}\" type=\"image/webp\">
<source srcset=\"{{ asset('images/img-8.jpeg') }}\" type=\"image/jpeg\">
<img src=\"{{ asset('images/img-8.jpeg') }}\" alt=\"Downloads\" class=\"img-fluid\">
</picture>
</div>
<div class=\"col-12 col-md-9\">
<div class=\"row auc-copy\">
<div class=\"col-12\">
{% if auctions.id > 0 %}
<a href=\"{{ path('auction_pdf') }}\" class=\"btn btn-download btn-download\" style=\"margin-top:0 !important\" alt=\"Download auction list\">
<i class=\"far fa-file-pdf\"></i>
<b> Auction catalogue</b>
</a>
<br>
{% endif %}
<a class=\"btn btn-download btn-download\" role=\"button\" href=\"<?php echo \$auction->protocol . HOST; ?>buy/fica-requirements/\" title=\"Fica Requirements\">
<i class=\"far fa-file-pdf\"></i>
<b> FICA Requirements</b>
</a>
<br>
<a class=\"btn btn-download btn-download\" role=\"button\" href=\"<?php echo \$auction->protocol . HOST; ?>download.php?banking-details&auctions\" alt=\"Download auction list\">
<i class=\"far fa-file-pdf\"></i>
<b> Motus Auto Auctions Banking Details</b>
</a>
<br>
<a class=\"btn btn-download btn-download\" role=\"button\" href=\"<?php echo \$auction->protocol . HOST; ?>download.php?rules&auctions\" title=\"Terms & Conditions\">
<i class=\"far fa-file-pdf\"></i>
<b> Motus Auto Auctions Terms and Conditions</b>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Contact Us -->
<div id=\"con\" class=\"tab-pane clearfix city-list <?php echo \$contacts; ?>\">
<div class=\"dlab-accordion advanced-search toggle\" id=\"accordion4\">
<div class=\"panel\">
<div class=\"row\">
<div class=\"d-none d-md-block col-md-3\">
<picture>
<source srcset=\"{{ asset('images/auc-contact.webp') }}\" type=\"image/webp\">
<source srcset=\"{{ asset('images/auc-contact-lg.jpg') }}\" type=\"image/jpeg\">
<img src=\"{{ asset('images/auc-contact-lg.jpg') }}\" alt=\"Contact Us\" class=\"img-fluid\">
</picture>
</div>
<div class=\"col-12 col-md-9\">
<div class=\"row auc-copy\">
<div class=\"col-12 col-sm-4 no-gutters-left\">
<p class=\"primary-1\" class=\"auction-con-tab-title\">Esias Van Der Westhuizen</p>
General Manager<br>
<i class=\"fas fa-phone-alt\" style=\"color: #293e6b\"></i>
<a href=\"tel:060 990 0066\">060 990 0066</a><br>
<i class=\"fas fa-envelope primary-1\"></i>
<a href=\"mailto:esias.vanderwesthuizen@motusaa.co.za\">esias.vanderwesthuizen@motusaa.co.za</a>
</div>
<div class=\"col-12 col-sm-4\">
<p class=\"primary-1\" class=\"auction-con-tab-title\">Christiaan Viviers</p>
Auction Manager<br>
<i class=\"fas fa-phone-alt\" style=\"color: #293e6b\"></i>
<a href=\"tel:082 871 7096\">082 871 7096</a><br>
<i class=\"fas fa-envelope primary-1\"></i>
<a href=\"mailto:christiaan.viviers@motusaa.co.za\">christiaan.viviers@motusaa.co.za</a>
<div class=\"auction-spacer-15\"></div>
</div>
<div class=\"col-12 col-sm-4\">
<p class=\"primary-1\" class=\"auction-con-tab-title\">Motus Auto Auctions</p>
Office<br>
<i class=\"fas fa-phone-alt primary-1\"></i>
<a href=\"tel:011 201 3700\">011 201 3700</a><br>
<i class=\"fas fa-envelope primary-1\"></i>
<a target=\"_blank\" href=\"mailto:info@motusaa.co.za\"> info@motusaa.co.za </a>
<div class=\"auction-spacer-15\"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Mail Lists -->
<div id=\"ml-list\" class=\"tab-pane clearfix city-list <?php echo \$mailing_list; ?>\">
<div class=\"dlab-accordion advanced-search toggle\" id=\"accordion5\">
<div class=\"panel\">
<div class=\"row\">
<div class=\"d-none d-md-block col-md-3\">
<picture>
<source srcset=\"{{ asset('images/img-8.webp') }}\" type=\"image/webp\">
<source srcset=\"{{ asset('images/img-8.jpeg') }}\" type=\"image/jpeg\">
<img src=\"{{ asset('images/img-8.jpeg') }}\" alt=\"Mailing Lists\" class=\"img-fluid\">
</picture>
</div>
<div class=\"col-12 col-md-9 auc-copy\">
<p class=\"primary-1\" style=\"margin-bottom:12px\">Auction Alert</p>
<form action=\"/subscribe/auctions/thank-you/\" id=\"form\" method=\"post\">
<input type=\"hidden\" name=\"form_id\" value=\"7\" />
<table border=\"0\" cellpadding=\"2\" cellspacing=\"2\" style=\"width: 90%; font-family: arial;\">
<tr style=\"height: 28px;\">
<td style=\"padding-right:10px !important\"><input type=\"text\" class=\"form-control\" name=\"100\" id=\"name\" placeholder=\"First Name\" style=\"width: 100%;\" /></td>
<td style=\"padding-left:10px !important\"><input type=\"text\" class=\"form-control\" name=\"102\" id=\"email\" placeholder=\"Email Address\" style=\"width: 100%;\" /></td>
</tr>
<tr>
<td colspan=\"2\">
<input type=\"hidden\" name=\"Created\" id=\"Created\" value=\"<?php echo date('Y-m-d H:i:s'); ?>\" />
<input type=\"hidden\" name=\"register\" value=\"1\" />
<!-- <input type=\"hidden\" name=\"109\" value=\"1\">-->
<input type=\"checkbox\" name=\"contact_me_by_fax_only\" value=\"1\" tabindex=\"-1\" class=\"con-fax\" autocomplete=\"off\">
<input type=\"submit\" name=\"save\" value=\"Submit\" class=\"btn btn-primary ml-auto float-right\" style=\"background-color: #00bad7; color: #fff; margin-top: 14px;\" />
</td>
</tr>
</table>
</form>
</div>
</div>
</div>
</div>
</div>
<!-- Finance -->
<div id=\"fin\" class=\"tab-pane clearfix city-list <?php echo \$get_finance; ?>\">
<div class=\"dlab-accordion advanced-search toggle\" id=\"accordion6\">
<div class=\"panel\">
<div class=\"row\" style=\"height:100%\">
<div class=\"d-none d-md-block col-md-3\">
<picture>
<source srcset=\"{{ asset('images/auc-fin.webp') }}\" type=\"image/webp\">
<source srcset=\"{{ asset('images/auc-fin-lg.jpg') }}\" type=\"image/jpeg\">
<img src=\"{{ asset('images/auc-fin.jpg') }}\" alt=\"Downloads\" class=\"img-fluid\">
</picture>
</div>
<div class=\"col-12 col-md-9 auc-copy\">
<p class=\"primary-1\" style=\"margin-bottom:12px\">Auction Finance</p>
Let us help you finance your auction car.<br><br>
<b>CALL</b><br>
Carin: <a href=\"tel:082 654 7232\"> 082 654 7232 </a>
<img src=\"{{ asset('images/auction-finance-logo.jpg') }}\" style=\"position: absolute;right: 55px;top: 10px;width: 100%;max-width: 242px\">
<a href=\"https://www.auctionfinance.co.za/\" target=\"_blank\" class=\"btn-second orange-btn vbtm\" style=\"right:65px;left: auto\">Visit Auction Finance website</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Vehicles -->
<div class=\"container auction-container\">
<div class=\"tab-content\">
<div id=\"listing_list\" class=\"tab-pane active\">
<div class=\"row\">
<div class=\"col-sm-12\">
<div class=\"row\">
{% if auction_vehicles is iterable %}
{% for auction in auction_vehicles %}
{% if auction.auction.isOnline == 1 %}
{% set auctionType = 'Timed Online Auction' %}
{% else %}
{% set auctionType = 'Physical Online Auction' %}
{% endif %}
<div class=\"col-12 col-sm-3\">
<div class=\"car-model-layout-list\">
<div class=\"thumb-con img-fluid-vehicle\">
{% set thumb = auction.vehicle.vehicleImages.first.thumbName %}
{% if image_exists('https://' ~ app.request.httpHost ~ '/images/vehicles/' ~ auction.vehicle.vehicleImages.first.thumbName) %}
{% lazyload %}
<picture>
<source srcset=\"{{ asset('/images/vehicles/' ~ thumb ~ '') | imagine_filter('vehicle_thumb_webp') }}\" type=\"image/webp\">
<source srcset=\"{{ asset('/images/vehicles/' ~ thumb ~ '') | imagine_filter('vehicle_thumb_jpeg') }}\" type=\"image/jpeg\">
<img src=\"{{ asset('/images/vehicles/' ~ thumb ~ '') | imagine_filter('vehicle_thumb_jpeg') }}\"
width=\"270\" height=\"145\"
class=\"img-fluid full-width image-preview\"
alt=\"{{ auction.vehicle.year ~ ' ' ~ auction.vehicle.make ~ ' ' ~ auction.vehicle.model }}\"
>
</picture>
{% endlazyload %}
{% elseif image_exists(auction.vehicle.vehicleImages.first.thumbPath) %}
<img
src=\"{{ auction.vehicle.vehicleImages.first.thumbPath }}\"
class=\"img-fluid full-width image-preview\"
alt=\"image\"
>
{% else %}
<img
src=\"{{ asset('images/no-img-1.jpg') }}\"
class=\"img-fluid full-width image-preview img-max-height\"
alt=\"Image unavailable\"
>
{% endif %}
<a href=\"{{ path('vehicle',
{
'year':auction.vehicle.year,
'make':auction.vehicle.make|url_encode,
'model':auction.vehicle.model|url_encode,
'id':auction.vehicle.id
} ) }}\"
class=\"overlay-auc\">
<div class=\"text\">
View Vehicle Details<br>
<span class=\"preview-icon\">
<i class=\"fa fa-car\" style=\"font-size:60px\"></i>
</span>
<br>
{{ auctionType ~ ' ' ~ auction.auction.dateStart|date('l j F Y H:ia') }}
</div>
</a>
</div>
<div class=\"view\" style=\"padding:15px;padding-top:8px\">
<div class=\"row\">
<h5 class=\"title ellipsis col-12\">
<a href=\"{{ path('vehicle',
{
'year':auction.vehicle.year,
'make':auction.vehicle.make|url_encode,
'model':auction.vehicle.model|url_encode,
'id':auction.vehicle.id
} ) }}\"
class=\"text-light-black vehicle-title\">
{{ auction.vehicle.year ~ ' ' ~ auction.vehicle.make|upper }}
</a>
<br>
<a href=\"{{ path('vehicle',
{
'year':auction.vehicle.year,
'make':auction.vehicle.make|url_encode,
'model':auction.vehicle.model|url_encode,
'id':auction.vehicle.id
} ) }}\"
class=\"text-light-black vehicle-title variant\">
{{ auction.vehicle.variant }}
</a>
</h5>
</div>
<div class=\"row\">
<div class=\"col-6 no-gutters-right\">
<div class=\"ellipsis\">
<b>Lot no:</b> {{ auction.vehicle.vehicleMotusData.lotNo }}
</div>
</div>
<div class=\"col-6 no-gutters-left no-gutters-right\">
<div class=\"ellipsis\">
<b title=\"Market Guide Value\">MGV:</b> R{{ auction.vehicle.vehicleMotusData.mgv|number_format }}
</div>
</div>
<div class=\"col-6 no-gutters-right\">
<div class=\"ellipsis\">
<b>Reg:</b> {{ auction.vehicle.regNo }}
</div>
</div>
<div class=\"col-6 no-gutters-right no-gutters-left\">
<div class=\"ellipsis\">
{% if auction.vehicle.mileage > 0 %}
<b>Mileage:</b> {{ auction.vehicle.mileage }}km
{% else %}
N/A
{% endif %}
</div>
</div>
</div>
</div>
</div>
</div>
{% endfor %}
<div class=\"col-12\">
<!-- pagination -->
{% set _currentPage = app.request.query.get('p') ?: 1 %}
{% set _currentRoute = app.request.attributes.get('_route') %}
{% set _currentParams = app.request.query.all %}
{% if lastPage > 1 %}
<div class=\"col-12\">
<nav class=\"custom-pagination\">
<ul class=\"pagination\">
{% if _currentPage > 1 %}
<li class=\"page-item\"><a class=\"page-link\" href=\"{{ path(_currentRoute, _currentParams|merge({p: _currentPage - 1})) }}\">Previous</a></li>
{% endif %}
{% for i in 1..lastPage %}
<li class=\"page-item {% if i == _currentPage %}active{% endif %}\"><a class=\"page-link\" href=\"{{ path(_currentRoute, _currentParams|merge({p: i})) }}\">{{ i }}</a></li>
{% endfor %}
{% if _currentPage < lastPage %}
<li class=\"page-item\"><a class=\"page-link\" href=\"{{ path(_currentRoute, _currentParams|merge({p: _currentPage + 1})) }}\">Next</a></li>
{% endif %}
</ul>
</nav>
</div>
{% endif %}
</div>
{% else %}
<div class=\"col-12 text-center\">
<?php echo \$auction->vehicles_row; ?>
</div>
{% endif %}
</div>
<div class=\"row\">
<div class=\"col-12 padding-btm-20\">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<iframe allowfullscreen=\"\" frameborder=\"0\" width=\"100%\" height=\"450\" src=\"https://www.google.com/maps/embed/v1/place?key=<?php echo MAPS_API_KEY; ?>&q=Imperial+Auto+Auctions&zoom=16\"></iframe>
</section>
{{ parent() }}
{% endblock layout %}
{% block javascripts %}
{{ parent() }}
{% endblock %}", "frontend/auctions.html.twig", "/var/www/html/motus/templates/frontend/auctions.html.twig");
}
}