1 | <!--{* |
---|
2 | /* |
---|
3 | * This file is part of EC-CUBE |
---|
4 | * |
---|
5 | * Copyright(c) 2000-2008 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_DIR`admin_popup_header.tpl" subtitle="ECサイト管理者ページ"}--> |
---|
25 | |
---|
26 | <form name="form1" id="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|escape}-->"> |
---|
27 | <input name="mode" type="hidden" value="search" /> |
---|
28 | <input name="anchor_key" type="hidden" value="" /> |
---|
29 | <input name="search_pageno" type="hidden" value="" /> |
---|
30 | <input type="hidden" name="product_id" value="" /> |
---|
31 | |
---|
32 | <!--{if $tpl_create_tag != ""}--> |
---|
33 | <h2>生成タグ</h2> |
---|
34 | <textarea name="" cols="45" rows="18" class="area40" readonly><!--{$tpl_create_tag}--></textarea> |
---|
35 | <div class="btn"><button type="button" onClick="history.back()"><span>検索結果へ戻る</span></button></div> |
---|
36 | |
---|
37 | <!--{* タグ表示の時以下を表示しない *}--> |
---|
38 | <!--{else}--> |
---|
39 | <table class="form"> |
---|
40 | <tr> |
---|
41 | <th>カテゴリ</th> |
---|
42 | <td> |
---|
43 | <select name="search_category_id"> |
---|
44 | <option value="" selected="selected">選択してください</option> |
---|
45 | <!--{html_options options=$arrCatList selected=$arrForm.search_category_id}--> |
---|
46 | </select> |
---|
47 | </td> |
---|
48 | </tr> |
---|
49 | <tr> |
---|
50 | <th>商品ID</th> |
---|
51 | <td><input type="text" name="search_product_id" value="<!--{$arrForm.search_product_id}-->" size="35" class="box35" /></td> |
---|
52 | </tr> |
---|
53 | <tr> |
---|
54 | <th>商品名</th> |
---|
55 | <td><input type="text" name="search_name" value="<!--{$arrForm.search_name}-->" size="35" class="box35" /></td> |
---|
56 | </tr> |
---|
57 | </table> |
---|
58 | <div class="btn"><button type="submit"><span>検索を開始</span></button></div> |
---|
59 | |
---|
60 | <!--{* ▼検索結果表示 *}--> |
---|
61 | <!--{if $tpl_linemax}--> |
---|
62 | <p><!--{$tpl_linemax}-->件が該当しました。</p> |
---|
63 | <!--{$tpl_strnavi}--> |
---|
64 | |
---|
65 | <table class="list"> |
---|
66 | <tr> |
---|
67 | <th>商品画像</th> |
---|
68 | <th>商品ID</th> |
---|
69 | <th>商品名</th> |
---|
70 | <th>決定</th> |
---|
71 | </tr> |
---|
72 | <!--{section name=cnt loop=$arrProducts}--> |
---|
73 | <!--▼商品<!--{$smarty.section.cnt.iteration}-->--> |
---|
74 | <tr> |
---|
75 | <td class="center"> |
---|
76 | <!--{if $arrProducts[cnt].main_list_image != ""}--> |
---|
77 | <!--{assign var=image_path value="`$arrProducts[cnt].main_list_image`"}--> |
---|
78 | <!--{else}--> |
---|
79 | <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--> |
---|
80 | <!--{/if}--> |
---|
81 | <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path}-->&width=65&height=65" alt="<!--{$arrRecommend[$recommend_no].name|escape}-->" /> |
---|
82 | </td> |
---|
83 | <td><!--{$arrProducts[cnt].product_code|escape|default:"-"}--></td> |
---|
84 | <td><!--{$arrProducts[cnt].name|escape}--></td> |
---|
85 | <td class="center"><a href="#" onClick="fnFormModeSubmit('form1', 'view', 'product_id', '<!--{$arrProducts[cnt].product_id}-->'); return false;">決定</a></td> |
---|
86 | </tr> |
---|
87 | <!--▲商品<!--{$smarty.section.cnt.iteration}-->--> |
---|
88 | <!--{sectionelse}--> |
---|
89 | <tr> |
---|
90 | <td colspan="4">商品が登録されていません</td> |
---|
91 | </tr> |
---|
92 | <!--{/section}--> |
---|
93 | </table> |
---|
94 | <!--{/if}--> |
---|
95 | <!--{* ▲検索結果表示 *}--> |
---|
96 | |
---|
97 | <!--{/if}--> |
---|
98 | <!--{* タグ表示しないここまで *}--> |
---|
99 | |
---|
100 | </form> |
---|
101 | |
---|
102 | <!--{include file="`$smarty.const.TEMPLATE_ADMIN_DIR`admin_popup_footer.tpl"}--> |
---|