var/cache/dev/twig/07/076e4a2bd1f1eae452be720f49ee7946ae592d93273e9fe43d96880d48f775ae.php line 48

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. /* @user_data/builtin_select01.twig */
  14. class __TwigTemplate_c041e0745f5f3c1b54de52a026328ea719f65a0f67244043b8b6b56f3efcbf85 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.             'main' => [$this'block_main'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return "default_frame.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@user_data/builtin_select01.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@user_data/builtin_select01.twig"));
  38.         $this->parent $this->loadTemplate("default_frame.twig""@user_data/builtin_select01.twig"1);
  39.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  40.         
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  42.         
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  44.     }
  45.     // line 6
  46.     public function block_main($context, array $blocks = [])
  47.     {
  48.         $macros $this->macros;
  49.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  51.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  53.         // line 7
  54.         echo "
  55. <style>
  56. /*html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {*/
  57. /*\tmargin: 0;*/
  58. /*\tpadding: 0;*/
  59. /*\tborder: 0;*/
  60. /*\toutline: 0;*/
  61. /*\tfont-size: 100%;*/
  62. /*\tvertical-align: baseline;*/
  63. /*\tbackground: transparent;*/
  64. /*}*/
  65. /**, *::after, *::before {*/
  66. /*\tbox-sizing: border-box;*/
  67. /*}*/
  68. .l_item_btn {
  69. \tborder: 1px solid;
  70. \tcolor: #444444;
  71. }
  72. /*a, a:visited, a:hover, a:active {*/
  73. /*\ttext-decoration: none;*/
  74. /*\ttransition: all 0.8s;*/
  75. /*\tcolor: #1266ac;*/
  76. /*}*/
  77. /*a {*/
  78. /*\tmargin: 0;*/
  79. /*\tpadding: 0;*/
  80. /*\tfont-size: 100%;*/
  81. /*\tvertical-align: baseline;*/
  82. /*\tbackground: transparent;*/
  83. /*}*/
  84. /*div {*/
  85. /*\tbox-sizing: border-box;*/
  86. /*}*/
  87. /*body {*/
  88. /*\tline-height: 1;*/
  89. /*}*/
  90. /*body {*/
  91. /*\tcolor: #333;*/
  92. /*\tword-wrap: break-word;*/
  93. /*\tfont-family: \"Yu Mincho Light\",\"YuMincho\",\"Yu Mincho\",\"游明朝体\",\"ヒラギノ明朝 ProN\",\"Hiragino Mincho ProN\",sans-serif;*/
  94. /*\tfont-size: 14px;*/
  95. /*\tline-height: 1.8;*/
  96. /*}*/
  97. /*article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {*/
  98. /*\tdisplay: block;*/
  99. /*}*/
  100. /*.d_contents {*/
  101. /*\twidth: 80%;*/
  102. /*\tfloat: right;*/
  103. /*}*/
  104. .d_main {
  105. \tpadding: 30px 0;
  106. \twidth: 100%;
  107. }
  108. .clearfix {
  109. \tdisplay: inline-block;
  110. \tdisplay: block;
  111. }
  112. .l_items_builtin {
  113. \tmargin-bottom: 50px;
  114. }
  115. .d_item_title {
  116. \tfont-size: 20px;
  117. \tpadding-bottom: 5px;
  118. \tborder-bottom: 1px solid;
  119. \tmargin-bottom: 20px;
  120. \ttext-align: left;
  121. }
  122. .t_flexBox {
  123. \tdisplay: flex;
  124. \tdisplay: -webkit-box;
  125. \tdisplay: -ms-flexbox;
  126. \tdisplay: -webkit-flex;
  127. \tflex-flow: row wrap;
  128. \tjustify-content: space-between;
  129. }
  130. .l_items_builtin .mainImg {
  131. \twidth: 40%;
  132. \tposition: relative;
  133. }
  134. .l_items_builtin .items {
  135. \twidth: 60%;
  136. \tpadding: 0 10px;
  137. }
  138. .l_items_builtin .l_items {
  139. \twidth: calc(50%);
  140. \tpadding: 0 10px;
  141. \tmargin-bottom: 30px;
  142. }
  143. .d_item_name {
  144. \tfont-size: 16px;
  145. \tpadding: 5px 0;
  146. \tborder-bottom: 1px solid;
  147. \tmargin-bottom: 13px;
  148. }
  149. .l_items_builtin .l_items .txt {
  150. \theight: 65px;
  151. \tfont-size: 88%;
  152. }
  153. .l_items_builtin .l_items .price {
  154. \ttext-align: right;
  155. \tfont-weight: bold;
  156. \tfont-size: 110%;
  157. }
  158. .l_items_builtin .l_items .l_item_btn {
  159. \tdisplay: block;
  160. \twidth: 100%;
  161. \ttext-align: center;
  162. \tmargin: 10px auto 0;
  163. \tpadding: 5px 0;
  164. }
  165. .l_items_builtin .l_items img {
  166. \twidth: 100%;
  167. }
  168. .l_items_builtin .mainImg img {
  169. \twidth: 100%;
  170. }
  171. .d_item_title span {
  172. \tfont-size: 12px;
  173. \tdisplay: block;
  174. \tfont-weight: normal;
  175. }
  176. @media only screen and (max-width:767px) {
  177.     .d_main {
  178.     \tpadding: 20px 0;
  179.     \twidth: 100%;
  180.     }
  181.     .d_contents {
  182.     \twidth: 100%;
  183.     \tpadding: 0 8px;
  184.     }
  185.     .l_items_builtin .mainImg {
  186.     \twidth: 100%;
  187.     }
  188.     .l_items_builtin .items {
  189.     \twidth: 100%;
  190.     \tpadding: 0;
  191.     }
  192.     .l_items_builtin :nth-child(2n-1).l_items {
  193.     \tpadding-left: 0px;
  194.     }
  195.     .l_items_builtin :nth-child(2n).l_items {
  196.     \tpadding-right: 0px;
  197.     }
  198.     .l_items_builtin .l_items .txt {
  199.     \theight: 100px;
  200.     }
  201. }
  202. </style>
  203. ";
  204.         // line 192
  205.         echo "
  206. ";
  207.         // line 193
  208.         $macros["__internal_parse_0"] = $this;
  209.         // line 194
  210.         echo "
  211. <body><main><div class=\"d_main clearfix\"><section class=\"d_contents\">
  212.     <div class=\"l_items_builtin\">
  213.       <h2 class=\"d_item_title\"><span>バクテリア・ウイルス除去が可能なマルチピュア最上位モデル</span>Aquaextra</h2>
  214.       <div class=\"t_flexBox\">
  215.         ";
  216.         // line 200
  217.         echo "        <div class=\"mainImg\"><img src=\"/html/user_data/img/items/aquaextra.png\"></div>
  218.         <div class=\"items t_flexBox\">
  219.           ";
  220.         // line 203
  221.         echo "          <div class=\"l_items\">
  222.             <p><img src=\"/html/user_data/img/items/bt.jpg\"></p>
  223.             ";
  224.         // line 205
  225.         echo twig_call_macro($macros["__internal_parse_0"], "macro_setLItem", [328"バクテリア・ウイルス除去が可能なマルチピュア最上位モデルです。"], 205$context$this->getSourceContext());
  226.         echo "
  227.           </div>
  228.           ";
  229.         // line 208
  230.         echo "          <div class=\"l_items\">
  231.             <p><img src=\"/html/user_data/img/items/bg.png\"></p>
  232.             ";
  233.         // line 210
  234.         echo twig_call_macro($macros["__internal_parse_0"], "macro_setLItem", [311"バクテリア・ウイルス除去が可能なマルチピュア最上位モデルです。。"], 210$context$this->getSourceContext());
  235.         echo "
  236.           </div>
  237.           ";
  238.         // line 213
  239.         echo "          <div class=\"l_items\">
  240.             <p><img src=\"/html/user_data/img/items/ba.png\"></p>
  241.             ";
  242.         // line 215
  243.         echo twig_call_macro($macros["__internal_parse_0"], "macro_setLItem", [310"バクテリア・ウイルス除去が可能なマルチピュア最上位モデルです。"], 215$context$this->getSourceContext());
  244.         echo "
  245.           </div>
  246.           ";
  247.         // line 218
  248.         echo "          <div class=\"l_items\">
  249.             <p><img src=\"/html/user_data/img/items/bh.png\"></p>
  250.             ";
  251.         // line 220
  252.         echo twig_call_macro($macros["__internal_parse_0"], "macro_setLItem", [307"バクテリア・ウイルス除去が可能なマルチピュア最上位機種とGROHE製の専用水栓のセットです。"], 220$context$this->getSourceContext());
  253.         echo "
  254.           </div>
  255.           ";
  256.         // line 223
  257.         echo "          <div class=\"l_items\">
  258.             <p><img src=\"/html/user_data/img/items/bj.png\"></p>
  259.             ";
  260.         // line 225
  261.         echo twig_call_macro($macros["__internal_parse_0"], "macro_setLItem", [308"バクテリア・ウイルス除去が可能なマルチピュア最上位機種とシンプルな専用水栓のセットです。"], 225$context$this->getSourceContext());
  262.         echo "
  263.           </div>
  264.         </div>
  265.       </div>
  266.     </div>
  267.     <div class=\"l_items_builtin\">
  268.       <h2 class=\"d_item_title\"><span>ご家族4人以上のファミリータイプ</span>Model-750</h2>
  269.       <div class=\"t_flexBox\">
  270.         ";
  271.         // line 234
  272.         echo "        <div class=\"mainImg\"><img src=\"/html/user_data/img/items/model750.png\"></div>
  273.         <div class=\"items t_flexBox\">
  274.           ";
  275.         // line 237
  276.         echo "          <div class=\"l_items\">
  277.             <p><img src=\"/html/user_data/img/items/bt.jpg\"></p>
  278.             ";
  279.         // line 239
  280.         echo twig_call_macro($macros["__internal_parse_0"], "macro_setLItem", [314"水・お湯・浄水が1本の水栓で使用できる<br />グースネック型タッチレス水栓タイプです。"], 239$context$this->getSourceContext());
  281.         echo "
  282.           </div>
  283.           ";
  284.         // line 242
  285.         echo "          <div class=\"l_items\">
  286.             <p><img src=\"/html/user_data/img/items/bg.png\"></p>
  287.             ";
  288.         // line 244
  289.         echo twig_call_macro($macros["__internal_parse_0"], "macro_setLItem", [317"水・お湯・浄水が1本の水栓で使用できる<br />兼用水栓グースネックタイプです。"], 244$context$this->getSourceContext());
  290.         echo "
  291.           </div>
  292.           ";
  293.         // line 247
  294.         echo "          <div class=\"l_items\">
  295.             <p><img src=\"/html/user_data/img/items/ba.png\"></p>
  296.             ";
  297.         // line 249
  298.         echo twig_call_macro($macros["__internal_parse_0"], "macro_setLItem", [316"水・お湯・浄水が1本の水栓で使用できる<br />兼用水栓タイプです。"], 249$context$this->getSourceContext());
  299.         echo "
  300.           </div>
  301.           ";
  302.         // line 252
  303.         echo "          <div class=\"l_items\">
  304.             <p><img src=\"/html/user_data/img/items/bh.png\"></p>
  305.             ";
  306.         // line 254
  307.         echo twig_call_macro($macros["__internal_parse_0"], "macro_setLItem", [318"美しいデザインと機能性を兼ね備えたGROHE水栓を採用。"], 254$context$this->getSourceContext());
  308.         echo "
  309.           </div>
  310.           ";
  311.         // line 257
  312.         echo "          <div class=\"l_items\">
  313.             <p><img src=\"/html/user_data/img/items/bj.png\"></p>
  314.             ";
  315.         // line 259
  316.         echo twig_call_macro($macros["__internal_parse_0"], "macro_setLItem", [319"浄水器本体をシンク下に設置し、キッチンをスッキリ快適に。"], 259$context$this->getSourceContext());
  317.         echo "
  318.           </div>
  319.         </div>
  320.       </div>
  321.     </div>
  322.     <div class=\"l_items_builtin\">
  323.       <h2 class=\"d_item_title\"><span>ご家族4人未満のコンパクトタイプ</span>Model-D400</h2>
  324.       <div class=\"t_flexBox\">
  325.         ";
  326.         // line 268
  327.         echo "        <div class=\"mainImg\"><img src=\"/html/user_data/img/items/model400.png\"></div>
  328.         <div class=\"items t_flexBox\">
  329.           ";
  330.         // line 271
  331.         echo "          <div class=\"l_items\">
  332.             <p><img src=\"/html/user_data/img/items/bt.jpg\"></p>
  333.             ";
  334.         // line 273
  335.         echo twig_call_macro($macros["__internal_parse_0"], "macro_setLItem", [322"水・お湯・浄水が1本の水栓で使用できる<br />グースネック型タッチレス水栓タイプです。"], 273$context$this->getSourceContext());
  336.         echo "
  337.           </div>
  338.           ";
  339.         // line 276
  340.         echo "          <div class=\"l_items\">
  341.             <p><img src=\"/html/user_data/img/items/bg.png\"></p>
  342.             ";
  343.         // line 278
  344.         echo twig_call_macro($macros["__internal_parse_0"], "macro_setLItem", [325"水・お湯・浄水が1本の水栓で使用できる<br />兼用水栓グースネックタイプです。"], 278$context$this->getSourceContext());
  345.         echo "
  346.           </div>
  347.           ";
  348.         // line 281
  349.         echo "          <div class=\"l_items\">
  350.             <p><img src=\"/html/user_data/img/items/ba.png\"></p>
  351.             ";
  352.         // line 283
  353.         echo twig_call_macro($macros["__internal_parse_0"], "macro_setLItem", [324"水・お湯・浄水が1本の水栓で使用できる<br />兼用水栓タイプです。"], 283$context$this->getSourceContext());
  354.         echo "
  355.           </div>
  356.           ";
  357.         // line 286
  358.         echo "          <div class=\"l_items\">
  359.             <p><img src=\"/html/user_data/img/items/bh.png\"></p>
  360.             ";
  361.         // line 288
  362.         echo twig_call_macro($macros["__internal_parse_0"], "macro_setLItem", [326"美しいデザインと機能性を兼ね備えたGROHE水栓を採用。"], 288$context$this->getSourceContext());
  363.         echo "
  364.           </div>
  365.           ";
  366.         // line 291
  367.         echo "          <div class=\"l_items\">
  368.             <p><img src=\"/html/user_data/img/items/bj.png\"></p>
  369.             ";
  370.         // line 293
  371.         echo twig_call_macro($macros["__internal_parse_0"], "macro_setLItem", [327"浄水器本体をシンク下に設置し、キッチンをスッキリ快適に。"], 293$context$this->getSourceContext());
  372.         echo "
  373.           </div>
  374.         </div>
  375.       </div>
  376.     </div>
  377.   </section></div></main>
  378. ";
  379.         
  380.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  381.         
  382.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  383.     }
  384.     // line 160
  385.     public function macro_setLItem($__product_id__ null$__description__ null, ...$__varargs__)
  386.     {
  387.         $macros $this->macros;
  388.         $context $this->env->mergeGlobals([
  389.             "product_id" => $__product_id__,
  390.             "description" => $__description__,
  391.             "varargs" => $__varargs__,
  392.         ]);
  393.         $blocks = [];
  394.         ob_start();
  395.         try {
  396.             $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  397.             $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""setLItem"));
  398.             $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  399.             $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""setLItem"));
  400.             // line 161
  401.             $context["Product"] = $this->extensions['Customize\Twig\Extension\TwigExtension']->getProduct((isset($context["product_id"]) || array_key_exists("product_id"$context) ? $context["product_id"] : (function () { throw new RuntimeError('Variable "product_id" does not exist.'161$this->source); })()));
  402.             // line 162
  403.             echo "            <h3 class=\"d_item_name\">";
  404.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'162$this->source); })()), "name", [], "any"falsefalsefalse162), "html"nulltrue);
  405.             echo "</h3>
  406.             ";
  407.             // line 164
  408.             echo "            ";
  409.             // line 165
  410.             echo "            
  411.             ";
  412.             // line 167
  413.             echo "            ";
  414.             // line 168
  415.             echo "            ";
  416.             // line 169
  417.             echo "            ";
  418.             // line 170
  419.             echo "            ";
  420.             // line 171
  421.             echo "            ";
  422.             // line 172
  423.             echo "            ";
  424.             // line 174
  425.             echo "            <p class=\"txt\">";
  426.             echo (isset($context["description"]) || array_key_exists("description"$context) ? $context["description"] : (function () { throw new RuntimeError('Variable "description" does not exist.'174$this->source); })());
  427.             echo "</p>
  428. ";
  429.             // line 176
  430.             echo "            ";
  431.             // line 177
  432.             echo "            <p class=\"price\" style=\"text-align: left;\">
  433.               ";
  434.             // line 178
  435.             echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'178$this->source); })()), "getPrice02IncTaxMax", [], "any"falsefalsefalse178)), "html"nulltrue);
  436.             echo "円税込
  437.             </p>
  438.                     ";
  439.             // line 180
  440.             if (twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'180$this->source); })()), "hasProductClass", [], "any"falsefalsefalse180)) {
  441.                 // line 181
  442.                 echo "                        ";
  443.                 if ((twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'181$this->source); })()), "getPrice02Min", [], "any"falsefalsefalse181) == twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'181$this->source); })()), "getPrice02Max", [], "any"falsefalsefalse181))) {
  444.                     // line 182
  445.                     echo "                            <br />
  446.                         ";
  447.                 } else {
  448.                     // line 184
  449.                     echo "                            <span class=\"txt\" style=\"font-size: 10px;\">(オートシップメント契約価格";
  450.                     echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'184$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse184)), "html"nulltrue);
  451.                     echo "円税込)</span>
  452.                         ";
  453.                 }
  454.                 // line 186
  455.                 echo "                    ";
  456.             } else {
  457.                 // line 187
  458.                 echo "                            <br />
  459.                     ";
  460.             }
  461.             // line 189
  462.             echo "            
  463.             <a class=\"l_item_btn\" href=\"";
  464.             // line 190
  465.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'190$this->source); })()), "id", [], "any"falsefalsefalse190)]), "html"nulltrue);
  466.             echo "\">詳細へ</a>
  467. ";
  468.             
  469.             $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  470.             
  471.             $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  472.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  473.         } finally {
  474.             ob_end_clean();
  475.         }
  476.     }
  477.     public function getTemplateName()
  478.     {
  479.         return "@user_data/builtin_select01.twig";
  480.     }
  481.     public function isTraitable()
  482.     {
  483.         return false;
  484.     }
  485.     public function getDebugInfo()
  486.     {
  487.         return array (  490 => 190,  487 => 189,  483 => 187,  480 => 186,  474 => 184,  470 => 182,  467 => 181,  465 => 180,  460 => 178,  457 => 177,  455 => 176,  450 => 174,  448 => 172,  446 => 171,  444 => 170,  442 => 169,  440 => 168,  438 => 167,  435 => 165,  433 => 164,  428 => 162,  426 => 161,  406 => 160,  389 => 293,  385 => 291,  380 => 288,  376 => 286,  371 => 283,  367 => 281,  362 => 278,  358 => 276,  353 => 273,  349 => 271,  345 => 268,  334 => 259,  330 => 257,  325 => 254,  321 => 252,  316 => 249,  312 => 247,  307 => 244,  303 => 242,  298 => 239,  294 => 237,  290 => 234,  279 => 225,  275 => 223,  270 => 220,  266 => 218,  261 => 215,  257 => 213,  252 => 210,  248 => 208,  243 => 205,  239 => 203,  235 => 200,  228 => 194,  226 => 193,  223 => 192,  68 => 7,  58 => 6,  35 => 1,);
  488.     }
  489.     public function getSourceContext()
  490.     {
  491.         return new Source("{% extends 'default_frame.twig' %}
  492. {% block main %}
  493. <style>
  494. /*html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {*/
  495. /*\tmargin: 0;*/
  496. /*\tpadding: 0;*/
  497. /*\tborder: 0;*/
  498. /*\toutline: 0;*/
  499. /*\tfont-size: 100%;*/
  500. /*\tvertical-align: baseline;*/
  501. /*\tbackground: transparent;*/
  502. /*}*/
  503. /**, *::after, *::before {*/
  504. /*\tbox-sizing: border-box;*/
  505. /*}*/
  506. .l_item_btn {
  507. \tborder: 1px solid;
  508. \tcolor: #444444;
  509. }
  510. /*a, a:visited, a:hover, a:active {*/
  511. /*\ttext-decoration: none;*/
  512. /*\ttransition: all 0.8s;*/
  513. /*\tcolor: #1266ac;*/
  514. /*}*/
  515. /*a {*/
  516. /*\tmargin: 0;*/
  517. /*\tpadding: 0;*/
  518. /*\tfont-size: 100%;*/
  519. /*\tvertical-align: baseline;*/
  520. /*\tbackground: transparent;*/
  521. /*}*/
  522. /*div {*/
  523. /*\tbox-sizing: border-box;*/
  524. /*}*/
  525. /*body {*/
  526. /*\tline-height: 1;*/
  527. /*}*/
  528. /*body {*/
  529. /*\tcolor: #333;*/
  530. /*\tword-wrap: break-word;*/
  531. /*\tfont-family: \"Yu Mincho Light\",\"YuMincho\",\"Yu Mincho\",\"游明朝体\",\"ヒラギノ明朝 ProN\",\"Hiragino Mincho ProN\",sans-serif;*/
  532. /*\tfont-size: 14px;*/
  533. /*\tline-height: 1.8;*/
  534. /*}*/
  535. /*article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {*/
  536. /*\tdisplay: block;*/
  537. /*}*/
  538. /*.d_contents {*/
  539. /*\twidth: 80%;*/
  540. /*\tfloat: right;*/
  541. /*}*/
  542. .d_main {
  543. \tpadding: 30px 0;
  544. \twidth: 100%;
  545. }
  546. .clearfix {
  547. \tdisplay: inline-block;
  548. \tdisplay: block;
  549. }
  550. .l_items_builtin {
  551. \tmargin-bottom: 50px;
  552. }
  553. .d_item_title {
  554. \tfont-size: 20px;
  555. \tpadding-bottom: 5px;
  556. \tborder-bottom: 1px solid;
  557. \tmargin-bottom: 20px;
  558. \ttext-align: left;
  559. }
  560. .t_flexBox {
  561. \tdisplay: flex;
  562. \tdisplay: -webkit-box;
  563. \tdisplay: -ms-flexbox;
  564. \tdisplay: -webkit-flex;
  565. \tflex-flow: row wrap;
  566. \tjustify-content: space-between;
  567. }
  568. .l_items_builtin .mainImg {
  569. \twidth: 40%;
  570. \tposition: relative;
  571. }
  572. .l_items_builtin .items {
  573. \twidth: 60%;
  574. \tpadding: 0 10px;
  575. }
  576. .l_items_builtin .l_items {
  577. \twidth: calc(50%);
  578. \tpadding: 0 10px;
  579. \tmargin-bottom: 30px;
  580. }
  581. .d_item_name {
  582. \tfont-size: 16px;
  583. \tpadding: 5px 0;
  584. \tborder-bottom: 1px solid;
  585. \tmargin-bottom: 13px;
  586. }
  587. .l_items_builtin .l_items .txt {
  588. \theight: 65px;
  589. \tfont-size: 88%;
  590. }
  591. .l_items_builtin .l_items .price {
  592. \ttext-align: right;
  593. \tfont-weight: bold;
  594. \tfont-size: 110%;
  595. }
  596. .l_items_builtin .l_items .l_item_btn {
  597. \tdisplay: block;
  598. \twidth: 100%;
  599. \ttext-align: center;
  600. \tmargin: 10px auto 0;
  601. \tpadding: 5px 0;
  602. }
  603. .l_items_builtin .l_items img {
  604. \twidth: 100%;
  605. }
  606. .l_items_builtin .mainImg img {
  607. \twidth: 100%;
  608. }
  609. .d_item_title span {
  610. \tfont-size: 12px;
  611. \tdisplay: block;
  612. \tfont-weight: normal;
  613. }
  614. @media only screen and (max-width:767px) {
  615.     .d_main {
  616.     \tpadding: 20px 0;
  617.     \twidth: 100%;
  618.     }
  619.     .d_contents {
  620.     \twidth: 100%;
  621.     \tpadding: 0 8px;
  622.     }
  623.     .l_items_builtin .mainImg {
  624.     \twidth: 100%;
  625.     }
  626.     .l_items_builtin .items {
  627.     \twidth: 100%;
  628.     \tpadding: 0;
  629.     }
  630.     .l_items_builtin :nth-child(2n-1).l_items {
  631.     \tpadding-left: 0px;
  632.     }
  633.     .l_items_builtin :nth-child(2n).l_items {
  634.     \tpadding-right: 0px;
  635.     }
  636.     .l_items_builtin .l_items .txt {
  637.     \theight: 100px;
  638.     }
  639. }
  640. </style>
  641. {% macro setLItem(product_id, description) %}
  642. {% set Product = getProduct(product_id) %}
  643.             <h3 class=\"d_item_name\">{{ Product.name }}</h3>
  644.             {#<p class=\"txt\">{{ Product.description_list }}</p>#}
  645.             {#<p class=\"txt\">{{ Product.description_detail|raw|nl2br|length > 40 ? Product.description_detail|raw|nl2br|slice(0, 40) ~ '…' : Product.description_detail|raw|nl2br }}</p>#}
  646.             
  647.             {#{% set description_detail = Product.description_detail|replace({'<br>':''}) %}#}
  648.             {#<p class=\"txt\">{{ description_detail|length > 40 ? description_detail|slice(0, 40) ~ '…' : description_detail }}</p>#}
  649.             {# <br>→に置換<br /> #}
  650.             {# <br />→でSplitして、1つ目の要素を表示 #}
  651.             {#{% set description_detail = Product.description_detail|raw|nl2br|replace({'<br>':'<br />'}) %}#}
  652.             {#{% set sp = description_detail|raw|nl2br|split('<br />') %}#}
  653.             {#<p class=\"txt\">{{ sp[0] }}</p>#}
  654. {% autoescape false %}
  655.             <p class=\"txt\">{{ description }}</p>
  656. {% endautoescape  %}
  657.             {#{% autoescape false %}{{ Product.description_detail|replace({'<br>':''}) }}{% endautoescape %}#}
  658.             <p class=\"price\" style=\"text-align: left;\">
  659.               {{ Product.getPrice02IncTaxMax|number_format }}円税込
  660.             </p>
  661.                     {% if Product.hasProductClass %}
  662.                         {% if Product.getPrice02Min == Product.getPrice02Max %}
  663.                             <br />
  664.                         {% else %}
  665.                             <span class=\"txt\" style=\"font-size: 10px;\">(オートシップメント契約価格{{ Product.getPrice02IncTaxMin|number_format }}円税込)</span>
  666.                         {% endif %}
  667.                     {% else %}
  668.                             <br />
  669.                     {% endif %}
  670.             
  671.             <a class=\"l_item_btn\" href=\"{{ url('product_detail', {'id': Product.id}) }}\">詳細へ</a>
  672. {% endmacro %}
  673. {% from _self import setLItem %}
  674. <body><main><div class=\"d_main clearfix\"><section class=\"d_contents\">
  675.     <div class=\"l_items_builtin\">
  676.       <h2 class=\"d_item_title\"><span>バクテリア・ウイルス除去が可能なマルチピュア最上位モデル</span>Aquaextra</h2>
  677.       <div class=\"t_flexBox\">
  678.         {# Aquaextra #}
  679.         <div class=\"mainImg\"><img src=\"/html/user_data/img/items/aquaextra.png\"></div>
  680.         <div class=\"items t_flexBox\">
  681.           {# BT #}
  682.           <div class=\"l_items\">
  683.             <p><img src=\"/html/user_data/img/items/bt.jpg\"></p>
  684.             {{ setLItem(328,\"バクテリア・ウイルス除去が可能なマルチピュア最上位モデルです。\") }}
  685.           </div>
  686.           {# BG #}
  687.           <div class=\"l_items\">
  688.             <p><img src=\"/html/user_data/img/items/bg.png\"></p>
  689.             {{ setLItem(311,\"バクテリア・ウイルス除去が可能なマルチピュア最上位モデルです。。\") }}
  690.           </div>
  691.           {# BA #}
  692.           <div class=\"l_items\">
  693.             <p><img src=\"/html/user_data/img/items/ba.png\"></p>
  694.             {{ setLItem(310,\"バクテリア・ウイルス除去が可能なマルチピュア最上位モデルです。\") }}
  695.           </div>
  696.           {# BH #}
  697.           <div class=\"l_items\">
  698.             <p><img src=\"/html/user_data/img/items/bh.png\"></p>
  699.             {{ setLItem(307,\"バクテリア・ウイルス除去が可能なマルチピュア最上位機種とGROHE製の専用水栓のセットです。\") }}
  700.           </div>
  701.           {# BJ #}
  702.           <div class=\"l_items\">
  703.             <p><img src=\"/html/user_data/img/items/bj.png\"></p>
  704.             {{ setLItem(308,\"バクテリア・ウイルス除去が可能なマルチピュア最上位機種とシンプルな専用水栓のセットです。\") }}
  705.           </div>
  706.         </div>
  707.       </div>
  708.     </div>
  709.     <div class=\"l_items_builtin\">
  710.       <h2 class=\"d_item_title\"><span>ご家族4人以上のファミリータイプ</span>Model-750</h2>
  711.       <div class=\"t_flexBox\">
  712.         {# Model-750 #}
  713.         <div class=\"mainImg\"><img src=\"/html/user_data/img/items/model750.png\"></div>
  714.         <div class=\"items t_flexBox\">
  715.           {# BT #}
  716.           <div class=\"l_items\">
  717.             <p><img src=\"/html/user_data/img/items/bt.jpg\"></p>
  718.             {{ setLItem(314,\"水・お湯・浄水が1本の水栓で使用できる<br />グースネック型タッチレス水栓タイプです。\") }}
  719.           </div>
  720.           {# BG #}
  721.           <div class=\"l_items\">
  722.             <p><img src=\"/html/user_data/img/items/bg.png\"></p>
  723.             {{ setLItem(317,\"水・お湯・浄水が1本の水栓で使用できる<br />兼用水栓グースネックタイプです。\") }}
  724.           </div>
  725.           {# BA #}
  726.           <div class=\"l_items\">
  727.             <p><img src=\"/html/user_data/img/items/ba.png\"></p>
  728.             {{ setLItem(316,\"水・お湯・浄水が1本の水栓で使用できる<br />兼用水栓タイプです。\") }}
  729.           </div>
  730.           {# BH #}
  731.           <div class=\"l_items\">
  732.             <p><img src=\"/html/user_data/img/items/bh.png\"></p>
  733.             {{ setLItem(318,\"美しいデザインと機能性を兼ね備えたGROHE水栓を採用。\") }}
  734.           </div>
  735.           {# BJ #}
  736.           <div class=\"l_items\">
  737.             <p><img src=\"/html/user_data/img/items/bj.png\"></p>
  738.             {{ setLItem(319,\"浄水器本体をシンク下に設置し、キッチンをスッキリ快適に。\") }}
  739.           </div>
  740.         </div>
  741.       </div>
  742.     </div>
  743.     <div class=\"l_items_builtin\">
  744.       <h2 class=\"d_item_title\"><span>ご家族4人未満のコンパクトタイプ</span>Model-D400</h2>
  745.       <div class=\"t_flexBox\">
  746.         {# Model-D400 #}
  747.         <div class=\"mainImg\"><img src=\"/html/user_data/img/items/model400.png\"></div>
  748.         <div class=\"items t_flexBox\">
  749.           {# BT #}
  750.           <div class=\"l_items\">
  751.             <p><img src=\"/html/user_data/img/items/bt.jpg\"></p>
  752.             {{ setLItem(322,\"水・お湯・浄水が1本の水栓で使用できる<br />グースネック型タッチレス水栓タイプです。\") }}
  753.           </div>
  754.           {# BG #}
  755.           <div class=\"l_items\">
  756.             <p><img src=\"/html/user_data/img/items/bg.png\"></p>
  757.             {{ setLItem(325,\"水・お湯・浄水が1本の水栓で使用できる<br />兼用水栓グースネックタイプです。\") }}
  758.           </div>
  759.           {# BA #}
  760.           <div class=\"l_items\">
  761.             <p><img src=\"/html/user_data/img/items/ba.png\"></p>
  762.             {{ setLItem(324,\"水・お湯・浄水が1本の水栓で使用できる<br />兼用水栓タイプです。\") }}
  763.           </div>
  764.           {# BH #}
  765.           <div class=\"l_items\">
  766.             <p><img src=\"/html/user_data/img/items/bh.png\"></p>
  767.             {{ setLItem(326,\"美しいデザインと機能性を兼ね備えたGROHE水栓を採用。\") }}
  768.           </div>
  769.           {# BJ #}
  770.           <div class=\"l_items\">
  771.             <p><img src=\"/html/user_data/img/items/bj.png\"></p>
  772.             {{ setLItem(327,\"浄水器本体をシンク下に設置し、キッチンをスッキリ快適に。\") }}
  773.           </div>
  774.         </div>
  775.       </div>
  776.     </div>
  777.   </section></div></main>
  778. {% endblock %}""@user_data/builtin_select01.twig""/home/multipure03/multipure.co.jp/public_html/dev-shop.multipure.co.jp/app/template/user_data/builtin_select01.twig");
  779.     }
  780. }