source: branches/feature-module-update/data/Smarty/templates/admin/contents/recomend_search.tpl @ 15078

Revision 15078, 4.5 KB checked in by nanasess, 17 years ago (diff)

r15064 から svn cp
とりあえず暫定コミット.

  • UTF-8 に変更
  • slib.php, glib.php のクラス化
  • LC_Page の抽象化(一部)
Line 
1<!--{*
2/*
3 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
4 *
5 * http://www.lockon.co.jp/
6 */
7*}-->
8<!-- -->
9<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
10<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
11
12<head>
13<meta http-equiv="content-type" content="application/xhtml+xml; charset=<!--{$smarty.const.CHAR_CODE}-->" />
14<meta http-equiv="content-script-type" content="text/javascript" />
15<meta http-equiv="content-style-type" content="text/css" />
16<script type="text/javascript" src="<!--{$smarty.const.URL_DIR}-->js/css.js"></script>
17<script type="text/javascript" src="<!--{$smarty.const.URL_DIR}-->js/navi.js"></script>
18<script type="text/javascript" src="<!--{$smarty.const.URL_DIR}-->js/win_op.js"></script>
19<script type="text/javascript" src="<!--{$smarty.const.URL_DIR}-->js/site.js"></script>
20<script type="text/javascript" src="<!--{$smarty.const.URL_DIR}-->js/admin.js"></script>
21<script type="text/javascript" src="<!--{$smarty.const.URL_DIR}-->js/css.js"></script>
22<script type="text/javascript">
23<!--
24self.moveTo(20,20);self.focus();
25
26function func_submit( id ){
27    var fm = window.opener.document.form<!--{$smarty.get.rank}-->;
28    fm.product_id.value = id;
29    fm.mode.value = 'set_item';
30    fm.rank.value = '<!--{$smarty.get.rank}-->';
31    fm.submit();
32    window.close();
33    return false;
34}
35//-->
36</script>
37<title>ECサイト管理者ページ</title>
38</head>
39
40
41<body bgcolor="#ffffff" text="#666666" link="#007bb7" vlink="#007bb7" alink="#cc0000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
42<noscript>
43<link rel="stylesheet" href="<!--{$smarty.const.URL_ADMIN_CSS}-->common.css" type="text/css" />
44</noscript>
45
46<!--▼CONTENTS-->
47<div align="center">
48 
49<!--▼検索フォーム-->
50<form name="form1" id="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|escape}-->">
51<input name="mode" type="hidden" value="search">
52<input name="search_pageno" type="hidden" value="">
53<table bgcolor="#cccccc" width="420" border="0" cellspacing="1" cellpadding="5" summary=" ">
54    <tr class="fs12n">
55        <td bgcolor="#f0f0f0" width="100">カテゴリ</td>
56        <td bgcolor="#ffffff" width="287"><select name="search_category_id">
57        <option value="" selected="selected">選択してください</option>
58        <!--{html_options options=$arrCatList selected=$arrForm.search_category_id}-->
59        </select>
60        </td>
61    </tr>
62    <tr class="fs12n">
63        <td bgcolor="#f0f0f0">商品名</td>
64        <td bgcolor="#ffffff"><input type="text" name="search_name" value="<!--{$arrForm.search_name}-->" size="35" class="box35" /></td>
65    </tr>
66</table>
67<br />
68<input type="submit" name="subm" value="検索を開始" />
69<br />
70<br />
71
72    <!--▼検索結果表示-->
73    <!--{if $tpl_linemax}-->
74    <table width="420" border="0" cellspacing="0" cellpadding="0" summary=" " bgcolor="#FFFFFF">
75        <tr class="fs12">
76            <td align="left"><!--{$tpl_linemax}-->件が該当しました。 </td>
77        </tr>
78        <tr class="fs12">
79            <td align="center">
80            <!--▼ページナビ-->
81            <!--{$tpl_strnavi}-->
82            <!--▲ページナビ-->
83            </td>
84        </tr>
85        <tr><td height="10"></td></tr>
86    </table>
87       
88    <!--▼検索後表示部分-->
89    <table width="420" border="0" cellspacing="1" cellpadding="5" bgcolor="#cccccc">
90        <tr bgcolor="#f0f0f0" align="center" class="fs12">
91            <td>商品画像</td>
92            <td>商品番号</td>
93            <td>商品名</td>
94            <td>決定</td>
95        </tr>
96        <!--{section name=cnt loop=$arrProducts}-->
97        <!--▼商品<!--{$smarty.section.cnt.iteration}-->-->
98        <tr bgcolor="#FFFFFF" class="fs12n">
99            <td width="90" align="center">
100            <!--{if $arrProducts[cnt].main_list_image != ""}-->
101                <!--{assign var=image_path value="`$arrProducts[cnt].main_list_image`"}-->
102            <!--{else}-->
103                <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}-->
104            <!--{/if}-->
105            <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path}-->&width=65&height=65" alt="">
106            </td>
107            <td><!--{$arrProducts[cnt].product_code|escape|default:"-"}--></td>
108            <td><!--{$arrProducts[cnt].name|escape}--></td>
109            <td align="center"><a href="" onClick="return func_submit(<!--{$arrProducts[cnt].product_id}-->)">決定</a></td>
110        </tr>
111        <!--▲商品<!--{$smarty.section.cnt.iteration}-->-->
112        <!--{sectionelse}-->
113        <tr bgcolor="#FFFFFF" class="fs10n">
114            <td colspan="4">商品が登録されていません</td>
115        </tr>   
116        <!--{/section}-->
117    </table>
118    <!--{/if}-->
119    <!--▲検索結果表示-->
120
121</form>
122
123</div>
124<!--▲CONTENTS-->
125</body>
126</html>
Note: See TracBrowser for help on using the repository browser.