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

Revision 22205, 9.8 KB checked in by m_uehara, 11 years ago (diff)

#2004 郵便番号を2カラムから1カラムに変更しました。

  • 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-2012 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=key1 value="`$prefix`zipcode"}-->
76                <!--{assign var=key3 value="`$prefix`pref"}-->
77                <!--{assign var=key4 value="`$prefix`addr01"}-->
78                <!--{* <span class="attention"><!--{$arrErr.zip01}--><!--{$arrErr.zip02}--></span> *}-->
79                <span class="attention"><!--{$arrErr.zipcode}--></span>
80                <p>
81                    <!--{*
82                    <input type="tel" name="zip01"
83                        value="<!--{$arrForm.zip01.value|default:$arrData.zip01|h}-->"
84                        max="<!--{$smarty.const.ZIP01_LEN}-->"
85                        style="<!--{$arrErr.zip01|sfGetErrorColor}-->; ime-mode: disabled;" class="boxShort text data-role-none" />&nbsp;-&nbsp;<input type="tel" name="zip02"
86                        value="<!--{$arrForm.zip02.value|default:$arrData.zip02|h}-->"
87                        max="<!--{$smarty.const.ZIP02_LEN}-->"
88                        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>
89                    *}-->
90                    <input type="tel" name="zipcode"
91                        value="<!--{$arrForm.zipcode.value|default:$arrData.zipcode|h}-->"
92                        max="<!--{$smarty.const.ZIPCODE_LEN}-->"
93                        style="<!--{$arrErr.zipcode|sfGetErrorColor}-->; ime-mode: disabled;" class="boxShort text data-role-none" />
94                        &nbsp;&nbsp;<a href="http://search.post.japanpost.jp/zipcode/" target="_blank" rel="external"><span class="fn">郵便番号検索</span></a>
95                </p>
96
97                <!--{* <a href="javascript:fnCallAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', '<!--{$key1}-->', '<!--{$key2}-->', '<!--{$key3}-->', '<!--{$key4}-->');" class="btn_sub btn_inputzip" rel="external">郵便番号から住所自動入力</a> *}-->
98            </dd>
99
100            <dt>住所</dt>
101            <dd>
102                <span class="attention"><!--{$arrErr.pref}--><!--{$arrErr.addr01}--><!--{$arrErr.addr02}--></span>
103                <select name="pref" style="<!--{$arrErr.pref|sfGetErrorColor}-->" class="boxHarf top data-role-none">
104                    <option value="" selected="selected">都道府県</option>
105                    <!--{html_options options=$arrPref selected=$arrForm.pref.value|default:$arrData.pref|h}-->
106                </select>
107
108                <input type="text" name="addr01"
109                    value="<!--{$arrForm.addr01.value|default:$arrData.addr01|h}-->"
110                    class="boxLong top text data-role-none"
111                    style="<!--{$arrErr.addr01|sfGetErrorColor}-->" placeholder="市区町村名" />
112                <input type="text" name="addr02"
113                    value="<!--{$arrForm.addr02.value|default:$arrData.addr02|h}-->"
114                    class="boxLong text data-role-none"
115                    style="<!--{$arrErr.addr02|sfGetErrorColor}-->" placeholder="番地・ビル名" />
116            </dd>
117
118            <dt>電話番号</dt>
119            <dd>
120                <span class="attention"><!--{$arrErr.tel01}--><!--{$arrErr.tel02}--><!--{$arrErr.tel03}--></span>
121                <input type="tel" name="tel01"
122                    value="<!--{$arrForm.tel01.value|default:$arrData.tel01|h}-->"
123                    maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->"
124                    style="<!--{$arrErr.tel01|sfGetErrorColor}-->"
125                    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" />
126            </dd>
127
128            <dt>メールアドレス&nbsp;<span class="attention">※</span></dt>
129            <dd>
130                <span class="attention"><!--{$arrErr.email}--><!--{$arrErr.email02}--></span>
131                <input type="email" name="email"
132                    value="<!--{$arrForm.email.value|default:$arrData.email|h}-->"
133                    style="<!--{$arrErr.email|sfGetErrorColor}-->"
134                    maxlength="<!--{$smarty.const.MTEXT_LEN}-->" class="boxLong top text data-role-none" />
135
136                <!--{* ログインしていれば入力済みにする *}-->
137                <!--{if $smarty.server.REQUEST_METHOD != 'POST' && $smarty.session.customer}-->
138                    <!--{assign var=email02 value=$arrData.email}-->
139                <!--{/if}-->
140
141                <input type="email" name="email02"
142                    value="<!--{$arrForm.email02.value|default:$email02|h}-->"
143                    style="<!--{$arrErr.email02|sfGetErrorColor}-->"
144                    maxlength="<!--{$smarty.const.MTEXT_LEN}-->" class="boxLong text data-role-none" placeholder="確認のため2回入力してください" />
145            </dd>
146
147            <dt>お問い合わせ内容&nbsp;<span class="attention">※</span>
148                <span class="mini">(全角<!--{$smarty.const.MLTEXT_LEN}-->字以下)</span></dt>
149            <dd><span class="attention"><!--{$arrErr.contents}--></span>
150                <textarea name="contents" id="contents" class="textarea data-role-none" rows="4" cols="42" style="<!--{$arrErr.contents|sfGetErrorColor}-->"><!--{"\n"}--><!--{$arrForm.contents.value|h}--></textarea>
151            </dd>
152
153        </dl>
154
155        <div class="btn_area">
156            <input type="submit" value="確認ページへ" class="btn data-role-none" name="confirm" id="confirm" />
157        </div>
158    </form>
159</section>
160
161<!--▼検索バー -->
162<section id="search_area">
163    <form method="get" action="<!--{$smarty.const.ROOT_URLPATH}-->products/list.php">
164        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
165        <input type="hidden" name="mode" value="search" />
166        <input type="search" name="name" id="search" value="" placeholder="キーワードを入力" class="searchbox" >
167    </form>
168</section>
169<!--▲検索バー -->
Note: See TracBrowser for help on using the repository browser.