/
var
/
www
/
html
/
mixchief_app
/
var
/
cache
/
prod
/
twig
/
6a
/
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/subscribe.html.twig */ class __TwigTemplate_a01570d6815bd192c1ada0e52b139640fa7c060942ad69c19daa0f534448499b extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'content' => [$this, 'block_content'], ]; } 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/subscribe.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<div class=\"content\"> \t\t<div class=\"card\"> \t\t\t<div class=\"card-header\"> \t\t\t\t<h3>Subscription Details</h3> \t\t\t</div> \t\t\t<div class=\"card-body\"> \t\t\t\t<table class=\"table\"> \t\t\t\t\t<thead> \t\t\t\t\t\t<tr> \t\t\t\t\t\t\t<th>Subscription</th> \t\t\t\t\t\t\t<th>End Date</th> \t\t\t\t\t\t\t<th>Auto-Renew</th> \t\t\t\t\t\t\t<th>Status</th> \t\t\t\t\t\t</tr> \t\t\t\t\t</thead> \t\t\t\t\t<tbody> \t\t\t\t\t\t<form action=\""; // line 20 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("pay"); echo "\" method=\"POST\"> \t\t\t\t\t\t\t<tr> \t\t\t\t\t\t\t\t<td>"; // line 22 echo twig_escape_filter($this->env, ($context["subscription"] ?? null), "html", null, true); echo "</td> \t\t\t\t\t\t\t\t<td>"; // line 23 echo twig_escape_filter($this->env, ($context["expiry"] ?? null), "html", null, true); echo "</td> \t\t\t\t\t\t\t\t<td>On</td> \t\t\t\t\t\t\t\t<td> \t\t\t\t\t\t\t\t\t"; // line 26 if ((0 === twig_compare(($context["expiry"] ?? null), "Expired"))) { // line 27 echo "\t\t\t\t\t\t\t\t\t\t"; echo "Expired"; echo " <a href=\""; echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("pay"); echo "\" class=\"btn btn-primary\">Subscribe</a> \t\t\t\t\t\t\t\t\t"; } else { // line 29 echo "\t\t\t\t\t\t\t\t\t\t"; echo "Active"; echo " \t\t\t\t\t\t\t\t\t\t"; // line 30 if ((0 === twig_compare(($context["subscription"] ?? null), "Free Trial"))) { // line 31 echo "\t\t\t\t\t\t\t\t\t\t\t<a href=\""; echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("pay"); echo "\" class=\"btn btn-primary\">Upgrade</a> \t\t\t\t\t\t\t\t\t\t"; } // line 33 echo "\t\t\t\t\t\t\t\t\t"; } // line 34 echo "\t\t\t\t\t\t\t\t</td> \t\t\t\t\t\t\t</tr> \t\t\t\t\t\t</form> \t\t\t\t\t</tbody> \t\t\t\t</table> \t\t\t</div> \t\t</div> \t</div> "; } public function getTemplateName() { return "Default/subscribe.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 109 => 34, 106 => 33, 100 => 31, 98 => 30, 93 => 29, 85 => 27, 83 => 26, 77 => 23, 73 => 22, 68 => 20, 50 => 4, 46 => 3, 35 => 1,); } public function getSourceContext() { return new Source("", "Default/subscribe.html.twig", "/var/www/html/mixchief_app/templates/Default/subscribe.html.twig"); } }