var/cache/dev/twig/7e/7eccac3ad85cb7f14f36771c4021bcbc.php line 42

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.twig */
  14. class __TwigTemplate_97a2249041ae72ccda1b44814b581edc 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->blocks = [
  23.             'javascript' => [$this'block_javascript'],
  24.             'stylesheet' => [$this'block_stylesheet'],
  25.             'main' => [$this'block_main'],
  26.         ];
  27.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  28.         $this->checkSecurity();
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 22
  33.         return "default_frame.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""index.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""index.twig"));
  42.         // line 24
  43.         $context["body_class"] = "front_page";
  44.         // line 22
  45.         $this->parent $this->loadTemplate("default_frame.twig""index.twig"22);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 26
  53.     public function block_javascript($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  60.         // line 27
  61.         echo "<script>
  62. \$(function(){
  63.     \$('.main_visual').slick({
  64.     centerMode: true,
  65.   centerPadding: '0',
  66.         dots:false,
  67.         arrows:true,
  68.         autoplay: true,
  69.         speed: 500,
  70.     prevArrow: '<div class=\"slide-arrow prev-arrow\"><img src=\"";
  71.         // line 36
  72.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets"), "html"nulltrue);
  73.         echo "/img/nikke/slick/w_prev.gif\"></div>',
  74.     nextArrow: '<div class=\"slide-arrow next-arrow\"><img src=\"";
  75.         // line 37
  76.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets"), "html"nulltrue);
  77.         echo "/img/nikke/slick/w_next.gif\"></div>',
  78.           responsive: [{
  79.                breakpoint: 768,
  80.                     settings: {
  81.   centerPadding: '0px',
  82.     prevArrow: '<div class=\"slide-arrow prev-arrow\"><img src=\"";
  83.         // line 42
  84.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets"), "html"nulltrue);
  85.         echo "/img/unishop/slick/w_prev.png\"></div>',
  86.     nextArrow: '<div class=\"slide-arrow next-arrow\"><img src=\"";
  87.         // line 43
  88.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets"), "html"nulltrue);
  89.         echo "/img/unishop/slick/w_next.png\"></div>'
  90.                }
  91.           },{
  92.                breakpoint: 480,
  93.                     settings: {
  94.   centerPadding: '0px',
  95.     prevArrow: '<div class=\"slide-arrow prev-arrow\"><img src=\"";
  96.         // line 49
  97.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets"), "html"nulltrue);
  98.         echo "/img/unishop/slick/w_prev.png\"></div>',
  99.     nextArrow: '<div class=\"slide-arrow next-arrow\"><img src=\"";
  100.         // line 50
  101.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets"), "html"nulltrue);
  102.         echo "/img/unishop/slick/w_next.png\"></div>'
  103.                     }
  104.                }
  105.           ]
  106.     });
  107. });
  108. </script>
  109. ";
  110.         
  111.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  112.         
  113.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  114.     }
  115.     // line 59
  116.     public function block_stylesheet($context, array $blocks = [])
  117.     {
  118.         $macros $this->macros;
  119.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  120.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  121.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  122.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  123.         // line 60
  124.         echo "    <style type=\"text/css\">
  125.         .main_visual {
  126.             max-width: 1080px;
  127.         }
  128.     </style>
  129. ";
  130.         
  131.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  132.         
  133.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  134.     }
  135.     // line 67
  136.     public function block_main($context, array $blocks = [])
  137.     {
  138.         $macros $this->macros;
  139.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  140.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  141.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  142.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  143.         // line 68
  144.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
  145.             // line 69
  146.             echo "    <div class=\"row\">
  147.        <div class=\"col-sm-12\" style=\"padding:0;\">
  148.             <div class=\"main_visual\">
  149. ";
  150.             // line 72
  151.             if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'72$this->source); })()), "user", [], "any"falsefalsetrue72), "school", [], "any"falsefalsetrue72), "school_id", [], "any"falsefalsetrue72) == "1")) {
  152.                 echo "<!---立命館中学校--->
  153.                <a href=\"";
  154.                 // line 73
  155.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  156.                 echo "\">
  157. <img class=\"pc\" src=\"";
  158.                 // line 74
  159.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  160.                 echo "/html/user_data/main_image_pc01_toraya01.jpg\">
  161. <img class=\"sp\" src=\"";
  162.                 // line 75
  163.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  164.                 echo "/html/user_data/main_image_sp01_toraya01.jpg\">
  165.                 </a>
  166. ";
  167.             } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 77
  168. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'77$this->source); })()), "user", [], "any"falsefalsetrue77), "school", [], "any"falsefalsetrue77), "school_id", [], "any"falsefalsetrue77) == "2")) {
  169.                 echo "<!---立命館宇治中学校--->
  170.                <a href=\"";
  171.                 // line 78
  172.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  173.                 echo "\">
  174. <img class=\"pc\" src=\"";
  175.                 // line 79
  176.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  177.                 echo "/html/user_data/main_image_pc01_toraya02.jpg\">
  178. <img class=\"sp\" src=\"";
  179.                 // line 80
  180.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  181.                 echo "/html/user_data/main_image_sp01_toraya02.jpg\">
  182.                 </a>
  183. ";
  184.             } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 82
  185. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'82$this->source); })()), "user", [], "any"falsefalsetrue82), "school", [], "any"falsefalsetrue82), "school_id", [], "any"falsefalsetrue82) == "3")) {
  186.                 echo "<!---立命館宇治高等学校--->
  187.                <a href=\"";
  188.                 // line 83
  189.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  190.                 echo "\">
  191. <img class=\"pc\" src=\"";
  192.                 // line 84
  193.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  194.                 echo "/html/user_data/main_image_pc01_toraya03.jpg\">
  195. <img class=\"sp\" src=\"";
  196.                 // line 85
  197.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  198.                 echo "/html/user_data/main_image_sp01_toraya03.jpg\">
  199.                 </a>
  200. ";
  201.             } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 87
  202. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'87$this->source); })()), "user", [], "any"falsefalsetrue87), "school", [], "any"falsefalsetrue87), "school_id", [], "any"falsefalsetrue87) == "4")) {
  203.                 echo "<!---立命館守山中学校--->
  204.                <a href=\"";
  205.                 // line 88
  206.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  207.                 echo "\">
  208. <img class=\"pc\" src=\"";
  209.                 // line 89
  210.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  211.                 echo "/html/user_data/main_image_pc01_toraya04.jpg\">
  212. <img class=\"sp\" src=\"";
  213.                 // line 90
  214.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  215.                 echo "/html/user_data/main_image_sp01_toraya04.jpg\">
  216.                 </a>
  217. ";
  218.             } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 92
  219. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'92$this->source); })()), "user", [], "any"falsefalsetrue92), "school", [], "any"falsefalsetrue92), "school_id", [], "any"falsefalsetrue92) == "5")) {
  220.                 echo "<!---立命館守山高等学校--->
  221.                <a href=\"";
  222.                 // line 93
  223.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  224.                 echo "\">
  225. <img class=\"pc\" src=\"";
  226.                 // line 94
  227.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  228.                 echo "/html/user_data/main_image_pc01_toraya05.jpg\">
  229. <img class=\"sp\" src=\"";
  230.                 // line 95
  231.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  232.                 echo "/html/user_data/main_image_sp01_toraya05.jpg\">
  233.                 </a>
  234. ";
  235.             } else {
  236.                 // line 97
  237.                 echo "<!--一般販売ほか-->
  238. <div class=\"schoolon item_toraya01\">
  239. \t\t<img class=\"item01\" src=\"";
  240.                 // line 99
  241.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  242.                 echo "/html/user_data/scid05general/ippan01.png\">
  243. \t\t<img class=\"item02\" src=\"";
  244.                 // line 100
  245.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  246.                 echo "/html/user_data/scid05general/ippan02.png\">
  247. \t\t<img class=\"item03\" src=\"";
  248.                 // line 101
  249.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  250.                 echo "/html/user_data/scid05general/ippan03.png\">
  251. \t\t<img class=\"item04\" src=\"";
  252.                 // line 102
  253.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  254.                 echo "/html/user_data/scid05general/ippan04.png\">
  255. \t\t<img class=\"item05\" src=\"";
  256.                 // line 103
  257.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  258.                 echo "/html/user_data/scid05general/ippan05.png\">
  259. \t\t<img class=\"item06\" src=\"";
  260.                 // line 104
  261.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  262.                 echo "/html/user_data/scid05general/ippan06.png\">
  263. </div>
  264. ";
  265.             }
  266.             // line 107
  267.             echo "            </div>
  268.         </div>
  269.     </div>
  270.     <div id=\"contents\"><div id=\"main\">
  271.     ";
  272.         } else {
  273.             // line 112
  274.             echo "        <div id=\"contents\" class=\"logout\">
  275.             <div class=\"main_visual logouttop\">
  276.                 <div class=\"imgbox\" style=\"background-image:url(";
  277.             // line 114
  278.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  279.             echo "/html/user_data/main_image_pc_toraya001.jpg);\">
  280.                 </div>
  281.             </div>
  282.         <div class=\"container-fluid inner\"><div id=\"main logout_menu\">
  283.             <div class=\"flex_list_link indexbtn\" style=\"margin:10px 0;\">
  284.                 <a class=\"w32\" href=\"";
  285.             // line 119
  286.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("user_data", ["route" => "products"]);
  287.             echo "\">
  288.                     <img src=\"";
  289.             // line 120
  290.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  291.             echo "/html/user_data/index_link_icon/icon_category01setw.png\" style=\"display:block; width:40px; height:auto; margin:0 20px 0 0;\">
  292.                     <span>取扱商品</span></a>
  293.                     
  294.                     <a class=\"w32\" href=\"";
  295.             // line 123
  296.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("user_data", ["route" => "store_info"]);
  297.             echo "\">
  298.                     <img src=\"";
  299.             // line 124
  300.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  301.             echo "/html/user_data/index_link_icon/icon_plus_acc1w.png\" style=\"display:block; width:40px; height:auto; margin:0 20px 0 0;\">
  302.                     <span>アクセス</span></a>
  303.                     
  304.                     <a class=\"w32\" href=\"";
  305.             // line 127
  306.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("user_data", ["route" => "company"]);
  307.             echo "\">
  308.                     <img src=\"";
  309.             // line 128
  310.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  311.             echo "/html/user_data/index_link_icon/icon_plus_com1w.png\" style=\"display:block; width:40px; height:auto; margin:0 20px 0 0;\">
  312.                     <span>会社概要</span></a>
  313.                     
  314.                     <a class=\"w32\" href=\"";
  315.             // line 131
  316.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("user_data", ["route" => "commitment_uniform"]);
  317.             echo "\">
  318.                     <img src=\"";
  319.             // line 132
  320.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  321.             echo "/html/user_data/index_link_icon/icon_plus_care2w.png\" style=\"display:block; width:40px; height:auto; margin:0 20px 0 0;\">
  322.                     <span>制服のお手入れ</span></a>
  323.             </div>
  324.     ";
  325.         }
  326.         
  327.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  328.         
  329.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  330.     }
  331.     public function getTemplateName()
  332.     {
  333.         return "index.twig";
  334.     }
  335.     public function isTraitable()
  336.     {
  337.         return false;
  338.     }
  339.     public function getDebugInfo()
  340.     {
  341.         return array (  344 => 132,  340 => 131,  334 => 128,  330 => 127,  324 => 124,  320 => 123,  314 => 120,  310 => 119,  302 => 114,  298 => 112,  291 => 107,  285 => 104,  281 => 103,  277 => 102,  273 => 101,  269 => 100,  265 => 99,  261 => 97,  255 => 95,  251 => 94,  247 => 93,  243 => 92,  238 => 90,  234 => 89,  230 => 88,  226 => 87,  221 => 85,  217 => 84,  213 => 83,  209 => 82,  204 => 80,  200 => 79,  196 => 78,  192 => 77,  187 => 75,  183 => 74,  179 => 73,  175 => 72,  170 => 69,  168 => 68,  158 => 67,  143 => 60,  133 => 59,  115 => 50,  111 => 49,  102 => 43,  98 => 42,  90 => 37,  86 => 36,  75 => 27,  65 => 26,  54 => 22,  52 => 24,  39 => 22,);
  342.     }
  343.     public function getSourceContext()
  344.     {
  345.         return new Source("{#
  346. This file is part of EC-CUBE
  347. Copyright(c) 2000-2015 LOCKON CO.,LTD. All Rights Reserved.
  348. http://www.lockon.co.jp/
  349. This program is free software; you can redistribute it and/or
  350. modify it under the terms of the GNU General Public License
  351. as published by the Free Software Foundation; either version 2
  352. of the License, or (at your option) any later version.
  353. This program is distributed in the hope that it will be useful,
  354. but WITHOUT ANY WARRANTY; without even the implied warranty of
  355. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  356. GNU General Public License for more details.
  357. You should have received a copy of the GNU General Public License
  358. along with this program; if not, write to the Free Software
  359. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  360. #}
  361. {% extends 'default_frame.twig' %}
  362. {% set body_class = 'front_page' %}
  363. {% block javascript %}
  364. <script>
  365. \$(function(){
  366.     \$('.main_visual').slick({
  367.     centerMode: true,
  368.   centerPadding: '0',
  369.         dots:false,
  370.         arrows:true,
  371.         autoplay: true,
  372.         speed: 500,
  373.     prevArrow: '<div class=\"slide-arrow prev-arrow\"><img src=\"{{ asset('assets') }}/img/nikke/slick/w_prev.gif\"></div>',
  374.     nextArrow: '<div class=\"slide-arrow next-arrow\"><img src=\"{{ asset('assets') }}/img/nikke/slick/w_next.gif\"></div>',
  375.           responsive: [{
  376.                breakpoint: 768,
  377.                     settings: {
  378.   centerPadding: '0px',
  379.     prevArrow: '<div class=\"slide-arrow prev-arrow\"><img src=\"{{ asset('assets') }}/img/unishop/slick/w_prev.png\"></div>',
  380.     nextArrow: '<div class=\"slide-arrow next-arrow\"><img src=\"{{ asset('assets') }}/img/unishop/slick/w_next.png\"></div>'
  381.                }
  382.           },{
  383.                breakpoint: 480,
  384.                     settings: {
  385.   centerPadding: '0px',
  386.     prevArrow: '<div class=\"slide-arrow prev-arrow\"><img src=\"{{ asset('assets') }}/img/unishop/slick/w_prev.png\"></div>',
  387.     nextArrow: '<div class=\"slide-arrow next-arrow\"><img src=\"{{ asset('assets') }}/img/unishop/slick/w_next.png\"></div>'
  388.                     }
  389.                }
  390.           ]
  391.     });
  392. });
  393. </script>
  394. {% endblock %}
  395. {% block stylesheet %}
  396.     <style type=\"text/css\">
  397.         .main_visual {
  398.             max-width: 1080px;
  399.         }
  400.     </style>
  401. {% endblock %}
  402. {% block main %}
  403. {% if is_granted('ROLE_USER') %}
  404.     <div class=\"row\">
  405.        <div class=\"col-sm-12\" style=\"padding:0;\">
  406.             <div class=\"main_visual\">
  407. {% if app.user.school.school_id == '1' %}<!---立命館中学校--->
  408.                <a href=\"{{ url('product_list') }}\">
  409. <img class=\"pc\" src=\"{{ url('homepage') }}/html/user_data/main_image_pc01_toraya01.jpg\">
  410. <img class=\"sp\" src=\"{{ url('homepage') }}/html/user_data/main_image_sp01_toraya01.jpg\">
  411.                 </a>
  412. {% elseif app.user.school.school_id == '2' %}<!---立命館宇治中学校--->
  413.                <a href=\"{{ url('product_list') }}\">
  414. <img class=\"pc\" src=\"{{ url('homepage') }}/html/user_data/main_image_pc01_toraya02.jpg\">
  415. <img class=\"sp\" src=\"{{ url('homepage') }}/html/user_data/main_image_sp01_toraya02.jpg\">
  416.                 </a>
  417. {% elseif app.user.school.school_id == '3' %}<!---立命館宇治高等学校--->
  418.                <a href=\"{{ url('product_list') }}\">
  419. <img class=\"pc\" src=\"{{ url('homepage') }}/html/user_data/main_image_pc01_toraya03.jpg\">
  420. <img class=\"sp\" src=\"{{ url('homepage') }}/html/user_data/main_image_sp01_toraya03.jpg\">
  421.                 </a>
  422. {% elseif app.user.school.school_id == '4' %}<!---立命館守山中学校--->
  423.                <a href=\"{{ url('product_list') }}\">
  424. <img class=\"pc\" src=\"{{ url('homepage') }}/html/user_data/main_image_pc01_toraya04.jpg\">
  425. <img class=\"sp\" src=\"{{ url('homepage') }}/html/user_data/main_image_sp01_toraya04.jpg\">
  426.                 </a>
  427. {% elseif app.user.school.school_id == '5' %}<!---立命館守山高等学校--->
  428.                <a href=\"{{ url('product_list') }}\">
  429. <img class=\"pc\" src=\"{{ url('homepage') }}/html/user_data/main_image_pc01_toraya05.jpg\">
  430. <img class=\"sp\" src=\"{{ url('homepage') }}/html/user_data/main_image_sp01_toraya05.jpg\">
  431.                 </a>
  432. {% else %}<!--一般販売ほか-->
  433. <div class=\"schoolon item_toraya01\">
  434. \t\t<img class=\"item01\" src=\"{{ url('homepage') }}/html/user_data/scid05general/ippan01.png\">
  435. \t\t<img class=\"item02\" src=\"{{ url('homepage') }}/html/user_data/scid05general/ippan02.png\">
  436. \t\t<img class=\"item03\" src=\"{{ url('homepage') }}/html/user_data/scid05general/ippan03.png\">
  437. \t\t<img class=\"item04\" src=\"{{ url('homepage') }}/html/user_data/scid05general/ippan04.png\">
  438. \t\t<img class=\"item05\" src=\"{{ url('homepage') }}/html/user_data/scid05general/ippan05.png\">
  439. \t\t<img class=\"item06\" src=\"{{ url('homepage') }}/html/user_data/scid05general/ippan06.png\">
  440. </div>
  441. {% endif %}
  442.             </div>
  443.         </div>
  444.     </div>
  445.     <div id=\"contents\"><div id=\"main\">
  446.     {% else %}
  447.         <div id=\"contents\" class=\"logout\">
  448.             <div class=\"main_visual logouttop\">
  449.                 <div class=\"imgbox\" style=\"background-image:url({{ url('homepage') }}/html/user_data/main_image_pc_toraya001.jpg);\">
  450.                 </div>
  451.             </div>
  452.         <div class=\"container-fluid inner\"><div id=\"main logout_menu\">
  453.             <div class=\"flex_list_link indexbtn\" style=\"margin:10px 0;\">
  454.                 <a class=\"w32\" href=\"{{ url('user_data', {'route': 'products'}) }}\">
  455.                     <img src=\"{{ url('homepage') }}/html/user_data/index_link_icon/icon_category01setw.png\" style=\"display:block; width:40px; height:auto; margin:0 20px 0 0;\">
  456.                     <span>取扱商品</span></a>
  457.                     
  458.                     <a class=\"w32\" href=\"{{ url('user_data', {'route': 'store_info'}) }}\">
  459.                     <img src=\"{{ url('homepage') }}/html/user_data/index_link_icon/icon_plus_acc1w.png\" style=\"display:block; width:40px; height:auto; margin:0 20px 0 0;\">
  460.                     <span>アクセス</span></a>
  461.                     
  462.                     <a class=\"w32\" href=\"{{ url('user_data', {'route': 'company'}) }}\">
  463.                     <img src=\"{{ url('homepage') }}/html/user_data/index_link_icon/icon_plus_com1w.png\" style=\"display:block; width:40px; height:auto; margin:0 20px 0 0;\">
  464.                     <span>会社概要</span></a>
  465.                     
  466.                     <a class=\"w32\" href=\"{{ url('user_data', {'route': 'commitment_uniform'}) }}\">
  467.                     <img src=\"{{ url('homepage') }}/html/user_data/index_link_icon/icon_plus_care2w.png\" style=\"display:block; width:40px; height:auto; margin:0 20px 0 0;\">
  468.                     <span>制服のお手入れ</span></a>
  469.             </div>
  470.     {% endif %}
  471. {% endblock %}""index.twig""/home/nmtoraya01/toraya-seifuku-webshop.com/public_html/app/template/unishop/index.twig");
  472.     }
  473.     
  474.     public function checkSecurity()
  475.     {
  476.         static $tags = array("set" => 24"if" => 68);
  477.         static $filters = array("escape" => 36);
  478.         static $functions = array("asset" => 36"is_granted" => 68"url" => 73);
  479.         try {
  480.             $this->sandbox->checkSecurity(
  481.                 ['set''if'],
  482.                 ['escape'],
  483.                 ['asset''is_granted''url']
  484.             );
  485.         } catch (SecurityError $e) {
  486.             $e->setSourceContext($this->source);
  487.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  488.                 $e->setTemplateLine($tags[$e->getTagName()]);
  489.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  490.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  491.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  492.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  493.             }
  494.             throw $e;
  495.         }
  496.     }
  497. }