var/cache/dev/twig/4c/4c393e8ce5f4aa8d0d422d4fe9cd83766da22e77c6faa3370eb168123fdb77cd.php line 160

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* index/navi.html.twig */
  14. class __TwigTemplate_deb12f34f87ea9791afaffcdd9bfa0735fae4e26af927560c254452e578d9649 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'page_name' => [$this'block_page_name'],
  24.             'title' => [$this'block_title'],
  25.             'header_title' => [$this'block_header_title'],
  26.             'stylesheet' => [$this'block_stylesheet'],
  27.             'main' => [$this'block_main'],
  28.             'js' => [$this'block_js'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 2
  34.         return "index/layout.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""index/navi.html.twig"));
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""index/navi.html.twig"));
  43.         $this->parent $this->loadTemplate("index/layout.html.twig""index/navi.html.twig"2);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  47.         
  48.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  49.     }
  50.     // line 4
  51.     public function block_page_name($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_name"));
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_name"));
  58.         echo "navi";
  59.         
  60.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  61.         
  62.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  63.     }
  64.     // line 6
  65.     public function block_title($context, array $blocks = [])
  66.     {
  67.         $macros $this->macros;
  68.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  69.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  70.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  71.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  72.         echo "メニュー";
  73.         
  74.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  75.         
  76.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  77.     }
  78.     // line 7
  79.     public function block_header_title($context, array $blocks = [])
  80.     {
  81.         $macros $this->macros;
  82.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  83.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header_title"));
  84.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  85.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header_title"));
  86.         echo "メニュー";
  87.         
  88.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  89.         
  90.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  91.     }
  92.     // line 9
  93.     public function block_stylesheet($context, array $blocks = [])
  94.     {
  95.         $macros $this->macros;
  96.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  97.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  98.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  99.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  100.         // line 10
  101.         echo "  <link rel=\"stylesheet\" href=\"../css/mypage.css\">
  102. ";
  103.         
  104.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  105.         
  106.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  107.     }
  108.     // line 13
  109.     public function block_main($context, array $blocks = [])
  110.     {
  111.         $macros $this->macros;
  112.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  113.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  114.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  115.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  116.         // line 14
  117.         echo "  <main>
  118.     <nav>
  119.       <ul class=\"nav_list\">
  120.         <li class=\"top\"><a href=\"";
  121.         // line 17
  122.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("index");
  123.         echo "\"><span class=\"icon\"></span>トップに戻る</a></li>
  124.         ";
  125.         // line 18
  126.         if (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.'18$this->source); })()), "user", [], "any"falsefalsefalse18)) {
  127.             // line 19
  128.             echo "        <li class=\"profile\"><a href=\"";
  129.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_profile");
  130.             echo "\"><span class=\"icon\"></span>基本情報</a></li>
  131.         <li class=\"payment\"><a href=\"";
  132.             // line 20
  133.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_payment_methods");
  134.             echo "\"><span class=\"icon\"></span>お支払い方法</a></li>
  135.         <li class=\"log\"><a href=\"";
  136.             // line 21
  137.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_orders");
  138.             echo "\"><span class=\"icon\"></span>利用履歴</a></li>
  139.         ";
  140.         }
  141.         // line 23
  142.         echo "        <li class=\"about\"><a href=\"";
  143.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("about");
  144.         echo "\"><span class=\"icon\"></span>うちデリとは</a></li>
  145.         <li class=\"faq\"><a href=\"";
  146.         // line 24
  147.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("faq");
  148.         echo "\"><span class=\"icon\"></span>よくあるご質問</a></li>
  149.         ";
  150.         // line 26
  151.         echo "        <li class=\"news \" data-num=\"5\"><a href=\"";
  152.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("news");
  153.         echo "\"><span class=\"icon\"></span>お知らせ</a></li>
  154.         <li class=\"terms\"><a href=\"";
  155.         // line 27
  156.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("terms");
  157.         echo "\"><span class=\"icon\"></span>利用規約</a></li>
  158.         <li class=\"privacy\"><a href=\"";
  159.         // line 28
  160.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("privacy");
  161.         echo "\"><span class=\"icon\"></span>プライバシーポリシー</a></li>
  162.       </ul>
  163.       <hr class=\"hr\">
  164.       <ul class=\"nav_list\">
  165.         <li class=\"request\"><a href=\"";
  166.         // line 32
  167.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("register");
  168.         echo "\"><span class=\"icon\"></span>うちデリへ掲載を申し込む</a></li>
  169.         <li class=\"contact\"><a href=\"";
  170.         // line 33
  171.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contact");
  172.         echo "\"><span class=\"icon\"></span>お問い合わせ</a></li>
  173.         ";
  174.         // line 34
  175.         if (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.'34$this->source); })()), "user", [], "any"falsefalsefalse34)) {
  176.             // line 35
  177.             echo "        <li class=\"logout\"><a href=\"";
  178.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_logout");
  179.             echo "\"><span class=\"icon\"></span>ログアウト</a></li>
  180.         ";
  181.         }
  182.         // line 37
  183.         echo "      </ul>
  184.     </nav>
  185.   </main>
  186. ";
  187.         
  188.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  189.         
  190.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  191.     }
  192.     // line 43
  193.     public function block_js($context, array $blocks = [])
  194.     {
  195.         $macros $this->macros;
  196.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  197.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""js"));
  198.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  199.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""js"));
  200.         
  201.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  202.         
  203.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  204.     }
  205.     public function getTemplateName()
  206.     {
  207.         return "index/navi.html.twig";
  208.     }
  209.     public function isTraitable()
  210.     {
  211.         return false;
  212.     }
  213.     public function getDebugInfo()
  214.     {
  215.         return array (  231 => 43,  217 => 37,  211 => 35,  209 => 34,  205 => 33,  201 => 32,  194 => 28,  190 => 27,  185 => 26,  181 => 24,  176 => 23,  171 => 21,  167 => 20,  162 => 19,  160 => 18,  156 => 17,  151 => 14,  141 => 13,  130 => 10,  120 => 9,  101 => 7,  82 => 6,  63 => 4,  40 => 2,);
  216.     }
  217.     public function getSourceContext()
  218.     {
  219.         return new Source("
  220. {% extends 'index/layout.html.twig' %}
  221. {% block page_name %}navi{% endblock %}
  222. {% block title -%}メニュー{%- endblock %}
  223. {% block header_title %}メニュー{% endblock %}
  224. {% block stylesheet %}
  225.   <link rel=\"stylesheet\" href=\"../css/mypage.css\">
  226. {% endblock %}
  227. {% block main %}
  228.   <main>
  229.     <nav>
  230.       <ul class=\"nav_list\">
  231.         <li class=\"top\"><a href=\"{{ path('index') }}\"><span class=\"icon\"></span>トップに戻る</a></li>
  232.         {% if app.user %}
  233.         <li class=\"profile\"><a href=\"{{ path('user_profile') }}\"><span class=\"icon\"></span>基本情報</a></li>
  234.         <li class=\"payment\"><a href=\"{{ path('user_payment_methods') }}\"><span class=\"icon\"></span>お支払い方法</a></li>
  235.         <li class=\"log\"><a href=\"{{ path('user_orders') }}\"><span class=\"icon\"></span>利用履歴</a></li>
  236.         {% endif %}
  237.         <li class=\"about\"><a href=\"{{ path('about') }}\"><span class=\"icon\"></span>うちデリとは</a></li>
  238.         <li class=\"faq\"><a href=\"{{ path('faq') }}\"><span class=\"icon\"></span>よくあるご質問</a></li>
  239.         {#                <li class=\"news badge\" data-num=\"5\"><a href=\"{{ path('news') }}\"><span class=\"icon\"></span>お知らせ</a></li>#}
  240.         <li class=\"news \" data-num=\"5\"><a href=\"{{ path('news') }}\"><span class=\"icon\"></span>お知らせ</a></li>
  241.         <li class=\"terms\"><a href=\"{{ path('terms') }}\"><span class=\"icon\"></span>利用規約</a></li>
  242.         <li class=\"privacy\"><a href=\"{{ path('privacy') }}\"><span class=\"icon\"></span>プライバシーポリシー</a></li>
  243.       </ul>
  244.       <hr class=\"hr\">
  245.       <ul class=\"nav_list\">
  246.         <li class=\"request\"><a href=\"{{ path('register') }}\"><span class=\"icon\"></span>うちデリへ掲載を申し込む</a></li>
  247.         <li class=\"contact\"><a href=\"{{ path('contact') }}\"><span class=\"icon\"></span>お問い合わせ</a></li>
  248.         {% if app.user %}
  249.         <li class=\"logout\"><a href=\"{{ path('user_logout') }}\"><span class=\"icon\"></span>ログアウト</a></li>
  250.         {% endif %}
  251.       </ul>
  252.     </nav>
  253.   </main>
  254. {% endblock %}
  255. {% block js %}
  256. {% endblock %}""index/navi.html.twig""/home/webapp/www/test.uchideri.com/templates/index/navi.html.twig");
  257.     }
  258. }