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

Revision 23228, 5.0 KB checked in by pineray, 11 years ago (diff)

#2408 ポップアップのXML宣言前の改行を削除

  • 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-2013 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="?">
42    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
43    <input name="mode" type="hidden" value="search">
44    <input name="search_pageno" type="hidden" value="">
45    <input name="customer_id" type="hidden" value="">
46
47    <table class="form">
48        <col width="20%" />
49        <col width="80%" />
50        <tr>
51            <th class="colmun">会員ID</th>
52            <td width="287" colspan="2">
53                <!--{assign var=key value="search_customer_id"}-->
54                <!--{if $arrErr[$key]}--><span class="attention"><!--{$arrErr[$key]}--></span><br /><!--{/if}-->
55                <input type="text" name="<!--{$key}-->" maxlength="<!--{$arrForm[$key].length}-->" value="<!--{$arrForm[$key].value|h}-->" size="30" class="box30" <!--{if $arrErr[$key]}--><!--{sfSetErrorStyle}--><!--{/if}--> />
56            </td>
57        </tr>
58        <tr>
59            <th class="colmun">お名前</th>
60            <td>
61                <!--{assign var=key value="search_name"}-->
62                <!--{if $arrErr[$key]}--><span class="attention"><!--{$arrErr[$key]}--></span><br /><!--{/if}-->
63                <input type="text" name="<!--{$key}-->" maxlength="<!--{$arrForm[$key].length}-->" value="<!--{$arrForm[$key].value|h}-->" size="30" class="box30" <!--{if $arrErr[$key]}--><!--{sfSetErrorStyle}--><!--{/if}--> />
64            </td>
65        </tr>
66        <tr class="n">
67            <th class="colmun">お名前(フリガナ)</th>
68            <td>
69            <!--{assign var=key value="search_kana"}-->
70            <!--{if $arrErr[$key]}--><span class="attention"><!--{$arrErr[$key]}--></span><br /><!--{/if}-->
71            <input type="text" name="<!--{$key}-->" maxlength="<!--{$arrForm[$key].length}-->" value="<!--{$arrForm[$key].value|h}-->" size="30" class="box30" <!--{if $arrErr[$key]}--><!--{sfSetErrorStyle}--><!--{/if}--> />
72            </td>
73        </tr>
74    </table>
75
76    <div class="btn-area">
77        <ul>
78            <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', 'search', '', ''); return false;" name="subm"><span class="btn-next">検索を開始</span></a></li>
79        </ul>
80    </div>
81
82    <p>
83    <!--{if $smarty.post.mode == 'search'}-->
84        <!--▼検索結果表示-->
85            <!--{if $tpl_linemax > 0}-->
86            <p><!--{$tpl_linemax}-->件が該当しました。<!--{$tpl_strnavi}--></p>
87            <!--{/if}-->
88
89        <!--▼検索後表示部分-->
90        <table class="list">
91            <tr>
92                <th>会員ID</th>
93                <th>お名前(フリガナ)</th>
94                <th>TEL</th>
95                <th>決定</th>
96            </tr>
97            <!--{section name=cnt loop=$arrCustomer}-->
98            <!--▼会員<!--{$smarty.section.cnt.iteration}-->-->
99            <tr>
100                <td>
101                <!--{$arrCustomer[cnt].customer_id|h}-->
102                </td>
103                <td><!--{$arrCustomer[cnt].name01|h}--><!--{$arrCustomer[cnt].name02|h}-->(<!--{$arrCustomer[cnt].kana01|h}--><!--{$arrCustomer[cnt].kana02|h}-->)</td>
104                <td><!--{$arrCustomer[cnt].tel01|h}-->-<!--{$arrCustomer[cnt].tel02|h}-->-<!--{$arrCustomer[cnt].tel03|h}--></td>
105                <td align="center"><a href="" onclick="return func_submit(<!--{$arrCustomer[cnt].customer_id|h}-->)">決定</a></td>
106            </tr>
107            <!--▲会員<!--{$smarty.section.cnt.iteration}-->-->
108            <!--{sectionelse}-->
109            <tr>
110                <td colspan="4">会員情報が存在しません。</td>
111            </tr>
112            <!--{/section}-->
113        </table>
114
115        <!--▲検索結果表示-->
116    <!--{/if}-->
117</form>
118<!--{include file="`$smarty.const.TEMPLATE_ADMIN_REALDIR`admin_popup_footer.tpl"}-->
Note: See TracBrowser for help on using the repository browser.