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

Revision 20540, 9.3 KB checked in by Seasoft, 13 years ago (diff)

#627(ソース整形・ソースコメントの改善)

  • 半SP
  • 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-2010 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<!--▼CONTENTS-->
23<div id="undercolumn">
24  <div id="undercolumn_contact">
25    <h2 class="title"><!--{$tpl_title|h}--></h2>
26
27    <p>お問い合わせはメールにて承っています。<br />
28    内容によっては回答をさしあげるのにお時間をいただくこともございます。また、土日、祝祭日、年末年始、夏期休暇期間は翌営業日以降の対応となりますのでご了承ください。</p>
29
30    <p class="mini"><em>※ご注文に関するお問い合わせには、必ず「ご注文番号」と「お名前」をご記入の上、メールくださいますようお願いいたします。</em></p>
31
32    <form name="form1" method="post" action="?">
33    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
34    <input type="hidden" name="mode" value="confirm" />
35
36    <table summary="お問い合わせ">
37      <tr>
38        <th>お名前<span class="attention">※</span></th>
39        <td>
40          <span class="attention"><!--{$arrErr.name01}--><!--{$arrErr.name02}--></span>
41          姓&nbsp;<input type="text"
42                         class="box120"
43                         name="name01"
44                         value="<!--{$arrForm.name01|default:$arrData.name01|h}-->"
45                         maxlength="<!--{$smarty.const.STEXT_LEN}-->"
46                         style="<!--{$arrErr.name01|sfGetErrorColor}-->" /> 
47          名&nbsp;<input type="text" class="box120" name="name02"
48                         value="<!--{$arrForm.name02|default:$arrData.name02|h}-->"
49                         maxlength="<!--{$smarty.const.STEXT_LEN}-->"
50                         style="<!--{$arrErr.name02|sfGetErrorColor}-->" />
51        </td>
52      </tr>
53      <tr>
54        <th>お名前(フリガナ)<span class="attention">※</span></th>
55        <td>
56          <span class="attention"><!--{$arrErr.kana01}--><!--{$arrErr.kana02}--></span>
57          セイ&nbsp;<input type="text"
58                           class="box120"
59                           name="kana01"
60                           value="<!--{$arrForm.kana01|default:$arrData.kana01|h}-->"
61                           maxlength="<!--{$smarty.const.STEXT_LEN}-->"
62                           style="<!--{$arrErr.kana01|sfGetErrorColor}-->" /> 
63          メイ&nbsp;<input type="text"
64                           class="box120"
65                           name="kana02"
66                           value="<!--{$arrForm.kana02|default:$arrData.kana02|h}-->"
67                           maxlength="<!--{$smarty.const.STEXT_LEN}-->"
68                           style="<!--{$arrErr.kana02|sfGetErrorColor}-->" />
69        </td>
70      </tr>
71      <tr>
72        <th>郵便番号</th>
73        <td>
74          <span class="attention"><!--{$arrErr.zip01}--><!--{$arrErr.zip02}--></span>
75          <p>
76            〒&nbsp;
77            <input type="text"
78                   name="zip01"
79                   class="box60"
80                   value="<!--{$arrForm.zip01|default:$arrData.zip01|h}-->"
81                   maxlength="<!--{$smarty.const.ZIP01_LEN}-->"
82                   style="<!--{$arrErr.zip01|sfGetErrorColor}-->" />&nbsp;-&nbsp;
83            <input type="text"
84                   name="zip02"
85                   class="box60"
86                   value="<!--{$arrForm.zip02|default:$arrData.zip02|h}-->"
87                   maxlength="<!--{$smarty.const.ZIP02_LEN}-->"
88                   style="<!--{$arrErr.zip02|sfGetErrorColor}-->" /> 
89            <a href="http://search.post.japanpost.jp/zipcode/" target="_blank"><span class="fs12">郵便番号検索</span></a>
90          </p>
91          <p class="zipimg">
92            <a href="javascript:fnCallAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', 'zip01', 'zip02', 'pref', 'addr01');">
93              <img src="<!--{$TPL_URLPATH}-->img/button/btn_address_input.gif" width="86" height="20" alt="住所自動入力" /></a>
94            <span class="mini">&nbsp;郵便番号を入力後、クリックしてください。</span>
95          </p>
96        </td>
97      </tr>
98      <tr>
99        <th>住所</th>
100        <td>
101          <span class="attention"><!--{$arrErr.pref}--><!--{$arrErr.addr01}--><!--{$arrErr.addr02}--></span>
102
103          <select name="pref" style="<!--{$arrErr.pref|sfGetErrorColor}-->">
104          <option value="">都道府県を選択</option>
105          <!--{html_options options=$arrPref selected=$arrForm.pref|default:$arrData.pref|h}-->
106          </select>
107
108          <p class="mini">
109            <input type="text"
110                   class="box380"
111                   name="addr01"
112                   value="<!--{$arrForm.addr01|default:$arrData.addr01|h}-->"
113                   style="<!--{$arrErr.addr01|sfGetErrorColor}-->" /><br />
114            <!--{$smarty.const.SAMPLE_ADDRESS1}-->
115          </p>
116
117          <p class="mini">
118            <input type="text"
119                   class="box380"
120                   name="addr02"
121                   value="<!--{$arrForm.addr02|default:$arrData.addr02|h}-->"
122                   style="<!--{$arrErr.addr02|sfGetErrorColor}-->" /><br />
123            <!--{$smarty.const.SAMPLE_ADDRESS2}-->
124          </p>
125
126          <p class="mini"><em>住所は2つに分けてご記入ください。マンション名は必ず記入してください。</em></p>
127        </td>
128      </tr>
129      <tr>
130        <th>電話番号</th>
131        <td>
132          <span class="attention"><!--{$arrErr.tel01}--><!--{$arrErr.tel02}--><!--{$arrErr.tel03}--></span>
133          <input type="text"
134                 class="box60"
135                 name="tel01"
136                 value="<!--{$arrForm.tel01|default:$arrData.tel01|h}-->"
137                 maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->"
138                 style="<!--{$arrErr.tel01|sfGetErrorColor}-->" />&nbsp;-&nbsp;
139          <input type="text"
140                 class="box60"
141                 name="tel02"
142                 value="<!--{$arrForm.tel02|default:$arrData.tel02|h}-->"
143                 maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->"
144                 style="<!--{$arrErr.tel02|sfGetErrorColor}-->" />&nbsp;-&nbsp;
145          <input type="text"
146                 class="box60"
147                 name="tel03"
148                 value="<!--{$arrForm.tel03|default:$arrData.tel03|h}-->"
149                 maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->"
150                 style="<!--{$arrErr.tel03|sfGetErrorColor}-->" />
151        </td>
152      </tr>
153      <tr>
154        <th>メールアドレス<span class="attention">※</span></th>
155        <td>
156          <span class="attention"><!--{$arrErr.email}--><!--{$arrErr.email02}--></span>
157          <input type="text"
158                 class="box380"
159                 name="email"
160                 value="<!--{$arrForm.email|default:$arrData.email|h}-->"
161                 maxlength="<!--{$smarty.const.MTEXT_LEN}-->"
162                 style="<!--{$arrErr.email|sfGetErrorColor}-->" /><br />
163          <!--{* ログインしていれば入力済みにする *}-->
164          <!--{if $smarty.server.REQUEST_METHOD != 'POST' && $smarty.session.customer}-->
165          <!--{assign var=email02 value=$arrData.email}-->
166          <!--{/if}-->
167          <input type="text"
168                 class="box380"
169                 name="email02"
170                 value="<!--{$arrForm.email02|h}-->"
171                 maxlength="<!--{$smarty.const.MTEXT_LEN}-->"
172                 style="<!--{$arrErr.email02|sfGetErrorColor}-->" /><br />
173          <p class="mini"><em>確認のため2度入力してください。</em></p>
174        </td>
175      </tr>       
176      <tr>
177        <th>お問い合わせ内容<span class="attention">※</span><br />
178        <span class="mini">(全角<!--{$smarty.const.MLTEXT_LEN}-->字以下)</span></th>
179        <td>
180          <span class="attention"><!--{$arrErr.contents}--></span>
181          <textarea name="contents"
182                    class="area380"
183                    cols="60"
184                    rows="20"
185                    style="<!--{$arrErr.contents|sfGetErrorColor}-->"><!--{$arrForm.contents|h}--></textarea>
186        </td>
187      </tr>
188    </table>
189
190    <div class="tblareabtn">
191      <input type="image"
192             onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_confirm_on.gif', this)"
193             onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_confirm.gif', this)"
194             src="<!--{$TPL_URLPATH}-->img/button/btn_confirm.gif"
195             style="width:150px; height=30px;"
196             alt="確認ページへ"
197             name="confirm" />
198    </div>
199    </form>
200  </div>
201</div>
202<!--▲CONTENTS-->
Note: See TracBrowser for help on using the repository browser.