var/cache/dev/twig/7b/7b74e6f6f261561643bde63c9dc920f9.php line 101

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/logo.twig */
  14. class __TwigTemplate_02f8acb099af6b7de4a09a3b71c2a427 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/logo.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Block/logo.twig"));
  35.         // line 11
  36.         echo "
  37. <div class=\"ec-role clearfix\">
  38.         <div class=\"ec-headerRole\">
  39.             <div class=\"ec-headerRole__title\">
  40.                 <div class=\"ec-headerTitle\">
  41.                     <div class=\"ec-headerTitle__title\">
  42. \t\t\t\t\t\t";
  43.         // line 20
  44.         if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 20, $this->source); })()), "request", [], "any", false, false, true, 20), "server", [], "any", false, false, true, 20), "get", [0 => "REQUEST_URI"], "method", false, false, true, 20) == "/eccube403/")) {
  45.             // line 21
  46.             echo "                        <h1>
  47.                             <a href=\"";
  48.             // line 22
  49.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  50.             echo "\">
  51.                         <img border=\"0\" src=\"/html/user_data/n_iizukanoritenlogo.png\" > 
  52.                             </a>
  53.                         </h1>\t\t\t\t
  54. \t\t\t\t\t\t";
  55.         } else {
  56.             // line 27
  57.             echo "                        <p>
  58.                             <a href=\"";
  59.             // line 28
  60.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  61.             echo "\">
  62.                         <img border=\"0\" src=\"/html/user_data/n_iizukanoritenlogo.png\" > 
  63.                             </a>
  64.                         </p>\t\t\t\t\t
  65. \t\t\t\t\t\t";
  66.         }
  67.         // line 32
  68.         echo "\t\t\t\t\t\t
  69.                     </div>
  70.                 </div>
  71.             </div>
  72.         </div>
  73.         <div class=\"ec-headerNaviRole__right sp_only clearfix\">
  74.             <div class=\"ec-headerNaviRole__nav\">
  75.                 ";
  76.         // line 39
  77.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/login.twig");
  78.         echo "
  79.             </div>
  80.             <div class=\"ec-headerRole__cart\">
  81.                 ";
  82.         // line 42
  83.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/cart.twig");
  84.         echo "
  85.             </div>
  86.         </div>
  87.     \t<div class=\" head_search\">";
  88.         // line 45
  89.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("block_search_product"));
  90.         echo "</div>
  91. </div>";
  92.         
  93.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  94.         
  95.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  96.     }
  97.     public function getTemplateName()
  98.     {
  99.         return "Block/logo.twig";
  100.     }
  101.     public function isTraitable()
  102.     {
  103.         return false;
  104.     }
  105.     public function getDebugInfo()
  106.     {
  107.         return array (  101 => 45,  95 => 42,  89 => 39,  80 => 32,  72 => 28,  69 => 27,  61 => 22,  58 => 21,  56 => 20,  45 => 11,);
  108.     }
  109.     public function getSourceContext()
  110.     {
  111.         return new Source("{#
  112. This file is part of EC-CUBE
  113. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  114. http://www.ec-cube.co.jp/
  115. For the full copyright and license information, please view the LICENSE
  116. file that was distributed with this source code.
  117. #}
  118. <div class=\"ec-role clearfix\">
  119.         <div class=\"ec-headerRole\">
  120.             <div class=\"ec-headerRole__title\">
  121.                 <div class=\"ec-headerTitle\">
  122.                     <div class=\"ec-headerTitle__title\">
  123. \t\t\t\t\t\t{% if app.request.server.get('REQUEST_URI') == '/eccube403/' %}
  124.                         <h1>
  125.                             <a href=\"{{ url('homepage') }}\">
  126.                         <img border=\"0\" src=\"/html/user_data/n_iizukanoritenlogo.png\" > 
  127.                             </a>
  128.                         </h1>\t\t\t\t
  129. \t\t\t\t\t\t{% else %}
  130.                         <p>
  131.                             <a href=\"{{ url('homepage') }}\">
  132.                         <img border=\"0\" src=\"/html/user_data/n_iizukanoritenlogo.png\" > 
  133.                             </a>
  134.                         </p>\t\t\t\t\t
  135. \t\t\t\t\t\t{% endif %}\t\t\t\t\t\t
  136.                     </div>
  137.                 </div>
  138.             </div>
  139.         </div>
  140.         <div class=\"ec-headerNaviRole__right sp_only clearfix\">
  141.             <div class=\"ec-headerNaviRole__nav\">
  142.                 {{ include('Block/login.twig') }}
  143.             </div>
  144.             <div class=\"ec-headerRole__cart\">
  145.                 {{ include('Block/cart.twig') }}
  146.             </div>
  147.         </div>
  148.     \t<div class=\" head_search\">{{ render(path('block_search_product')) }}</div>
  149. </div>", "Block/logo.twig", "/home/cajiya00/jklfdsa.com/public_html/shop-iizuka-nori.jklfdsa.com/app/template/iizukanew/Block/logo.twig");
  150.     }
  151.     
  152.     public function checkSecurity()
  153.     {
  154.         static $tags = array("if" => 20);
  155.         static $filters = array();
  156.         static $functions = array("url" => 22, "include" => 39, "render" => 45, "path" => 45);
  157.         try {
  158.             $this->sandbox->checkSecurity(
  159.                 ['if'],
  160.                 [],
  161.                 ['url', 'include', 'render', 'path']
  162.             );
  163.         } catch (SecurityError $e) {
  164.             $e->setSourceContext($this->source);
  165.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  166.                 $e->setTemplateLine($tags[$e->getTagName()]);
  167.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  168.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  169.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  170.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  171.             }
  172.             throw $e;
  173.         }
  174.     }
  175. }