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

Revision 19909, 5.7 KB checked in by uemoto, 13 years ago (diff)

#382(管理画面XHTMLに変更)

  • デザインを刷新
  • 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', '', '');" name="subm">検索を開始</a></li>
76  </ul>
77</div>
78
79<!--{if $smarty.post.mode == 'search' }-->
80    <!--▼検索結果表示-->
81    <table width="420" border="0" cellspacing="0" cellpadding="0" summary=" " bgcolor="#FFFFFF">
82        <!--{if $tpl_linemax > 0}-->
83            <tr class="fs12">
84                <td align="left"><!--{$tpl_linemax}-->件が該当しました。 </td>
85            </tr>
86        <!--{/if}-->
87        <tr class="fs12">
88            <td align="center">
89            <!--▼ページナビ-->
90            <!--{$tpl_strnavi}-->
91            <!--▲ページナビ-->
92            </td>
93        </tr>
94        <tr><td height="10"></td></tr>
95    </table>
96
97    <!--▼検索後表示部分-->
98    <table width="420" border="0" cellspacing="1" cellpadding="5" bgcolor="#cccccc">
99        <tr bgcolor="#f0f0f0" align="center" class="fs12">
100            <td>顧客ID</td>
101            <td>顧客名(カナ)</td>
102            <td>TEL</td>
103            <td>決定</td>
104        </tr>
105        <!--{section name=cnt loop=$arrCustomer}-->
106        <!--▼顧客<!--{$smarty.section.cnt.iteration}-->-->
107        <tr bgcolor="#FFFFFF" class="fs12n">
108            <td width="90" align="center">
109            <!--{$arrCustomer[cnt].customer_id|h}-->
110            </td>
111            <td><!--{$arrCustomer[cnt].name01|h}--><!--{$arrCustomer[cnt].name02|h}-->(<!--{$arrCustomer[cnt].kana01|h}--><!--{$arrCustomer[cnt].kana02|h}-->)</td>
112            <td><!--{$arrCustomer[cnt].tel01|h}-->-<!--{$arrCustomer[cnt].tel02|h}-->-<!--{$arrCustomer[cnt].tel03|h}--></td>
113            <td align="center"><a href="" onClick="return func_submit(<!--{$arrCustomer[cnt].customer_id}-->)">決定</a></td>
114        </tr>
115        <!--▲商品<!--{$smarty.section.cnt.iteration}-->-->
116        <!--{sectionelse}-->
117        <tr bgcolor="#FFFFFF" class="fs10n">
118            <td colspan="4">会員情報が存在しません。</td>
119        </tr>
120        <!--{/section}-->
121    </table>
122
123    <!--▲検索結果表示-->
124<!--{/if}-->
125</form>
126<!--{include file="`$smarty.const.TEMPLATE_ADMIN_REALDIR`admin_popup_footer.tpl"}-->
Note: See TracBrowser for help on using the repository browser.