{#
This file is part of EC-CUBE
Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
http://www.ec-cube.co.jp/
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
{% extends 'default_frame.twig' %}
{% set body_class = 'question_page' %}
{% block stylesheet %}
<link rel="stylesheet" href="/stylesheets/jquery.efo.css">
<link rel="stylesheet" href="/stylesheets/mail.css?20230217">
<link rel="stylesheet" href="/stylesheets/mypage.css?20211226">
<link rel="stylesheet" href="/stylesheets/topcss.min.css">
<link rel="stylesheet" href="/stylesheets/base_stylesheet2.css">
<link rel="stylesheet" href="/stylesheets/sp_common.css">
<link rel="stylesheet" href="/stylesheets/first_view.css?20180302_01">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.1/css/all.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="/stylesheets/jquery.fbnr.css?20170629_01">
{% endblock %}
{% block javascript %}
<script src="/javascripts/jquery-ui.min.js" type="text/javascript"></script>
<script src="/javascripts/jquery.efo.js" type="text/javascript"></script>
<script>
$(function () {
var efo_elm = $("[class^=efo]").efo({
confirmation: { enabled: false, form: document.forms.fm },
notification: { enabled: true },
validation: { bind: 'efo_change' },
tooltipping: { enabled: true },
observation: { enabled: true }
}).on('efo_afterValidate', function (event, data) {
if (data.remaining > 0) {
$('#btn_kakunin_off').show();
$('#btn_kakunin').hide();
} else {
$('#btn_kakunin_off').hide();
$('#btn_kakunin').show();
}
});
var efo = $.data(efo_elm, 'plugin_efo');
$('#btn_kakunin_off').on('click', function (event, ui) {
if (efo.remaining > 0) {
alert('未入力、もしくは入力間違いの項目が' + efo.remaining + '個あります。');
return false;
}
});
$('#btn_kakunin').click(function () {
if (!document.getElementById('privacy1').checked) {
document.getElementById('privacy1').focus();
alert('利用目的に同意していただく必要があります。');
return false;
}
$('#mail_question').submit();
});
});
</script>
{% endblock %}
{% block main %}
<div id="pankuzu" class="ec-layoutRole__contents">
<ul itemscope="" itemtype="https://schema.org/BreadcrumbList">
<li itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem">
<meta itemprop="position" content="1">
<a href="/" itemprop="item"><span itemprop="name">ユニフォーム通販TOP</span></a>
>
</li>
<li itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem">
<meta itemprop="position" content="2">
<a href="/item/{{ goods.goods_id }}.html" itemprop="item">
<span itemprop="name">{{ goods.goods_name }}</span>
</a>
>
</li>
<li>
<span class="nowpage">商品について質問する</span>
</li>
</ul>
</div>
<div id="mail_content" class="pc mail-question">
<table class="product-table">
<tr>
<td class="product-name">{{ goods.goods_name }}</td>
<td class="product-code">{{ goods.gp_katabans }}</td>
<td class="product-price">{{ goods.prices }}</td>
</tr>
</table>
<div class="page-title">
<h3>商品についての問合せ</h3>
</div>
<p style="margin: 5px;">
<span>
下記の項目をご入力ください。<br>
入力が完了しましたら、画面下の「次へ」ボタンを押してください。確認画面に移動します。<br>
</span>
<span class="red">
※の項目は必須入力です。<br>
必ずお名前とメールアドレスを入力してください。折り返しご連絡させて頂きます。
</span>
</p>
<form name="mail_question" id="mail_question" method="post"
action="{{ url('mail_question', {goods_id: goods.goods_id}) }}">
{{ form_widget(form._token) }}
<div class="page-title">
<h3>商品についてのお問い合せ内容の入力</h3>
</div>
<table class="new_input left" style="margin:0px;">
<tbody>
<tr>
<th class="h">お名前</th>
<td class="c1" style="padding-left: 8px;">
<div class="ec-halfInput ec-input{{ has_errors(form.user_name) ? ' error' }}">
{{ form_widget(form.user_name, {
attr: {
'id': 'user_name',
'class': 'efo-required',
'data-efo-validate-required': 'お名前をご入力ください',
'placeholder': '(例)山田 太郎'
}
}) }}
{{ form_errors(form.user_name) }}
</div>
</td>
</tr>
<tr>
<th class="h">メールアドレス</th>
<td class="c1">
<div class="ec-input{{ has_errors(form.mail.first) ? ' error' }}">
{{ form_widget(form.mail.first, {
attr: {
'id': 'question_mail_first',
'class': 'efo-required-mail w350',
'data-efo-validate-required': 'メールアドレスをご入力ください',
'placeholder': '(例)info@l-m.co.jp'
}
}) }}
{{ form_errors(form.mail.first) }}
</div>
<div class="ec-input{{ has_errors(form.mail.second) ? ' error' }}">
<label for="question_mail_second" style="margin-top:1em;">確認のためもう一度入力してください</label>
{{ form_widget(form.mail.second, {
attr: {
'id': 'question_mail_second',
'class': 'efo-required-mail w350',
'data-efo-validate-required': 'メールアドレスをご入力ください',
'placeholder': '確認のためもう一度入力してください'
}
}) }}
{{ form_errors(form.mail.second) }}
</div>
</td>
</tr>
<tr>
<th class="h">お問合せ内容</th>
<td class="c1">
<div class="ec-input{{ has_errors(form.question) ? ' error' }}">
{{ form_widget(form.question, {
attr: {
'id': 'question',
'class': 'efo-required',
'style': 'width: 80%; height: 160px; padding: 6px; box-sizing: border-box;',
'data-efo-validate-required': 'お問い合わせ内容をご入力ください',
}
}) }}
{{ form_errors(form.question) }}
</div>
</td>
</tr>
</tbody>
</table>
<div class="page-title">
<h3>個人情報の取扱いについての同意</h3>
</div>
<table class="new_input left">
<tbody>
<tr>
<td colspan="2" style="padding:10px;border-left:none;">
<div id="privacy_box">
{{ GetPrivacy3()|raw }}
</div>
</td>
</tr>
<tr>
<th class="h last-th">個人情報の<br>取扱いについて</th>
<td class="c3" style="border:none;">
<label class="lb-agree">
<input type="radio" name="privacy" id="privacy1" value="1"> 同意する
</label>
<label class="lb-agree">
<input type="radio" name="privacy" id="privacy2" value="2" checked="checked"> 同意しない
</label>
<br>ユニフォームタウンをご利用いただくには、上記「個人情報の取扱いについての同意」にご同意いただく必要がございます。<br>
<div align="right" style="padding-bottom:4px">
<a href="/company/privacy/" target="_blank">→個人情報保護方針</a>
</div>
</td>
</tr>
</tbody>
</table>
<br class="clear">
<div class="submit-btns">
<input
type="image"
src="https://img0.land-mark.biz/ut_img/public_images/regi/btn_kakunin_off.gif"
width="205"
height="45"
alt="未入力、もしくは入力間違いの必須項目があります。"
id="btn_kakunin_off"
>
<input
type="image"
name="mode"
value="confirm"
src="https://img0.land-mark.biz/ut_img/public_images/contact/btn_kakunin.gif"
width="298"
height="38"
alt="確認画面へ進む"
id="btn_kakunin"
style="display:none;"
>
</div>
</form>
<table style="margin-top: 10px;">
<tbody>
<tr>
<td>
<div id="DigiCertClickID_2phMqn4D"><div id="DigiCertClickID_2phMqn4DSeal" style="text-decoration: none; text-align: center; display: block; vertical-align: baseline; font-size: 100%; font-style: normal; text-indent: 0px; line-height: 1; width: auto; margin: 0px auto; padding: 0px; border: 0px; background: transparent; position: relative; inset: 0px; clear: both; float: none; cursor: default;"><img src="//seal.digicert.com/seals/cascade/?tag=2phMqn4D&referer={{ eccube_config.UT_URL }}&format=png&seal_number=15&seal_size=s&an=min" alt="DigiCert Seal" tabindex="0" style="text-decoration: none; text-align: center; display: block; vertical-align: baseline; font-size: 100%; font-style: normal; text-indent: 0px; line-height: 1; width: auto; margin: 0px auto; padding: 0px; border: 0px; background: transparent; position: relative; inset: 0px; clear: both; float: none; cursor: pointer;"></div></div>
<script type="text/javascript">
var __dcid = __dcid || [];__dcid.push(["DigiCertClickID_2phMqn4D", "15", "s", "black", "2phMqn4D"]);(function(){var cid=document.createElement("script");cid.async=true;cid.src="//seal.digicert.com/seals/cascade/seal.min.js";var s = document.getElementsByTagName("script");var ls = s[(s.length - 1)];ls.parentNode.insertBefore(cid, ls.nextSibling);}());
</script>
<script async="" src="//seal.digicert.com/seals/cascade/seal.min.js"></script>
</td>
<td style="padding: 10px 0px 0px 10px; font-size: 12px; line-height: 120%;">
当サイトはデジサート・ジャパン合同会社により「サイトの運営主体の実在証明」及び「SSL暗号化通信による情報の保護」の認証証明を受けており、お客様よりご登録いただく個人情報やクレジットカード番号等の情報は
SSL(Secure Socket Layer)という信用性・安全性の高い暗号通信技術で暗号化され、第三者の盗聴、改ざん、成りすましなどから保護されます。安心してご利用ください。<br>
</td>
</tr>
</tbody>
</table>
<br class="clear">
</div>
{% endblock %}