/
var
/
www
/
html
/
amply
/
var
/
cache
/
prod
/
twig
/
7d
/
Upload File
HOME
<?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; /* Default/admin.html.twig */ class __TwigTemplate_aebf57d701036d4d8d57cac39aa42c75549fa150e99501e5cfecbb26e8d81390 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'content' => [$this, 'block_content'], 'javascripts' => [$this, 'block_javascripts'], ]; } protected function doGetParent(array $context) { // line 1 return "base1.html.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $this->parent = $this->loadTemplate("base1.html.twig", "Default/admin.html.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 3 public function block_content($context, array $blocks = []) { $macros = $this->macros; // line 4 echo "\t<!-- Row start --> \t<div class=\"content\"> \t\t<div class=\"row gutters\"> \t\t\t<div class=\"col-xl-4 col-lg-4 col-md-4 col-sm-12 sales-update\"> \t\t\t\t<div class=\"card\"> \t\t\t\t\t<div class=\"card-body\"> \t\t\t\t\t\t<div class=\"stats-graph-widget\"> \t\t\t\t\t\t\t<div class=\"row gutters\"> \t\t\t\t\t\t\t\t<div class=\"col-xl-6 col-lg-6 col-md-6 col-sm-6 col-xs-6 center-small\"> \t\t\t\t\t\t\t\t\t<h6>Sales Today</h6> \t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t<div class=\"col-xl-6 col-md-6 col-sm-6 col-xs-6 center-small\"> \t\t\t\t\t\t\t\t\t<h4 class=\"center-small\">₦"; // line 16 echo twig_escape_filter($this->env, ($context["today"] ?? null), "html", null, true); echo "</h4> \t\t\t\t\t\t\t\t\t<p class=\"growth\"> \t\t\t\t\t\t\t\t\t\t"; // line 18 echo twig_escape_filter($this->env, ($context["increase"] ?? null), "html", null, true); echo "%<i class=\"icon-call_made "; echo (((-1 === twig_compare(($context["increase"] ?? null), 0))) ? ("down") : ("up")); echo "\"></i> \t\t\t\t\t\t\t\t\t</p> \t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t</div> \t\t\t\t\t</div> \t\t\t\t</div> \t\t\t</div> \t\t\t<div class=\"card col-md-12 col-sm-12 col-xl-8 col-lg-8 subscription\"> \t\t\t\t"; // line 31 echo "\t\t\t\t<div class=\"card-body\" style=\"padding: 0;\"> \t\t\t\t\t<table class=\"table\"> \t\t\t\t\t\t<thead> \t\t\t\t\t\t\t<tr> \t\t\t\t\t\t\t\t<th>Subscription</th> \t\t\t\t\t\t\t\t<th>End Date</th> \t\t\t\t\t\t\t\t<th class=\"col-sm-hidden\">Auto-Renew</th> \t\t\t\t\t\t\t\t<th>Status</th> \t\t\t\t\t\t\t</tr> \t\t\t\t\t\t</thead> \t\t\t\t\t\t<tbody> \t\t\t\t\t\t\t<form action=\""; // line 42 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("pay"); echo "\" method=\"POST\"> \t\t\t\t\t\t\t\t<tr> \t\t\t\t\t\t\t\t\t"; // line 44 if ((($context["subscription"] ?? null) && twig_get_attribute($this->env, $this->source, ($context["subscription"] ?? null), "status", [], "any", false, false, false, 44))) { // line 45 echo "\t\t\t\t\t\t\t\t\t\t<td>All-in-One</td> \t\t\t\t\t\t\t\t\t\t<td>"; // line 46 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["subscription"] ?? null), "expiry", [], "any", false, false, false, 46), "d-m-Y"), "html", null, true); echo "</td> \t\t\t\t\t\t\t\t\t\t<td class=\"col-sm-hidden\">"; // line 47 echo ((twig_get_attribute($this->env, $this->source, ($context["subscription"] ?? null), "renew", [], "any", false, false, false, 47)) ? ("On") : ("Off")); echo "</td> \t\t\t\t\t\t\t\t\t\t<td>Active</td> \t\t\t\t\t\t\t\t\t"; } else { // line 50 echo "\t\t\t\t\t\t\t\t\t\t<td>Free Trial</td> \t\t\t\t\t\t\t\t\t\t<td>"; // line 51 echo twig_escape_filter($this->env, ($context["stat"] ?? null), "html", null, true); echo "</td> \t\t\t\t\t\t\t\t\t\t<td class=\"col-sm-hidden\">Off</td> \t\t\t\t\t\t\t\t\t\t<td>"; // line 53 echo ((($context["diff"] ?? null)) ? ("Expired") : ("Active")); echo " <a href=\""; echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("pay"); echo "\" class=\"btn btn-primary\">Upgrade</a></td> \t\t\t\t\t\t\t\t\t"; } // line 55 echo "\t\t\t\t\t\t\t\t</tr> \t\t\t\t\t\t\t</form> \t\t\t\t\t\t</tbody> \t\t\t\t\t</table> \t\t\t\t</div> \t\t</div> \t\t<div class=\"row gutters\"> \t\t\t \t\t\t</div> \t\t\t"; // line 102 echo "\t\t</div> \t\t<div class=\"row gutters\"> \t\t\t \t\t\t<div class=\"col-xl-4 col-lg-4 col-md-12 col-sm-12 recent\"> \t\t\t\t<div class=\"card\"> \t\t\t\t\t<div class=\"card-header\">Recent Activity</div> \t\t\t\t\t<div class=\"customScroll\"> \t\t\t\t\t\t<div class=\"card-body pt-0 pb-0\"> \t\t\t\t\t\t\t<ul class=\"project-activity\"> \t\t\t\t\t\t\t\t"; // line 111 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["activities"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["activity"]) { // line 112 echo "\t\t\t\t\t\t\t\t\t<li class=\"activity-list\"> \t\t\t\t\t\t\t\t\t\t<div class=\"detail-info\"> \t\t\t\t\t\t\t\t\t\t\t<span class=\"lbl secondary\">"; // line 114 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["activity"], "entityId", [], "any", false, false, false, 114), "html", null, true); echo "</span> \t\t\t\t\t\t\t\t\t\t\t<p class=\"desc-info\"><a href=\""; // line 115 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("vieworder", ["id" => twig_get_attribute($this->env, $this->source, $context["activity"], "entityId", [], "any", false, false, false, 115)]), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["activity"], "action", [], "any", false, false, false, 115), "html", null, true); echo "</a></p> \t\t\t\t\t\t\t\t\t\t\t"; // line 117 echo "\t\t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t</li> \t\t\t\t\t\t\t\t"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['activity'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 120 echo "\t\t\t\t\t\t\t\t"; // line 127 echo "\t\t\t\t\t\t\t</ul> \t\t\t\t\t\t</div> \t\t\t\t\t</div> \t\t\t\t</div> \t\t\t</div> \t\t\t<div class=\"col-xl-8 col-lg-8 col-md-8 col-sm-12 sales-chart\"> \t\t\t\t<div class=\"card\"> \t\t\t\t\t<div class=\"card-header\">Sales This Month</div> \t\t\t\t\t<div class=\"card-body\"> \t\t\t\t\t\t<div class=\"\"> \t\t\t\t\t\t\t<div class=\"myChart\"></div> \t\t\t\t\t\t</div> \t\t\t\t\t\t<div class=\"row gutter\"> \t\t\t\t\t\t\t<div class=\"col-xl-4 col-lg-4 col-md-4 col-sm-4\"> \t\t\t\t\t\t\t\t<div class=\"info-stats2\"> \t\t\t\t\t\t\t\t\t<h5 class=\"text-secondary\">₦"; // line 142 echo twig_escape_filter($this->env, ($context["today"] ?? null), "html", null, true); echo " <span>Today</span></h5> \t\t\t\t\t\t\t\t\t<p>Prev. ₦"; // line 143 echo twig_escape_filter($this->env, ($context["yesterday"] ?? null), "html", null, true); echo "</p> \t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t<div class=\"col-xl-4 col-lg-4 col-md-4 col-sm-4\"> \t\t\t\t\t\t\t\t<div class=\"info-stats2\"> \t\t\t\t\t\t\t\t\t<h5 class=\"text-primary\">₦"; // line 148 echo twig_escape_filter($this->env, ($context["thisweek"] ?? null), "html", null, true); echo " <span>Week</span></h5> \t\t\t\t\t\t\t\t\t<p>Prev. ₦"; // line 149 echo twig_escape_filter($this->env, ($context["lastweek"] ?? null), "html", null, true); echo "</p> \t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t<div class=\"col-xl-4 col-lg-4 col-md-4 col-sm-4\"> \t\t\t\t\t\t\t\t<div class=\"info-stats2\"> \t\t\t\t\t\t\t\t\t<h5 class=\"text-primary\">₦"; // line 154 echo twig_escape_filter($this->env, ($context["thismonth"] ?? null), "html", null, true); echo " <span>Month</span></h5> \t\t\t\t\t\t\t\t\t<p>Prev. ₦"; // line 155 echo twig_escape_filter($this->env, ($context["lastmonth"] ?? null), "html", null, true); echo "</p> \t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t</div> \t\t\t\t\t</div> \t\t\t\t</div> \t\t\t</div> \t\t</div> \t</div> "; } // line 166 public function block_javascripts($context, array $blocks = []) { $macros = $this->macros; // line 167 echo "\t"; $this->displayParentBlock("javascripts", $context, $blocks); echo " \t<script> \t\tvar regex = /"/gi; \t\tvar sales = JSON.parse(\""; // line 171 echo twig_escape_filter($this->env, ($context["salesmonth"] ?? null), "html", null, true); echo "\".replace(regex, '\"')); \t\tvar data = { \t\t // A labels array that can contain any sort of values \t\t labels: sales.map(sale => sale.dates.split(\"-\").slice(1).reverse().join(\"-\")), \t\t // Our series array that contains series objects or in this case series data arrays \t\t series: [ \t\t sales.map(sale => sale.amount) \t\t ] \t\t}; \t\t// Create a new line chart object where as first parameter we pass in a selector \t\t// that is resolving to our chart container element. The Second parameter \t\t// is the actual data object. \t\tnew Chartist.Line('.myChart', data); \t</script> "; } public function getTemplateName() { return "Default/admin.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 253 => 171, 245 => 167, 241 => 166, 227 => 155, 223 => 154, 215 => 149, 211 => 148, 203 => 143, 199 => 142, 182 => 127, 180 => 120, 172 => 117, 166 => 115, 162 => 114, 158 => 112, 154 => 111, 143 => 102, 132 => 55, 125 => 53, 120 => 51, 117 => 50, 111 => 47, 107 => 46, 104 => 45, 102 => 44, 97 => 42, 84 => 31, 70 => 18, 65 => 16, 51 => 4, 47 => 3, 36 => 1,); } public function getSourceContext() { return new Source("", "Default/admin.html.twig", "/var/www/html/amply/templates/Default/admin.html.twig"); } }