source: branches/version-2_13_0/data/Smarty/templates/sphone/contact/index.tpl @ 23071

Revision 23071, 8.9 KB checked in by h_yoshimoto, 11 years ago (diff)

#2342 基本情報管理>SHOPマスターにてJSエラーで登録処理が動かなかったので一旦戻します

  • 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                        maxlength="<!--{$smarty.const.ZIP01_LEN}-->"
82                        style="<!--{$arrErr.zip01|sfGetErrorColor}-->;" class="boxShort text data-role-none" />&nbsp;-&nbsp;<input type="tel" name="zip02"
83                        value="<!--{$arrForm.zip02.value|default:$arrData.zip02|h}-->"
84                        maxlength="<!--{$smarty.const.ZIP02_LEN}-->"
85                        style="<!--{$arrErr.zip02|sfGetErrorColor}-->;" 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;
117                <input type="tel" name="tel02"
118                       value="<!--{$arrForm.tel02.value|default:$arrData.tel02|h}-->"
119                       maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->"
120                       style="<!--{$arrErr.tel02|sfGetErrorColor}-->"
121                       class="boxShort text data-role-none" />&nbsp;-&nbsp;
122                <input type="tel" name="tel03"
123                       value="<!--{$arrForm.tel03.value|default:$arrData.tel03|h}-->"
124                       maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->"
125                       style="<!--{$arrErr.tel03|sfGetErrorColor}-->"
126                       class="boxShort text data-role-none" />
127            </dd>
128
129            <dt>メールアドレス&nbsp;<span class="attention">※</span></dt>
130            <dd>
131                <span class="attention"><!--{$arrErr.email}--><!--{$arrErr.email02}--></span>
132                <input type="email" name="email"
133                    value="<!--{$arrForm.email.value|default:$arrData.email|h}-->"
134                    style="<!--{$arrErr.email|sfGetErrorColor}-->"
135                    maxlength="<!--{$smarty.const.MTEXT_LEN}-->" class="boxLong top text data-role-none" />
136
137                <!--{* ログインしていれば入力済みにする *}-->
138                <!--{if $smarty.server.REQUEST_METHOD != 'POST' && $smarty.session.customer}-->
139                    <!--{assign var=email02 value=$arrData.email}-->
140                <!--{/if}-->
141
142                <input type="email" name="email02"
143                    value="<!--{$arrForm.email02.value|default:$email02|h}-->"
144                    style="<!--{$arrErr.email02|sfGetErrorColor}-->"
145                    maxlength="<!--{$smarty.const.MTEXT_LEN}-->" class="boxLong text data-role-none" placeholder="確認のため2回入力してください" />
146            </dd>
147
148            <dt>お問い合わせ内容&nbsp;<span class="attention">※</span>
149                <span class="mini">(全角<!--{$smarty.const.MLTEXT_LEN}-->字以下)</span></dt>
150            <dd><span class="attention"><!--{$arrErr.contents}--></span>
151                <textarea name="contents" id="contents" class="textarea data-role-none" rows="4" cols="42" style="<!--{$arrErr.contents|sfGetErrorColor}-->"><!--{"\n"}--><!--{$arrForm.contents.value|h}--></textarea>
152            </dd>
153
154        </dl>
155
156        <div class="btn_area">
157            <input type="submit" value="確認ページへ" class="btn data-role-none" name="confirm" id="confirm" />
158        </div>
159    </form>
160</section>
161
162<!--{include file= 'frontparts/search_area.tpl'}-->
163
Note: See TracBrowser for help on using the repository browser.