var/cache/dev/twig/d5/d510a4fde4abaea1bb6adf3ec6d4b5b5.php line 35

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. /* Block/login_sp.twig */
  14. class __TwigTemplate_c6cbd81716212b90d5ee81558b39692e extends \Eccube\Twig\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->parent false;
  23.         $this->blocks = [
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doDisplay(array $context, array $blocks = [])
  29.     {
  30.         $macros $this->macros;
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Block/login_sp.twig"));
  33.         // line 11
  34.         echo "
  35. <ul class=\"btnArea\">
  36.         ";
  37.         // line 13
  38.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
  39.             // line 14
  40.             echo "            <li><a class=\"ec-headerLink__item btnArrow logout\" href=\"";
  41.             echo $this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getUrl("logout");
  42.             echo "\">";
  43.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ログアウト"), "html"nulltrue);
  44.             echo "
  45.             </a></li>
  46.           <li><a class=\"ec-headerLink__item btnMypage\" href=\"";
  47.             // line 16
  48.             echo $this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getUrl("mypage");
  49.             echo "\"><span>";
  50.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("マイページ"), "html"nulltrue);
  51.             echo "</span>
  52.             </a></li>
  53.         ";
  54.         } else {
  55.             // line 19
  56.             echo "            <li><a class=\"ec-headerLink__item btnArrow login\" href=\"";
  57.             echo $this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getUrl("mypage_login");
  58.             echo "\">";
  59.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ログイン"), "html"nulltrue);
  60.             echo "
  61.             </a></li>
  62.             <li><a class=\"ec-headerLink__item btnMypage new\" href=\"";
  63.             // line 21
  64.             echo $this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getUrl("entry");
  65.             echo "\">";
  66.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("新規会員登録"), "html"nulltrue);
  67.             echo "
  68.             </a></li>
  69.         ";
  70.         }
  71.         // line 24
  72.         echo "    </ul>
  73.        <p><a class=\"btnCart\" href=\"";
  74.         // line 25
  75.         echo $this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getUrl("cart");
  76.         echo "\"><span>カゴの中を見る</span>
  77.         </a></p>
  78. <ul class=\"gnav\">
  79. <li><a href=\"";
  80.         // line 28
  81.         echo $this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getUrl("homepage");
  82.         echo "\">HOME</a></li>
  83. <li><a href=\"";
  84.         // line 29
  85.         echo $this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getUrl("product_list");
  86.         echo "\">商品紹介</a></li>
  87. <li><a href=\"/user_data/news\">お知らせ</a></li>
  88. <li><a href=\"";
  89.         // line 31
  90.         echo $this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getUrl("help_about");
  91.         echo "\">キクロンについて</a></li>
  92. <li><a href=\"";
  93.         // line 32
  94.         echo $this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getUrl("contact");
  95.         echo "\">お問い合わせ</a></li>
  96. </ul>
  97.  ";
  98.         // line 34
  99.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getPath("block_search_product"));
  100.         
  101.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  102.     }
  103.     public function getTemplateName()
  104.     {
  105.         return "Block/login_sp.twig";
  106.     }
  107.     public function isTraitable()
  108.     {
  109.         return false;
  110.     }
  111.     public function getDebugInfo()
  112.     {
  113.         return array (  107 => 34,  102 => 32,  98 => 31,  93 => 29,  89 => 28,  83 => 25,  80 => 24,  72 => 21,  64 => 19,  56 => 16,  48 => 14,  46 => 13,  42 => 11,);
  114.     }
  115.     public function getSourceContext()
  116.     {
  117.         return new Source("""Block/login_sp.twig""/usr/home/hbw1010t44oz/html/app/template/default/Block/login_sp.twig");
  118.     }
  119.     
  120.     public function checkSecurity()
  121.     {
  122.         static $tags = array("if" => 13);
  123.         static $filters = array("escape" => 14"trans" => 14);
  124.         static $functions = array("is_granted" => 13"url" => 14"render" => 34"path" => 34);
  125.         try {
  126.             $this->sandbox->checkSecurity(
  127.                 ['if'],
  128.                 ['escape''trans'],
  129.                 ['is_granted''url''render''path'],
  130.                 $this->source
  131.             );
  132.         } catch (SecurityError $e) {
  133.             $e->setSourceContext($this->source);
  134.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  135.                 $e->setTemplateLine($tags[$e->getTagName()]);
  136.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  137.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  138.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  139.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  140.             }
  141.             throw $e;
  142.         }
  143.     }
  144. }