1 | <!--{* |
---|
2 | /* |
---|
3 | * This file is part of EC-CUBE |
---|
4 | * |
---|
5 | * Copyright(c) 2000-2007 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 fnCustomerPage(pageno) { |
---|
28 | document.form1.search_pageno.value = pageno; |
---|
29 | document.form1.submit(); |
---|
30 | } |
---|
31 | |
---|
32 | function fnCSVDownload(pageno) { |
---|
33 | document.form1['csv_mode'].value = 'csv'; |
---|
34 | document.form1.submit(); |
---|
35 | document.form1['csv_mode'].value = ''; |
---|
36 | return false; |
---|
37 | } |
---|
38 | |
---|
39 | function fnDelete(customer_id) { |
---|
40 | if (confirm('この顧客情報を削除しても宜しいですか?')) { |
---|
41 | document.form1.mode.value = "delete" |
---|
42 | document.form1['edit_customer_id'].value = customer_id; |
---|
43 | document.form1.submit(); |
---|
44 | return false; |
---|
45 | } |
---|
46 | } |
---|
47 | |
---|
48 | function fnEdit(customer_id) { |
---|
49 | document.form1.action = './edit.php'; |
---|
50 | document.form1.mode.value = "edit_search" |
---|
51 | document.form1['edit_customer_id'].value = customer_id; |
---|
52 | document.form1.search_pageno.value = 1; |
---|
53 | document.form1.submit(); |
---|
54 | return false; |
---|
55 | } |
---|
56 | |
---|
57 | function fnSubmit() { |
---|
58 | document.form1.submit(); |
---|
59 | return false; |
---|
60 | } |
---|
61 | //--> |
---|
62 | </script> |
---|
63 | |
---|
64 | <!--★★メインコンテンツ★★--> |
---|
65 | <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
66 | <form name="form_search" id="form_search" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->"> |
---|
67 | <input type="hidden" name="mode" value="search"> |
---|
68 | <tr valign="top"> |
---|
69 | <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402"> |
---|
70 | <!-- サブナビ --> |
---|
71 | <!--{include file=$tpl_subnavi}--> |
---|
72 | </td> |
---|
73 | <td class="mainbg"> |
---|
74 | <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
75 | <!--メインエリア--> |
---|
76 | <tr> |
---|
77 | <td align="center"> |
---|
78 | <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
79 | <tr><td height="14"></td></tr> |
---|
80 | <tr> |
---|
81 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td> |
---|
82 | </tr> |
---|
83 | <tr> |
---|
84 | <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> |
---|
85 | <td bgcolor="#cccccc"> |
---|
86 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
87 | <tr> |
---|
88 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td> |
---|
89 | </tr> |
---|
90 | <tr> |
---|
91 | <td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td> |
---|
92 | <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->検索条件設定</span></td> |
---|
93 | <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td> |
---|
94 | </tr> |
---|
95 | <tr> |
---|
96 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td> |
---|
97 | </tr> |
---|
98 | <tr> |
---|
99 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td> |
---|
100 | </tr> |
---|
101 | </table> |
---|
102 | <!--検索条件設定テーブルここから--> |
---|
103 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> |
---|
104 | <tr class="fs12n"> |
---|
105 | <td bgcolor="#f2f1ec" width="110">顧客コード</td> |
---|
106 | <td bgcolor="#ffffff" width="194"><!--{if $arrErr.customer_id}--><span class="red12"><!--{$arrErr.customer_id}--></span><br><!--{/if}--><input type="text" name="customer_id" maxlength="<!--{$smarty.const.INT_LEN}-->" value="<!--{$arrForm.customer_id|escape}-->" size="30" class="box30" <!--{if $arrErr.customer_id}--><!--{sfSetErrorStyle}--><!--{/if}--> /></td> |
---|
107 | <td bgcolor="#f2f1ec" width="110">都道府県</td> |
---|
108 | <td bgcolor="#ffffff" width="195"> |
---|
109 | <!--{if $arrErr.pref}--><span class="red12"><!--{$arrErr.pref}--></span><br><!--{/if}--> |
---|
110 | <select name="pref"> |
---|
111 | <option value="" selected="selected" <!--{if $arrErr.name}--><!--{sfSetErrorStyle}--><!--{/if}-->>都道府県を選択</option> |
---|
112 | <!--{html_options options=$arrPref selected=$arrForm.pref}--> |
---|
113 | </select> |
---|
114 | </td> |
---|
115 | </tr> |
---|
116 | <tr class="fs12n"> |
---|
117 | <td bgcolor="#f2f1ec" width="110">顧客名</td> |
---|
118 | <td bgcolor="#ffffff" width="194"><!--{if $arrErr.name}--><span class="red12"><!--{$arrErr.name}--></span><br><!--{/if}--><input type="text" name="name" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$arrForm.name|escape}-->" size="30" class="box30" <!--{if $arrErr.name}--><!--{sfSetErrorStyle}--><!--{/if}--> /></td> |
---|
119 | <td bgcolor="#f2f1ec" width="110">顧客名(カナ)</td> |
---|
120 | <td bgcolor="#ffffff" width="195"><!--{if $arrErr.kana}--><span class="red12"><!--{$arrErr.kana}--></span><br><!--{/if}--><input type="text" name="kana" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$arrForm.kana|escape}-->" size="30" class="box30" <!--{if $arrErr.kana}--><!--{sfSetErrorStyle}--><!--{/if}--> /></td> |
---|
121 | </tr> |
---|
122 | <tr class="fs12n"> |
---|
123 | <td bgcolor="#f2f1ec" width="110">性別</td> |
---|
124 | <td bgcolor="#ffffff" width="194"><!--{html_checkboxes name="sex" options=$arrSex separator=" " selected=$arrForm.sex}--></td> |
---|
125 | <td bgcolor="#f2f1ec" width="110">誕生月</td> |
---|
126 | <td bgcolor="#ffffff" width="195"><!--{if $arrErr.birth_month}--><span class="red12"><!--{$arrErr.birth_month}--></span><br><!--{/if}--> |
---|
127 | <select name="birth_month" style="<!--{$arrErr.birth_month|sfGetErrorColor}-->" > |
---|
128 | <option value="" selected="selected">--</option> |
---|
129 | <!--{html_options options=$objDate->getMonth() selected=$arrForm.birth_month}--> |
---|
130 | </select>月 |
---|
131 | </td> |
---|
132 | </tr> |
---|
133 | <tr class="fs12n"> |
---|
134 | <td bgcolor="#f2f1ec" width="110">誕生日</td> |
---|
135 | <td bgcolor="#ffffff" width="499" colspan="3"> |
---|
136 | <!--{if $arrErr.b_start_year || $arrErr.b_end_year}--><span class="red12"><!--{$arrErr.b_start_year}--><!--{$arrErr.b_end_year}--></span><br><!--{/if}--> |
---|
137 | <select name="b_start_year" <!--{if $arrErr.b_start_year || $arrErr.b_end_year}--><!--{sfSetErrorStyle}--><!--{/if}-->> |
---|
138 | <option value="" selected="selected">------</option> |
---|
139 | <!--{html_options options=$arrYear selected=$arrForm.b_start_year}--> |
---|
140 | </select>年 |
---|
141 | <select name="b_start_month" <!--{if $arrErr.b_start_year || $arrErr.b_end_year}--><!--{sfSetErrorStyle}--><!--{/if}-->> |
---|
142 | <option value="" selected="selected">----</option> |
---|
143 | <!--{html_options options=$arrMonth selected=$arrForm.b_start_month}--> |
---|
144 | </select>月 |
---|
145 | <select name="b_start_day" <!--{if $arrErr.b_start_year || $arrErr.b_end_year}--><!--{sfSetErrorStyle}--><!--{/if}-->> |
---|
146 | <option value="" selected="selected">----</option> |
---|
147 | <!--{html_options options=$arrDay selected=$arrForm.b_start_day}--> |
---|
148 | </select>日〜 |
---|
149 | <select name="b_end_year" <!--{if $arrErr.b_start_year || $arrErr.b_end_year}--><!--{sfSetErrorStyle}--><!--{/if}-->> |
---|
150 | <option value="" selected="selected">------</option> |
---|
151 | <!--{html_options options=$arrYear selected=$arrForm.b_end_year}--> |
---|
152 | </select>年 |
---|
153 | <select name="b_end_month" <!--{if $arrErr.b_start_year || $arrErr.b_end_year}--><!--{sfSetErrorStyle}--><!--{/if}-->> |
---|
154 | <option value="" selected="selected">----</option> |
---|
155 | <!--{html_options options=$arrMonth selected=$arrForm.b_end_month}--> |
---|
156 | </select>月 |
---|
157 | <select name="b_end_day" <!--{if $arrErr.b_start_year || $arrErr.b_end_year}--><!--{sfSetErrorStyle}--><!--{/if}-->> |
---|
158 | <option value="" selected="selected">----</option> |
---|
159 | <!--{html_options options=$arrDay selected=$arrForm.b_end_day}--> |
---|
160 | </select>日 |
---|
161 | </td> |
---|
162 | </tr> |
---|
163 | <tr class="fs12n"> |
---|
164 | <td bgcolor="#f2f1ec" width="110">メールアドレス</td> |
---|
165 | <td bgcolor="#ffffff" width="499" colspan="3"><!--{if $arrErr.email}--><span class="red12"><!--{$arrErr.email}--></span><!--{/if}--><input type="text" name="email" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$arrForm.email|escape}-->" size="60" class="box60" <!--{if $arrErr.email}--><!--{sfSetErrorStyle}--><!--{/if}-->/></td> |
---|
166 | </tr> |
---|
167 | <tr class="fs12n"> |
---|
168 | <td bgcolor="#f2f1ec" width="110">携帯メールアドレス</td> |
---|
169 | <td bgcolor="#ffffff" width="499" colspan="3"><!--{if $arrErr.email_mobile}--><span class="red12"><!--{$arrErr.email_mobile}--></span><!--{/if}--><input type="text" name="email_mobile" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$arrForm.email_mobile|escape}-->" size="60" class="box60" <!--{if $arrErr.email_mobile}--><!--{sfSetErrorStyle}--><!--{/if}-->/></td> |
---|
170 | </tr> |
---|
171 | <tr class="fs12n"> |
---|
172 | <td bgcolor="#f2f1ec" width="110">電話番号</td> |
---|
173 | <td bgcolor="#ffffff" width="499" colspan="3"><!--{if $arrErr.tel}--><span class="red12"><!--{$arrErr.tel}--></span><br><!--{/if}--><input type="text" name="tel" maxlength="<!--{$smarty.const.TEL_LEN}-->" value="<!--{$arrForm.tel|escape}-->" size="60" class="box60" /></td> |
---|
174 | </tr> |
---|
175 | <tr class="fs12n"> |
---|
176 | <td bgcolor="#f2f1ec" width="110">職業</td> |
---|
177 | <td bgcolor="#ffffff" width="499" colspan="3"><!--{html_checkboxes name="job" options=$arrJob separator=" " selected=$arrForm.job}--></td> |
---|
178 | </tr> |
---|
179 | <tr class="fs12n"> |
---|
180 | <td bgcolor="#f2f1ec" width="110">購入金額</td> |
---|
181 | <td bgcolor="#ffffff" width="194"><!--{if $arrErr.buy_total_from || $arrErr.buy_total_to}--><span class="red12"><!--{$arrErr.buy_total_from}--><!--{$arrErr.buy_total_to}--></span><br><!--{/if}--><input type="text" name="buy_total_from" maxlength="<!--{$smarty.const.INT_LEN}-->" value="<!--{$arrForm.buy_total_from|escape}-->" size="6" class="box6" <!--{if $arrErr.buy_total_from || $arrErr.buy_total_to}--><!--{sfSetErrorStyle}--><!--{/if}--> /> 円 〜 <input type="text" name="buy_total_to" maxlength="<!--{$smarty.const.INT_LEN}-->" value="<!--{$arrForm.buy_total_to|escape}-->" size="6" class="box6" <!--{if $arrErr.buy_total_from || $arrErr.buy_total_to}--><!--{sfSetErrorStyle}--><!--{/if}--> /> 円</td> |
---|
182 | <td bgcolor="#f2f1ec" width="110">購入回数</td> |
---|
183 | <td bgcolor="#ffffff" width="195"><!--{if $arrErr.buy_times_from || $arrErr.buy_times_to}--><span class="red12"><!--{$arrErr.buy_times_from}--><!--{$arrErr.buy_times_to}--></span><br><!--{/if}--><input type="text" name="buy_times_from" maxlength="<!--{$smarty.const.INT_LEN}-->" value="<!--{$arrForm.buy_times_from|escape}-->" size="6" class="box6" <!--{if $arrErr.buy_times_from || $arrErr.buy_times_to}--><!--{sfSetErrorStyle}--><!--{/if}--> /> 回 〜 <input type="text" name="buy_times_to" maxlength="<!--{$smarty.const.INT_LEN}-->" value="<!--{$arrForm.buy_times_to|escape}-->" size="6" class="box6" <!--{if $arrErr.buy_times_from || $arrErr.buy_times_to}--><!--{sfSetErrorStyle}--><!--{/if}--> /> 回</td> |
---|
184 | </tr> |
---|
185 | <tr class="fs12n"> |
---|
186 | <td bgcolor="#f2f1ec" width="110">登録・更新日</td> |
---|
187 | <td bgcolor="#ffffff" width="499" colspan="3"> |
---|
188 | <!--{if $arrErr.start_year || $arrErr.end_year}--><span class="red12"><!--{$arrErr.start_year}--><!--{$arrErr.end_year}--></span><br><!--{/if}--> |
---|
189 | <select name="start_year" <!--{if $arrErr.start_year || $arrErr.end_year}--><!--{sfSetErrorStyle}--><!--{/if}-->> |
---|
190 | <option value="" selected="selected">----</option> |
---|
191 | <!--{html_options options=$arrYear selected=$arrForm.start_year}--> |
---|
192 | </select>年 |
---|
193 | <select name="start_month" <!--{if $arrErr.start_year || $arrErr.end_year}--><!--{sfSetErrorStyle}--><!--{/if}-->> |
---|
194 | <option value="" selected="selected">--</option> |
---|
195 | <!--{html_options options=$arrMonth selected=$arrForm.start_month}--> |
---|
196 | </select>月 |
---|
197 | <select name="start_day" <!--{if $arrErr.start_year || $arrErr.end_year}--><!--{sfSetErrorStyle}--><!--{/if}-->> |
---|
198 | <option value="" selected="selected">--</option> |
---|
199 | <!--{html_options options=$arrDay selected=$arrForm.start_day}--> |
---|
200 | </select>日〜 |
---|
201 | <select name="end_year" <!--{if $arrErr.start_year || $arrErr.end_year}--><!--{sfSetErrorStyle}--><!--{/if}-->> |
---|
202 | <option value="" selected="selected">----</option> |
---|
203 | <!--{html_options options=$arrYear selected=$arrForm.end_year}--> |
---|
204 | </select>年 |
---|
205 | <select name="end_month" <!--{if $arrErr.start_year || $arrErr.end_year}--><!--{sfSetErrorStyle}--><!--{/if}-->> |
---|
206 | <option value="" selected="selected">--</option> |
---|
207 | <!--{html_options options=$arrMonth selected=$arrForm.end_month}--> |
---|
208 | </select>月 |
---|
209 | <select name="end_day" <!--{if $arrErr.start_year || $arrErr.end_year}--><!--{sfSetErrorStyle}--><!--{/if}-->> |
---|
210 | <option value="" selected="selected">--</option> |
---|
211 | <!--{html_options options=$arrDay selected=$arrForm.end_day}--> |
---|
212 | </select>日 |
---|
213 | </td> |
---|
214 | </tr> |
---|
215 | |
---|
216 | <tr class="fs12n"> |
---|
217 | <td bgcolor="#f2f1ec" width="110">最終購入日</td> |
---|
218 | <td bgcolor="#ffffff" width="499" colspan="3"> |
---|
219 | <!--{if $arrErr.buy_start_year || $arrErr.buy_end_year}--><span class="red12"><!--{$arrErr.buy_start_year}--><!--{$arrErr.buy_end_year}--></span><br><!--{/if}--> |
---|
220 | <select name="buy_start_year" style="<!--{$arrErr.buy_start_year|sfGetErrorColor}-->"> |
---|
221 | <option value="" selected="selected">----</option> |
---|
222 | <!--{html_options options=$objDate->getYear($smarty.const.RELEASE_YEAR) selected=$arrForm.buy_start_year}--> |
---|
223 | </select>年 |
---|
224 | <select name="buy_start_month" style="<!--{$arrErr.buy_start_year|sfGetErrorColor}-->"> |
---|
225 | <option value="" selected="selected">--</option> |
---|
226 | <!--{html_options options=$arrMonth selected=$arrForm.buy_start_month}--> |
---|
227 | </select>月 |
---|
228 | <select name="buy_start_day" style="<!--{$arrErr.buy_start_year|sfGetErrorColor}-->"> |
---|
229 | <option value="" selected="selected">--</option> |
---|
230 | <!--{html_options options=$arrDay selected=$arrForm.buy_start_day}--> |
---|
231 | </select>日〜 |
---|
232 | <select name="buy_end_year" style="<!--{$arrErr.buy_end_year|sfGetErrorColor}-->"> |
---|
233 | <option value="" selected="selected">----</option> |
---|
234 | <!--{html_options options=$objDate->getYear($smarty.const.RELEASE_YEAR) selected=$arrForm.buy_end_year}--> |
---|
235 | </select>年 |
---|
236 | <select name="buy_end_month" style="<!--{$arrErr.buy_end_year|sfGetErrorColor}-->"> |
---|
237 | <option value="" selected="selected">--</option> |
---|
238 | <!--{html_options options=$arrMonth selected=$arrForm.buy_end_month}--> |
---|
239 | </select>月 |
---|
240 | <select name="buy_end_day" style="<!--{$arrErr.buy_end_year|sfGetErrorColor}-->"> |
---|
241 | <option value="" selected="selected">--</option> |
---|
242 | <!--{html_options options=$arrDay selected=$arrForm.buy_end_day}--> |
---|
243 | </select>日 |
---|
244 | </td> |
---|
245 | </tr> |
---|
246 | <tr class="fs12n"> |
---|
247 | <td bgcolor="#f2f1ec" width="110">購入商品名</td> |
---|
248 | <td bgcolor="#ffffff" width="194"> |
---|
249 | <!--{if $arrErr.buy_product_name}--><span class="red12"><!--{$arrErr.buy_product_name}--></span><!--{/if}--> |
---|
250 | <span style="<!--{$arrErr.buy_product_name|sfGetErrorColor}-->"> |
---|
251 | <input type="text" name="buy_product_name" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$arrForm.buy_product_name|escape}-->" size="30" class="box30" style="<!--{$arrErr.buy_product_name|sfGetErrorColor}-->"/> |
---|
252 | </span> |
---|
253 | </td> |
---|
254 | <td bgcolor="#f2f1ec" width="110">購入商品<br />コード</td> |
---|
255 | <td bgcolor="#ffffff" width="195"> |
---|
256 | <!--{if $arrErr.buy_product_code}--><span class="red12"><!--{$arrErr.buy_product_code}--></span><!--{/if}--> |
---|
257 | <input type="text" name="buy_product_code" value="<!--{$arrForm.buy_product_code}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="30" class="box30" style="<!--{$arrErr.buy_product_code|sfGetErrorColor}-->" > |
---|
258 | </td> |
---|
259 | </tr> |
---|
260 | <tr class="fs12n"> |
---|
261 | <td bgcolor="#f2f1ec" width="110">カテゴリ</td> |
---|
262 | <td bgcolor="#ffffff" width="499" colspan="3"> |
---|
263 | <select name="category_id" style="<!--{if $arrErr.category_id != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"> |
---|
264 | <option value="">選択してください</option> |
---|
265 | <!--{html_options options=$arrCatList selected=$arrForm.category_id}--> |
---|
266 | </select> |
---|
267 | </td> |
---|
268 | </tr> |
---|
269 | </table> |
---|
270 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
271 | <tr> |
---|
272 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
273 | <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td> |
---|
274 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
275 | </tr> |
---|
276 | <tr> |
---|
277 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> |
---|
278 | <td bgcolor="#e9e7de" align="center"> |
---|
279 | <table border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
280 | <tr> |
---|
281 | <td class="fs12n">検索結果表示件数 |
---|
282 | <select name="page_rows"> |
---|
283 | <!--{html_options options=$arrPageRows selected=$arrForm.page_rows}--> |
---|
284 | </select> 件</td> |
---|
285 | </td> |
---|
286 | <td><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="10" height="1" alt=""></td> |
---|
287 | <td><input type="image" name="subm" onMouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_search_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_search.jpg',this)" src="<!--{$TPL_DIR}-->img/contents/btn_search.jpg" width="123" height="24" alt="この条件で検索する" border="0" ></td> |
---|
288 | </tr> |
---|
289 | </table> |
---|
290 | </td> |
---|
291 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> |
---|
292 | </tr> |
---|
293 | <tr> |
---|
294 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td> |
---|
295 | </tr> |
---|
296 | </table> |
---|
297 | <!--検索条件設定テーブルここまで--> |
---|
298 | </td> |
---|
299 | <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> |
---|
300 | </tr> |
---|
301 | <tr> |
---|
302 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td> |
---|
303 | </tr> |
---|
304 | <tr><td height="30"></td></tr> |
---|
305 | </table> |
---|
306 | </td> |
---|
307 | </tr> |
---|
308 | <!--メインエリア--> |
---|
309 | </table> |
---|
310 | </td> |
---|
311 | </tr> |
---|
312 | </form> |
---|
313 | </table> |
---|
314 | <!--★★メインコンテンツ★★--> |
---|
315 | |
---|
316 | <!--{if count($arrErr) == 0 and ($smarty.post.mode == 'search' or $smarty.post.mode == 'delete') }--> |
---|
317 | |
---|
318 | <!--★★検索結果一覧★★--> |
---|
319 | <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
320 | <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->"> |
---|
321 | <!--{foreach from=$smarty.post key="key" item="item"}--> |
---|
322 | <!--{if $key ne "mode" && $key ne "del_mode" && $key ne "edit_customer_id" && $key ne "del_customer_id" && $key ne "search_pageno" && $key ne "csv_mode" && $key ne "job" && $key ne "sex"}--><input type="hidden" name="<!--{$key|escape}-->" value="<!--{$item|escape}-->"><!--{/if}--> |
---|
323 | <!--{/foreach}--> |
---|
324 | <!--{foreach from=$smarty.post.job key="key" item="item"}--> |
---|
325 | <input type="hidden" name="job[]" value=<!--{$item}-->> |
---|
326 | <!--{/foreach}--> |
---|
327 | <!--{foreach from=$smarty.post.sex key="key" item="item"}--> |
---|
328 | <input type="hidden" name="sex[]" value=<!--{$item}-->> |
---|
329 | <!--{/foreach}--> |
---|
330 | <input type="hidden" name="mode" value="search"> |
---|
331 | <input type="hidden" name="del_mode" value=""> |
---|
332 | <input type="hidden" name="edit_customer_id" value=""> |
---|
333 | <input type="hidden" name="del_customer_id" value=""> |
---|
334 | <input type="hidden" name="search_pageno" value="<!--{$smarty.post.search_pageno|escape}-->"> |
---|
335 | <input type="hidden" name="csv_mode" value=""> |
---|
336 | <tr><td colspan="2"><img src="<!--{$TPL_DIR}-->img/contents/search_line.jpg" width="878" height="12" alt=""></td></tr> |
---|
337 | <tr bgcolor="cbcbcb"> |
---|
338 | <td> |
---|
339 | <table border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
340 | <tr> |
---|
341 | <td><img src="<!--{$TPL_DIR}-->img/contents/search_left.gif" width="19" height="22" alt=""></td> |
---|
342 | <td> |
---|
343 | <!--検索結果--> |
---|
344 | <table border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
345 | <tr> |
---|
346 | <td><img src="<!--{$TPL_DIR}-->img/contents/reselt_left_top.gif" width="22" height="5" alt=""></td> |
---|
347 | <td background="<!--{$TPL_DIR}-->img/contents/reselt_top_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
348 | <td><img src="<!--{$TPL_DIR}-->img/contents/reselt_right_top.gif" width="22" height="5" alt=""></td> |
---|
349 | </tr> |
---|
350 | <tr> |
---|
351 | <td background="<!--{$TPL_DIR}-->img/contents/reselt_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/reselt_left_middle.gif" width="22" height="12" alt=""></td> |
---|
352 | <td bgcolor="#393a48" class="white10">検索結果一覧 <span class="reselt"><!--検索結果数--><!--{$tpl_linemax}-->件</span> が該当しました。</td> |
---|
353 | <td background="<!--{$TPL_DIR}-->img/contents/reselt_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="22" height="8" alt=""></td> |
---|
354 | </tr> |
---|
355 | <tr> |
---|
356 | <td><img src="<!--{$TPL_DIR}-->img/contents/reselt_left_bottom.gif" width="22" height="5" alt=""></td> |
---|
357 | <td background="<!--{$TPL_DIR}-->img/contents/reselt_bottom_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
358 | <td><img src="<!--{$TPL_DIR}-->img/contents/reselt_right_bottom.gif" width="22" height="5" alt=""></td> |
---|
359 | </tr> |
---|
360 | </table> |
---|
361 | <!--検索結果--> |
---|
362 | <!--{if $smarty.const.ADMIN_MODE == '1'}--> |
---|
363 | <input type="button" name="subm" value="検索結果をすべて削除" onclick="fnModeSubmit('delete_all','','');" /> |
---|
364 | <!--{/if}--> |
---|
365 | </td> |
---|
366 | <td><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="8" height="1" alt=""></td> |
---|
367 | <td><a href="#" onmouseover="chgImg('<!--{$TPL_DIR}-->img/contents/btn_csv_on.jpg','btn_csv');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/contents/btn_csv.jpg','btn_csv');" onclick="fnModeSubmit('csv','','');" ><img src="<!--{$TPL_DIR}-->img/contents/btn_csv.jpg" width="99" height="22" alt="CSV DOWNLOAD" border="0" name="btn_csv" id="btn_csv"></a></td> |
---|
368 | <td><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="8" height="1" alt=""></td> |
---|
369 | <td><a href="../contents/csv.php?tpl_subno_csv=customer"><span class="fs12n"> >> CSV出力項目設定 </span></a></td> |
---|
370 | </tr> |
---|
371 | </table> |
---|
372 | </td> |
---|
373 | <td align="right"> |
---|
374 | <!--{include file=$tpl_pager}--> |
---|
375 | </td> |
---|
376 | </tr> |
---|
377 | <tr><td bgcolor="cbcbcb" colspan="2"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td></tr> |
---|
378 | </table> |
---|
379 | |
---|
380 | <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
381 | <tr> |
---|
382 | <td bgcolor="#f0f0f0" align="center"> |
---|
383 | |
---|
384 | <!--{if count($search_data) > 0}--> |
---|
385 | |
---|
386 | <table width="840" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
387 | <tr><td height="12"></td></tr> |
---|
388 | <tr> |
---|
389 | <td bgcolor="#cccccc"> |
---|
390 | <!--検索結果表示テーブル--> |
---|
391 | <table width="840" border="0" cellspacing="1" cellpadding="5" summary=" "> |
---|
392 | <tr bgcolor="#636469" align="center" class="fs12n"> |
---|
393 | <td width="50" rowspan="2"><span class="white">種別</span></td> |
---|
394 | <td width="120"><span class="white">顧客コード</span></td> |
---|
395 | <td width="300" rowspan="2"><span class="white">顧客名/(カナ)</span></td> |
---|
396 | <td width="50" rowspan="2"><span class="white">性別</span></td> |
---|
397 | <td width="250"><span class="white">TEL</span></td> |
---|
398 | <td width="50" rowspan="2"><span class="white">編集</span></td> |
---|
399 | <td width="50" rowspan="2"><span class="white">削除</span></td> |
---|
400 | </tr> |
---|
401 | <tr bgcolor="#636469" align="center" class="fs12n"> |
---|
402 | <td width=""><span class="white">都道府県</span></td> |
---|
403 | <td width=""><span class="white">メールアドレス</span></td> |
---|
404 | </tr> |
---|
405 | <!--{section name=data loop=$search_data}--> |
---|
406 | <!--顧客<!--{$smarty.section.data.iteration}-->--> |
---|
407 | <tr bgcolor="#ffffff" class="fs12n"> |
---|
408 | <td align="center" rowspan="2"><!--{if $search_data[data].status eq 1}-->仮<!--{else}-->本<!--{/if}--></td> |
---|
409 | <td><!--{$search_data[data].customer_id|escape}--></td> |
---|
410 | <td rowspan="2"><!--{$search_data[data].name01|escape}--> <!--{$search_data[data].name02|escape}-->(<!--{$search_data[data].kana01|escape}--> <!--{$search_data[data].kana02|escape}-->)</td> |
---|
411 | <td align="center" rowspan="2"><!--{if $search_data[data].sex eq 1}-->男性<!--{else}-->女性<!--{/if}--></td> |
---|
412 | <td><!--{$search_data[data].tel01|escape}-->-<!--{$search_data[data].tel02|escape}-->-<!--{$search_data[data].tel03|escape}--></td> |
---|
413 | <td align="center" rowspan="2"><span class="icon_edit"><a href="#" onclick="return fnEdit('<!--{$search_data[data].customer_id|escape}-->');">編集</a></span> |
---|
414 | </td> |
---|
415 | <td align="center" rowspan="2"><span class="icon_delete"><a href="#" onclick="return fnDelete('<!--{$search_data[data].customer_id|escape}-->');">削除</a></span></td> |
---|
416 | </tr> |
---|
417 | <tr bgcolor="#ffffff" class="fs12n"> |
---|
418 | <td width=""><!--{assign var=pref value=$search_data[data].pref}--><!--{$arrPref[$pref]}--></td> |
---|
419 | <td width=""><!--{mailto address=$search_data[data].email encode="javascript"}--></a></td> |
---|
420 | </tr> |
---|
421 | <!--顧客<!--{$smarty.section.data.iteration}-->--> |
---|
422 | <!--{/section}--> |
---|
423 | </table> |
---|
424 | <!--検索結果表示テーブル--> |
---|
425 | </td> |
---|
426 | </tr> |
---|
427 | </table> |
---|
428 | |
---|
429 | <!--{/if}--> |
---|
430 | |
---|
431 | </td> |
---|
432 | </tr> |
---|
433 | </form> |
---|
434 | </table> |
---|
435 | <!--★★検索結果一覧★★--> |
---|
436 | |
---|
437 | <!--{/if}--> |
---|