1 | <!--{* |
---|
2 | /* |
---|
3 | * This file is part of EC-CUBE |
---|
4 | * |
---|
5 | * Copyright(c) 2000-2008 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 | <script type="text/javascript"> |
---|
25 | <!-- |
---|
26 | |
---|
27 | function func_return(){ |
---|
28 | document.form1.mode.value = "return"; |
---|
29 | document.form1.submit(); |
---|
30 | } |
---|
31 | |
---|
32 | //--> |
---|
33 | </script> |
---|
34 | |
---|
35 | |
---|
36 | <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->"> |
---|
37 | <input type="hidden" name="mode" value="complete" /> |
---|
38 | <!--{foreach from=$arrForm key=key item=item}--> |
---|
39 | <!--{if $key ne "mode" && $key ne "subm"}--> |
---|
40 | <input type="hidden" name="<!--{$key|escape}-->" value="<!--{$item|escape}-->" /> |
---|
41 | <!--{/if}--> |
---|
42 | <!--{/foreach}--> |
---|
43 | <!-- 検索条件の保持 --> |
---|
44 | <!--{foreach from=$arrSearchData key="key" item="item"}--> |
---|
45 | <!--{if $key ne "job" && $key ne "sex"}--><input type="hidden" name="search_data[<!--{$key|escape}-->]" value="<!--{$item|escape}-->"><!--{/if}--> |
---|
46 | <!--{/foreach}--> |
---|
47 | <!--{foreach from=$arrSearchData.job key="key" item="item"}--> |
---|
48 | <input type="hidden" name="search_data[job][]" value=<!--{$item}--> /> |
---|
49 | <!--{/foreach}--> |
---|
50 | <!--{foreach from=$arrSearchData.sex key="key" item="item"}--> |
---|
51 | <input type="hidden" name="search_data[sex][]" value=<!--{$item}--> /> |
---|
52 | <!--{/foreach}--> |
---|
53 | <div id="customer" class="contents-main"> |
---|
54 | <h2>顧客編集</h2> |
---|
55 | <table class="form"> |
---|
56 | <tr> |
---|
57 | <th>顧客ID<span class="attention"> *</span></th> |
---|
58 | <td><!--{$arrForm.customer_id|escape}--></td> |
---|
59 | </tr> |
---|
60 | <tr> |
---|
61 | <th>会員状態<span class="attention"> *</span></th> |
---|
62 | <td><!--{if $arrForm.status == 1}-->仮会員<!--{else}-->本会員<!--{/if}--></td> |
---|
63 | </tr> |
---|
64 | <tr> |
---|
65 | <th>お名前<span class="attention"> *</span></th> |
---|
66 | <td><!--{$arrForm.name01|escape}--><!--{$arrForm.name02|escape}--> 様</td> |
---|
67 | </tr> |
---|
68 | <tr> |
---|
69 | <th>フリガナ<span class="attention"> *</span></th> |
---|
70 | <td><!--{$arrForm.kana01|escape}--><!--{$arrForm.kana02|escape}--> 様</td> |
---|
71 | </tr> |
---|
72 | <tr> |
---|
73 | <th>郵便番号<span class="attention"> *</span></th> |
---|
74 | <td>〒 <!--{$arrForm.zip01|escape}--> - <!--{$arrForm.zip02|escape}--></td> |
---|
75 | </tr> |
---|
76 | <tr> |
---|
77 | <th>ご住所<span class="attention"> *</span></td> |
---|
78 | <td><!--{$arrPref[$arrForm.pref]|escape}--><!--{$arrForm.addr01|escape}--><!--{$arrForm.addr02|escape}--></td> |
---|
79 | </tr> |
---|
80 | <tr> |
---|
81 | <th>メールアドレス<span class="attention"> *</span></th> |
---|
82 | <td><!--{$arrForm.email|escape}--></td> |
---|
83 | </tr> |
---|
84 | <tr> |
---|
85 | <th>携帯メールアドレス</th> |
---|
86 | <td><!--{$arrForm.email_mobile|escape}--></td> |
---|
87 | </tr> |
---|
88 | <tr> |
---|
89 | <th>お電話番号<span class="attention"> *</span></th> |
---|
90 | <td><!--{$arrForm.tel01|escape}--> - <!--{$arrForm.tel02|escape}--> - <!--{$arrForm.tel03|escape}--></td> |
---|
91 | </tr> |
---|
92 | <tr> |
---|
93 | <th>FAX</th> |
---|
94 | <td><!--{if strlen($arrForm.fax01) > 0}--><!--{$arrForm.fax01|escape}--> - <!--{$arrForm.fax02|escape}--> - <!--{$arrForm.fax03|escape}--><!--{else}-->未登録<!--{/if}--></td> |
---|
95 | </tr> |
---|
96 | <tr> |
---|
97 | <th>ご性別<span class="attention"> *</span></th> |
---|
98 | <td><!--{if $arrForm.sex eq 1}-->男性<!--{else}-->女性<!--{/if}--></td> |
---|
99 | </tr> |
---|
100 | <tr> |
---|
101 | <th>ご職業</th> |
---|
102 | <td><!--{$arrJob[$arrForm.job]|escape|default:"未登録"}--></td> |
---|
103 | </tr> |
---|
104 | <tr> |
---|
105 | <th>生年月日</th> |
---|
106 | <td><!--{if strlen($arrForm.year) > 0 && strlen($arrForm.month) > 0 && strlen($arrForm.day) > 0}--><!--{$arrForm.year|escape}-->年<!--{$arrForm.month|escape}-->月<!--{$arrForm.day|escape}-->日<!--{else}-->未登録<!--{/if}--></td> |
---|
107 | </tr> |
---|
108 | <tr> |
---|
109 | <th>パスワード<span class="attention"> *</span></th> |
---|
110 | <td><!--{$passlen}--></td> |
---|
111 | </tr> |
---|
112 | <tr> |
---|
113 | <th>パスワードを忘れたときのヒント<span class="attention"> *</span></th> |
---|
114 | <td> |
---|
115 | 質問: <!--{$arrReminder[$arrForm.reminder]|escape}--><br /> |
---|
116 | 答え: <!--{$arrForm.reminder_answer|escape}--> |
---|
117 | </td> |
---|
118 | </tr> |
---|
119 | <tr> |
---|
120 | <th>メールマガジン<span class="attention"> *</span></th> |
---|
121 | <td><!--{if $arrForm.mailmaga_flg eq 1}-->HTML<!--{elseif $arrForm.mailmaga_flg eq 2}-->テキスト<!--{else}-->希望しない<!--{/if}--></td> |
---|
122 | </tr> |
---|
123 | <tr> |
---|
124 | <th>SHOP用メモ</th> |
---|
125 | <td><!--{$arrForm.note|escape|nl2br|default:"未登録"}--></td> |
---|
126 | </tr> |
---|
127 | <tr> |
---|
128 | <th>所持ポイント</td> |
---|
129 | <td><!--{$arrForm.point|escape|default:"0"}--> pt</td> |
---|
130 | </tr> |
---|
131 | </table> |
---|
132 | <div class="btn"> |
---|
133 | <button type="button" onclick="func_return(); return false;"><span>検索画面に戻る</span></button> |
---|
134 | <button type="submit"><span>この内容で登録する</span></button> |
---|
135 | </div> |
---|
136 | </div> |
---|
137 | </form> |
---|