<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* Cart/Catalog.twig */
class __TwigTemplate_7c98b51b57b62552b185a5cde82b6880 extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'javascript' => [$this, 'block_javascript'],
'stylesheet' => [$this, 'block_stylesheet'],
'main' => [$this, 'block_main'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 17
return "default_frame.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Cart/Catalog.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Cart/Catalog.twig"));
// line 16
$context["Limit"] = $this->env->getFunction('CatalogLimit')->getCallable()();
// line 19
$context["body_class"] = "cart_page";
// line 17
$this->parent = $this->loadTemplate("default_frame.twig", "Cart/Catalog.twig", 17);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 22
public function block_javascript($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
// line 23
echo "<script>
function SubWindowOpen(url,name){
window.open(url, name , \"width=";
// line 25
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["SubWindoWData"]) || array_key_exists("SubWindoWData", $context) ? $context["SubWindoWData"] : (function () { throw new RuntimeError('Variable "SubWindoWData" does not exist.', 25, $this->source); })()), "width", [], "any", false, false, true, 25), 25, $this->source), "html", null, true);
echo ",height=";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["SubWindoWData"]) || array_key_exists("SubWindoWData", $context) ? $context["SubWindoWData"] : (function () { throw new RuntimeError('Variable "SubWindoWData" does not exist.', 25, $this->source); })()), "height", [], "any", false, false, true, 25), 25, $this->source), "html", null, true);
echo ",scrollbars=";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["SubWindoWData"]) || array_key_exists("SubWindoWData", $context) ? $context["SubWindoWData"] : (function () { throw new RuntimeError('Variable "SubWindoWData" does not exist.', 25, $this->source); })()), "scroll", [], "any", false, false, true, 25), 25, $this->source), "html", null, true);
echo "\");
}
var \$form = \$('form#catalog_form');
\$(document).ready(function(){
check_select_count();
\$(\"input[name='LmOrderOption[catalog][]']\").change(function(e) {
check_select_count();
});
});
function check_select_count(){
var \$checked_list = \$(\"#catalog-list-area input[type=checkbox]:checked\");
var \$not_checked_list = \$(\"#catalog-list-area input[type=checkbox]\").not(\":checked\");
if( \$checked_list.length >= ";
// line 41
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Limit"]) || array_key_exists("Limit", $context) ? $context["Limit"] : (function () { throw new RuntimeError('Variable "Limit" does not exist.', 41, $this->source); })()), "cl_quantity_limit", [], "any", false, false, true, 41), 41, $this->source), "html", null, true);
echo " ){
\$not_checked_list.prop('disabled', true);
} else{
\$not_checked_list.prop('disabled', false);
}
}
</script>
";
// line 48
if ((isset($context["isMobile"]) || array_key_exists("isMobile", $context) ? $context["isMobile"] : (function () { throw new RuntimeError('Variable "isMobile" does not exist.', 48, $this->source); })())) {
// line 49
echo " <script>
function check_input(){
if( \$('input[name=\"LmOrderOption[catalog][]\"]:checked', \$form).length == 0 ){
showAlertWindow('カタログを選択してください');
return false;
}
\$form.submit();
}
function showAlertWindow(msg) {
last_scroll_top_value = \$(document).scrollTop();
\$(\"#alert-window p.alert-explain\").html(msg);
\$(\"body\").css(\"height\", \$(window).height());
\$(\"body\").css(\"overflow\", \"hidden\");
\$(\"#overlay\").css(\"visibility\", \"visible\");
\$(\"#alert-window\").css(\"visibility\", \"visible\");
}
function closeAlertWindow() {
\$(\"body\").css(\"height\", \"auto\");
\$(\"body\").css(\"overflow\", \"auto\");
\$(\"#overlay\").css(\"visibility\", \"hidden\");
\$(\"#alert-window\").css(\"visibility\", \"hidden\");
window.scrollTo(0, last_scroll_top_value);
}
\$('input[name=\"LmOrderOption[catalog][]\"]').on('change', function(e) {
if (\$('input[name=\"LmOrderOption[catalog][]\"]:checked').length > 0) {
\$('#cts-float-button').fadeIn(500);
} else {
\$('#cts-float-button').fadeOut(500);
}
});
</script>
";
} else {
// line 82
echo " <script src=\"/javascripts/jquery-ui.min.js\" type=\"text/javascript\"></script>
<script src=\"/javascripts/jquery.efo.js\" type=\"text/javascript\"></script>
<script>
var efo_elm = \$(\"[class^=efo]\").efo({
\t\t\tconfirmation : {
\t\t\t\tenabled : false,
\t\t\t\tform : document.forms.mail_fm
\t\t\t},
\t\t\tnotification : {
\t\t\t\tenabled : true
\t\t\t},
\t\t\tvalidation : {
\t\t\t\tbind : 'efo_change'
\t\t\t},
\t\t\ttooltipping : {
\t\t\t\tenabled : true
\t\t\t},
\t\t\tobservation : {
\t\t\t\tenabled : true
\t\t\t}
\t\t}).on('efo_afterValidate', function(event, data){
\t\t\tif (data.remaining > 0) {
\t\t\t\t\$('.btnMask').show();
\t\t\t\t\$('.btnNext').hide();
\t\t\t} else {
\t\t\t\t\$('.btnMask').hide();
\t\t\t\t\$('.btnNext').show();
\t\t\t}
\t\t});
\$('input[name=\"LmOrderOption[catalog][]\"]').on('change', function(e) {
var \$checkbox = \$(this);
var \$box = \$checkbox.closest('.catalog-list-box-inner');
if( \$checkbox.prop('checked') ){
\$box.addClass('catalog-list-box-selected');
} else{
\$box.removeClass('catalog-list-box-selected');
}
});
</script>
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 124
public function block_stylesheet($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
// line 125
echo "<link rel=\"stylesheet\" href=\"/stylesheets/style_estimate.css\">
<link rel=\"stylesheet\" href=\"/stylesheets/stylesheet.css\">
<link rel=\"stylesheet\" href=\"/stylesheets/jquery.efo.css\">
";
// line 128
if ((isset($context["isMobile"]) || array_key_exists("isMobile", $context) ? $context["isMobile"] : (function () { throw new RuntimeError('Variable "isMobile" does not exist.', 128, $this->source); })())) {
// line 129
echo " <link rel=\"stylesheet\" href=\"/stylesheets/css/sp/common.css\">
";
}
// line 131
echo "<style>
.red{
color: red;
}
#contents_wrapper{
width: 990px;
margin: 0 auto;
}
#contents{
width: 100%;
}
#stap_area{
width :100%;
margin-bottom:20px;
}
#step_area .form{
width:100%;
}
#step_area .form img{
width:100%;
}
#step_area .step{
width:100%;
margin: 20px auto;
text-align:center;
}
#CartCatalog #catalog_btn_area{
visibility:hidden;
}
#CartCatalog .otodoke{
background-color: #FFFFCC;
padding: 20px;
text-align:
center;
border: 1px solid #FFFF99;
margin: 20px auto 30px;
width: 680px;
border: 1px solid #FFCD82;
border-radius: 10px;
font-size:13px;
}
#CartCatalog .otodoke p.title{
font-weight: bold;
font-size: 16pt;
}
#CartCatalog .CatalogCatagoryLabel{
font-size: 21px;
font-weight: bold;
border-bottom: 2px solid #ffb05c;
padding: 25px 0 10px 10px;
letter-spacing: .1em;
display: block;
margin-bottom:20px;
}
#CartCatalog ul.CatalogList{
width:100%;
margin-bottom:30px;
/*display: flex;
display : -webkit-box;
justify-content: center;
-webkit-align-items: center;
align-items: center*/
}
#CartCatalog li.catalog-list-box{
width: 240px;
padding: 1px;
margin-bottom:20px;
display:inline-block;
vertical-align: top;
margin-bottom:20px;
/* flex-direction: center; */
/*float:left;*/
/*display:-ms-grid;
display:grid;
-ms-grid-columns:auto auto auto;
grid-template-columns:auto auto auto;*/
}
#CartCatalog .catalog-list-box-inner{
border: solid 1px #B1B2B1;
height: 100%;
border-bottom: none;
}
#CartCatalog .catalog-list-box-header{
background-color:#E5E5E5;
}
#CartCatalog .catalog-list-box-header input{
margin: 15px 10px;
-webkit-transform: scale(1.4, 1.4);
}
#CartCatalog .catalog-list-box-header span{
font-size:13px;
font-weight: bold;
line-height:1.2;
padding: 0.3em 0;
display:inline-block;
overflow-wrap: break-word;
width:165px;
}
#CartCatalog .catalog-image{
padding: 20px 50px;
}
#CartCatalog .catalog-image img{
width:100%;
}
#CartCatalog .catalog-list-box-comment{
padding:5px;
}
#CartCatalog .catalog_link_1 a,
#CartCatalog .catalog_link_2 a,
#CartCatalog .catalog_link_3 a{
display: block;
width: 90%;
text-align: center;
margin: 0 auto 10px;
text-align: center;
text-decoration: none;
font-weight: bold;
line-height: 2.5;
border-radius: 6px;
font-size: 11px;
background: #177A74;
color: #fff;
}
#CartCatalog .catalog_link_3 a{
background: #F2910E;
}
#CartCatalog .catalog-list-box-footer{
border: solid 1px #B1B2B1;
border-top: none;
height:110px;
width:100%;
}
#catalog_btn_area{
margin-bottom:30px;
}
#catalog_btn_area button{
margin-bottom:20px;
}
.foot_message{
margin-bottom:30px;
}
#footer{
background-color: #fff;
border: 0;
}
.ec-layoutRole__footer #footer{
margin: 0 auto;
background-color: #EEE;
}
#CartCatalog #step1-top div{
padding: 2px 20px;
width:99%;
background-color:#98CACB;
line-height: 28px;
font-size:18px;
font-weight:700;
border-radius:20px;
color:#333;
}
@media screen and (max-width: 990px) {
#contents_wrapper{
width: 100%;
}
#CartCatalog ul.CatalogList{
margin: 0 auto 30px;
max-width:768px
}
}
@media screen and (max-width: 768px) {
#CartCatalog .otodoke{
width:90%;
}
#CartCatalog ul.CatalogList{
margin: 0 auto 30px;
max-width:512px;
}
}
@media screen and (max-width: 512px) {
#CartCatalog li.catalog-list-box{
width:49%;
}
}
@media screen and (max-width: 460px) {
#CartCatalog .otodoke {
padding:20px 10px;
}
#CartCatalog .otodoke p.title span{
display:block;
}
div.step img {
width: 98%;
}
}
";
// line 340
if ((isset($context["isMobile"]) || array_key_exists("isMobile", $context) ? $context["isMobile"] : (function () { throw new RuntimeError('Variable "isMobile" does not exist.', 340, $this->source); })())) {
// line 341
echo " .ec-layoutRole {
background-color: #eee;
}
.ec-layoutRole .ec-layoutRole__contents {
display: block;
}
.sp.ec-role .ec-pageHeader h1 {
border-top: 0px;
}
.ec-layoutRole #header {
display: block;
height: auto;
}
.ec-layoutRole #header #ut-sp-global-navi h1 {
font-weight: normal;
font-size: 10px;
overflow: hidden;
margin: 0px;
float: none;
padding-left: 10px;
}
.ec-layoutRole #contents_wrapper, .ec-layoutRole .ec-layoutRole__footer#footer {
width: auto;
}
.ec-layoutRole #header #logo {
height: auto;
padding: 5px 10px;
background: white;
float: none;
}
.ec-layoutRole #header #logo a {
height: auto;
width: auto;
background-image: unset;
text-indent: unset;
}
.ec-layoutRole #header #logo a img {
background: white;
}
.ec-layoutRole .ec-layoutRole__footer h2 {
padding-left: 30px;
}
.ec-layoutRole .ec-layoutRole__footer #footermenu li {
border-right-width: 0;
}
.ec-layoutRole__main#contents {
padding: 0px;
margin: 0px;
}
.ec-layoutRole__footer#footer {
margin-top: 0px;
margin: 0;
background-color: white;
}
.user_area, #pankuzu {
display: none;
}
.sp #overlay {
visibility: hidden;
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 1000;
background-color: rgba(0, 0, 0, 0.7);
}
.sp .alert-window {
visibility: hidden;
margin-top: -68px;
margin-left: -150px;
z-index: 1001;
position: absolute;
top: 0;
left: 50%;
top: 50%;
width: 300px;
}
.sp .alert-content {
background-color: #fff;
border-radius: 7px;
border: 1px solid #eee;
border-top: 0;
padding: 10px;
}
.sp .alert-explain {
font-size: 16px;
margin:10px;
line-height:140%;
text-align: left;
}
.sp .alert-btns {
font-size: 13px;
overflow: hidden;
padding: 10px;
margin-top: 10px;
}
.sp .alert-btn-back {
display:block;
border: 1px solid #ccc;
color: #333;
text-align: center;
width: 50%;
border-radius: 5px;
float: left;
margin:0 25%;
padding: 10px 0;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#e3e3e3), to(#ccc));
background: -webkit-linear-gradient(to bottom, #e3e3e3, #ccc);
background: linear-gradient(to bottom, #e3e3e3, #ccc);
background: #ccc\\9;
}
.sp #heading-title {
position: relative;
overflow: initial;
color: #fff;
background-color: #958064;
text-shadow: none;
padding-left: 15px;
}
.sp #heading-title:after {
content: \"\";
position: absolute;
display: block;
width: 0;
height: 0;
bottom: -7px;
border-top: 7px solid #958064;
border-left: 7px solid transparent;
border-right: 7px solid transparent;
}
.sp #cts-float-button {
display: none;
position: fixed;
bottom: 50px;
left: 0px;
box-sizing: border-box;
width: 100%;
margin: 0;
padding: 15px 10px;
background: rgba(0,0,0,0.8);
z-index: 99;
}
.sp #cts-float-button button {
display: block;
padding: 13px 0;
font-size: 14px;
font-weight: bold;
color: #fff;
background-image: -moz-linear-gradient(top, #fcc10f 0%, #f68408 100%);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fcc10f), color-stop(100%, #f68408));
background-image: -webkit-linear-gradient(top, #fcc10f 0%, #f68408 100%);
background-image: -o-linear-gradient(top, #fcc10f 0%, #f68408 100%);
background-image: -ms-linear-gradient(top, #fcc10f 0%, #f68408 100%);
background-image: linear-gradient(to bottom, #fcc10f 0%,#f68408 100%);
text-shadow: 1px 1px 0 rgba(0,0,0,0.25);
border-radius: 4px;
width: 100%;
}
.sp #catalog-list-area > * {
box-sizing: border-box;
}
.sp #catalog-list-area .catalog-category-block {
border: 1px solid #c3b5a0;
background: #fff;
margin-bottom: 20px;
font-size: 12px;
overflow: hidden;
border-radius: 8px;
padding-bottom: 4px;
}
.sp #catalog-list-area .catalog-category-label {
font-size: 15px;
font-weight: bold;
letter-spacing: .1em;
display: block;
background: #daebeb;
padding: .6em;
border-bottom: 1px solid #c3b5a0;
}
.sp #catalog-list-area .catalog-list {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.sp #catalog-list-area .catalog-list:after,
.sp #catalog-list-area .catalog-list > li {
width: 48%;
padding: 1%;
}
.sp #catalog-list-area .catalog-list:after {
content: '';
display: block;
order: 1;
}
.sp #catalog-list-area .catalog-list li {
}
.sp #catalog-list-area .catalog-list-box-inner {
border: solid 1px #B1B2B1;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.sp #catalog-list-area .catalog-list-box-inner.catalog-list-box-selected {
background: #ddfcc0;
}
.sp #catalog-list-area .catalog-list-box-header {
background: #E5E5E5;
}
.sp #catalog-list-area .catalog-list-box-header-inner {
display: flex;
align-items: center;
}
.sp #catalog-list-area .catalog-list-box-checkbox-wrap input {
margin: 14px;
}
.sp #catalog-list-area .catalog-list-box-checkbox-wrap input:disabled {
opacity: .2;
}
.sp #catalog-list-area .catalog-list-box-checkbox-wrap input.catalog-checkbox-unselectable {
opacity: 0;
}
.sp #catalog-list-area .catalog-list-box-title {
padding: .3em 0;
line-height: 1.2;
font-weight: bold;
font-size: 12px;
letter-spacing: 1px;
}
.sp #catalog-list-area .catalog-list-box-image {
padding: 10px 40px;
}
.sp #catalog-list-area .catalog-list-box-image img {
object-fit: contain;
width: 100%;
max-height: 100%;
}
.sp #catalog-list-area .catalog-list-box-comment, #catalog-list-area .catalog-list-box-footer {
padding: 0 1em;
}
.sp #catalog-list-area .catalog-list-box-comment p {
font-size: 9px;
}
.sp #catalog-list-area .catalog-list-box-comment .catalog-icon {
display: flex;
justify-content: space-between;
}
.sp #catalog-list-area .catalog-list-box-comment .catalog-icon img {
width: 32%;
}
.sp #catalog-list-area .catalog-list-box-footer {
margin: .2em 0 .8em 0;
}
.sp #catalog-list-area .catalog-list-box-link {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.sp #catalog-list-area .catalog-list-box-link:after,
.sp #catalog-list-area .catalog-list-box-link:before {
content: '';
order: 1;
}
.sp #catalog-list-area .catalog-list-box-link > li .catalog-link {
display: table;
margin: .2em 0;
height: 28px;
width: 100%;
}
.sp #catalog-list-area .catalog-list-box-link a {
display: table-cell;
width: 100%;
height: 100%;
text-align: center;
position: relative;
letter-spacing: -1px;
text-decoration: none;
font-weight: bold;
line-height: 1;
border-radius: 6px;
vertical-align: middle;
font-size: 9px;
}
.sp #catalog-list-area .catalog-list-box-link a:after {
content: '▶︎';
display: block;
position: absolute;
top: 32%;
right: .8em;
}
.sp #catalog-list-area .catalog-list-box-link a.catalog-list-box-link-type-01,
.sp #catalog-list-area .catalog-list-box-link a.catalog-list-box-link-type-02 {
background: #177A74;
color: #fff;
}
.sp #catalog-list-area .catalog-list-box-link a.catalog-list-box-link-type-03 {
background: #F2910E;
color: #000;
}
.sp .catalog-box {
padding: 10px;
background-color: #eee;
}
.sp#CartCatalog .catalog-list-box-header input{
-webkit-transform: none;
}
.sp#CartCatalog .catalog-list-box-header span {
width: auto;
}
.sp#CartCatalog .catalog-list-box-footer {
border: none;
height: auto;
}
.sp#CartCatalog li.catalog-list-box {
margin-bottom: 0px;
}
.sp .cancel-btn {
margin-top: 10px;
}
.sp #btns {
border: 1px dotted #ccc;
border-left: 0;
border-right: 0;
font-size: 13px;
padding: 10px;
}
.sp #btns #btn-next {
margin: 0 auto;
line-height: 25px;
height: 50px;
font-size: 18px;
border: 1px solid #ff8f00;
width: 100%;
border-radius: 5px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-o-box-sizing: border-box;
-ms-box-sizing: border-box;
background: #ff8f00;
color: white;
font-weight: bold;
}
.sp .cancel-btn .ec-blockBtn--cancel {
border-radius: 4px;
height: 50px;
line-height: 50px;
}
.sp .opinion-box {
margin-bottom: 15px;
}
.sp .catalog-box .alert-danger {
font-size: 14px;
letter-spacing: 1px;
margin-bottom: 10px;
padding: 10px;
}
";
} else {
// line 701
echo " .pc {
color: black;
}
.pc .limit-message {
margin: 20px 0px 10px 0px;
font-weight: bold;
}
.pc#CartCatalog .catalog-list-box-header span{
width: auto;
}
.pc .catalog-box {
cursor: pointer;
width: 33.3%;
}
.pc .alert {
position: relative;
padding: .75rem 1.25rem;
margin-bottom: 1rem;
border: 1px solid transparent;
border-radius: .25rem;
}
.pc .alert-danger {
color: #721c24;
background-color: #f8d7da;
border-color: #f5c6cb;
font-size: 14px;
padding: 1.25rem 1.25rem;
}
.pc button {
background-color: transparent;
}
.pc .clearfix:after {
content:\" \";
display:block;
clear:both;
}
.pc .btnBack, .btnMask, .btnNext {
border: none;
cursor: pointer;
}
.pc #catalog-list-area > * {
box-sizing: border-box;
}
.pc #catalog-list-area .catalog-category-label {
font-size: 21px;
font-weight: bold;
border-bottom: 2px solid #ffb05c;
padding: 25px 0 10px 10px;
letter-spacing: .1em;
display: block;
}
.pc #catalog-list-area .catalog-list {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.pc #catalog-list-area .catalog-list:before,
.pc #catalog-list-area .catalog-list:after,
.pc #catalog-list-area .catalog-list > li {
width: 25%;
padding: 1%;
}
.pc #catalog-list-area .catalog-list:before,
.pc #catalog-list-area .catalog-list:after {
content: '';
display: block;
order: 1;
}
.pc #catalog-list-area .catalog-list li {
}
.pc #catalog-list-area .catalog-list-box-inner {
border: solid 1px #B1B2B1;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.pc #catalog-list-area .catalog-list-box-inner.catalog-list-box-selected,
.pc #catalog-list-area .catalog-list-box-inner.catalog-list-box-selected:hover {
background: #ddfcc0;
}
.pc #catalog-list-area .catalog-list-box-inner:hover {
background: #ddd;
}
.pc #catalog-list-area .catalog-list-box-header {
background: #E5E5E5;
}
.pc #catalog-list-area .catalog-list-box-header-inner {
display: flex;
align-items: center;
}
.pc #catalog-list-area .catalog-list-box-checkbox-wrap input {
margin: 14px;
-webkit-transform: scale(1.4, 1.4);
}
.pc #catalog-list-area .catalog-list-box-checkbox-wrap input.catalog-checkbox-unselectable {
opacity: 0;
}
.pc #catalog-list-area .catalog-list-box-title {
padding: .3em 0;
line-height: 1.2;
font-weight: bold;
}
.pc #catalog-list-area .catalog-list-box-image {
padding: 20px 50px;
}
.pc #catalog-list-area .catalog-list-box-image img {
object-fit: contain;
width: 100%;
max-height: 100%;
}
.pc #catalog-list-area .catalog-list-box-comment, #catalog-list-area .catalog-list-box-footer {
padding: 0 1em;
}
.pc #catalog-list-area .catalog-list-box-comment p {
font-size: 11px;
line-height: 1.4;
font-weight: normal;
}
.pc #catalog-list-area .catalog-list-box-footer {
margin: .2em 0 .8em 0;
}
.pc #catalog-list-area .catalog-list-box-link {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.pc #catalog-list-area .catalog-list-box-link:after,
.pc #catalog-list-area .catalog-list-box-link:before {
content: '';
order: 1;
}
.pc #catalog-list-area .catalog-list-box-link > li .catalog-link {
display: table;
margin: .2em 0;
height: 28px;
width: 100%;
}
.pc #catalog-list-area .catalog-list-box-link a {
display: table-cell;
width: 100%;
height: 100%;
text-align: center;
position: relative;
letter-spacing: -1px;
text-decoration: none;
font-weight: bold;
line-height: 1;
border-radius: 6px;
vertical-align: middle;
font-size: 11px;
}
.pc #catalog-list-area .catalog-list-box-link a:after {
content: '▶︎';
display: block;
position: absolute;
top: 32%;
right: .8em;
}
.pc #catalog-list-area .catalog-list-box-link a.catalog-list-box-link-type-01,
.pc #catalog-list-area .catalog-list-box-link a.catalog-list-box-link-type-02 {
background: #177A74;
color: #fff;
}
.pc #catalog-list-area .catalog-list-box-link a.catalog-list-box-link-type-03 {
background: #F2910E;
color: #000;
}
.pc .catalog-box {
padding: 10px;
background-color: #eee;
}
.pc#CartCatalog .catalog-list-box-header input{
-webkit-transform: scale(1.4, 1.4);
}
.pc#CartCatalog .catalog-list-box-header span {
width: auto;
}
.pc#CartCatalog .catalog-list-box-footer {
border: none;
height: auto;
}
.pc#CartCatalog li.catalog-list-box {
margin-bottom: 0px;
}
.pc #catalog-list-area .admin-zaiko-count {
display: block;
color: red;
text-align: center;
}
.pc .catalog-bottom-box {
margin-top: 20px;
}
.pc .foot_message {
float: left;
}
.pc .catalog_btn_area {
float: right;
}
.pc#CartCatalog #catalog_btn_area {
visibility: visible;
}
/* EC-CUBEレイアウト用 ID=29 【LM】カタログ申し込みページ用レイアウト */
#header {
width: 100%;
height: 100%;
color: black;
}
#header #logo a {
background-image: none !important;
text-indent: 0 !important;
}
.ec-layoutRole__footer#footer {
max-width: 100%;
margin: 0 auto;
border: 1px solid #D3D0C1;
background: #eee;
}
.item-count {
color: black;
}
.return-shipping {
color: black;
}
";
}
// line 928
echo "</style>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 930
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 931
if ((isset($context["isMobile"]) || array_key_exists("isMobile", $context) ? $context["isMobile"] : (function () { throw new RuntimeError('Variable "isMobile" does not exist.', 931, $this->source); })())) {
// line 932
echo " <div id=\"CartCatalog\" class=\"sp\">
<div id=\"overlay\"></div>
<div id=\"alert-window\" class=\"alert-window\">
<div class=\"alert-content\">
<p class=\"alert-explain\"></p>
<div class=\"alert-btns\">
<a class=\"alert-btn-back\" onclick=\"closeAlertWindow();\" href=\"javascript:void(0);\">OK</a>
</div>
</div>
</div>
<div class=\"title-h2\">
<img class=\"ico-circle\" src=\"";
// line 943
echo twig_escape_filter($this->env, $this->extensions['Customize\Twig\Extension\ServiceExtension']->GetConfig("CFIMG_URL"), "html", null, true);
echo "/public_images/sp/ico_circle.png\" alt=\"カタログ申し込み\">
<h2>カタログ申し込み</h2>
</div>
<h2 id=\"heading-title\">
<span>";
// line 947
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Limit"]) || array_key_exists("Limit", $context) ? $context["Limit"] : (function () { throw new RuntimeError('Variable "Limit" does not exist.', 947, $this->source); })()), "cl_quantity_limit", [], "any", false, false, true, 947), 947, $this->source), "html", null, true);
echo "冊まで選択できます</span>
</h2>
<div class=\"clearfix\" style=\"padding: 2%;\">
<a href=\"/contact/fax/\" style=\"float:left;width:49%;\">
<img src=\"";
// line 951
echo twig_escape_filter($this->env, $this->extensions['Customize\Twig\Extension\ServiceExtension']->GetConfig("CFIMG_URL"), "html", null, true);
echo "/public_images/order/banner_fax_01.jpg\" alt=\"お気軽にFAXください\" style=\"width:100%;\">
</a>
<a href=\"tel:0120-115-116\" style=\"float:left;width:49%;margin-left:2%;\">
<img src=\"";
// line 954
echo twig_escape_filter($this->env, $this->extensions['Customize\Twig\Extension\ServiceExtension']->GetConfig("CFIMG_URL"), "html", null, true);
echo "/public_images/order/banner_freedial_02.jpg\" alt=\"お気軽にお電話ください\" style=\"width:100%;\">
</a>
</div>
<div class=\"catalog-box\">
";
// line 959
$context["CatalogMessage"] = $this->env->getFunction('CatalogValidation')->getCallable()();
// line 960
echo " ";
if ((isset($context["CatalogMessage"]) || array_key_exists("CatalogMessage", $context) ? $context["CatalogMessage"] : (function () { throw new RuntimeError('Variable "CatalogMessage" does not exist.', 960, $this->source); })())) {
// line 961
echo " <div class=\"alert alert-danger\">
";
// line 962
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["CatalogMessage"]) || array_key_exists("CatalogMessage", $context) ? $context["CatalogMessage"] : (function () { throw new RuntimeError('Variable "CatalogMessage" does not exist.', 962, $this->source); })()), 962, $this->source), "html", null, true);
echo "
</div>
";
}
// line 965
echo " ";
if ( !(null === (isset($context["CatalogData"]) || array_key_exists("CatalogData", $context) ? $context["CatalogData"] : (function () { throw new RuntimeError('Variable "CatalogData" does not exist.', 965, $this->source); })()))) {
// line 966
echo " <form name=\"form\" id=\"catalog_form\" class=\"\" method=\"post\" action=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart_buystep", ["cart_key" => (isset($context["CatalogCartKey"]) || array_key_exists("CatalogCartKey", $context) ? $context["CatalogCartKey"] : (function () { throw new RuntimeError('Variable "CatalogCartKey" does not exist.', 966, $this->source); })())]), "html", null, true);
echo "\">
<input type=\"hidden\" name=\"OlToken\" value=\"";
// line 967
echo twig_escape_filter($this->env, $this->extensions['Customize\Twig\Extension\ServiceExtension']->GetOlToken("catalog"), "html", null, true);
echo "\" />
<div id=\"catalog-list-area\">
";
// line 969
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["CatalogCategoryLabel"]) || array_key_exists("CatalogCategoryLabel", $context) ? $context["CatalogCategoryLabel"] : (function () { throw new RuntimeError('Variable "CatalogCategoryLabel" does not exist.', 969, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["LabelId"] => $context["Label"]) {
// line 970
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["CatalogData"] ?? null), $context["LabelId"], [], "array", true, true, true, 970)) {
// line 971
echo " <div class=\"catalog-category-block\">
<span class=\"catalog-category-label\">";
// line 972
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed($context["Label"], 972, $this->source), "html", null, true);
echo "</span>
<ul class=\"catalog-list\">
";
// line 974
$context["Catalogs"] = twig_get_attribute($this->env, $this->source, (isset($context["CatalogData"]) || array_key_exists("CatalogData", $context) ? $context["CatalogData"] : (function () { throw new RuntimeError('Variable "CatalogData" does not exist.', 974, $this->source); })()), $context["LabelId"], [], "array", false, false, true, 974);
// line 975
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["Catalogs"]) || array_key_exists("Catalogs", $context) ? $context["Catalogs"] : (function () { throw new RuntimeError('Variable "Catalogs" does not exist.', 975, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["CatalogId"] => $context["Catalog"]) {
// line 976
echo " <li class=\"catalog-list-box\" data-catalog-id=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed($context["CatalogId"], 976, $this->source), "html", null, true);
echo "\" id=\"catalog-list-box-";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed($context["CatalogId"], 976, $this->source), "html", null, true);
echo "\">
<div class=\"catalog-list-box-inner\">
<label for=\"CatalogList_";
// line 978
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Catalog"], "catalog_id", [], "any", false, false, true, 978), 978, $this->source), "html", null, true);
echo "\">
<div class=\"catalog-list-box-header\">
<div class=\"catalog-list-box-header-inner\">
<span class=\"catalog-list-box-checkbox-wrap\">
<input
id=\"CatalogList_";
// line 983
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Catalog"], "catalog_id", [], "any", false, false, true, 983), 983, $this->source), "html", null, true);
echo "\"
class=\"select\"
type=\"checkbox\"
name=\"LmOrderOption[catalog][]\"
value=\"";
// line 987
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Catalog"], "catalog_id", [], "any", false, false, true, 987), 987, $this->source), "html", null, true);
echo "\"
";
// line 988
echo twig_escape_filter($this->env, $this->extensions['Customize\Twig\Extension\ServiceExtension']->GetCatalogChecked($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Catalog"], "catalog_id", [], "any", false, false, true, 988), 988, $this->source)), "html", null, true);
echo "
>
</span>
<span class=\"catalog-list-box-title\">";
// line 991
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Catalog"], "catalog_title", [], "any", false, false, true, 991), 991, $this->source), "html", null, true);
echo "</span>
</div>
</div>
<div class=\"catalog-list-box-body\">
<div class=\"catalog-list-box-image\">
<img src=\"/kanri_img/images/catalog_image/";
// line 996
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Catalog"], "catalog_id", [], "any", false, false, true, 996), 996, $this->source), "html", null, true);
echo ".jpg\" alert=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Catalog"], "catalog_title", [], "any", false, false, true, 996), 996, $this->source), "html", null, true);
echo "\">
</div>
<div class=\"catalog-list-box-comment\">
<p>";
// line 999
echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Catalog"], "catalog_comment", [], "any", false, false, true, 999), 999, $this->source);
echo "</p>
</div>
</div>
</label>
<div class=\"catalog-list-box-footer\">
<ul class=\"catalog-list-box-link\">
";
// line 1005
$context["CatalogNum"] = "01";
// line 1006
echo " ";
$context["CatalogKbn"] = twig_get_attribute($this->env, $this->source, $context["Catalog"], "catalog_textlink_variation", [], "any", false, false, true, 1006);
// line 1007
echo " ";
$context["CatalogUrl"] = twig_get_attribute($this->env, $this->source, $context["Catalog"], "catalog_textlink_url", [], "any", false, false, true, 1007);
// line 1008
echo " ";
if ((isset($context["CatalogKbn"]) || array_key_exists("CatalogKbn", $context) ? $context["CatalogKbn"] : (function () { throw new RuntimeError('Variable "CatalogKbn" does not exist.', 1008, $this->source); })())) {
echo "<li>";
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Cart/Parts/CatalogLink.twig");
echo "</li>";
}
// line 1009
echo "
";
// line 1010
$context["CatalogNum"] = "02";
// line 1011
echo " ";
$context["CatalogKbn"] = twig_get_attribute($this->env, $this->source, $context["Catalog"], "catalog_textlink_variation2", [], "any", false, false, true, 1011);
// line 1012
echo " ";
$context["CatalogUrl"] = twig_get_attribute($this->env, $this->source, $context["Catalog"], "catalog_textlink_url2", [], "any", false, false, true, 1012);
// line 1013
echo " ";
if ((isset($context["CatalogKbn"]) || array_key_exists("CatalogKbn", $context) ? $context["CatalogKbn"] : (function () { throw new RuntimeError('Variable "CatalogKbn" does not exist.', 1013, $this->source); })())) {
echo "<li>";
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Cart/Parts/CatalogLink.twig");
echo "</li>";
}
// line 1014
echo "
";
// line 1015
$context["CatalogNum"] = "03";
// line 1016
echo " ";
$context["CatalogKbn"] = twig_get_attribute($this->env, $this->source, $context["Catalog"], "catalog_textlink_variation3", [], "any", false, false, true, 1016);
// line 1017
echo " ";
$context["CatalogUrl"] = twig_get_attribute($this->env, $this->source, $context["Catalog"], "catalog_textlink_url3", [], "any", false, false, true, 1017);
// line 1018
echo " ";
if ((isset($context["CatalogKbn"]) || array_key_exists("CatalogKbn", $context) ? $context["CatalogKbn"] : (function () { throw new RuntimeError('Variable "CatalogKbn" does not exist.', 1018, $this->source); })())) {
echo "<li>";
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Cart/Parts/CatalogLink.twig");
echo "</li>";
}
// line 1019
echo " </ul>
</div>
</div>
</li>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['CatalogId'], $context['Catalog'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1024
echo " </ul>
</div>
";
}
// line 1027
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['LabelId'], $context['Label'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1028
echo " </div>
<h2 id=\"receipt\">ご意見・ご希望</h2>
<div class=\"content opinion-box\">
<div class=\"content-wrapper\">
<div class=\"input-box-last\">
<div class=\"item-name\">
ご意見・ご希望 <span class=\"not_required\">任意</span>
</div>
<div id=\"item-content-comment\">
<textarea style=\"width: 100%; box-sizing: border-box;\" name=\"LmOrderOption[message]\" rows=5 cols=70>";
// line 1038
echo twig_escape_filter($this->env, $this->extensions['Customize\Twig\Extension\ServiceExtension']->GetLmOrderOption("message"), "html", null, true);
echo "</textarea>
</div>
</div>
</div>
</div>
";
// line 1044
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
// line 1045
echo " <div id=\"btns\">
";
// line 1046
if (twig_test_empty((isset($context["CatalogMessage"]) || array_key_exists("CatalogMessage", $context) ? $context["CatalogMessage"] : (function () { throw new RuntimeError('Variable "CatalogMessage" does not exist.', 1046, $this->source); })()))) {
// line 1047
echo " <div class=\"btn-wrapper\" style=\"width:100%;\">
<input type=\"button\" id=\"btn-next\" value=\"確認\" onclick=\"check_input();\">
</div>
";
}
// line 1051
echo " <div class=\"cancel-btn\">
<a class=\"ec-blockBtn--cancel\" href=\"";
// line 1052
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("remove_cart_item", ["mode" => "catalog", "Token" => $this->extensions['Customize\Twig\Extension\ServiceExtension']->GetOlToken("RemoveCartItme")]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart_catalog.button02"), "html", null, true);
echo "</a>
</div>
</div>
";
} else {
// line 1056
echo " <div><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Customize\Twig\Extension\ServiceExtension']->GetConfig("CFIMG_URL"), "html", null, true);
echo "/public_images/image_dt/btn_catalog_next.gif\" style=\"width: 100%;\" onclick=\"check_input();\" alt=\"お客様情報を入力する\"></div>
<div class=\"cancel-btn\">
<a class=\"ec-blockBtn--cancel\" href=\"";
// line 1058
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("remove_cart_item", ["mode" => "catalog", "Token" => $this->extensions['Customize\Twig\Extension\ServiceExtension']->GetOlToken("RemoveCartItme")]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart_catalog.button02"), "html", null, true);
echo "</a>
</div>
";
}
// line 1061
echo " ";
if (twig_test_empty((isset($context["CatalogMessage"]) || array_key_exists("CatalogMessage", $context) ? $context["CatalogMessage"] : (function () { throw new RuntimeError('Variable "CatalogMessage" does not exist.', 1061, $this->source); })()))) {
// line 1062
echo " <div id=\"cts-float-button\">
<button type=\"button\" onclick=\"check_input();\">カタログ請求手続きへ</button>
</div>
";
}
// line 1066
echo " </form>
";
}
// line 1068
echo " </div>
</div>
";
} else {
// line 1071
echo " <div id=\"CartCatalog\" class=\"pc\">
";
// line 1072
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Cart/Parts/Step.twig");
echo "
";
// line 1073
$context["CatalogMessage"] = $this->env->getFunction('CatalogValidation')->getCallable()();
// line 1074
echo " ";
if ((isset($context["CatalogMessage"]) || array_key_exists("CatalogMessage", $context) ? $context["CatalogMessage"] : (function () { throw new RuntimeError('Variable "CatalogMessage" does not exist.', 1074, $this->source); })())) {
// line 1075
echo " <div class=\"alert alert-danger\">
";
// line 1076
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["CatalogMessage"]) || array_key_exists("CatalogMessage", $context) ? $context["CatalogMessage"] : (function () { throw new RuntimeError('Variable "CatalogMessage" does not exist.', 1076, $this->source); })()), 1076, $this->source), "html", null, true);
echo "
</div>
";
}
// line 1079
echo " <div class=\"otodoke\">
";
// line 1080
$context["noukiSchedule"] = $this->extensions['Customize\Twig\Extension\ServiceExtension']->getCatalogNoukiSchedule();
// line 1081
echo " <p class=\"title\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart_catalog.message01"), "html", null, true);
echo "<span class=\"red\">";
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["noukiSchedule"]) || array_key_exists("noukiSchedule", $context) ? $context["noukiSchedule"] : (function () { throw new RuntimeError('Variable "noukiSchedule" does not exist.', 1081, $this->source); })()), 1081, $this->source), "n月j日"), "html", null, true);
echo "(";
echo twig_escape_filter($this->env, $this->extensions['Customize\Twig\Extension\ServiceExtension']->SetJWeek(twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["noukiSchedule"]) || array_key_exists("noukiSchedule", $context) ? $context["noukiSchedule"] : (function () { throw new RuntimeError('Variable "noukiSchedule" does not exist.', 1081, $this->source); })()), 1081, $this->source), "Y/m/d")), "html", null, true);
echo ")</span></p>
<p class=\"red\">";
// line 1082
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart_catalog.message02"), "html", null, true);
echo "</p>
<p>";
// line 1083
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart_catalog.message03"), "html", null, true);
echo "</p>
</div>
";
// line 1085
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Shopping/alert.twig", ["error_only" => true]);
echo "
<div class=\"\">
";
// line 1087
if ( !(null === (isset($context["CatalogData"]) || array_key_exists("CatalogData", $context) ? $context["CatalogData"] : (function () { throw new RuntimeError('Variable "CatalogData" does not exist.', 1087, $this->source); })()))) {
// line 1088
echo " <form name=\"form\" id=\"form_cart\" class=\"\" method=\"post\" action=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart_buystep", ["cart_key" => (isset($context["CatalogCartKey"]) || array_key_exists("CatalogCartKey", $context) ? $context["CatalogCartKey"] : (function () { throw new RuntimeError('Variable "CatalogCartKey" does not exist.', 1088, $this->source); })())]), "html", null, true);
echo "\">
<input type=\"hidden\" name=\"OlToken\" value=\"";
// line 1089
echo twig_escape_filter($this->env, $this->extensions['Customize\Twig\Extension\ServiceExtension']->GetOlToken("catalog"), "html", null, true);
echo "\" />
<div class=\"\">
<div class=\"ec-cartTable\">
<div id=\"step1-top\" >
<img src=\"";
// line 1093
echo twig_escape_filter($this->env, $this->extensions['Customize\Twig\Extension\ServiceExtension']->GetConfig("CFIMG_URL"), "html", null, true);
echo "/public_images/sample/title_sub1.gif\" alt=\"カタログ選択\" width=\"990\" />
</div>
<p class=\"limit-message\">
<strong>";
// line 1097
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart_catalog.message08"), "html", null, true);
echo "</strong><span class=\"red\">";
echo twig_escape_filter($this->env, $this->extensions['Customize\Twig\Extension\ServiceExtension']->CatalogLimitMessage($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Limit"]) || array_key_exists("Limit", $context) ? $context["Limit"] : (function () { throw new RuntimeError('Variable "Limit" does not exist.', 1097, $this->source); })()), "cl_quantity_limit", [], "any", false, false, true, 1097), 1097, $this->source)), "html", null, true);
echo "</span>
</p>
<div id=\"catalog-list-area\" class=\"efo-required efo-select\" data-efo-validation='{\"min\":1, \"max\":\"";
// line 1100
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Limit"]) || array_key_exists("Limit", $context) ? $context["Limit"] : (function () { throw new RuntimeError('Variable "Limit" does not exist.', 1100, $this->source); })()), "cl_quantity_limit", [], "any", false, false, true, 1100), 1100, $this->source), "html", null, true);
echo "\"}'>
";
// line 1101
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["CatalogCategoryLabel"]) || array_key_exists("CatalogCategoryLabel", $context) ? $context["CatalogCategoryLabel"] : (function () { throw new RuntimeError('Variable "CatalogCategoryLabel" does not exist.', 1101, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["LabelId"] => $context["Label"]) {
// line 1102
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["CatalogData"] ?? null), $context["LabelId"], [], "array", true, true, true, 1102)) {
// line 1103
echo " <div class=\"catalog-category-block\" id=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed($context["Label"], 1103, $this->source), "html", null, true);
echo "\">
<span class=\"catalog-category-label\">";
// line 1104
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed($context["Label"], 1104, $this->source), "html", null, true);
echo "</span>
<ul class=\"catalog-list\">
";
// line 1106
$context["Catalogs"] = twig_get_attribute($this->env, $this->source, (isset($context["CatalogData"]) || array_key_exists("CatalogData", $context) ? $context["CatalogData"] : (function () { throw new RuntimeError('Variable "CatalogData" does not exist.', 1106, $this->source); })()), $context["LabelId"], [], "array", false, false, true, 1106);
// line 1107
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["Catalogs"]) || array_key_exists("Catalogs", $context) ? $context["Catalogs"] : (function () { throw new RuntimeError('Variable "Catalogs" does not exist.', 1107, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["CatalogId"] => $context["Catalog"]) {
// line 1108
echo " <li class=\"catalog-list-box\" data-catalog-id=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed($context["CatalogId"], 1108, $this->source), "html", null, true);
echo "\" id=\"catalog-list-box-";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed($context["CatalogId"], 1108, $this->source), "html", null, true);
echo "\">
<div class=\"catalog-list-box-inner\">
<label for=\"CatalogList_";
// line 1110
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Catalog"], "catalog_id", [], "any", false, false, true, 1110), 1110, $this->source), "html", null, true);
echo "\">
<div class=\"catalog-list-box-header\">
<div class=\"catalog-list-box-header-inner\">
<span class=\"catalog-list-box-checkbox-wrap\">
<input
id=\"CatalogList_";
// line 1115
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Catalog"], "catalog_id", [], "any", false, false, true, 1115), 1115, $this->source), "html", null, true);
echo "\"
class=\"select\"
type=\"checkbox\"
name=\"LmOrderOption[catalog][]\"
value=\"";
// line 1119
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Catalog"], "catalog_id", [], "any", false, false, true, 1119), 1119, $this->source), "html", null, true);
echo "\"
";
// line 1120
echo twig_escape_filter($this->env, $this->extensions['Customize\Twig\Extension\ServiceExtension']->GetCatalogChecked($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Catalog"], "catalog_id", [], "any", false, false, true, 1120), 1120, $this->source)), "html", null, true);
echo "
>
</span>
<span class=\"catalog-list-box-title\">";
// line 1123
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Catalog"], "catalog_title", [], "any", false, false, true, 1123), 1123, $this->source), "html", null, true);
echo "</span>
</div>
</div>
<div class=\"catalog-list-box-body\">
<div class=\"catalog-list-box-image\">
<img src=\"/kanri_img/images/catalog_image/";
// line 1128
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Catalog"], "catalog_id", [], "any", false, false, true, 1128), 1128, $this->source), "html", null, true);
echo ".jpg\" alert=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Catalog"], "catalog_title", [], "any", false, false, true, 1128), 1128, $this->source), "html", null, true);
echo "\">
</div>
<div class=\"catalog-list-box-comment\">
<p>";
// line 1131
echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Catalog"], "catalog_comment", [], "any", false, false, true, 1131), 1131, $this->source);
echo "</p>
</div>
</div>
</label>
<div class=\"catalog-list-box-footer\">
<ul class=\"catalog-list-box-link\">
";
// line 1137
$context["CatalogNum"] = "01";
// line 1138
echo " ";
$context["CatalogKbn"] = twig_get_attribute($this->env, $this->source, $context["Catalog"], "catalog_textlink_variation", [], "any", false, false, true, 1138);
// line 1139
echo " ";
$context["CatalogUrl"] = twig_get_attribute($this->env, $this->source, $context["Catalog"], "catalog_textlink_url", [], "any", false, false, true, 1139);
// line 1140
echo " ";
if ((isset($context["CatalogKbn"]) || array_key_exists("CatalogKbn", $context) ? $context["CatalogKbn"] : (function () { throw new RuntimeError('Variable "CatalogKbn" does not exist.', 1140, $this->source); })())) {
echo "<li>";
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Cart/Parts/CatalogLink.twig");
echo "</li>";
}
// line 1141
echo "
";
// line 1142
$context["CatalogNum"] = "02";
// line 1143
echo " ";
$context["CatalogKbn"] = twig_get_attribute($this->env, $this->source, $context["Catalog"], "catalog_textlink_variation2", [], "any", false, false, true, 1143);
// line 1144
echo " ";
$context["CatalogUrl"] = twig_get_attribute($this->env, $this->source, $context["Catalog"], "catalog_textlink_url2", [], "any", false, false, true, 1144);
// line 1145
echo " ";
if ((isset($context["CatalogKbn"]) || array_key_exists("CatalogKbn", $context) ? $context["CatalogKbn"] : (function () { throw new RuntimeError('Variable "CatalogKbn" does not exist.', 1145, $this->source); })())) {
echo "<li>";
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Cart/Parts/CatalogLink.twig");
echo "</li>";
}
// line 1146
echo "
";
// line 1147
$context["CatalogNum"] = "03";
// line 1148
echo " ";
$context["CatalogKbn"] = twig_get_attribute($this->env, $this->source, $context["Catalog"], "catalog_textlink_variation3", [], "any", false, false, true, 1148);
// line 1149
echo " ";
$context["CatalogUrl"] = twig_get_attribute($this->env, $this->source, $context["Catalog"], "catalog_textlink_url3", [], "any", false, false, true, 1149);
// line 1150
echo " ";
if ((isset($context["CatalogKbn"]) || array_key_exists("CatalogKbn", $context) ? $context["CatalogKbn"] : (function () { throw new RuntimeError('Variable "CatalogKbn" does not exist.', 1150, $this->source); })())) {
echo "<li>";
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Cart/Parts/CatalogLink.twig");
echo "</li>";
}
// line 1151
echo " </ul>
</div>
</div>
</li>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['CatalogId'], $context['Catalog'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1156
echo " </ul>
</div>
";
}
// line 1159
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['LabelId'], $context['Label'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1160
echo " </div>
</div>
</div>
<div class=\"catalog-bottom-box clearfix\">
<div class=\"foot_message\">
<p>";
// line 1166
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart_catalog.message04");
echo "</p>
<p>";
// line 1167
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart_catalog.message05");
echo "</p>
<p>";
// line 1168
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart_catalog.message06");
echo "</p>
</div>
";
// line 1170
if (twig_test_empty((isset($context["CatalogMessage"]) || array_key_exists("CatalogMessage", $context) ? $context["CatalogMessage"] : (function () { throw new RuntimeError('Variable "CatalogMessage" does not exist.', 1170, $this->source); })()))) {
// line 1171
echo " <div class=\"catalog_btn_area\">
<button id=\"btn01-mask\" class=\"btnMask\" type=\"button\">
<img src=\"";
// line 1173
echo twig_escape_filter($this->env, $this->extensions['Customize\Twig\Extension\ServiceExtension']->GetConfig("CFIMG_URL"), "html", null, true);
echo "/public_images/regi/btn_kakunin_off.gif\" width=\"205\" height=\"45\" alt=\"未入力、もしくは入力間違いの必須項目があります。\"/>
</button>
<button id=\"btn01\" class=\"btnNext\" type=\"submit\">
<img src=\"";
// line 1177
echo twig_escape_filter($this->env, $this->extensions['Customize\Twig\Extension\ServiceExtension']->GetConfig("CFIMG_URL"), "html", null, true);
echo "/public_images/sample/btn_select.png\" alt=\"確認画面へ進む\" />
</button>
</div>
";
}
// line 1181
echo " </div>
<div id=\"catalog_btn_area\" class=\"ec-cartRole__actions\">
<a class=\"ec-blockBtn--cancel\" href=\"";
// line 1184
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("remove_cart_item", ["mode" => "catalog", "Token" => $this->extensions['Customize\Twig\Extension\ServiceExtension']->GetOlToken("RemoveCartItme")]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart_catalog.button02"), "html", null, true);
echo "</a>
</div>
</form>
";
}
// line 1188
echo " </div>
</div>
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Cart/Catalog.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1723 => 1188, 1714 => 1184, 1709 => 1181, 1702 => 1177, 1695 => 1173, 1691 => 1171, 1689 => 1170, 1684 => 1168, 1680 => 1167, 1676 => 1166, 1668 => 1160, 1654 => 1159, 1649 => 1156, 1631 => 1151, 1624 => 1150, 1621 => 1149, 1618 => 1148, 1616 => 1147, 1613 => 1146, 1606 => 1145, 1603 => 1144, 1600 => 1143, 1598 => 1142, 1595 => 1141, 1588 => 1140, 1585 => 1139, 1582 => 1138, 1580 => 1137, 1571 => 1131, 1563 => 1128, 1555 => 1123, 1549 => 1120, 1545 => 1119, 1538 => 1115, 1530 => 1110, 1522 => 1108, 1504 => 1107, 1502 => 1106, 1497 => 1104, 1492 => 1103, 1489 => 1102, 1472 => 1101, 1468 => 1100, 1460 => 1097, 1453 => 1093, 1446 => 1089, 1441 => 1088, 1439 => 1087, 1434 => 1085, 1429 => 1083, 1425 => 1082, 1416 => 1081, 1414 => 1080, 1411 => 1079, 1405 => 1076, 1402 => 1075, 1399 => 1074, 1397 => 1073, 1393 => 1072, 1390 => 1071, 1385 => 1068, 1381 => 1066, 1375 => 1062, 1372 => 1061, 1364 => 1058, 1358 => 1056, 1349 => 1052, 1346 => 1051, 1340 => 1047, 1338 => 1046, 1335 => 1045, 1333 => 1044, 1324 => 1038, 1312 => 1028, 1298 => 1027, 1293 => 1024, 1275 => 1019, 1268 => 1018, 1265 => 1017, 1262 => 1016, 1260 => 1015, 1257 => 1014, 1250 => 1013, 1247 => 1012, 1244 => 1011, 1242 => 1010, 1239 => 1009, 1232 => 1008, 1229 => 1007, 1226 => 1006, 1224 => 1005, 1215 => 999, 1207 => 996, 1199 => 991, 1193 => 988, 1189 => 987, 1182 => 983, 1174 => 978, 1166 => 976, 1148 => 975, 1146 => 974, 1141 => 972, 1138 => 971, 1135 => 970, 1118 => 969, 1113 => 967, 1108 => 966, 1105 => 965, 1099 => 962, 1096 => 961, 1093 => 960, 1091 => 959, 1083 => 954, 1077 => 951, 1070 => 947, 1063 => 943, 1050 => 932, 1048 => 931, 1038 => 930, 1027 => 928, 798 => 701, 436 => 341, 434 => 340, 223 => 131, 219 => 129, 217 => 128, 212 => 125, 202 => 124, 151 => 82, 116 => 49, 114 => 48, 104 => 41, 81 => 25, 77 => 23, 67 => 22, 56 => 17, 54 => 19, 52 => 16, 39 => 17,);
}
public function getSourceContext()
{
return new Source("{# @version EC=CUBE4.1 TWIG
# @copyright 株式会社 翔 kakeru.co.jp
# @author
# 2022年03月21日作成
#
# app/template/default/Cart/Catalog.twig
#
#
#
# カートカタログ
# 2022/11/30
#
#
# ≡≡≡┏(^o^)┛
##############################################################}
{% set Limit = CatalogLimit() %}
{% extends 'default_frame.twig' %}
{% set body_class = 'cart_page' %}
{% block javascript %}
<script>
function SubWindowOpen(url,name){
window.open(url, name , \"width={{SubWindoWData.width}},height={{SubWindoWData.height}},scrollbars={{SubWindoWData.scroll}}\");
}
var \$form = \$('form#catalog_form');
\$(document).ready(function(){
check_select_count();
\$(\"input[name='LmOrderOption[catalog][]']\").change(function(e) {
check_select_count();
});
});
function check_select_count(){
var \$checked_list = \$(\"#catalog-list-area input[type=checkbox]:checked\");
var \$not_checked_list = \$(\"#catalog-list-area input[type=checkbox]\").not(\":checked\");
if( \$checked_list.length >= {{ Limit.cl_quantity_limit }} ){
\$not_checked_list.prop('disabled', true);
} else{
\$not_checked_list.prop('disabled', false);
}
}
</script>
{% if isMobile %}
<script>
function check_input(){
if( \$('input[name=\"LmOrderOption[catalog][]\"]:checked', \$form).length == 0 ){
showAlertWindow('カタログを選択してください');
return false;
}
\$form.submit();
}
function showAlertWindow(msg) {
last_scroll_top_value = \$(document).scrollTop();
\$(\"#alert-window p.alert-explain\").html(msg);
\$(\"body\").css(\"height\", \$(window).height());
\$(\"body\").css(\"overflow\", \"hidden\");
\$(\"#overlay\").css(\"visibility\", \"visible\");
\$(\"#alert-window\").css(\"visibility\", \"visible\");
}
function closeAlertWindow() {
\$(\"body\").css(\"height\", \"auto\");
\$(\"body\").css(\"overflow\", \"auto\");
\$(\"#overlay\").css(\"visibility\", \"hidden\");
\$(\"#alert-window\").css(\"visibility\", \"hidden\");
window.scrollTo(0, last_scroll_top_value);
}
\$('input[name=\"LmOrderOption[catalog][]\"]').on('change', function(e) {
if (\$('input[name=\"LmOrderOption[catalog][]\"]:checked').length > 0) {
\$('#cts-float-button').fadeIn(500);
} else {
\$('#cts-float-button').fadeOut(500);
}
});
</script>
{% else %}
<script src=\"/javascripts/jquery-ui.min.js\" type=\"text/javascript\"></script>
<script src=\"/javascripts/jquery.efo.js\" type=\"text/javascript\"></script>
<script>
var efo_elm = \$(\"[class^=efo]\").efo({
\t\t\tconfirmation : {
\t\t\t\tenabled : false,
\t\t\t\tform : document.forms.mail_fm
\t\t\t},
\t\t\tnotification : {
\t\t\t\tenabled : true
\t\t\t},
\t\t\tvalidation : {
\t\t\t\tbind : 'efo_change'
\t\t\t},
\t\t\ttooltipping : {
\t\t\t\tenabled : true
\t\t\t},
\t\t\tobservation : {
\t\t\t\tenabled : true
\t\t\t}
\t\t}).on('efo_afterValidate', function(event, data){
\t\t\tif (data.remaining > 0) {
\t\t\t\t\$('.btnMask').show();
\t\t\t\t\$('.btnNext').hide();
\t\t\t} else {
\t\t\t\t\$('.btnMask').hide();
\t\t\t\t\$('.btnNext').show();
\t\t\t}
\t\t});
\$('input[name=\"LmOrderOption[catalog][]\"]').on('change', function(e) {
var \$checkbox = \$(this);
var \$box = \$checkbox.closest('.catalog-list-box-inner');
if( \$checkbox.prop('checked') ){
\$box.addClass('catalog-list-box-selected');
} else{
\$box.removeClass('catalog-list-box-selected');
}
});
</script>
{% endif %}
{% endblock %}
{% block stylesheet %}
<link rel=\"stylesheet\" href=\"/stylesheets/style_estimate.css\">
<link rel=\"stylesheet\" href=\"/stylesheets/stylesheet.css\">
<link rel=\"stylesheet\" href=\"/stylesheets/jquery.efo.css\">
{% if isMobile %}
<link rel=\"stylesheet\" href=\"/stylesheets/css/sp/common.css\">
{% endif %}
<style>
.red{
color: red;
}
#contents_wrapper{
width: 990px;
margin: 0 auto;
}
#contents{
width: 100%;
}
#stap_area{
width :100%;
margin-bottom:20px;
}
#step_area .form{
width:100%;
}
#step_area .form img{
width:100%;
}
#step_area .step{
width:100%;
margin: 20px auto;
text-align:center;
}
#CartCatalog #catalog_btn_area{
visibility:hidden;
}
#CartCatalog .otodoke{
background-color: #FFFFCC;
padding: 20px;
text-align:
center;
border: 1px solid #FFFF99;
margin: 20px auto 30px;
width: 680px;
border: 1px solid #FFCD82;
border-radius: 10px;
font-size:13px;
}
#CartCatalog .otodoke p.title{
font-weight: bold;
font-size: 16pt;
}
#CartCatalog .CatalogCatagoryLabel{
font-size: 21px;
font-weight: bold;
border-bottom: 2px solid #ffb05c;
padding: 25px 0 10px 10px;
letter-spacing: .1em;
display: block;
margin-bottom:20px;
}
#CartCatalog ul.CatalogList{
width:100%;
margin-bottom:30px;
/*display: flex;
display : -webkit-box;
justify-content: center;
-webkit-align-items: center;
align-items: center*/
}
#CartCatalog li.catalog-list-box{
width: 240px;
padding: 1px;
margin-bottom:20px;
display:inline-block;
vertical-align: top;
margin-bottom:20px;
/* flex-direction: center; */
/*float:left;*/
/*display:-ms-grid;
display:grid;
-ms-grid-columns:auto auto auto;
grid-template-columns:auto auto auto;*/
}
#CartCatalog .catalog-list-box-inner{
border: solid 1px #B1B2B1;
height: 100%;
border-bottom: none;
}
#CartCatalog .catalog-list-box-header{
background-color:#E5E5E5;
}
#CartCatalog .catalog-list-box-header input{
margin: 15px 10px;
-webkit-transform: scale(1.4, 1.4);
}
#CartCatalog .catalog-list-box-header span{
font-size:13px;
font-weight: bold;
line-height:1.2;
padding: 0.3em 0;
display:inline-block;
overflow-wrap: break-word;
width:165px;
}
#CartCatalog .catalog-image{
padding: 20px 50px;
}
#CartCatalog .catalog-image img{
width:100%;
}
#CartCatalog .catalog-list-box-comment{
padding:5px;
}
#CartCatalog .catalog_link_1 a,
#CartCatalog .catalog_link_2 a,
#CartCatalog .catalog_link_3 a{
display: block;
width: 90%;
text-align: center;
margin: 0 auto 10px;
text-align: center;
text-decoration: none;
font-weight: bold;
line-height: 2.5;
border-radius: 6px;
font-size: 11px;
background: #177A74;
color: #fff;
}
#CartCatalog .catalog_link_3 a{
background: #F2910E;
}
#CartCatalog .catalog-list-box-footer{
border: solid 1px #B1B2B1;
border-top: none;
height:110px;
width:100%;
}
#catalog_btn_area{
margin-bottom:30px;
}
#catalog_btn_area button{
margin-bottom:20px;
}
.foot_message{
margin-bottom:30px;
}
#footer{
background-color: #fff;
border: 0;
}
.ec-layoutRole__footer #footer{
margin: 0 auto;
background-color: #EEE;
}
#CartCatalog #step1-top div{
padding: 2px 20px;
width:99%;
background-color:#98CACB;
line-height: 28px;
font-size:18px;
font-weight:700;
border-radius:20px;
color:#333;
}
@media screen and (max-width: 990px) {
#contents_wrapper{
width: 100%;
}
#CartCatalog ul.CatalogList{
margin: 0 auto 30px;
max-width:768px
}
}
@media screen and (max-width: 768px) {
#CartCatalog .otodoke{
width:90%;
}
#CartCatalog ul.CatalogList{
margin: 0 auto 30px;
max-width:512px;
}
}
@media screen and (max-width: 512px) {
#CartCatalog li.catalog-list-box{
width:49%;
}
}
@media screen and (max-width: 460px) {
#CartCatalog .otodoke {
padding:20px 10px;
}
#CartCatalog .otodoke p.title span{
display:block;
}
div.step img {
width: 98%;
}
}
{% if isMobile %}
.ec-layoutRole {
background-color: #eee;
}
.ec-layoutRole .ec-layoutRole__contents {
display: block;
}
.sp.ec-role .ec-pageHeader h1 {
border-top: 0px;
}
.ec-layoutRole #header {
display: block;
height: auto;
}
.ec-layoutRole #header #ut-sp-global-navi h1 {
font-weight: normal;
font-size: 10px;
overflow: hidden;
margin: 0px;
float: none;
padding-left: 10px;
}
.ec-layoutRole #contents_wrapper, .ec-layoutRole .ec-layoutRole__footer#footer {
width: auto;
}
.ec-layoutRole #header #logo {
height: auto;
padding: 5px 10px;
background: white;
float: none;
}
.ec-layoutRole #header #logo a {
height: auto;
width: auto;
background-image: unset;
text-indent: unset;
}
.ec-layoutRole #header #logo a img {
background: white;
}
.ec-layoutRole .ec-layoutRole__footer h2 {
padding-left: 30px;
}
.ec-layoutRole .ec-layoutRole__footer #footermenu li {
border-right-width: 0;
}
.ec-layoutRole__main#contents {
padding: 0px;
margin: 0px;
}
.ec-layoutRole__footer#footer {
margin-top: 0px;
margin: 0;
background-color: white;
}
.user_area, #pankuzu {
display: none;
}
.sp #overlay {
visibility: hidden;
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 1000;
background-color: rgba(0, 0, 0, 0.7);
}
.sp .alert-window {
visibility: hidden;
margin-top: -68px;
margin-left: -150px;
z-index: 1001;
position: absolute;
top: 0;
left: 50%;
top: 50%;
width: 300px;
}
.sp .alert-content {
background-color: #fff;
border-radius: 7px;
border: 1px solid #eee;
border-top: 0;
padding: 10px;
}
.sp .alert-explain {
font-size: 16px;
margin:10px;
line-height:140%;
text-align: left;
}
.sp .alert-btns {
font-size: 13px;
overflow: hidden;
padding: 10px;
margin-top: 10px;
}
.sp .alert-btn-back {
display:block;
border: 1px solid #ccc;
color: #333;
text-align: center;
width: 50%;
border-radius: 5px;
float: left;
margin:0 25%;
padding: 10px 0;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#e3e3e3), to(#ccc));
background: -webkit-linear-gradient(to bottom, #e3e3e3, #ccc);
background: linear-gradient(to bottom, #e3e3e3, #ccc);
background: #ccc\\9;
}
.sp #heading-title {
position: relative;
overflow: initial;
color: #fff;
background-color: #958064;
text-shadow: none;
padding-left: 15px;
}
.sp #heading-title:after {
content: \"\";
position: absolute;
display: block;
width: 0;
height: 0;
bottom: -7px;
border-top: 7px solid #958064;
border-left: 7px solid transparent;
border-right: 7px solid transparent;
}
.sp #cts-float-button {
display: none;
position: fixed;
bottom: 50px;
left: 0px;
box-sizing: border-box;
width: 100%;
margin: 0;
padding: 15px 10px;
background: rgba(0,0,0,0.8);
z-index: 99;
}
.sp #cts-float-button button {
display: block;
padding: 13px 0;
font-size: 14px;
font-weight: bold;
color: #fff;
background-image: -moz-linear-gradient(top, #fcc10f 0%, #f68408 100%);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fcc10f), color-stop(100%, #f68408));
background-image: -webkit-linear-gradient(top, #fcc10f 0%, #f68408 100%);
background-image: -o-linear-gradient(top, #fcc10f 0%, #f68408 100%);
background-image: -ms-linear-gradient(top, #fcc10f 0%, #f68408 100%);
background-image: linear-gradient(to bottom, #fcc10f 0%,#f68408 100%);
text-shadow: 1px 1px 0 rgba(0,0,0,0.25);
border-radius: 4px;
width: 100%;
}
.sp #catalog-list-area > * {
box-sizing: border-box;
}
.sp #catalog-list-area .catalog-category-block {
border: 1px solid #c3b5a0;
background: #fff;
margin-bottom: 20px;
font-size: 12px;
overflow: hidden;
border-radius: 8px;
padding-bottom: 4px;
}
.sp #catalog-list-area .catalog-category-label {
font-size: 15px;
font-weight: bold;
letter-spacing: .1em;
display: block;
background: #daebeb;
padding: .6em;
border-bottom: 1px solid #c3b5a0;
}
.sp #catalog-list-area .catalog-list {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.sp #catalog-list-area .catalog-list:after,
.sp #catalog-list-area .catalog-list > li {
width: 48%;
padding: 1%;
}
.sp #catalog-list-area .catalog-list:after {
content: '';
display: block;
order: 1;
}
.sp #catalog-list-area .catalog-list li {
}
.sp #catalog-list-area .catalog-list-box-inner {
border: solid 1px #B1B2B1;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.sp #catalog-list-area .catalog-list-box-inner.catalog-list-box-selected {
background: #ddfcc0;
}
.sp #catalog-list-area .catalog-list-box-header {
background: #E5E5E5;
}
.sp #catalog-list-area .catalog-list-box-header-inner {
display: flex;
align-items: center;
}
.sp #catalog-list-area .catalog-list-box-checkbox-wrap input {
margin: 14px;
}
.sp #catalog-list-area .catalog-list-box-checkbox-wrap input:disabled {
opacity: .2;
}
.sp #catalog-list-area .catalog-list-box-checkbox-wrap input.catalog-checkbox-unselectable {
opacity: 0;
}
.sp #catalog-list-area .catalog-list-box-title {
padding: .3em 0;
line-height: 1.2;
font-weight: bold;
font-size: 12px;
letter-spacing: 1px;
}
.sp #catalog-list-area .catalog-list-box-image {
padding: 10px 40px;
}
.sp #catalog-list-area .catalog-list-box-image img {
object-fit: contain;
width: 100%;
max-height: 100%;
}
.sp #catalog-list-area .catalog-list-box-comment, #catalog-list-area .catalog-list-box-footer {
padding: 0 1em;
}
.sp #catalog-list-area .catalog-list-box-comment p {
font-size: 9px;
}
.sp #catalog-list-area .catalog-list-box-comment .catalog-icon {
display: flex;
justify-content: space-between;
}
.sp #catalog-list-area .catalog-list-box-comment .catalog-icon img {
width: 32%;
}
.sp #catalog-list-area .catalog-list-box-footer {
margin: .2em 0 .8em 0;
}
.sp #catalog-list-area .catalog-list-box-link {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.sp #catalog-list-area .catalog-list-box-link:after,
.sp #catalog-list-area .catalog-list-box-link:before {
content: '';
order: 1;
}
.sp #catalog-list-area .catalog-list-box-link > li .catalog-link {
display: table;
margin: .2em 0;
height: 28px;
width: 100%;
}
.sp #catalog-list-area .catalog-list-box-link a {
display: table-cell;
width: 100%;
height: 100%;
text-align: center;
position: relative;
letter-spacing: -1px;
text-decoration: none;
font-weight: bold;
line-height: 1;
border-radius: 6px;
vertical-align: middle;
font-size: 9px;
}
.sp #catalog-list-area .catalog-list-box-link a:after {
content: '▶︎';
display: block;
position: absolute;
top: 32%;
right: .8em;
}
.sp #catalog-list-area .catalog-list-box-link a.catalog-list-box-link-type-01,
.sp #catalog-list-area .catalog-list-box-link a.catalog-list-box-link-type-02 {
background: #177A74;
color: #fff;
}
.sp #catalog-list-area .catalog-list-box-link a.catalog-list-box-link-type-03 {
background: #F2910E;
color: #000;
}
.sp .catalog-box {
padding: 10px;
background-color: #eee;
}
.sp#CartCatalog .catalog-list-box-header input{
-webkit-transform: none;
}
.sp#CartCatalog .catalog-list-box-header span {
width: auto;
}
.sp#CartCatalog .catalog-list-box-footer {
border: none;
height: auto;
}
.sp#CartCatalog li.catalog-list-box {
margin-bottom: 0px;
}
.sp .cancel-btn {
margin-top: 10px;
}
.sp #btns {
border: 1px dotted #ccc;
border-left: 0;
border-right: 0;
font-size: 13px;
padding: 10px;
}
.sp #btns #btn-next {
margin: 0 auto;
line-height: 25px;
height: 50px;
font-size: 18px;
border: 1px solid #ff8f00;
width: 100%;
border-radius: 5px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-o-box-sizing: border-box;
-ms-box-sizing: border-box;
background: #ff8f00;
color: white;
font-weight: bold;
}
.sp .cancel-btn .ec-blockBtn--cancel {
border-radius: 4px;
height: 50px;
line-height: 50px;
}
.sp .opinion-box {
margin-bottom: 15px;
}
.sp .catalog-box .alert-danger {
font-size: 14px;
letter-spacing: 1px;
margin-bottom: 10px;
padding: 10px;
}
{% else %}
.pc {
color: black;
}
.pc .limit-message {
margin: 20px 0px 10px 0px;
font-weight: bold;
}
.pc#CartCatalog .catalog-list-box-header span{
width: auto;
}
.pc .catalog-box {
cursor: pointer;
width: 33.3%;
}
.pc .alert {
position: relative;
padding: .75rem 1.25rem;
margin-bottom: 1rem;
border: 1px solid transparent;
border-radius: .25rem;
}
.pc .alert-danger {
color: #721c24;
background-color: #f8d7da;
border-color: #f5c6cb;
font-size: 14px;
padding: 1.25rem 1.25rem;
}
.pc button {
background-color: transparent;
}
.pc .clearfix:after {
content:\" \";
display:block;
clear:both;
}
.pc .btnBack, .btnMask, .btnNext {
border: none;
cursor: pointer;
}
.pc #catalog-list-area > * {
box-sizing: border-box;
}
.pc #catalog-list-area .catalog-category-label {
font-size: 21px;
font-weight: bold;
border-bottom: 2px solid #ffb05c;
padding: 25px 0 10px 10px;
letter-spacing: .1em;
display: block;
}
.pc #catalog-list-area .catalog-list {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.pc #catalog-list-area .catalog-list:before,
.pc #catalog-list-area .catalog-list:after,
.pc #catalog-list-area .catalog-list > li {
width: 25%;
padding: 1%;
}
.pc #catalog-list-area .catalog-list:before,
.pc #catalog-list-area .catalog-list:after {
content: '';
display: block;
order: 1;
}
.pc #catalog-list-area .catalog-list li {
}
.pc #catalog-list-area .catalog-list-box-inner {
border: solid 1px #B1B2B1;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.pc #catalog-list-area .catalog-list-box-inner.catalog-list-box-selected,
.pc #catalog-list-area .catalog-list-box-inner.catalog-list-box-selected:hover {
background: #ddfcc0;
}
.pc #catalog-list-area .catalog-list-box-inner:hover {
background: #ddd;
}
.pc #catalog-list-area .catalog-list-box-header {
background: #E5E5E5;
}
.pc #catalog-list-area .catalog-list-box-header-inner {
display: flex;
align-items: center;
}
.pc #catalog-list-area .catalog-list-box-checkbox-wrap input {
margin: 14px;
-webkit-transform: scale(1.4, 1.4);
}
.pc #catalog-list-area .catalog-list-box-checkbox-wrap input.catalog-checkbox-unselectable {
opacity: 0;
}
.pc #catalog-list-area .catalog-list-box-title {
padding: .3em 0;
line-height: 1.2;
font-weight: bold;
}
.pc #catalog-list-area .catalog-list-box-image {
padding: 20px 50px;
}
.pc #catalog-list-area .catalog-list-box-image img {
object-fit: contain;
width: 100%;
max-height: 100%;
}
.pc #catalog-list-area .catalog-list-box-comment, #catalog-list-area .catalog-list-box-footer {
padding: 0 1em;
}
.pc #catalog-list-area .catalog-list-box-comment p {
font-size: 11px;
line-height: 1.4;
font-weight: normal;
}
.pc #catalog-list-area .catalog-list-box-footer {
margin: .2em 0 .8em 0;
}
.pc #catalog-list-area .catalog-list-box-link {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.pc #catalog-list-area .catalog-list-box-link:after,
.pc #catalog-list-area .catalog-list-box-link:before {
content: '';
order: 1;
}
.pc #catalog-list-area .catalog-list-box-link > li .catalog-link {
display: table;
margin: .2em 0;
height: 28px;
width: 100%;
}
.pc #catalog-list-area .catalog-list-box-link a {
display: table-cell;
width: 100%;
height: 100%;
text-align: center;
position: relative;
letter-spacing: -1px;
text-decoration: none;
font-weight: bold;
line-height: 1;
border-radius: 6px;
vertical-align: middle;
font-size: 11px;
}
.pc #catalog-list-area .catalog-list-box-link a:after {
content: '▶︎';
display: block;
position: absolute;
top: 32%;
right: .8em;
}
.pc #catalog-list-area .catalog-list-box-link a.catalog-list-box-link-type-01,
.pc #catalog-list-area .catalog-list-box-link a.catalog-list-box-link-type-02 {
background: #177A74;
color: #fff;
}
.pc #catalog-list-area .catalog-list-box-link a.catalog-list-box-link-type-03 {
background: #F2910E;
color: #000;
}
.pc .catalog-box {
padding: 10px;
background-color: #eee;
}
.pc#CartCatalog .catalog-list-box-header input{
-webkit-transform: scale(1.4, 1.4);
}
.pc#CartCatalog .catalog-list-box-header span {
width: auto;
}
.pc#CartCatalog .catalog-list-box-footer {
border: none;
height: auto;
}
.pc#CartCatalog li.catalog-list-box {
margin-bottom: 0px;
}
.pc #catalog-list-area .admin-zaiko-count {
display: block;
color: red;
text-align: center;
}
.pc .catalog-bottom-box {
margin-top: 20px;
}
.pc .foot_message {
float: left;
}
.pc .catalog_btn_area {
float: right;
}
.pc#CartCatalog #catalog_btn_area {
visibility: visible;
}
/* EC-CUBEレイアウト用 ID=29 【LM】カタログ申し込みページ用レイアウト */
#header {
width: 100%;
height: 100%;
color: black;
}
#header #logo a {
background-image: none !important;
text-indent: 0 !important;
}
.ec-layoutRole__footer#footer {
max-width: 100%;
margin: 0 auto;
border: 1px solid #D3D0C1;
background: #eee;
}
.item-count {
color: black;
}
.return-shipping {
color: black;
}
{% endif %}
</style>
{% endblock %}
{% block main %}
{% if isMobile %}
<div id=\"CartCatalog\" class=\"sp\">
<div id=\"overlay\"></div>
<div id=\"alert-window\" class=\"alert-window\">
<div class=\"alert-content\">
<p class=\"alert-explain\"></p>
<div class=\"alert-btns\">
<a class=\"alert-btn-back\" onclick=\"closeAlertWindow();\" href=\"javascript:void(0);\">OK</a>
</div>
</div>
</div>
<div class=\"title-h2\">
<img class=\"ico-circle\" src=\"{{ GetConfig('CFIMG_URL') }}/public_images/sp/ico_circle.png\" alt=\"カタログ申し込み\">
<h2>カタログ申し込み</h2>
</div>
<h2 id=\"heading-title\">
<span>{{ Limit.cl_quantity_limit }}冊まで選択できます</span>
</h2>
<div class=\"clearfix\" style=\"padding: 2%;\">
<a href=\"/contact/fax/\" style=\"float:left;width:49%;\">
<img src=\"{{ GetConfig('CFIMG_URL') }}/public_images/order/banner_fax_01.jpg\" alt=\"お気軽にFAXください\" style=\"width:100%;\">
</a>
<a href=\"tel:0120-115-116\" style=\"float:left;width:49%;margin-left:2%;\">
<img src=\"{{ GetConfig('CFIMG_URL') }}/public_images/order/banner_freedial_02.jpg\" alt=\"お気軽にお電話ください\" style=\"width:100%;\">
</a>
</div>
<div class=\"catalog-box\">
{% set CatalogMessage = CatalogValidation() %}
{% if CatalogMessage %}
<div class=\"alert alert-danger\">
{{ CatalogMessage }}
</div>
{% endif %}
{% if CatalogData is not null %}
<form name=\"form\" id=\"catalog_form\" class=\"\" method=\"post\" action=\"{{ url('cart_buystep',{'cart_key':CatalogCartKey}) }}\">
<input type=\"hidden\" name=\"OlToken\" value=\"{{ OlToken('catalog') }}\" />
<div id=\"catalog-list-area\">
{% for LabelId,Label in CatalogCategoryLabel %}
{% if CatalogData[LabelId] is defined %}
<div class=\"catalog-category-block\">
<span class=\"catalog-category-label\">{{ Label }}</span>
<ul class=\"catalog-list\">
{% set Catalogs = CatalogData[LabelId] %}
{% for CatalogId,Catalog in Catalogs %}
<li class=\"catalog-list-box\" data-catalog-id=\"{{ CatalogId }}\" id=\"catalog-list-box-{{CatalogId}}\">
<div class=\"catalog-list-box-inner\">
<label for=\"CatalogList_{{Catalog.catalog_id }}\">
<div class=\"catalog-list-box-header\">
<div class=\"catalog-list-box-header-inner\">
<span class=\"catalog-list-box-checkbox-wrap\">
<input
id=\"CatalogList_{{Catalog.catalog_id }}\"
class=\"select\"
type=\"checkbox\"
name=\"LmOrderOption[catalog][]\"
value=\"{{ Catalog.catalog_id }}\"
{{ CatalogChecked(Catalog.catalog_id) }}
>
</span>
<span class=\"catalog-list-box-title\">{{ Catalog.catalog_title }}</span>
</div>
</div>
<div class=\"catalog-list-box-body\">
<div class=\"catalog-list-box-image\">
<img src=\"/kanri_img/images/catalog_image/{{ Catalog.catalog_id }}.jpg\" alert=\"{{ Catalog.catalog_title }}\">
</div>
<div class=\"catalog-list-box-comment\">
<p>{{ Catalog.catalog_comment|raw}}</p>
</div>
</div>
</label>
<div class=\"catalog-list-box-footer\">
<ul class=\"catalog-list-box-link\">
{% set CatalogNum = '01' %}
{% set CatalogKbn = Catalog.catalog_textlink_variation %}
{% set CatalogUrl = Catalog.catalog_textlink_url%}
{% if CatalogKbn %}<li>{{ include('Cart/Parts/CatalogLink.twig') }}</li>{% endif %}
{% set CatalogNum = '02' %}
{% set CatalogKbn = Catalog.catalog_textlink_variation2 %}
{% set CatalogUrl = Catalog.catalog_textlink_url2 %}
{% if CatalogKbn %}<li>{{ include('Cart/Parts/CatalogLink.twig') }}</li>{% endif %}
{% set CatalogNum = '03' %}
{% set CatalogKbn = Catalog.catalog_textlink_variation3 %}
{% set CatalogUrl = Catalog.catalog_textlink_url3 %}
{% if CatalogKbn %}<li>{{ include('Cart/Parts/CatalogLink.twig') }}</li>{% endif %}
</ul>
</div>
</div>
</li>
{% endfor %}
</ul>
</div>
{% endif %}
{% endfor %}
</div>
<h2 id=\"receipt\">ご意見・ご希望</h2>
<div class=\"content opinion-box\">
<div class=\"content-wrapper\">
<div class=\"input-box-last\">
<div class=\"item-name\">
ご意見・ご希望 <span class=\"not_required\">任意</span>
</div>
<div id=\"item-content-comment\">
<textarea style=\"width: 100%; box-sizing: border-box;\" name=\"LmOrderOption[message]\" rows=5 cols=70>{{ GetLmOrderOption('message') }}</textarea>
</div>
</div>
</div>
</div>
{% if is_granted('ROLE_USER') %}
<div id=\"btns\">
{% if CatalogMessage is empty %}
<div class=\"btn-wrapper\" style=\"width:100%;\">
<input type=\"button\" id=\"btn-next\" value=\"確認\" onclick=\"check_input();\">
</div>
{% endif %}
<div class=\"cancel-btn\">
<a class=\"ec-blockBtn--cancel\" href=\"{{ url('remove_cart_item', {'mode': 'catalog', 'Token': OlToken('RemoveCartItme')}) }}\">{{ 'front.cart_catalog.button02'|trans }}</a>
</div>
</div>
{% else %}
<div><img src=\"{{ GetConfig('CFIMG_URL') }}/public_images/image_dt/btn_catalog_next.gif\" style=\"width: 100%;\" onclick=\"check_input();\" alt=\"お客様情報を入力する\"></div>
<div class=\"cancel-btn\">
<a class=\"ec-blockBtn--cancel\" href=\"{{ url('remove_cart_item', {'mode': 'catalog', 'Token': OlToken('RemoveCartItme')}) }}\">{{ 'front.cart_catalog.button02'|trans }}</a>
</div>
{% endif %}
{% if CatalogMessage is empty %}
<div id=\"cts-float-button\">
<button type=\"button\" onclick=\"check_input();\">カタログ請求手続きへ</button>
</div>
{% endif %}
</form>
{% endif %}
</div>
</div>
{% else %}
<div id=\"CartCatalog\" class=\"pc\">
{{ include('Cart/Parts/Step.twig') }}
{% set CatalogMessage = CatalogValidation() %}
{% if CatalogMessage %}
<div class=\"alert alert-danger\">
{{ CatalogMessage }}
</div>
{% endif %}
<div class=\"otodoke\">
{% set noukiSchedule = GetCatalogNoukiSchedule() %}
<p class=\"title\">{{'front.cart_catalog.message01'|trans}}<span class=\"red\">{{ noukiSchedule | date('n月j日') }}({{noukiSchedule| date('Y/m/d')|jweek}})</span></p>
<p class=\"red\">{{'front.cart_catalog.message02'|trans}}</p>
<p>{{'front.cart_catalog.message03'|trans}}</p>
</div>
{{ include('Shopping/alert.twig', { 'error_only': true }) }}
<div class=\"\">
{% if CatalogData is not null %}
<form name=\"form\" id=\"form_cart\" class=\"\" method=\"post\" action=\"{{ url('cart_buystep',{'cart_key':CatalogCartKey}) }}\">
<input type=\"hidden\" name=\"OlToken\" value=\"{{ OlToken('catalog') }}\" />
<div class=\"\">
<div class=\"ec-cartTable\">
<div id=\"step1-top\" >
<img src=\"{{ GetConfig('CFIMG_URL') }}/public_images/sample/title_sub1.gif\" alt=\"カタログ選択\" width=\"990\" />
</div>
<p class=\"limit-message\">
<strong>{{ 'front.cart_catalog.message08'|trans }}</strong><span class=\"red\">{{ CatalogLimitMessage(Limit.cl_quantity_limit) }}</span>
</p>
<div id=\"catalog-list-area\" class=\"efo-required efo-select\" data-efo-validation='{\"min\":1, \"max\":\"{{ Limit.cl_quantity_limit }}\"}'>
{% for LabelId,Label in CatalogCategoryLabel %}
{% if CatalogData[LabelId] is defined %}
<div class=\"catalog-category-block\" id=\"{{ Label }}\">
<span class=\"catalog-category-label\">{{ Label }}</span>
<ul class=\"catalog-list\">
{% set Catalogs = CatalogData[LabelId] %}
{% for CatalogId,Catalog in Catalogs %}
<li class=\"catalog-list-box\" data-catalog-id=\"{{ CatalogId }}\" id=\"catalog-list-box-{{CatalogId}}\">
<div class=\"catalog-list-box-inner\">
<label for=\"CatalogList_{{Catalog.catalog_id }}\">
<div class=\"catalog-list-box-header\">
<div class=\"catalog-list-box-header-inner\">
<span class=\"catalog-list-box-checkbox-wrap\">
<input
id=\"CatalogList_{{Catalog.catalog_id }}\"
class=\"select\"
type=\"checkbox\"
name=\"LmOrderOption[catalog][]\"
value=\"{{ Catalog.catalog_id }}\"
{{ CatalogChecked(Catalog.catalog_id) }}
>
</span>
<span class=\"catalog-list-box-title\">{{ Catalog.catalog_title }}</span>
</div>
</div>
<div class=\"catalog-list-box-body\">
<div class=\"catalog-list-box-image\">
<img src=\"/kanri_img/images/catalog_image/{{ Catalog.catalog_id }}.jpg\" alert=\"{{ Catalog.catalog_title }}\">
</div>
<div class=\"catalog-list-box-comment\">
<p>{{ Catalog.catalog_comment|raw}}</p>
</div>
</div>
</label>
<div class=\"catalog-list-box-footer\">
<ul class=\"catalog-list-box-link\">
{% set CatalogNum = '01' %}
{% set CatalogKbn = Catalog.catalog_textlink_variation %}
{% set CatalogUrl = Catalog.catalog_textlink_url%}
{% if CatalogKbn %}<li>{{ include('Cart/Parts/CatalogLink.twig') }}</li>{% endif %}
{% set CatalogNum = '02' %}
{% set CatalogKbn = Catalog.catalog_textlink_variation2 %}
{% set CatalogUrl = Catalog.catalog_textlink_url2 %}
{% if CatalogKbn %}<li>{{ include('Cart/Parts/CatalogLink.twig') }}</li>{% endif %}
{% set CatalogNum = '03' %}
{% set CatalogKbn = Catalog.catalog_textlink_variation3 %}
{% set CatalogUrl = Catalog.catalog_textlink_url3 %}
{% if CatalogKbn %}<li>{{ include('Cart/Parts/CatalogLink.twig') }}</li>{% endif %}
</ul>
</div>
</div>
</li>
{% endfor %}
</ul>
</div>
{% endif %}
{% endfor %}
</div>
</div>
</div>
<div class=\"catalog-bottom-box clearfix\">
<div class=\"foot_message\">
<p>{{ 'front.cart_catalog.message04'|trans|raw}}</p>
<p>{{ 'front.cart_catalog.message05'|trans|raw}}</p>
<p>{{ 'front.cart_catalog.message06'|trans|raw}}</p>
</div>
{% if CatalogMessage is empty %}
<div class=\"catalog_btn_area\">
<button id=\"btn01-mask\" class=\"btnMask\" type=\"button\">
<img src=\"{{ GetConfig('CFIMG_URL') }}/public_images/regi/btn_kakunin_off.gif\" width=\"205\" height=\"45\" alt=\"未入力、もしくは入力間違いの必須項目があります。\"/>
</button>
<button id=\"btn01\" class=\"btnNext\" type=\"submit\">
<img src=\"{{ GetConfig('CFIMG_URL') }}/public_images/sample/btn_select.png\" alt=\"確認画面へ進む\" />
</button>
</div>
{% endif %}
</div>
<div id=\"catalog_btn_area\" class=\"ec-cartRole__actions\">
<a class=\"ec-blockBtn--cancel\" href=\"{{ url('remove_cart_item', {'mode': 'catalog', 'Token': OlToken('RemoveCartItme')}) }}\">{{ 'front.cart_catalog.button02'|trans }}</a>
</div>
</form>
{% endif %}
</div>
</div>
{% endif %}
{% endblock %}
", "Cart/Catalog.twig", "/var/www/html/app/template/default/Cart/Catalog.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 16, "if" => 48, "for" => 969);
static $filters = array("escape" => 25, "raw" => 999, "trans" => 1052, "date" => 1081, "jweek" => 1081);
static $functions = array("CatalogLimit" => 16, "GetConfig" => 943, "CatalogValidation" => 959, "url" => 966, "OlToken" => 967, "CatalogChecked" => 988, "include" => 1008, "GetLmOrderOption" => 1038, "is_granted" => 1044, "GetCatalogNoukiSchedule" => 1080, "CatalogLimitMessage" => 1097);
try {
$this->sandbox->checkSecurity(
['set', 'if', 'for'],
['escape', 'raw', 'trans', 'date', 'jweek'],
['CatalogLimit', 'GetConfig', 'CatalogValidation', 'url', 'OlToken', 'CatalogChecked', 'include', 'GetLmOrderOption', 'is_granted', 'GetCatalogNoukiSchedule', 'CatalogLimitMessage']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}