source: branches/version-2_12-multilang/data/Smarty/templates/admin/customer/edit.tpl @ 22179

Revision 22179, 15.9 KB checked in by h_yoshimoto, 11 years ago (diff)

#1998 都道府県関連を削除

  • 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/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2012 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" 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><!--{t string="tpl_207_1"}--></th>
75                <td><!--{$arrForm.customer_id|h}--></td>
76            </tr>
77            <!--{/if}-->
78            <tr>
79                <th><!--{t string="tpl_209_1"}--></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><!--{t string="tpl_208_1"}--></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}--> />&nbsp;&nbsp;<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><!--{t string="tpl_033_1"}--></th>
96                <td>
97                    <span class="attention"><!--{$arrErr.zip01}--><!--{$arrErr.zip02}--></span>
98                    <!--{t string="tpl_106"}--> <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}--> />
99                    <a class="btn-normal" href="javascript:;" name="address_input" onclick="fnCallAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', 'zip01', 'zip02', 'pref', 'addr01'); return false;"><!--{t string="tpl_211"}--></a>
100                </td>
101            </tr>
102            <tr>
103                <th><!--{t string="tpl_212_1"}--></th>
104                <td>
105                    <span class="attention"><!--{$arrErr.addr01}--><!--{$arrErr.addr02}--></span>
106                    <input type="text" name="addr01" value="<!--{$arrForm.addr01|h}-->" size="60" class="box60" <!--{if $arrErr.addr01 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /><br />
107                    <!--{$smarty.const.SAMPLE_ADDRESS1}--><br />
108                    <input type="text" name="addr02" value="<!--{$arrForm.addr02|h}-->" size="60" class="box60" <!--{if $arrErr.addr02 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /><br />
109                    <!--{$smarty.const.SAMPLE_ADDRESS2}-->
110                </td>
111            </tr>
112            <tr>
113                <th><!--{t string="tpl_108_1"}--></th>
114                <td>
115                    <span class="attention"><!--{$arrErr.email}--></span>
116                    <input type="text" name="email" value="<!--{$arrForm.email|h}-->" size="60" class="box60" <!--{if $arrErr.email != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> />
117                </td>
118            </tr>
119            <tr>
120                <th><!--{t string="tpl_213"}--></th>
121                <td>
122                    <span class="attention"><!--{$arrErr.email_mobile}--></span>
123                    <input type="text" name="email_mobile" value="<!--{$arrForm.email_mobile|h}-->" size="60" class="box60" <!--{if $arrErr.email_mobile != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> />
124                </td>
125            </tr>
126            <tr>
127                <th><!--{t string="tpl_214_1"}--></th>
128                <td>
129                    <span class="attention"><!--{$arrErr.tel01}--><!--{$arrErr.tel02}--><!--{$arrErr.tel03}--></span>
130                    <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}--> />
131                </td>
132            </tr>
133            <tr>
134                <th><!--{t string="tpl_039"}--></th>
135                <td>
136                    <span class="attention"><!--{$arrErr.fax01}--><!--{$arrErr.fax02}--><!--{$arrErr.fax03}--></span>
137                    <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}--> />
138                </td>
139            </tr>
140            <tr>
141                <th><!--{t string="tpl_215_1"}--></th>
142                <td>
143                    <span class="attention"><!--{$arrErr.sex}--></span>
144                    <span <!--{if $arrErr.sex != ""}--><!--{sfSetErrorStyle}--><!--{/if}-->>
145                        <!--{html_radios name="sex" options=$arrSex separator=" " selected=$arrForm.sex}-->
146                    </span>
147                </td>
148            </tr>
149            <tr>
150                <th><!--{t string="tpl_216"}--></th>
151                <td>
152                    <span class="attention"><!--{$arrErr.job}--></span>
153                    <select name="job" <!--{if $arrErr.job != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> >
154                    <option value="" selected="selected"><!--{t string="tpl_068"}--></option>
155                    <!--{html_options options=$arrJob selected=$arrForm.job}-->
156                    </select>
157                </td>
158            </tr>
159            <tr>
160                <th><!--{t string="tpl_217"}--></th>
161                <td>
162                    <!--{assign var=errBirth value="`$arrErr.year``$arrErr.month``$arrErr.day`"}-->
163                    <!--{if $errBirth}-->
164                        <div class="attention"><!--{$errBirth}--></div>
165                    <!--{/if}-->
166                    <input id="datepicker" type="text" value="<!--{if $arrForm.year != "" && $arrForm.month != "" && $arrForm.day != ""}--><!--{$arrForm.year|h}-->/<!--{$arrForm.month|h|string_format:'%02d'}-->/<!--{$arrForm.day|h|string_format:'%02d'}--><!--{/if}-->" <!--{if $arrErr.year != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> />
167                    <input type="hidden" name="year" value="<!--{$arrForm.year}-->" />
168                    <input type="hidden" name="month" value="<!--{$arrForm.month}-->" />
169                    <input type="hidden" name="day" value="<!--{$arrForm.day}-->" />
170                </td>
171            </tr>
172            <tr>
173                <th><!--{t string="tpl_218_1"}--></th>
174                <td>
175                    <span class="attention"><!--{$arrErr.password}--><!--{$arrErr.password02}--></span>
176                    <input type="password" name="password" value="<!--{$arrForm.password|h}-->" size="30" class="box30" <!--{if $arrErr.password != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> <!--{t string="tpl_219" T_FIELD1=$smarty.const.PASSWORD_MIN_LEN T_FIELD2=$smarty.const.PASSWORD_MAX_LEN}--><br />
177                    <input type="password" name="password02" value="<!--{$arrForm.password02|h}-->" size="30" class="box30" <!--{if $arrErr.password02 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> />
178                    <p><span class="attention mini"><!--{t string="tpl_220"}--></span></p>
179                </td>
180            </tr>
181            <tr>
182                <th><!--{t string="tpl_221_1"}--></th>
183                <td>
184                    <span class="attention"><!--{$arrErr.reminder}--><!--{$arrErr.reminder_answer}--></span>
185                    <!--{t string="tpl_222"}-->
186                    <select class="top" name="reminder" <!--{if $arrErr.reminder != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> >
187                        <option value="" selected="selected"><!--{t string="tpl_068"}--></option>
188                        <!--{html_options options=$arrReminder selected=$arrForm.reminder}-->
189                    </select><br />
190                    <!--{t string="tpl_223"}-->
191                    <input type="text" name="reminder_answer" value="<!--{$arrForm.reminder_answer|h}-->" size="30" class="box30" <!--{if $arrErr.reminder_answer != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> />
192                </td>
193            </tr>
194            <tr>
195                <th><!--{t string="tpl_224_1"}--></th>
196                <td>
197                    <span class="attention"><!--{$arrErr.mailmaga_flg}--></span>
198                    <span <!--{if $arrErr.mailmaga_flg != ""}--><!--{sfSetErrorStyle}--><!--{/if}-->>
199                        <!--{html_radios name="mailmaga_flg" options=$arrMailMagazineType separator=" " selected=$arrForm.mailmaga_flg}-->
200                    </span>
201                </td>
202            </tr>
203            <tr>
204                <th><!--{t string="tpl_225"}--></th>
205                <td>
206                    <span class="attention"><!--{$arrErr.note}--></span>
207                    <textarea name="note" maxlength="<!--{$smarty.const.LTEXT_LEN}-->" <!--{if $arrErr.note != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> cols="60" rows="8" class="area60"><!--{"\n"}--><!--{$arrForm.note|h}--></textarea>
208                </td>
209            </tr>
210            <tr>
211                <th><!--{t string="tpl_226_1"}--></th>
212                <td>
213                    <span class="attention"><!--{$arrErr.point}--></span>
214                    <!--{t string="pt_prefix"}--><input type="text" name="point" value="<!--{$arrForm.point|h}-->" maxlength="<!--{$smarty.const.TEL_LEN}-->" size="6" class="box6" <!--{if $arrErr.point != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> <!--{t string="pt_suffix"}-->
215                </td>
216            </tr>
217        </table>
218
219        <div class="btn-area">
220            <ul>
221                <li><a class="btn-action" href="javascript:;" onclick="return fnReturn();"><span class="btn-prev"><!--{t string="tpl_227"}--></span></a></li>
222                <li><a class="btn-action" href="javascript:;" onclick="fnSetFormSubmit('form1', 'mode', 'confirm'); return false;"><span class="btn-next"><!--{t string="tpl_228"}--></span></a></li>
223            </ul>
224        </div>
225
226        <input type="hidden" name="order_id" value="" />
227        <input type="hidden" name="search_pageno" value="<!--{$tpl_pageno}-->">
228        <input type="hidden" name="edit_customer_id" value="<!--{$edit_customer_id}-->" >
229
230        <h2><!--{t string="tpl_229"}--></h2>
231        <!--{if $tpl_linemax > 0}-->
232        <p><!--購入履歴一覧--><!--{t string="tpl_230" T_FIELD=$tpl_linemax}--></p>
233
234        <!--{include file=$tpl_pager}-->
235
236            <!--{* 購入履歴一覧表示テーブル *}-->
237            <table class="list">
238                <tr>
239                    <th><!--{t string="tpl_024"}--></th>
240                    <th><!--{t string="tpl_231"}--></th>
241                    <th><!--{t string="tpl_232"}--></th>
242                    <th><!--{t string="tpl_233"}--></th>
243                    <th><!--{t string="tpl_016"}--></th>
244                </tr>
245                <!--{section name=cnt loop=$arrPurchaseHistory}-->
246                    <tr>
247                        <td><!--{$arrPurchaseHistory[cnt].create_date|sfDispDBDate}--></td>
248                        <td class="center"><a href="../order/edit.php?order_id=<!--{$arrPurchaseHistory[cnt].order_id}-->" ><!--{$arrPurchaseHistory[cnt].order_id}--></a></td>
249                        <td class="center"><!--{t string="tpl_500" T_FIELD=$arrPurchaseHistory[cnt].payment_total|number_format}--></td>
250                        <td class="center"><!--{if $arrPurchaseHistory[cnt].status eq 5}--><!--{$arrPurchaseHistory[cnt].commit_date|sfDispDBDate}--><!--{else}--><!--{t string="tpl_234"}--><!--{/if}--></td>
251                        <!--{assign var=payment_id value="`$arrPurchaseHistory[cnt].payment_id`"}-->
252                        <td class="center"><!--{$arrPayment[$payment_id]|h}--></td>
253                    </tr>
254                <!--{/section}-->
255            </table>
256            <!--{* 購入履歴一覧表示テーブル *}-->
257        <!--{else}-->
258            <div class="message"><!--{t string="tpl_235"}--></div>
259        <!--{/if}-->
260
261    </div>
262</form>
Note: See TracBrowser for help on using the repository browser.