source: branches/version-2_12-multilang/data/Smarty/templates/admin/customer/search_customer.tpl @ 22171

Revision 22171, 4.9 KB checked in by m_uehara, 8 years ago (diff)

#1991 Syntax Error を修正しました。

  • 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-2012 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<!--{include file="`$smarty.const.TEMPLATE_ADMIN_REALDIR`admin_popup_header.tpl"}-->
26<script type="text/javascript">
27<!--
28self.moveTo(20,20);self.focus();
29
30function func_submit(customer_id){
31    var fm = window.opener.document.form1;
32    fm.edit_customer_id.value = customer_id;
33    fm.mode.value = 'search_customer';
34    fm.submit();
35    window.close();
36    return false;
37}
38//-->
39</script>
40
41<!--▼検索フォーム-->
42<form name="form1" id="form1" method="post" action="?">
43<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
44<input name="mode" type="hidden" value="search">
45<input name="search_pageno" type="hidden" value="">
46<input name="customer_id" type="hidden" value="">
47
48<table class="form">
49    <col width="20%" />
50    <col width="80%" />
51    <tr>
52        <th class="colmun"><!--{t string="tpl_207"}--></th>
53        <td width="287" colspan="2">
54            <!--{assign var=key value="search_customer_id"}-->
55            <!--{if $arrErr[$key]}--><span class="attention"><!--{$arrErr[$key]}--></span><br /><!--{/if}-->
56            <input type="text" name="<!--{$key}-->" maxlength="<!--{$arrForm[$key].length}-->" value="<!--{$arrForm[$key].value|h}-->" size="30" class="box30" <!--{if $arrErr[$key]}--><!--{sfSetErrorStyle}--><!--{/if}--> />
57        </td>
58    </tr>
59    <tr>
60        <th class="colmun"><!--{t string="tpl_208"}--></th>
61        <td>
62            <!--{assign var=key value="search_name"}-->
63            <!--{if $arrErr[$key]}--><span class="attention"><!--{$arrErr[$key]}--></span><br /><!--{/if}-->
64            <input type="text" name="<!--{$key}-->" maxlength="<!--{$arrForm[$key].length}-->" value="<!--{$arrForm[$key].value|h}-->" size="30" class="box30" <!--{if $arrErr[$key]}--><!--{sfSetErrorStyle}--><!--{/if}--> />
65        </td>
66    </tr>
67    <tr class="n">
68        <th class="colmun"><!--{t string="tpl_210"}--></th>
69        <td>
70        <!--{assign var=key value="search_kana"}-->
71        <!--{if $arrErr[$key]}--><span class="attention"><!--{$arrErr[$key]}--></span><br /><!--{/if}-->
72        <input type="text" name="<!--{$key}-->" maxlength="<!--{$arrForm[$key].length}-->" value="<!--{$arrForm[$key].value|h}-->" size="30" class="box30" <!--{if $arrErr[$key]}--><!--{sfSetErrorStyle}--><!--{/if}--> />
73        </td>
74    </tr>
75</table>
76
77<div class="btn-area">
78    <ul>
79        <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'search', '', ''); return false;" name="subm"><span class="btn-next"><!--{t string="tpl_193"}--></span></a></li>
80    </ul>
81</div>
82
83<p>
84<!--{if $smarty.post.mode == 'search'}-->
85    <!--▼検索結果表示-->
86        <!--{if $tpl_linemax > 0}-->
87        <p><!--{t string="tpl_194" T_FIELD=$tpl_linemax}--><!--{$tpl_strnavi}--></p>
88        <!--{/if}-->
89
90    <!--▼検索後表示部分-->
91    <table class="list">
92        <tr>
93            <th><!--{t string="tpl_207"}--></th>
94            <th><!--{t string="tpl_210"}--></th>
95            <th><!--{t string="tpl_037"}--></th>
96            <th><!--{t string="tpl_196"}--></th>
97        </tr>
98        <!--{section name=cnt loop=$arrCustomer}-->
99        <!--▼会員<!--{$smarty.section.cnt.iteration}-->-->
100        <tr>
101            <td>
102            <!--{$arrCustomer[cnt].customer_id|h}-->
103            </td>
104            <td><!--{$arrCustomer[cnt].name01|h}--><!--{$arrCustomer[cnt].name02|h}-->(<!--{$arrCustomer[cnt].kana01|h}--><!--{$arrCustomer[cnt].kana02|h}-->)</td>
105            <td><!--{$arrCustomer[cnt].tel01|h}-->-<!--{$arrCustomer[cnt].tel02|h}-->-<!--{$arrCustomer[cnt].tel03|h}--></td>
106            <td align="center"><a href="" onClick="return func_submit(<!--{$arrCustomer[cnt].customer_id|h}-->)"><!--{t string="tpl_196"}--></a></td>
107        </tr>
108        <!--▲会員<!--{$smarty.section.cnt.iteration}-->-->
109        <!--{sectionelse}-->
110        <tr>
111            <td colspan="4"><!--{t string="tpl_262"}--></td>
112        </tr>
113        <!--{/section}-->
114    </table>
115
116    <!--▲検索結果表示-->
117<!--{/if}-->
118</form>
119<!--{include file="`$smarty.const.TEMPLATE_ADMIN_REALDIR`admin_popup_footer.tpl"}-->
Note: See TracBrowser for help on using the repository browser.