source: branches/version-2_4/data/Smarty/templates/default/admin/customer/search_customer.tpl @ 17876

Revision 17876, 6.7 KB checked in by kajiwara, 15 years ago (diff)

#292 顧客検索機能の追加。編集画面にて発送日が表示されない不具合を修正。(管理画面>受注管理にて新規受注が登録できる対応)

Line 
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<!-- -->
25<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
26<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
27<head>
28<meta http-equiv="Content-Type" content="text/html; charset=<!--{$smarty.const.CHAR_CODE}-->">
29<meta http-equiv="content-script-type" content="text/javascript">
30<meta http-equiv="content-style-type" content="text/css">
31.<link rel="stylesheet" href="<!--{$smarty.const.URL_DIR}-->admin/css/contents.css" type="text/css" media="all" />
32<script type="text/javascript" src="<!--{$TPL_DIR}-->js/css.js"></script>
33<script type="text/javascript" src="<!--{$TPL_DIR}-->js/navi.js"></script>
34<script type="text/javascript" src="<!--{$TPL_DIR}-->js/admin.js"></script>
35<script type="text/javascript">
36<!--
37self.moveTo(20,20);self.focus();
38
39function func_submit(customer_id){
40    var fm = window.opener.document.form1;
41    fm.edit_customer_id.value = customer_id;
42    fm.mode.value = 'search_customer';
43    fm.submit();
44    window.close();
45    return false;
46}
47//-->
48</script>
49
50<title>EC CUBE 管理者画面</title>
51</head>
52
53<body bgcolor="#ffffff" text="#494E5F" link="#006699" vlink="#006699" alink="#006699" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="preLoadImg('<!--{$TPL_DIR}-->')">
54<!--{$GLOBAL_ERR}-->
55<noscript>
56<link rel="stylesheet" href="<!--{$smarty.const.URL_DIR}-->admin/css/common.css" type="text/css" >
57</noscript>
58
59<!--▼CONTENTS-->
60<div align="center">
61 
62<!--▼検索フォーム-->
63<form name="form1" id="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|escape}-->">
64<input name="mode" type="hidden" value="search">
65<input name="search_pageno" type="hidden" value="">
66<input name="customer_id" type="hidden" value="">
67<table bgcolor="#cccccc" width="420" border="0" cellspacing="1" cellpadding="5" summary=" ">
68    <tr class="fs12n">
69        <td bgcolor="#f0f0f0" width="100">顧客ID</td>
70        <td bgcolor="#ffffff" width="287" colspan="2">
71            <!--{if $arrErr.search_customer_id}--><span class="red12"><!--{$arrErr.search_customer_id}--></span><!--{/if}-->
72            <input type="text" name="search_customer_id" value="<!--{$arrForm.search_customer_id|escape}-->" size="40" class="box40" style="<!--{$arrErr.search_customer_id|sfGetErrorColor}-->"/>
73        </td>
74    </tr>
75    <tr class="fs12n">
76        <td bgcolor="#f0f0f0">担当者</td>
77        <td bgcolor="#ffffff">
78            <!--{if $arrErr.search_name01}--><span class="red12"><!--{$arrErr.search_name01}--></span><!--{/if}-->
79            <!--{if $arrErr.search_name02}--><span class="red12"><!--{$arrErr.search_name02}--></span><!--{/if}-->
80            姓&nbsp;&nbsp;<input type="text" name="search_name01" value="<!--{$arrForm.search_name01|escape}-->" size="15" class="box15" style="<!--{$arrErr.search_name01|sfGetErrorColor}-->"/>
81            &nbsp;名&nbsp;&nbsp;<input type="text" name="search_name02" value="<!--{$arrForm.search_name02|escape}-->" size="15" class="box15" style="<!--{$arrErr.search_name02|sfGetErrorColor}-->"/>
82        </td>
83    </tr>
84    <tr class="fs12n">
85        <td bgcolor="#f0f0f0">担当者(カナ)</td>
86        <td bgcolor="#ffffff">
87            <!--{if $arrErr.search_kana01}--><span class="red12"><!--{$arrErr.search_kana01}--></span><!--{/if}-->
88            <!--{if $arrErr.search_kana02}--><span class="red12"><!--{$arrErr.search_kana02}--></span><!--{/if}-->
89            セイ<input type="text" name="search_kana01" value="<!--{$arrForm.search_kana01|escape}-->" size="15" class="box15" style="<!--{$arrErr.search_kana01|sfGetErrorColor}-->"/>
90                                                メイ&nbsp;<input type="text" name="search_kana02" value="<!--{$arrForm.search_kana02|escape}-->" size="15" class="box15" style="<!--{$arrErr.search_kana02|sfGetErrorColor}-->"/>
91        </td>
92    </tr>
93</table>
94
95<br />
96<input type="submit" name="subm" value="検索を開始" />
97<br />
98<br />
99<!--{if $smarty.post.mode == 'search' }-->
100    <!--▼検索結果表示-->
101    <table width="420" border="0" cellspacing="0" cellpadding="0" summary=" " bgcolor="#FFFFFF">
102        <!--{if $tpl_linemax > 0}-->
103            <tr class="fs12">
104                <td align="left"><!--{$tpl_linemax}-->件が該当しました。 </td>
105            </tr>
106        <!--{/if}-->
107        <tr class="fs12">
108            <td align="center">
109            <!--▼ページナビ-->
110            <!--{$tpl_strnavi}-->
111            <!--▲ページナビ-->
112            </td>
113        </tr>
114        <tr><td height="10"></td></tr>
115    </table>
116
117    <!--▼検索後表示部分-->
118    <table width="420" border="0" cellspacing="1" cellpadding="5" bgcolor="#cccccc">
119        <tr bgcolor="#f0f0f0" align="center" class="fs12">
120            <td>顧客ID</td>
121            <td>顧客名(カナ)</td>
122            <td>TEL</td>
123            <td>決定</td>
124        </tr>
125        <!--{section name=cnt loop=$arrCustomer}-->
126        <!--▼顧客<!--{$smarty.section.cnt.iteration}-->-->
127        <tr bgcolor="#FFFFFF" class="fs12n">
128            <td width="90" align="center">
129            <!--{$arrCustomer[cnt].customer_id|escape}-->
130            </td>
131            <td><!--{$arrCustomer[cnt].name01|escape}--><!--{$arrCustomer[cnt].name02|escape}-->(<!--{$arrCustomer[cnt].kana01|escape}--><!--{$arrCustomer[cnt].kana02|escape}-->)</td>
132            <td><!--{$arrCustomer[cnt].tel01|escape}-->-<!--{$arrCustomer[cnt].tel02|escape}-->-<!--{$arrCustomer[cnt].tel03|escape}--></td>
133            <td align="center"><a href="" onClick="return func_submit(<!--{$arrCustomer[cnt].customer_id}-->)">決定</a></td>
134        </tr>
135        <!--▲商品<!--{$smarty.section.cnt.iteration}-->-->
136        <!--{sectionelse}-->
137        <tr bgcolor="#FFFFFF" class="fs10n">
138            <td colspan="4">会員情報が存在しません。</td>
139        </tr>
140        <!--{/section}-->
141    </table>
142
143    <!--▲検索結果表示-->
144<!--{/if}-->
145</form>
146
147</div>
148<!--▲CONTENTS-->
149
150</body>
151</html>
Note: See TracBrowser for help on using the repository browser.