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

Revision 22205, 16.3 KB checked in by m_uehara, 11 years ago (diff)

#2004 郵便番号を2カラムから1カラムに変更しました。

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