/
var
/
www
/
html
/
restaurants
/
var
/
cache
/
prod
/
twig
/
2e
/
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; /* Users/owned.html.twig */ class __TwigTemplate_3520fec9b0e315575304dd157a44b76c7804b90088b1116eda05d29749f25ccf 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", "Users/owned.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=\"row\"> \t\t\t<div class=\"col-sm-10\"> \t\t\t\t<div class=\"card\"> \t\t\t\t\t<div class=\"card-header\"> \t\t\t\t\t\t<h3>Places</h3> \t\t\t\t\t</div> \t\t\t\t\t<div class=\"card-body\"> \t\t\t\t\t\t<table class=\"table table-default\"> \t\t\t\t\t\t\t<thead> \t\t\t\t\t\t\t\t<tr> \t\t\t\t\t\t\t\t\t<th>Name</th> \t\t\t\t\t\t\t\t\t<th>Details</th> \t\t\t\t\t\t\t\t\t<th>Food</th> \t\t\t\t\t\t\t\t\t<th>Food Categories</th> \t\t\t\t\t\t\t\t</tr> \t\t\t\t\t\t\t</thead> \t\t\t\t\t\t\t<tbody> \t\t\t\t\t\t\t\t"; // line 22 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["owned"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["place"]) { // line 23 echo "\t\t\t\t\t\t\t\t\t<tr> \t\t\t\t\t\t\t\t\t\t<td>"; // line 24 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["place"], "name", [], "any", false, false, false, 24), "html", null, true); echo "</td> \t\t\t\t\t\t\t\t\t\t<td><a class=\"btn btn-primary\" href=\""; // line 25 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile", ["place_slug" => twig_get_attribute($this->env, $this->source, $context["place"], "slug", [], "any", false, false, false, 25)]), "html", null, true); echo "\">Details</a></td> \t\t\t\t\t\t\t\t\t\t<td><a class=\"btn btn-success\" href=\""; // line 26 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("items", ["place_slug" => twig_get_attribute($this->env, $this->source, $context["place"], "slug", [], "any", false, false, false, 26)]), "html", null, true); echo "\">Food Menu</a></td> \t\t\t\t\t\t\t\t\t\t<td><a class=\"btn btn-primary\" href=\""; // line 27 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category", ["place_slug" => twig_get_attribute($this->env, $this->source, $context["place"], "slug", [], "any", false, false, false, 27)]), "html", null, true); echo "\">Categories</a></td> \t\t\t\t\t\t\t\t\t</tr> \t\t\t\t\t\t\t\t"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['place'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 30 echo "\t\t\t\t\t\t\t</tbody> \t\t\t\t\t\t</table> \t\t\t\t\t</div> \t\t\t\t</div> \t\t\t</div> \t\t</div> \t</div> \t<script> \t\t \t</script> "; } public function getTemplateName() { return "Users/owned.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 98 => 30, 89 => 27, 85 => 26, 81 => 25, 77 => 24, 74 => 23, 70 => 22, 50 => 4, 46 => 3, 35 => 1,); } public function getSourceContext() { return new Source("", "Users/owned.html.twig", "/var/www/html/restaurants/templates/Users/owned.html.twig"); } }