source: branches/version-2_12-dev/data/Smarty/templates/sphone/contact/index.tpl @ 22876

Revision 22876, 9.1 KB checked in by m_uehara, 7 years ago (diff)

#2127,#2130,#2220,#2260,#2270,#2274 のコミットを差し戻し

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
1<!--{*
2 * This file is part of EC-CUBE
3 *
4 * Copyright(c) 2000-2013 LOCKON CO.,LTD. All Rights Reserved.
5 *
6 * http://www.lockon.co.jp/
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
21 *}-->
22
23<script>
24    $(function() {
25        $('#contents')
26            .css('font-size', '100%')
27            .autoResizeTextAreaQ({
28                'max_rows': 50,
29                'extra_rows': 0
30            });
31    });
32</script>
33<section id="undercolumn">
34    <h2 class="title"><!--{$tpl_title|h}--></h2>
35    <div class="intro">
36        <p>ご意見やご質問をお受けしております。<br />
37            休業日は翌営業日以降のご返信となりますのでご了承ください。</p>
38    </div>
39
40    <form name="form1" method="post" action="?">
41        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
42        <input type="hidden" name="mode" value="confirm" />
43
44        <dl class="form_entry">
45            <dt>お名前&nbsp;<span class="attention">※</span></dt>
46            <dd>
47                <span class="attention"><!--{$arrErr.name01}--><!--{$arrErr.name02}--></span>
48                <input type="text" name="name01"
49                    value="<!--{$arrForm.name01.value|default:$arrData.name01|h}-->"
50                    maxlength="<!--{$smarty.const.STEXT_LEN}-->"
51                    style="<!--{$arrErr.name01|sfGetErrorColor}-->" class="boxHarf text data-role-none" placeholder="姓" />&nbsp;&nbsp;
52                <input type="text" name="name02"
53                    value="<!--{$arrForm.name02.value|default:$arrData.name02|h}-->"
54                    maxlength="<!--{$smarty.const.STEXT_LEN}-->"
55                    style="<!--{$arrErr.name02|sfGetErrorColor}-->" class="boxHarf text data-role-none" placeholder="名" />
56            </dd>
57
58            <dt>お名前(フリガナ)&nbsp;<span class="attention">※</span></dt>
59            <dd>
60                <span class="attention"><!--{$arrErr.kana01}--><!--{$arrErr.kana02}--></span>
61                <input type="text" name="kana01"
62                    value="<!--{$arrForm.kana01.value|default:$arrData.kana01|h}-->"
63                    maxlength="<!--{$smarty.const.STEXT_LEN}-->"
64                    style="<!--{$arrErr.kana01|sfGetErrorColor}-->"class="boxHarf text data-role-none" placeholder="セイ"/>&nbsp;&nbsp;
65                <input type="text" name="kana02"
66                    value="<!--{$arrForm.kana02.value|default:$arrData.kana02|h}-->"
67                    maxlength="<!--{$smarty.const.STEXT_LEN}-->"
68                    style="<!--{$arrErr.kana02|sfGetErrorColor}-->" class="boxHarf text data-role-none" placeholder="メイ"/>
69            </dd>
70
71            <dt>郵便番号</dt>
72            <dd>
73                <!--{assign var=key1 value="`$prefix`zip01"}-->
74                <!--{assign var=key2 value="`$prefix`zip02"}-->
75                <!--{assign var=key3 value="`$prefix`pref"}-->
76                <!--{assign var=key4 value="`$prefix`addr01"}-->
77                <span class="attention"><!--{$arrErr.zip01}--><!--{$arrErr.zip02}--></span>
78                <p>
79                    <input type="tel" name="zip01"
80                        value="<!--{$arrForm.zip01.value|default:$arrData.zip01|h}-->"
81                        max="<!--{$smarty.const.ZIP01_LEN}-->"
82                        style="<!--{$arrErr.zip01|sfGetErrorColor}-->; ime-mode: disabled;" class="boxShort text data-role-none" />&nbsp;-&nbsp;<input type="tel" name="zip02"
83                        value="<!--{$arrForm.zip02.value|default:$arrData.zip02|h}-->"
84                        max="<!--{$smarty.const.ZIP02_LEN}-->"
85                        style="<!--{$arrErr.zip02|sfGetErrorColor}-->; ime-mode: disabled;" class="boxShort text data-role-none" />&nbsp;&nbsp;<a href="http://search.post.japanpost.jp/zipcode/" target="_blank" rel="external"><span class="fn">郵便番号検索</span></a>
86                </p>
87
88                <a href="javascript:fnCallAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', '<!--{$key1}-->', '<!--{$key2}-->', '<!--{$key3}-->', '<!--{$key4}-->');" class="btn_sub btn_inputzip" rel="external">郵便番号から住所自動入力</a>
89            </dd>
90
91            <dt>住所</dt>
92            <dd>
93                <span class="attention"><!--{$arrErr.pref}--><!--{$arrErr.addr01}--><!--{$arrErr.addr02}--></span>
94                <select name="pref" style="<!--{$arrErr.pref|sfGetErrorColor}-->" class="boxHarf top data-role-none">
95                    <option value="" selected="selected">都道府県</option>
96                    <!--{html_options options=$arrPref selected=$arrForm.pref.value|default:$arrData.pref|h}-->
97                </select>
98
99                <input type="text" name="addr01"
100                    value="<!--{$arrForm.addr01.value|default:$arrData.addr01|h}-->"
101                    class="boxLong top text data-role-none"
102                    style="<!--{$arrErr.addr01|sfGetErrorColor}-->" placeholder="市区町村名" />
103                <input type="text" name="addr02"
104                    value="<!--{$arrForm.addr02.value|default:$arrData.addr02|h}-->"
105                    class="boxLong text data-role-none"
106                    style="<!--{$arrErr.addr02|sfGetErrorColor}-->" placeholder="番地・ビル名" />
107            </dd>
108
109            <dt>電話番号</dt>
110            <dd>
111                <span class="attention"><!--{$arrErr.tel01}--><!--{$arrErr.tel02}--><!--{$arrErr.tel03}--></span>
112                <input type="tel" name="tel01"
113                    value="<!--{$arrForm.tel01.value|default:$arrData.tel01|h}-->"
114                    maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->"
115                    style="<!--{$arrErr.tel01|sfGetErrorColor}-->"
116                    class="boxShort text data-role-none" />&nbsp;-&nbsp;<input type="tel" name="tel02" value="<!--{$arrForm.tel02.value|default:$arrData.tel02|h}-->" maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->" style="<!--{$arrErr.tel02|sfGetErrorColor}-->" class="boxShort text data-role-none" />&nbsp;-&nbsp;<input type="text" name="tel03" value="<!--{$arrForm.tel03.value|default:$arrData.tel03|h}-->" maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->" style="<!--{$arrErr.tel03|sfGetErrorColor}-->" class="boxShort text data-role-none" />
117            </dd>
118
119            <dt>メールアドレス&nbsp;<span class="attention">※</span></dt>
120            <dd>
121                <span class="attention"><!--{$arrErr.email}--><!--{$arrErr.email02}--></span>
122                <input type="email" name="email"
123                    value="<!--{$arrForm.email.value|default:$arrData.email|h}-->"
124                    style="<!--{$arrErr.email|sfGetErrorColor}-->"
125                    maxlength="<!--{$smarty.const.MTEXT_LEN}-->" class="boxLong top text data-role-none" />
126
127                <!--{* ログインしていれば入力済みにする *}-->
128                <!--{if $smarty.server.REQUEST_METHOD != 'POST' && $smarty.session.customer}-->
129                    <!--{assign var=email02 value=$arrData.email}-->
130                <!--{/if}-->
131
132                <input type="email" name="email02"
133                    value="<!--{$arrForm.email02.value|default:$email02|h}-->"
134                    style="<!--{$arrErr.email02|sfGetErrorColor}-->"
135                    maxlength="<!--{$smarty.const.MTEXT_LEN}-->" class="boxLong text data-role-none" placeholder="確認のため2回入力してください" />
136            </dd>
137
138            <dt>お問い合わせ内容&nbsp;<span class="attention">※</span>
139                <span class="mini">(全角<!--{$smarty.const.MLTEXT_LEN}-->字以下)</span></dt>
140            <dd><span class="attention"><!--{$arrErr.contents}--></span>
141                <textarea name="contents" id="contents" class="textarea data-role-none" rows="4" cols="42" style="<!--{$arrErr.contents|sfGetErrorColor}-->"><!--{"\n"}--><!--{$arrForm.contents.value|h}--></textarea>
142            </dd>
143
144        </dl>
145
146        <div class="btn_area">
147            <input type="submit" value="確認ページへ" class="btn data-role-none" name="confirm" id="confirm" />
148        </div>
149    </form>
150</section>
151
152<!--▼検索バー -->
153<section id="search_area">
154    <form method="get" action="<!--{$smarty.const.ROOT_URLPATH}-->products/list.php">
155        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
156        <input type="hidden" name="mode" value="search" />
157        <input type="search" name="name" id="search" value="" placeholder="キーワードを入力" class="searchbox" >
158    </form>
159</section>
160<!--▲検索バー -->
Note: See TracBrowser for help on using the repository browser.