| 1 | <!--{* |
---|
| 2 | /* |
---|
| 3 | * This file is part of EC-CUBE |
---|
| 4 | * |
---|
| 5 | * Copyright(c) 2000-2011 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 fnReturn() { |
---|
| 28 | document.search_form.action = './<!--{$smarty.const.DIR_INDEX_PATH}-->'; |
---|
| 29 | document.search_form.submit(); |
---|
| 30 | return false; |
---|
| 31 | } |
---|
| 32 | |
---|
| 33 | function fnOrderidSubmit(order_id, order_id_value) { |
---|
| 34 | if(order_id != "" && order_id_value != "") { |
---|
| 35 | document.form2[order_id].value = order_id_value; |
---|
| 36 | } |
---|
| 37 | document.form2.action = '../order/edit.php'; |
---|
| 38 | document.form2.submit(); |
---|
| 39 | } |
---|
| 40 | |
---|
| 41 | //--> |
---|
| 42 | </script> |
---|
| 43 | |
---|
| 44 | <form name="search_form" method="post" action=""> |
---|
| 45 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
| 46 | <input type="hidden" name="mode" value="search" /> |
---|
| 47 | |
---|
| 48 | <!--{foreach from=$arrSearchData key="key" item="item"}--> |
---|
| 49 | <!--{if $key ne "customer_id" && $key ne "mode" && $key ne "edit_customer_id" && $key ne $smarty.const.TRANSACTION_ID_NAME}--> |
---|
| 50 | <!--{if is_array($item)}--> |
---|
| 51 | <!--{foreach item=c_item from=$item}--> |
---|
| 52 | <input type="hidden" name="<!--{$key|h}-->[]" value="<!--{$c_item|h}-->" /> |
---|
| 53 | <!--{/foreach}--> |
---|
| 54 | <!--{else}--> |
---|
| 55 | <input type="hidden" name="<!--{$key|h}-->" value="<!--{$item|h}-->" /> |
---|
| 56 | <!--{/if}--> |
---|
| 57 | <!--{/if}--> |
---|
| 58 | <!--{/foreach}--> |
---|
| 59 | </form> |
---|
| 60 | |
---|
| 61 | <form name="form1" id="form1" method="post" action="?" autocomplete="off"> |
---|
| 62 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
| 63 | <input type="hidden" name="mode" value="confirm" /> |
---|
| 64 | <input type="hidden" name="customer_id" value="<!--{$arrForm.customer_id|h}-->" /> |
---|
| 65 | |
---|
| 66 | <!-- 検索条件の保持 --> |
---|
| 67 | <!--{foreach from=$arrSearchData key="key" item="item"}--> |
---|
| 68 | <!--{if $key ne "customer_id" && $key ne "mode" && $key ne "edit_customer_id" && $key ne $smarty.const.TRANSACTION_ID_NAME}--> |
---|
| 69 | <!--{if is_array($item)}--> |
---|
| 70 | <!--{foreach item=c_item from=$item}--> |
---|
| 71 | <input type="hidden" name="search_data[<!--{$key|h}-->][]" value="<!--{$c_item|h}-->" /> |
---|
| 72 | <!--{/foreach}--> |
---|
| 73 | <!--{else}--> |
---|
| 74 | <input type="hidden" name="search_data[<!--{$key|h}-->]" value="<!--{$item|h}-->" /> |
---|
| 75 | <!--{/if}--> |
---|
| 76 | <!--{/if}--> |
---|
| 77 | <!--{/foreach}--> |
---|
| 78 | |
---|
| 79 | <div id="customer" class="contents-main"> |
---|
| 80 | <table class="form"> |
---|
| 81 | <!--{if $arrForm.customer_id}--> |
---|
| 82 | <tr> |
---|
| 83 | <th>顧客ID<span class="attention"> *</span></th> |
---|
| 84 | <td><!--{$arrForm.customer_id|h}--></td> |
---|
| 85 | </tr> |
---|
| 86 | <!--{/if}--> |
---|
| 87 | <tr> |
---|
| 88 | <th>会員状態<span class="attention"> *</span></th> |
---|
| 89 | <td> |
---|
| 90 | <span class="attention"><!--{$arrErr.status}--></span> |
---|
| 91 | <span <!--{if $arrErr.status != ""}--><!--{sfSetErrorStyle}--><!--{/if}-->> |
---|
| 92 | <!--{html_radios name="status" options=$arrStatus separator=" " selected=$arrForm.status}--> |
---|
| 93 | </span> |
---|
| 94 | </td> |
---|
| 95 | </tr> |
---|
| 96 | <tr> |
---|
| 97 | <th>お名前<span class="attention"> *</span></th> |
---|
| 98 | <td> |
---|
| 99 | <span class="attention"><!--{$arrErr.name01}--><!--{$arrErr.name02}--></span> |
---|
| 100 | <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}--> /> |
---|
| 101 | </td> |
---|
| 102 | </tr> |
---|
| 103 | <tr> |
---|
| 104 | <th>お名前(フリガナ)<span class="attention"> *</span></th> |
---|
| 105 | <td> |
---|
| 106 | <span class="attention"><!--{$arrErr.kana01}--><!--{$arrErr.kana02}--></span> |
---|
| 107 | <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}--> /> |
---|
| 108 | </td> |
---|
| 109 | </tr> |
---|
| 110 | <tr> |
---|
| 111 | <th>郵便番号<span class="attention"> *</span></th> |
---|
| 112 | <td> |
---|
| 113 | <span class="attention"><!--{$arrErr.zip01}--><!--{$arrErr.zip02}--></span> |
---|
| 114 | 〒 <input type="text" name="zip01" value="<!--{$arrForm.zip01|h}-->" maxlength="<!--{$smarty.const.ZIP01_LEN}-->" size="6" class="box6" maxlength="3" <!--{if $arrErr.zip01 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> - <input type="text" name="zip02" value="<!--{$arrForm.zip02|h}-->" maxlength="<!--{$smarty.const.ZIP02_LEN}-->" size="6" class="box6" maxlength="4" <!--{if $arrErr.zip02 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
| 115 | <a class="btn-normal" href="javascript:;" name="address_input" onclick="fnCallAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', 'zip01', 'zip02', 'pref', 'addr01'); return false;">住所入力</a> |
---|
| 116 | </td> |
---|
| 117 | </tr> |
---|
| 118 | <tr> |
---|
| 119 | <th>住所<span class="attention"> *</span></th> |
---|
| 120 | <td> |
---|
| 121 | <span class="attention"><!--{$arrErr.pref}--><!--{$arrErr.addr01}--><!--{$arrErr.addr02}--></span> |
---|
| 122 | <select class="top" name="pref" <!--{if $arrErr.pref != ""}--><!--{sfSetErrorStyle}--><!--{/if}-->> |
---|
| 123 | <option class="top" value="" selected="selected">都道府県を選択</option> |
---|
| 124 | <!--{html_options options=$arrPref selected=$arrForm.pref}--> |
---|
| 125 | </select><br /> |
---|
| 126 | <input type="text" name="addr01" value="<!--{$arrForm.addr01|h}-->" size="60" class="box60" <!--{if $arrErr.addr01 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /><br /> |
---|
| 127 | <!--{$smarty.const.SAMPLE_ADDRESS1}--><br /> |
---|
| 128 | <input type="text" name="addr02" value="<!--{$arrForm.addr02|h}-->" size="60" class="box60" <!--{if $arrErr.addr02 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /><br /> |
---|
| 129 | <!--{$smarty.const.SAMPLE_ADDRESS2}--> |
---|
| 130 | </td> |
---|
| 131 | </tr> |
---|
| 132 | <tr> |
---|
| 133 | <th>メールアドレス<span class="attention"> *</span></th> |
---|
| 134 | <td> |
---|
| 135 | <span class="attention"><!--{$arrErr.email}--></span> |
---|
| 136 | <input type="text" name="email" value="<!--{$arrForm.email|h}-->" size="60" class="box60" <!--{if $arrErr.email != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
| 137 | </td> |
---|
| 138 | </tr> |
---|
| 139 | <tr> |
---|
| 140 | <th>携帯メールアドレス</th> |
---|
| 141 | <td> |
---|
| 142 | <span class="attention"><!--{$arrErr.email_mobile}--></span> |
---|
| 143 | <input type="text" name="email_mobile" value="<!--{$arrForm.email_mobile|h}-->" size="60" class="box60" <!--{if $arrErr.email_mobile != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
| 144 | </td> |
---|
| 145 | </tr> |
---|
| 146 | <tr> |
---|
| 147 | <th>電話番号<span class="attention"> *</span></th> |
---|
| 148 | <td> |
---|
| 149 | <span class="attention"><!--{$arrErr.tel01}--><!--{$arrErr.tel02}--><!--{$arrErr.tel03}--></span> |
---|
| 150 | <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}--> /> |
---|
| 151 | </td> |
---|
| 152 | </tr> |
---|
| 153 | <tr> |
---|
| 154 | <th>FAX</th> |
---|
| 155 | <td> |
---|
| 156 | <span class="attention"><!--{$arrErr.fax01}--><!--{$arrErr.fax02}--><!--{$arrErr.fax03}--></span> |
---|
| 157 | <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}--> /> |
---|
| 158 | </td> |
---|
| 159 | </tr> |
---|
| 160 | <tr> |
---|
| 161 | <th>ご性別<span class="attention"> *</span></th> |
---|
| 162 | <td> |
---|
| 163 | <span class="attention"><!--{$arrErr.sex}--></span> |
---|
| 164 | <span <!--{if $arrErr.sex != ""}--><!--{sfSetErrorStyle}--><!--{/if}-->> |
---|
| 165 | <!--{html_radios name="sex" options=$arrSex separator=" " selected=$arrForm.sex}--> |
---|
| 166 | </span> |
---|
| 167 | </td> |
---|
| 168 | </tr> |
---|
| 169 | <tr> |
---|
| 170 | <th>ご職業</th> |
---|
| 171 | <td> |
---|
| 172 | <span class="attention"><!--{$arrErr.job}--></span> |
---|
| 173 | <select name="job" <!--{if $arrErr.job != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> > |
---|
| 174 | <option value="" selected="selected">選択してください</option> |
---|
| 175 | <!--{html_options options=$arrJob selected=$arrForm.job}--> |
---|
| 176 | </select> |
---|
| 177 | </td> |
---|
| 178 | </tr> |
---|
| 179 | <tr> |
---|
| 180 | <th>生年月日</th> |
---|
| 181 | <td> |
---|
| 182 | <span class="attention"><!--{$arrErr.year}--></span> |
---|
| 183 | <select name="year" <!--{if $arrErr.year != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> > |
---|
| 184 | <option value="" selected="selected">------</option> |
---|
| 185 | <!--{html_options options=$arrYear selected=$arrForm.year}--> |
---|
| 186 | </select>年 |
---|
| 187 | <select name="month" <!--{if $arrErr.year != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> > |
---|
| 188 | <option value="" selected="selected">----</option> |
---|
| 189 | <!--{html_options options=$arrMonth selected=$arrForm.month}--> |
---|
| 190 | </select>月 |
---|
| 191 | <select name="day" <!--{if $arrErr.year != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> > |
---|
| 192 | <option value="" selected="selected">----</option> |
---|
| 193 | <!--{html_options options=$arrDay selected=$arrForm.day"}--> |
---|
| 194 | </select>日 |
---|
| 195 | </td> |
---|
| 196 | </tr> |
---|
| 197 | <tr> |
---|
| 198 | <th>パスワード<span class="attention"> *</span></th> |
---|
| 199 | <td> |
---|
| 200 | <span class="attention"><!--{$arrErr.password}--></span> |
---|
| 201 | <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}-->文字(記号不可) |
---|
| 202 | </td> |
---|
| 203 | </tr> |
---|
| 204 | <tr> |
---|
| 205 | <th>パスワードを忘れたときのヒント<span class="attention"> *</span></th> |
---|
| 206 | <td> |
---|
| 207 | <span class="attention"><!--{$arrErr.reminder}--><!--{$arrErr.reminder_answer}--></span> |
---|
| 208 | 質問: |
---|
| 209 | <select class="top" name="reminder" <!--{if $arrErr.reminder != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> > |
---|
| 210 | <option value="" selected="selected">選択してください</option> |
---|
| 211 | <!--{html_options options=$arrReminder selected=$arrForm.reminder}--> |
---|
| 212 | </select><br /> |
---|
| 213 | 答え: |
---|
| 214 | <input type="text" name="reminder_answer" value="<!--{$arrForm.reminder_answer|h}-->" size="30" class="box30" <!--{if $arrErr.reminder_answer != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
| 215 | </td> |
---|
| 216 | </tr> |
---|
| 217 | <tr> |
---|
| 218 | <th>メールマガジン<span class="attention"> *</span></th> |
---|
| 219 | <td> |
---|
| 220 | <span class="attention"><!--{$arrErr.mailmaga_flg}--></span> |
---|
| 221 | <span <!--{if $arrErr.mailmaga_flg != ""}--><!--{sfSetErrorStyle}--><!--{/if}-->> |
---|
| 222 | <!--{html_radios name="mailmaga_flg" options=$arrMailMagazineType separator=" " selected=$arrForm.mailmaga_flg}--> |
---|
| 223 | </span> |
---|
| 224 | </td> |
---|
| 225 | </tr> |
---|
| 226 | <tr> |
---|
| 227 | <th>SHOP用メモ</th> |
---|
| 228 | <td> |
---|
| 229 | <span class="attention"><!--{$arrErr.note}--></span> |
---|
| 230 | <textarea name="note" maxlength="<!--{$smarty.const.LTEXT_LEN}-->" <!--{if $arrErr.note != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> cols="60" rows="8" class="area60"><!--{$arrForm.note|h}--></textarea> |
---|
| 231 | </td> |
---|
| 232 | </tr> |
---|
| 233 | <tr> |
---|
| 234 | <th>所持ポイント</th> |
---|
| 235 | <td> |
---|
| 236 | <span class="attention"><!--{$arrErr.point}--></span> |
---|
| 237 | <input type="text" name="point" value="<!--{$arrForm.point|h}-->" maxlength="<!--{$smarty.const.TEL_LEN}-->" <!--{if $arrErr.point != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> size="6" class="box6" <!--{if $arrErr.point != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> pt |
---|
| 238 | </td> |
---|
| 239 | </tr> |
---|
| 240 | </table> |
---|
| 241 | |
---|
| 242 | <div class="btn-area"> |
---|
| 243 | <ul> |
---|
| 244 | <li><a class="btn-action" href="javascript:;" onclick="return fnReturn();"><span class="btn-prev">検索画面に戻る</span></a></li> |
---|
| 245 | <li><a class="btn-action" href="javascript:;" onclick="fnSetFormSubmit('form1', 'mode', 'confirm'); return false;"><span class="btn-next">確認ページへ</span></a></li> |
---|
| 246 | </ul> |
---|
| 247 | </div> |
---|
| 248 | |
---|
| 249 | <input type="hidden" name="order_id" value="" /> |
---|
| 250 | <input type="hidden" name="search_pageno" value="<!--{$tpl_pageno}-->"> |
---|
| 251 | <input type="hidden" name="edit_customer_id" value="<!--{$edit_customer_id}-->" > |
---|
| 252 | |
---|
| 253 | <h2>購入履歴一覧</h2> |
---|
| 254 | <!--{if $tpl_linemax > 0}--> |
---|
| 255 | <p><span class="attention"><!--購入履歴一覧--><!--{$tpl_linemax}-->件</span> が該当しました。</p> |
---|
| 256 | |
---|
| 257 | <!--{include file=$tpl_pager}--> |
---|
| 258 | |
---|
| 259 | <!--{* 購入履歴一覧表示テーブル *}--> |
---|
| 260 | <table class="list"> |
---|
| 261 | <tr> |
---|
| 262 | <th>日付</th> |
---|
| 263 | <th>注文番号</th> |
---|
| 264 | <th>購入金額</th> |
---|
| 265 | <th>発送日</th> |
---|
| 266 | <th>支払方法</th> |
---|
| 267 | </tr> |
---|
| 268 | <!--{section name=cnt loop=$arrPurchaseHistory}--> |
---|
| 269 | <tr> |
---|
| 270 | <td><!--{$arrPurchaseHistory[cnt].create_date|sfDispDBDate}--></td> |
---|
| 271 | <td class="center"><a href="../order/edit.php?order_id=<!--{$arrPurchaseHistory[cnt].order_id}-->" ><!--{$arrPurchaseHistory[cnt].order_id}--></a></td> |
---|
| 272 | <td class="center"><!--{$arrPurchaseHistory[cnt].payment_total|number_format}-->円</td> |
---|
| 273 | <td class="center"><!--{if $arrPurchaseHistory[cnt].status eq 5}--><!--{$arrPurchaseHistory[cnt].commit_date|sfDispDBDate}--><!--{else}-->未発送<!--{/if}--></td> |
---|
| 274 | <!--{assign var=payment_id value="`$arrPurchaseHistory[cnt].payment_id`"}--> |
---|
| 275 | <td class="center"><!--{$arrPayment[$payment_id]|h}--></td> |
---|
| 276 | </tr> |
---|
| 277 | <!--{/section}--> |
---|
| 278 | </table> |
---|
| 279 | <!--{* 購入履歴一覧表示テーブル *}--> |
---|
| 280 | <!--{else}--> |
---|
| 281 | <div class="message">購入履歴はありません。</div> |
---|
| 282 | <!--{/if}--> |
---|
| 283 | |
---|
| 284 | </div> |
---|
| 285 | </form> |
---|