var/cache/dev/twig/19/1909f129774b1a9a25bb776137a468da.php line 55

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_aa65736827ce4f221549b174a961c408 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.             'stylesheet' => [$this'block_stylesheet'],
  24.             'javascript' => [$this'block_javascript'],
  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 11
  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 13
  43.         $context["body_class"] = "front_page";
  44.         // line 11
  45.         $this->parent $this->loadTemplate("default_frame.twig""index.twig"11);
  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 15
  53.     public function block_stylesheet($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""stylesheet"));
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  60.         // line 16
  61.         echo "\t<style>
  62. \t\t.slick-slider {
  63. \t\t\twidth: 100%;
  64. \t\t\tmax-width: 2500px;
  65. \t\t\tmargin-bottom: 0;
  66. \t\t}
  67. \t\t.slick-list {
  68. \t\t\theight: 100%;
  69. \t\t}
  70. \t\t.slick-dots {
  71. \t\t\tposition: absolute;
  72. \t\t\twidth: 100%;
  73. \t\t\tpadding: 0;
  74. \t\t\tlist-style: none;
  75. \t\t\ttext-align: center;
  76. \t\t}
  77. \t\t.slick-dots li {
  78. \t\t\tposition: relative;
  79. \t\t\tdisplay: inline-block;
  80. \t\t\twidth: 20px;
  81. \t\t\theight: 20px;
  82. \t\t\tmargin: 0 5px;
  83. \t\t\tpadding: 0;
  84. \t\t\tcursor: pointer;
  85. \t\t}
  86. \t\t.slick-dots li button {
  87. \t\t\tfont-size: 0;
  88. \t\t\tline-height: 0;
  89. \t\t\tdisplay: block;
  90. \t\t\twidth: 20px;
  91. \t\t\theight: 20px;
  92. \t\t\tpadding: 5px;
  93. \t\t\tcursor: pointer;
  94. \t\t\tcolor: transparent;
  95. \t\t\tborder: 0;
  96. \t\t\toutline: none;
  97. \t\t\tbackground: transparent;
  98. \t\t}
  99. \t\t.slick-dots li button:hover,
  100. \t\t.slick-dots li button:focus {
  101. \t\t\toutline: none;
  102. \t\t}
  103. \t\t.slick-dots li button:hover:before,
  104. \t\t.slick-dots li button:focus:before {
  105. \t\t\topacity: 1;
  106. \t\t}
  107. \t\t.slick-dots li button:before {
  108. \t\t\tcontent: \" \";
  109. \t\t\tline-height: 20px;
  110. \t\t\tposition: absolute;
  111. \t\t\ttop: 0;
  112. \t\t\tleft: 0;
  113. \t\t\twidth: 12px;
  114. \t\t\theight: 12px;
  115. \t\t\ttext-align: center;
  116. \t\t\topacity: 1;
  117. \t\t\tbackground-color: #ffffff;
  118. \t\t\tborder-radius: 50%;
  119. \t\t\tborder: 1px solid #CCCCCC;
  120. \t\t}
  121. \t\t.slick-dots li.slick-active button:before {
  122. \t\t\topacity: 1;
  123. \t\t\tbackground-color: #707070;
  124. \t\t\tborder: 1px solid #707070;
  125. \t\t}
  126. \t\t.slick-dots li button.thumbnail img {
  127. \t\t\twidth: 0;
  128. \t\t\theight: 0;
  129. \t\t}
  130. \t</style>
  131. ";
  132.         
  133.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  134.         
  135.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  136.     }
  137.     // line 96
  138.     public function block_javascript($context, array $blocks = [])
  139.     {
  140.         $macros $this->macros;
  141.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  142.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  143.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  144.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  145.         // line 97
  146.         echo "\t <script>
  147. \t\t\t        \$(function() {
  148. \t\t\t            \$('.main_visual').slick({
  149. \t\t\t                dots: false,
  150. \t\t\t                arrows: true,
  151. \t\t\t                autoplay: true,
  152. \t\t\t                infinite: true,
  153. \t\t\t                speed: 500,
  154. \t\t\t                centerMode:true,
  155. \t\t\t    centerPadding:\"25%\",
  156. \t\t        // slidesToShow: 3,
  157. \t\t\t    adaptiveHeight: true,
  158. \t\t\t    prevArrow: '<img src=\"";
  159.         // line 109
  160.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/icon-arrow-prev.png"), "html"nulltrue);
  161.         echo "\" class=\"slide-arrow prev-arrow\">',
  162. \t\t\t    nextArrow: '<img src=\"";
  163.         // line 110
  164.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/icon-arrow-next.png"), "html"nulltrue);
  165.         echo "\" class=\"slide-arrow next-arrow\">',
  166. \t\t        responsive: [
  167. \t\t            {
  168. \t\t            breakpoint: 1440,
  169. \t\t                   settings: {
  170. \t\t                     centerPadding:\"14%\",
  171. \t\t                   },
  172. \t\t            },
  173. \t\t            {
  174. \t\t            breakpoint: 768,
  175. \t\t                settings: {
  176. \t\t                    // arrows: false,
  177. \t\t                    slidesToShow: 1,
  178. \t\t                    centerPadding: false,
  179. \t\t                    dots: true,
  180. \t\t                },
  181. \t\t            },
  182. \t\t        ],
  183. \t\t\t            });
  184. \t\t\t        });
  185. \t\t\t    </script>
  186. ";
  187.         
  188.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  189.         
  190.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  191.     }
  192.     // line 133
  193.     public function block_main($context, array $blocks = [])
  194.     {
  195.         $macros $this->macros;
  196.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  197.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  198.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  199.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  200.         // line 134
  201.         echo "\t<div class=\"ec-sliderRole pc\">
  202. \t\t<div class=\"main_visual\">
  203. \t\t\t<div class=\"item slick-slide\">
  204. \t\t\t    ";
  205.         // line 138
  206.         echo "\t\t\t\t<img src=\"/html/user_data/01.jpg\" alt=\"特集\">
  207. \t\t\t</div>
  208. \t\t\t<div class=\"item slick-slide\">
  209. \t\t\t    ";
  210.         // line 142
  211.         echo "\t\t\t    <img src=\"/html/user_data/02.jpg\" alt=\"特集\">
  212. \t\t\t    ";
  213.         // line 144
  214.         echo "\t\t\t</div>
  215. \t\t\t<div class=\"item slick-slide\">
  216. \t\t\t\t";
  217.         // line 147
  218.         echo "\t\t\t\t    <img src=\"/html/user_data/03.jpg\" alt=\"特集\">
  219. \t\t\t    ";
  220.         // line 149
  221.         echo "\t\t\t</div>
  222. \t\t</div>
  223. \t</div>
  224. \t<div class=\"ec-sliderRole sp\">
  225. \t\t<div class=\"main_visual\">
  226. \t\t\t<div class=\"item slick-slide\">
  227. \t\t\t    ";
  228.         // line 156
  229.         echo "\t\t\t\t<img src=\"/html/user_data/SP01.jpg\" alt=\"特集\">
  230. \t\t\t</div>
  231. \t\t\t<div class=\"item slick-slide\">
  232. \t\t\t    ";
  233.         // line 160
  234.         echo "\t\t\t    <img src=\"/html/user_data/sp02.jpg\" alt=\"特集\">
  235. \t\t\t</div>
  236. \t\t\t<div class=\"item slick-slide\">
  237. \t\t\t    ";
  238.         // line 164
  239.         echo "\t\t\t\t<img src=\"/html/user_data/SP03.jpg\" alt=\"特集\">
  240. \t\t\t</div>
  241. \t\t</div>
  242. \t</div>
  243. ";
  244.         
  245.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  246.         
  247.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  248.     }
  249.     public function getTemplateName()
  250.     {
  251.         return "index.twig";
  252.     }
  253.     public function isTraitable()
  254.     {
  255.         return false;
  256.     }
  257.     public function getDebugInfo()
  258.     {
  259.         return array (  271 => 164,  266 => 160,  261 => 156,  253 => 149,  250 => 147,  246 => 144,  243 => 142,  238 => 138,  233 => 134,  223 => 133,  191 => 110,  187 => 109,  173 => 97,  163 => 96,  75 => 16,  65 => 15,  54 => 11,  52 => 13,  39 => 11,);
  260.     }
  261.     public function getSourceContext()
  262.     {
  263.         return new Source("{#
  264. This file is part of EC-CUBE
  265. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  266. http://www.ec-cube.co.jp/
  267. For the full copyright and license information, please view the LICENSE
  268. file that was distributed with this source code.
  269. #}
  270. {% extends 'default_frame.twig' %}
  271. {% set body_class = 'front_page' %}
  272. {% block stylesheet %}
  273. \t<style>
  274. \t\t.slick-slider {
  275. \t\t\twidth: 100%;
  276. \t\t\tmax-width: 2500px;
  277. \t\t\tmargin-bottom: 0;
  278. \t\t}
  279. \t\t.slick-list {
  280. \t\t\theight: 100%;
  281. \t\t}
  282. \t\t.slick-dots {
  283. \t\t\tposition: absolute;
  284. \t\t\twidth: 100%;
  285. \t\t\tpadding: 0;
  286. \t\t\tlist-style: none;
  287. \t\t\ttext-align: center;
  288. \t\t}
  289. \t\t.slick-dots li {
  290. \t\t\tposition: relative;
  291. \t\t\tdisplay: inline-block;
  292. \t\t\twidth: 20px;
  293. \t\t\theight: 20px;
  294. \t\t\tmargin: 0 5px;
  295. \t\t\tpadding: 0;
  296. \t\t\tcursor: pointer;
  297. \t\t}
  298. \t\t.slick-dots li button {
  299. \t\t\tfont-size: 0;
  300. \t\t\tline-height: 0;
  301. \t\t\tdisplay: block;
  302. \t\t\twidth: 20px;
  303. \t\t\theight: 20px;
  304. \t\t\tpadding: 5px;
  305. \t\t\tcursor: pointer;
  306. \t\t\tcolor: transparent;
  307. \t\t\tborder: 0;
  308. \t\t\toutline: none;
  309. \t\t\tbackground: transparent;
  310. \t\t}
  311. \t\t.slick-dots li button:hover,
  312. \t\t.slick-dots li button:focus {
  313. \t\t\toutline: none;
  314. \t\t}
  315. \t\t.slick-dots li button:hover:before,
  316. \t\t.slick-dots li button:focus:before {
  317. \t\t\topacity: 1;
  318. \t\t}
  319. \t\t.slick-dots li button:before {
  320. \t\t\tcontent: \" \";
  321. \t\t\tline-height: 20px;
  322. \t\t\tposition: absolute;
  323. \t\t\ttop: 0;
  324. \t\t\tleft: 0;
  325. \t\t\twidth: 12px;
  326. \t\t\theight: 12px;
  327. \t\t\ttext-align: center;
  328. \t\t\topacity: 1;
  329. \t\t\tbackground-color: #ffffff;
  330. \t\t\tborder-radius: 50%;
  331. \t\t\tborder: 1px solid #CCCCCC;
  332. \t\t}
  333. \t\t.slick-dots li.slick-active button:before {
  334. \t\t\topacity: 1;
  335. \t\t\tbackground-color: #707070;
  336. \t\t\tborder: 1px solid #707070;
  337. \t\t}
  338. \t\t.slick-dots li button.thumbnail img {
  339. \t\t\twidth: 0;
  340. \t\t\theight: 0;
  341. \t\t}
  342. \t</style>
  343. {% endblock %}
  344. {% block javascript %}
  345. \t <script>
  346. \t\t\t        \$(function() {
  347. \t\t\t            \$('.main_visual').slick({
  348. \t\t\t                dots: false,
  349. \t\t\t                arrows: true,
  350. \t\t\t                autoplay: true,
  351. \t\t\t                infinite: true,
  352. \t\t\t                speed: 500,
  353. \t\t\t                centerMode:true,
  354. \t\t\t    centerPadding:\"25%\",
  355. \t\t        // slidesToShow: 3,
  356. \t\t\t    adaptiveHeight: true,
  357. \t\t\t    prevArrow: '<img src=\"{{ asset('assets/img/icon-arrow-prev.png') }}\" class=\"slide-arrow prev-arrow\">',
  358. \t\t\t    nextArrow: '<img src=\"{{ asset('assets/img/icon-arrow-next.png') }}\" class=\"slide-arrow next-arrow\">',
  359. \t\t        responsive: [
  360. \t\t            {
  361. \t\t            breakpoint: 1440,
  362. \t\t                   settings: {
  363. \t\t                     centerPadding:\"14%\",
  364. \t\t                   },
  365. \t\t            },
  366. \t\t            {
  367. \t\t            breakpoint: 768,
  368. \t\t                settings: {
  369. \t\t                    // arrows: false,
  370. \t\t                    slidesToShow: 1,
  371. \t\t                    centerPadding: false,
  372. \t\t                    dots: true,
  373. \t\t                },
  374. \t\t            },
  375. \t\t        ],
  376. \t\t\t            });
  377. \t\t\t        });
  378. \t\t\t    </script>
  379. {% endblock javascript %}
  380. {% block main %}
  381. \t<div class=\"ec-sliderRole pc\">
  382. \t\t<div class=\"main_visual\">
  383. \t\t\t<div class=\"item slick-slide\">
  384. \t\t\t    {#<a href=\"{{ url('product_list') }}?category_id=26\">#}
  385. \t\t\t\t<img src=\"/html/user_data/01.jpg\" alt=\"特集\">
  386. \t\t\t</div>
  387. \t\t\t<div class=\"item slick-slide\">
  388. \t\t\t    {#<a href=\"{{ url('product_list') }}?category_id=27\">#}
  389. \t\t\t    <img src=\"/html/user_data/02.jpg\" alt=\"特集\">
  390. \t\t\t    {#</a>#}
  391. \t\t\t</div>
  392. \t\t\t<div class=\"item slick-slide\">
  393. \t\t\t\t{#<a href=\"{{ url('product_list') }}?category_id=28\">#}
  394. \t\t\t\t    <img src=\"/html/user_data/03.jpg\" alt=\"特集\">
  395. \t\t\t    {#</a>#}
  396. \t\t\t</div>
  397. \t\t</div>
  398. \t</div>
  399. \t<div class=\"ec-sliderRole sp\">
  400. \t\t<div class=\"main_visual\">
  401. \t\t\t<div class=\"item slick-slide\">
  402. \t\t\t    {#<a href=\"{{ url('product_list') }}?category_id=27\"></a>#}
  403. \t\t\t\t<img src=\"/html/user_data/SP01.jpg\" alt=\"特集\">
  404. \t\t\t</div>
  405. \t\t\t<div class=\"item slick-slide\">
  406. \t\t\t    {#<a href=\"{{ url('product_list') }}?category_id=27\"></a>\t\t\t\t#}
  407. \t\t\t    <img src=\"/html/user_data/sp02.jpg\" alt=\"特集\">
  408. \t\t\t</div>
  409. \t\t\t<div class=\"item slick-slide\">
  410. \t\t\t    {#<a href=\"{{ url('product_list') }}?category_id=28\"></a>#}
  411. \t\t\t\t<img src=\"/html/user_data/SP03.jpg\" alt=\"特集\">
  412. \t\t\t</div>
  413. \t\t</div>
  414. \t</div>
  415. {% endblock %}""index.twig""/home/c9635817/public_html/attrait-shop.com/app/template/default/index.twig");
  416.     }
  417.     
  418.     public function checkSecurity()
  419.     {
  420.         static $tags = array("set" => 13);
  421.         static $filters = array("escape" => 109);
  422.         static $functions = array("asset" => 109);
  423.         try {
  424.             $this->sandbox->checkSecurity(
  425.                 ['set'],
  426.                 ['escape'],
  427.                 ['asset'],
  428.                 $this->source
  429.             );
  430.         } catch (SecurityError $e) {
  431.             $e->setSourceContext($this->source);
  432.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  433.                 $e->setTemplateLine($tags[$e->getTagName()]);
  434.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  435.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  436.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  437.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  438.             }
  439.             throw $e;
  440.         }
  441.     }
  442. }