source: branches/version-2_5-dev/data/Smarty/templates/admin/customer/search_customer.tpl @ 19963

Revision 19963, 5.1 KB checked in by nanasess, 13 years ago (diff)

#843(複数配送先の指定)

  • 更新処理を修正
  • Property svn:eol-style set to LF
  • 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-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<!--{include file="`$smarty.const.TEMPLATE_ADMIN_REALDIR`admin_popup_header.tpl"}-->
25<script type="text/javascript">
26<!--
27self.moveTo(20,20);self.focus();
28
29function func_submit(customer_id){
30    var fm = window.opener.document.form1;
31    fm.edit_customer_id.value = customer_id;
32    fm.mode.value = 'search_customer';
33    fm.submit();
34    window.close();
35    return false;
36}
37//-->
38</script>
39
40<!--▼検索フォーム-->
41<form name="form1" id="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|h}-->">
42<input name="mode" type="hidden" value="search">
43<input name="search_pageno" type="hidden" value="">
44<input name="customer_id" type="hidden" value="">
45<table bgcolor="#cccccc" width="420" border="0" cellspacing="1" cellpadding="5" summary=" ">
46    <tr class="fs12n">
47        <td bgcolor="#f0f0f0" width="100">顧客ID</td>
48        <td bgcolor="#ffffff" width="287" colspan="2">
49            <!--{if $arrErr.search_customer_id}--><span class="red12"><!--{$arrErr.search_customer_id}--></span><!--{/if}-->
50            <input type="text" name="search_customer_id" value="<!--{$arrForm.search_customer_id|h}-->" size="40" class="box40" style="<!--{$arrErr.search_customer_id|sfGetErrorColor}-->"/>
51        </td>
52    </tr>
53    <tr class="fs12n">
54        <td bgcolor="#f0f0f0">顧客名</td>
55        <td bgcolor="#ffffff">
56            <!--{if $arrErr.search_name01}--><span class="red12"><!--{$arrErr.search_name01}--></span><!--{/if}-->
57            <!--{if $arrErr.search_name02}--><span class="red12"><!--{$arrErr.search_name02}--></span><!--{/if}-->
58            姓&nbsp;&nbsp;<input type="text" name="search_name01" value="<!--{$arrForm.search_name01|h}-->" size="15" class="box15" style="<!--{$arrErr.search_name01|sfGetErrorColor}-->"/>
59            &nbsp;名&nbsp;&nbsp;<input type="text" name="search_name02" value="<!--{$arrForm.search_name02|h}-->" size="15" class="box15" style="<!--{$arrErr.search_name02|sfGetErrorColor}-->"/>
60        </td>
61    </tr>
62    <tr class="fs12n">
63        <td bgcolor="#f0f0f0">顧客名(カナ)</td>
64        <td bgcolor="#ffffff">
65            <!--{if $arrErr.search_kana01}--><span class="red12"><!--{$arrErr.search_kana01}--></span><!--{/if}-->
66            <!--{if $arrErr.search_kana02}--><span class="red12"><!--{$arrErr.search_kana02}--></span><!--{/if}-->
67            セイ<input type="text" name="search_kana01" value="<!--{$arrForm.search_kana01|h}-->" size="15" class="box15" style="<!--{$arrErr.search_kana01|sfGetErrorColor}-->"/>
68                                                メイ&nbsp;<input type="text" name="search_kana02" value="<!--{$arrForm.search_kana02|h}-->" size="15" class="box15" style="<!--{$arrErr.search_kana02|sfGetErrorColor}-->"/>
69        </td>
70    </tr>
71</table>
72
73<div class="btn-area">
74  <ul>
75    <li><a class="btn-normal" href="javascript:;" onclick="fnFormModeSubmit('form1', 'search', '', ''); return false;" name="subm">検索を開始</a></li>
76  </ul>
77</div>
78
79<!--{if $smarty.post.mode == 'search' }-->
80    <!--▼検索結果表示-->
81        <!--{if $tpl_linemax > 0}-->
82        <p><!--{$tpl_linemax}-->件が該当しました。<!--{$tpl_strnavi}--></p>
83        <!--{/if}-->
84
85    <!--▼検索後表示部分-->
86    <table class="list">
87        <tr>
88            <th>顧客ID</th>
89            <th>顧客名(カナ)</th>
90            <th>TEL</th>
91            <th>決定</th>
92        </tr>
93        <!--{section name=cnt loop=$arrCustomer}-->
94        <!--▼顧客<!--{$smarty.section.cnt.iteration}-->-->
95        <tr>
96            <td>
97            <!--{$arrCustomer[cnt].customer_id|h}-->
98            </td>
99            <td><!--{$arrCustomer[cnt].name01|h}--><!--{$arrCustomer[cnt].name02|h}-->(<!--{$arrCustomer[cnt].kana01|h}--><!--{$arrCustomer[cnt].kana02|h}-->)</td>
100            <td><!--{$arrCustomer[cnt].tel01|h}-->-<!--{$arrCustomer[cnt].tel02|h}-->-<!--{$arrCustomer[cnt].tel03|h}--></td>
101            <td align="center"><a href="" onClick="return func_submit(<!--{$arrCustomer[cnt].customer_id}-->)">決定</a></td>
102        </tr>
103        <!--▲商品<!--{$smarty.section.cnt.iteration}-->-->
104        <!--{sectionelse}-->
105        <tr>
106            <td colspan="4">会員情報が存在しません。</td>
107        </tr>
108        <!--{/section}-->
109    </table>
110
111    <!--▲検索結果表示-->
112<!--{/if}-->
113</form>
114<!--{include file="`$smarty.const.TEMPLATE_ADMIN_REALDIR`admin_popup_footer.tpl"}-->
Note: See TracBrowser for help on using the repository browser.