1 | <!--{* |
---|
2 | /* |
---|
3 | * This file is part of EC-CUBE |
---|
4 | * |
---|
5 | * Copyright(c) 2000-2014 LOCKON CO.,LTD. All Rights Reserved. |
---|
6 | * |
---|
7 | * http://www.lockon.co.jp/ |
---|
8 | * |
---|
9 | * This program is free software; you can redistribute it and/or |
---|
10 | * modify it under the terms of the GNU General Public License |
---|
11 | * as published by the Free Software Foundation; either version 2 |
---|
12 | * of the License, or (at your option) any later version. |
---|
13 | * |
---|
14 | * This program is distributed in the hope that it will be useful, |
---|
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
17 | * GNU General Public License for more details. |
---|
18 | * |
---|
19 | * You should have received a copy of the GNU General Public License |
---|
20 | * along with this program; if not, write to the Free Software |
---|
21 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
22 | */ |
---|
23 | *}--> |
---|
24 | |
---|
25 | <script type="text/javascript"> |
---|
26 | <!-- |
---|
27 | function fnReturn() { |
---|
28 | document.search_form.action = './<!--{$smarty.const.DIR_INDEX_PATH}-->'; |
---|
29 | document.search_form.submit(); |
---|
30 | return false; |
---|
31 | } |
---|
32 | //--> |
---|
33 | </script> |
---|
34 | |
---|
35 | <form name="search_form" id="search_form" method="post" action=""> |
---|
36 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
37 | <input type="hidden" name="mode" value="search" /> |
---|
38 | |
---|
39 | <!--{foreach from=$arrSearchData key="key" item="item"}--> |
---|
40 | <!--{if $key ne "customer_id" && $key ne "mode" && $key ne "edit_customer_id" && $key ne $smarty.const.TRANSACTION_ID_NAME}--> |
---|
41 | <!--{if is_array($item)}--> |
---|
42 | <!--{foreach item=c_item from=$item}--> |
---|
43 | <input type="hidden" name="<!--{$key|h}-->[]" value="<!--{$c_item|h}-->" /> |
---|
44 | <!--{/foreach}--> |
---|
45 | <!--{else}--> |
---|
46 | <input type="hidden" name="<!--{$key|h}-->" value="<!--{$item|h}-->" /> |
---|
47 | <!--{/if}--> |
---|
48 | <!--{/if}--> |
---|
49 | <!--{/foreach}--> |
---|
50 | </form> |
---|
51 | |
---|
52 | <form name="form1" id="form1" method="post" action="?" autocomplete="off"> |
---|
53 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
54 | <input type="hidden" name="mode" value="confirm" /> |
---|
55 | <input type="hidden" name="customer_id" value="<!--{$arrForm.customer_id|h}-->" /> |
---|
56 | |
---|
57 | <!-- 検索条件の保持 --> |
---|
58 | <!--{foreach from=$arrSearchData key="key" item="item"}--> |
---|
59 | <!--{if $key ne "customer_id" && $key ne "mode" && $key ne "edit_customer_id" && $key ne $smarty.const.TRANSACTION_ID_NAME}--> |
---|
60 | <!--{if is_array($item)}--> |
---|
61 | <!--{foreach item=c_item from=$item}--> |
---|
62 | <input type="hidden" name="search_data[<!--{$key|h}-->][]" value="<!--{$c_item|h}-->" /> |
---|
63 | <!--{/foreach}--> |
---|
64 | <!--{else}--> |
---|
65 | <input type="hidden" name="search_data[<!--{$key|h}-->]" value="<!--{$item|h}-->" /> |
---|
66 | <!--{/if}--> |
---|
67 | <!--{/if}--> |
---|
68 | <!--{/foreach}--> |
---|
69 | |
---|
70 | <div id="customer" class="contents-main"> |
---|
71 | <table class="form"> |
---|
72 | <!--{if $arrForm.customer_id}--> |
---|
73 | <tr> |
---|
74 | <th>会員ID<span class="attention"> *</span></th> |
---|
75 | <td><!--{$arrForm.customer_id|h}--></td> |
---|
76 | </tr> |
---|
77 | <!--{/if}--> |
---|
78 | <tr> |
---|
79 | <th>会員状態<span class="attention"> *</span></th> |
---|
80 | <td> |
---|
81 | <span class="attention"><!--{$arrErr.status}--></span> |
---|
82 | <span <!--{if $arrErr.status != ""}--><!--{sfSetErrorStyle}--><!--{/if}-->> |
---|
83 | <!--{html_radios name="status" options=$arrStatus separator=" " selected=$arrForm.status}--> |
---|
84 | </span> |
---|
85 | </td> |
---|
86 | </tr> |
---|
87 | <tr> |
---|
88 | <th>お名前<span class="attention"> *</span></th> |
---|
89 | <td> |
---|
90 | <span class="attention"><!--{$arrErr.name01}--><!--{$arrErr.name02}--></span> |
---|
91 | <input type="text" name="name01" value="<!--{$arrForm.name01|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="30" class="box30" <!--{if $arrErr.name01 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> <input type="text" name="name02" value="<!--{$arrForm.name02|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="30" class="box30" <!--{if $arrErr.name02 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
92 | </td> |
---|
93 | </tr> |
---|
94 | <tr> |
---|
95 | <th>お名前(フリガナ)<!--{if !$smarty.const.FORM_COUNTRY_ENABLE}--><span class="attention"> *</span><!--{/if}--></th> |
---|
96 | <td> |
---|
97 | <span class="attention"><!--{$arrErr.kana01}--><!--{$arrErr.kana02}--></span> |
---|
98 | <input type="text" name="kana01" value="<!--{$arrForm.kana01|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="30" class="box30" <!--{if $arrErr.kana01 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> <input type="text" name="kana02" value="<!--{$arrForm.kana02|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="30" class="box30" <!--{if $arrErr.kana02 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
99 | </td> |
---|
100 | </tr> |
---|
101 | <tr> |
---|
102 | <th>会社名</th> |
---|
103 | <td> |
---|
104 | <span class="attention"><!--{$arrErr.company_name}--></span> |
---|
105 | <input type="text" name="company_name" value="<!--{$arrForm.company_name|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="30" class="box30" <!--{if $arrErr.company_name != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
106 | </td> |
---|
107 | </tr> |
---|
108 | <!--{if !$smarty.const.FORM_COUNTRY_ENABLE}--> |
---|
109 | <input type="hidden" name="country_id" value="<!--{$smarty.const.DEFAULT_COUNTRY_ID}-->" /> |
---|
110 | <!--{else}--> |
---|
111 | <tr> |
---|
112 | <th>国<span class="attention"> *</span></th> |
---|
113 | <td> |
---|
114 | <span class="attention"><!--{$arrErr.country_id}--></span> |
---|
115 | <select name="country_id" <!--{if $arrErr.country_id != ""}--><!--{sfSetErrorStyle}--><!--{/if}-->> |
---|
116 | <!--{html_options options=$arrCountry selected=$arrForm.country_id|default:$smarty.const.DEFAULT_COUNTRY_ID}--> |
---|
117 | </select> |
---|
118 | </td> |
---|
119 | </tr> |
---|
120 | <tr> |
---|
121 | <th>ZIP CODE</th> |
---|
122 | <td> |
---|
123 | <span class="attention"><!--{$arrErr.zipcode}--></span> |
---|
124 | <input type="text" name="zipcode" value="<!--{$arrForm.zipcode|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="30" class="box30" <!--{if $arrErr.zipcode != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
125 | </td> |
---|
126 | </tr> |
---|
127 | <!--{/if}--> |
---|
128 | <tr> |
---|
129 | <th>郵便番号<!--{if !$smarty.const.FORM_COUNTRY_ENABLE}--><span class="attention"> *</span><!--{/if}--></th> |
---|
130 | <td> |
---|
131 | <span class="attention"><!--{$arrErr.zip01}--><!--{$arrErr.zip02}--></span> |
---|
132 | 〒 <input type="text" name="zip01" value="<!--{$arrForm.zip01|h}-->" maxlength="<!--{$smarty.const.ZIP01_LEN}-->" size="6" class="box6" <!--{if $arrErr.zip01 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> - <input type="text" name="zip02" value="<!--{$arrForm.zip02|h}-->" maxlength="<!--{$smarty.const.ZIP02_LEN}-->" size="6" class="box6" <!--{if $arrErr.zip02 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
133 | <a class="btn-normal" href="javascript:;" name="address_input" onclick="eccube.getAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', 'zip01', 'zip02', 'pref', 'addr01'); return false;">住所入力</a> |
---|
134 | </td> |
---|
135 | </tr> |
---|
136 | <tr> |
---|
137 | <th>住所<span class="attention"> *</span></th> |
---|
138 | <td> |
---|
139 | <span class="attention"><!--{$arrErr.pref}--><!--{$arrErr.addr01}--><!--{$arrErr.addr02}--></span> |
---|
140 | <select class="top" name="pref" <!--{if $arrErr.pref != ""}--><!--{sfSetErrorStyle}--><!--{/if}-->> |
---|
141 | <option class="top" value="" selected="selected">都道府県を選択</option> |
---|
142 | <!--{html_options options=$arrPref selected=$arrForm.pref}--> |
---|
143 | </select><br /> |
---|
144 | <input type="text" name="addr01" value="<!--{$arrForm.addr01|h}-->" size="60" class="box60" <!--{if $arrErr.addr01 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /><br /> |
---|
145 | <!--{$smarty.const.SAMPLE_ADDRESS1}--><br /> |
---|
146 | <input type="text" name="addr02" value="<!--{$arrForm.addr02|h}-->" size="60" class="box60" <!--{if $arrErr.addr02 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /><br /> |
---|
147 | <!--{$smarty.const.SAMPLE_ADDRESS2}--> |
---|
148 | </td> |
---|
149 | </tr> |
---|
150 | <tr> |
---|
151 | <th>メールアドレス<span class="attention"> *</span></th> |
---|
152 | <td> |
---|
153 | <span class="attention"><!--{$arrErr.email}--></span> |
---|
154 | <input type="text" name="email" value="<!--{$arrForm.email|h}-->" size="60" class="box60" <!--{if $arrErr.email != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
155 | </td> |
---|
156 | </tr> |
---|
157 | <tr> |
---|
158 | <th>携帯メールアドレス</th> |
---|
159 | <td> |
---|
160 | <span class="attention"><!--{$arrErr.email_mobile}--></span> |
---|
161 | <input type="text" name="email_mobile" value="<!--{$arrForm.email_mobile|h}-->" size="60" class="box60" <!--{if $arrErr.email_mobile != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
162 | </td> |
---|
163 | </tr> |
---|
164 | <tr> |
---|
165 | <th>電話番号<span class="attention"> *</span></th> |
---|
166 | <td> |
---|
167 | <span class="attention"><!--{$arrErr.tel01}--><!--{$arrErr.tel02}--><!--{$arrErr.tel03}--></span> |
---|
168 | <input type="text" name="tel01" value="<!--{$arrForm.tel01|h}-->" maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->" size="6" class="box6" <!--{if $arrErr.tel01 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> - <input type="text" name="tel02" value="<!--{$arrForm.tel02|h}-->" maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->" size="6" class="box6" <!--{if $arrErr.tel01 != "" || $arrErr.tel02 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> - <input type="text" name="tel03" value="<!--{$arrForm.tel03|h}-->" maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->" size="6" class="box6" <!--{if $arrErr.tel01 != "" || $arrErr.tel03 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
169 | </td> |
---|
170 | </tr> |
---|
171 | <tr> |
---|
172 | <th>FAX</th> |
---|
173 | <td> |
---|
174 | <span class="attention"><!--{$arrErr.fax01}--><!--{$arrErr.fax02}--><!--{$arrErr.fax03}--></span> |
---|
175 | <input type="text" name="fax01" value="<!--{$arrForm.fax01|h}-->" maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->" size="6" class="box6" <!--{if $arrErr.fax01 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> - <input type="text" name="fax02" value="<!--{$arrForm.fax02|h}-->" maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->" size="6" class="box6" <!--{if $arrErr.fax01 != "" || $arrErr.fax02 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> - <input type="text" name="fax03" value="<!--{$arrForm.fax03|h}-->" maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->" size="6" class="box6" <!--{if $arrErr.fax01 != "" || $arrErr.fax03 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
176 | </td> |
---|
177 | </tr> |
---|
178 | <tr> |
---|
179 | <th>性別<span class="attention"> *</span></th> |
---|
180 | <td> |
---|
181 | <span class="attention"><!--{$arrErr.sex}--></span> |
---|
182 | <span <!--{if $arrErr.sex != ""}--><!--{sfSetErrorStyle}--><!--{/if}-->> |
---|
183 | <!--{html_radios name="sex" options=$arrSex separator=" " selected=$arrForm.sex}--> |
---|
184 | </span> |
---|
185 | </td> |
---|
186 | </tr> |
---|
187 | <tr> |
---|
188 | <th>ご職業</th> |
---|
189 | <td> |
---|
190 | <span class="attention"><!--{$arrErr.job}--></span> |
---|
191 | <select name="job" <!--{if $arrErr.job != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> > |
---|
192 | <option value="" selected="selected">選択してください</option> |
---|
193 | <!--{html_options options=$arrJob selected=$arrForm.job}--> |
---|
194 | </select> |
---|
195 | </td> |
---|
196 | </tr> |
---|
197 | <tr> |
---|
198 | <th>生年月日</th> |
---|
199 | <td> |
---|
200 | <span class="attention"><!--{$arrErr.year}--></span> |
---|
201 | <select name="year" <!--{if $arrErr.year != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> > |
---|
202 | <option value="" selected="selected">------</option> |
---|
203 | <!--{html_options options=$arrYear selected=$arrForm.year}--> |
---|
204 | </select>年 |
---|
205 | <select name="month" <!--{if $arrErr.year != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> > |
---|
206 | <option value="" selected="selected">----</option> |
---|
207 | <!--{html_options options=$arrMonth selected=$arrForm.month}--> |
---|
208 | </select>月 |
---|
209 | <select name="day" <!--{if $arrErr.year != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> > |
---|
210 | <option value="" selected="selected">----</option> |
---|
211 | <!--{html_options options=$arrDay selected=$arrForm.day"}--> |
---|
212 | </select>日 |
---|
213 | </td> |
---|
214 | </tr> |
---|
215 | <tr> |
---|
216 | <th>パスワード<span class="attention"> *</span></th> |
---|
217 | <td> |
---|
218 | <span class="attention"><!--{$arrErr.password}--><!--{$arrErr.password02}--></span> |
---|
219 | <input type="password" name="password" value="<!--{$arrForm.password|h}-->" size="30" class="box30" <!--{if $arrErr.password != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> 半角英数字<!--{$smarty.const.PASSWORD_MIN_LEN}-->~<!--{$smarty.const.PASSWORD_MAX_LEN}-->文字(記号可)<br /> |
---|
220 | <input type="password" name="password02" value="<!--{$arrForm.password02|h}-->" size="30" class="box30" <!--{if $arrErr.password02 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
221 | <p><span class="attention mini">確認のために2度入力してください。</span></p> |
---|
222 | </td> |
---|
223 | </tr> |
---|
224 | <tr> |
---|
225 | <th>パスワードを忘れたときのヒント<span class="attention"> *</span></th> |
---|
226 | <td> |
---|
227 | <span class="attention"><!--{$arrErr.reminder}--><!--{$arrErr.reminder_answer}--></span> |
---|
228 | 質問: |
---|
229 | <select class="top" name="reminder" <!--{if $arrErr.reminder != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> > |
---|
230 | <option value="" selected="selected">選択してください</option> |
---|
231 | <!--{html_options options=$arrReminder selected=$arrForm.reminder}--> |
---|
232 | </select><br /> |
---|
233 | 答え: |
---|
234 | <input type="text" name="reminder_answer" value="<!--{$arrForm.reminder_answer|h}-->" size="30" class="box30" <!--{if $arrErr.reminder_answer != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
235 | </td> |
---|
236 | </tr> |
---|
237 | <tr> |
---|
238 | <th>メールマガジン<span class="attention"> *</span></th> |
---|
239 | <td> |
---|
240 | <span class="attention"><!--{$arrErr.mailmaga_flg}--></span> |
---|
241 | <span <!--{if $arrErr.mailmaga_flg != ""}--><!--{sfSetErrorStyle}--><!--{/if}-->> |
---|
242 | <!--{html_radios name="mailmaga_flg" options=$arrMailMagazineType separator=" " selected=$arrForm.mailmaga_flg}--> |
---|
243 | </span> |
---|
244 | </td> |
---|
245 | </tr> |
---|
246 | <tr> |
---|
247 | <th>SHOP用メモ</th> |
---|
248 | <td> |
---|
249 | <span class="attention"><!--{$arrErr.note}--></span> |
---|
250 | <textarea name="note" maxlength="<!--{$smarty.const.LTEXT_LEN}-->" <!--{if $arrErr.note != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> cols="60" rows="8" class="area60"><!--{"\n"}--><!--{$arrForm.note|h}--></textarea> |
---|
251 | </td> |
---|
252 | </tr> |
---|
253 | <tr> |
---|
254 | <th>所持ポイント<span class="attention"> *</span></th> |
---|
255 | <td> |
---|
256 | <span class="attention"><!--{$arrErr.point}--></span> |
---|
257 | <input type="text" name="point" value="<!--{$arrForm.point|h}-->" maxlength="<!--{$smarty.const.TEL_LEN}-->" size="6" class="box6" <!--{if $arrErr.point != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> pt |
---|
258 | </td> |
---|
259 | </tr> |
---|
260 | </table> |
---|
261 | |
---|
262 | <div class="btn-area"> |
---|
263 | <ul> |
---|
264 | <li><a class="btn-action" href="javascript:;" onclick="return fnReturn();"><span class="btn-prev">検索画面に戻る</span></a></li> |
---|
265 | <li><a class="btn-action" href="javascript:;" onclick="eccube.setValueAndSubmit('form1', 'mode', 'confirm'); return false;"><span class="btn-next">確認ページへ</span></a></li> |
---|
266 | </ul> |
---|
267 | </div> |
---|
268 | |
---|
269 | <input type="hidden" name="order_id" value="" /> |
---|
270 | <input type="hidden" name="search_pageno" value="<!--{$tpl_pageno}-->" /> |
---|
271 | <input type="hidden" name="edit_customer_id" value="<!--{$edit_customer_id}-->" /> |
---|
272 | |
---|
273 | <h2>購入履歴一覧</h2> |
---|
274 | <!--{if $tpl_linemax > 0}--> |
---|
275 | <p><span class="attention"><!--購入履歴一覧--><!--{$tpl_linemax}-->件</span> が該当しました。</p> |
---|
276 | |
---|
277 | <!--{include file=$tpl_pager}--> |
---|
278 | |
---|
279 | <!--{* 購入履歴一覧表示テーブル *}--> |
---|
280 | <table class="list"> |
---|
281 | <tr> |
---|
282 | <th>日付</th> |
---|
283 | <th>注文番号</th> |
---|
284 | <th>購入金額</th> |
---|
285 | <th>発送日</th> |
---|
286 | <th>支払方法</th> |
---|
287 | </tr> |
---|
288 | <!--{section name=cnt loop=$arrPurchaseHistory}--> |
---|
289 | <tr> |
---|
290 | <td><!--{$arrPurchaseHistory[cnt].create_date|sfDispDBDate}--></td> |
---|
291 | <td class="center"><a href="../order/edit.php?order_id=<!--{$arrPurchaseHistory[cnt].order_id}-->" ><!--{$arrPurchaseHistory[cnt].order_id}--></a></td> |
---|
292 | <td class="center"><!--{$arrPurchaseHistory[cnt].payment_total|n2s}-->円</td> |
---|
293 | <td class="center"><!--{if $arrPurchaseHistory[cnt].status eq 5}--><!--{$arrPurchaseHistory[cnt].commit_date|sfDispDBDate}--><!--{else}-->未発送<!--{/if}--></td> |
---|
294 | <!--{assign var=payment_id value="`$arrPurchaseHistory[cnt].payment_id`"}--> |
---|
295 | <td class="center"><!--{$arrPayment[$payment_id]|h}--></td> |
---|
296 | </tr> |
---|
297 | <!--{/section}--> |
---|
298 | </table> |
---|
299 | <!--{* 購入履歴一覧表示テーブル *}--> |
---|
300 | <!--{else}--> |
---|
301 | <div class="message">購入履歴はありません。</div> |
---|
302 | <!--{/if}--> |
---|
303 | |
---|
304 | </div> |
---|
305 | </form> |
---|