source: branches/version-2_4/data/Smarty/templates/default/admin/products/product_select.tpl @ 17952

Revision 17952, 5.3 KB checked in by kajiwara, 12 years ago (diff)

#292 分対応。product用関連商品検索、追加処理部分は2.4.0RC1での改修前のファイルに戻しました。

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/html; charset=UTF-8
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 XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
26<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
27
28<head>
29<meta http-equiv="content-type" content="application/xhtml+xml; charset=<!--{$smarty.const.CHAR_CODE}-->" />
30<meta http-equiv="content-script-type" content="text/javascript" />
31<meta http-equiv="content-style-type" content="text/css" />
32<link rel="stylesheet" href="<!--{$smarty.const.URL_ADMIN_CSS}-->common.css" type="text/css" media="all" />
33<script type="text/javascript" src="<!--{$TPL_DIR}-->js/css.js"></script>
34<script type="text/javascript" src="<!--{$TPL_DIR}-->js/navi.js"></script>
35<script type="text/javascript" src="<!--{$TPL_DIR}-->js/win_op.js"></script>
36<script type="text/javascript" src="<!--{$TPL_DIR}-->js/site.js"></script>
37<script type="text/javascript" src="<!--{$TPL_DIR}-->js/admin.js"></script>
38<script type="text/javascript">
39<!--
40self.moveTo(20,20);self.focus();
41
42function func_submit( id ){
43    var fm = window.opener.document.form1;
44    fm.recommend_id<!--{$smarty.get.no}-->.value = id;
45    fm.mode.value = 'recommend_select';
46    fm.anchor_key.value = 'recommend_no<!--{$smarty.get.no}-->';
47    fm.submit();
48    window.close();
49    return false;
50}
51//-->
52</script>
53<title>ECサイト管理者ページ</title>
54</head>
55
56
57<body bgcolor="#ffffff" text="#666666" link="#007bb7" vlink="#007bb7" alink="#cc0000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
58<noscript>
59<link rel="stylesheet" href="<!--{$smarty.const.URL_ADMIN_CSS}-->common.css" type="text/css" />
60</noscript>
61
62<!--▼CONTENTS-->
63<div align="center">
64 
65<!--▼検索フォーム-->
66<form name="form1" id="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|escape}-->">
67<input name="mode" type="hidden" value="search">
68<input name="anchor_key" type="hidden" value="">
69<input name="search_pageno" type="hidden" value="">
70<table bgcolor="#cccccc" width="420" border="0" cellspacing="1" cellpadding="5" summary=" ">
71    <tr class="fs12n">
72        <td bgcolor="#f0f0f0" width="100">カテゴリ</td>
73        <td bgcolor="#ffffff" width="287"><select name="search_category_id">
74        <option value="" selected="selected">選択してください</option>
75        <!--{html_options options=$arrCatList selected=$arrForm.search_category_id}-->
76        </select>
77        </td>
78    </tr>
79    <tr class="fs12n">
80        <td bgcolor="#f0f0f0">商品名</td>
81        <td bgcolor="#ffffff"><input type="text" name="search_name" value="<!--{$arrForm.search_name}-->" size="35" class="box35" /></td>
82    </tr>
83</table>
84<br />
85<input type="submit" name="subm" value="検索を開始" />
86<br />
87<br />
88
89    <!--▼検索結果表示-->
90    <!--{if $tpl_linemax}-->
91    <table width="420" border="0" cellspacing="0" cellpadding="0" summary=" " bgcolor="#FFFFFF">
92        <tr class="fs12">
93            <td align="left"><!--{$tpl_linemax}-->件が該当しました。 </td>
94        </tr>
95        <tr class="fs12">
96            <td align="center">
97            <!--▼ページナビ-->
98            <!--{$tpl_strnavi}-->
99            <!--▲ページナビ-->
100            </td>
101        </tr>
102        <tr><td height="10"></td></tr>
103    </table>
104       
105    <!--▼検索後表示部分-->
106    <table width="420" border="0" cellspacing="1" cellpadding="5" bgcolor="#cccccc">
107        <tr bgcolor="#f0f0f0" align="center" class="fs12">
108            <td>商品画像</td>
109            <td>商品番号</td>
110            <td>商品名</td>
111            <td>決定</td>
112        </tr>
113        <!--{section name=cnt loop=$arrProducts}-->
114        <!--▼商品<!--{$smarty.section.cnt.iteration}-->-->
115        <tr bgcolor="#FFFFFF" class="fs12n">
116            <td width="90" align="center">
117            <!--{if $arrProducts[cnt].main_list_image != ""}-->
118                <!--{assign var=image_path value="`$arrProducts[cnt].main_list_image`"}-->
119            <!--{else}-->
120                <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}-->
121            <!--{/if}-->
122            <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path}-->&width=65&height=65" alt="<!--{$arrRecommend[$recommend_no].name|escape}-->">
123            </td>   
124            <td><!--{$arrProducts[cnt].product_code|escape|default:"-"}--></td>
125            <td><!--{$arrProducts[cnt].name|escape}--></td>
126            <td align="center"><a href="" onClick="return func_submit(<!--{$arrProducts[cnt].product_id}-->)">決定</a></td>
127        </tr>
128        <!--▲商品<!--{$smarty.section.cnt.iteration}-->-->
129        <!--{sectionelse}-->
130        <tr bgcolor="#FFFFFF" class="fs10n">
131            <td colspan="4">商品が登録されていません</td>
132        </tr>   
133        <!--{/section}-->
134    </table>
135    <br />
136    <br />
137    <!--{/if}-->
138    <!--▲検索結果表示-->
139
140</form>
141
142</div>
143<!--▲CONTENTS-->
144</body>
145</html>
Note: See TracBrowser for help on using the repository browser.