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