source: branches/comu/data/Smarty/templates_c/admin/%%2F^2F8^2F860D04%%recomend_search.tpl.php @ 2

Revision 2, 7.2 KB checked in by root, 17 years ago (diff)

new import

Line 
1<?php /* Smarty version 2.6.13, created on 2007-01-19 12:53:29
2         compiled from contents/recomend_search.tpl */ ?>
3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
4smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'contents/recomend_search.tpl', 50, false),array('modifier', 'default', 'contents/recomend_search.tpl', 107, false),array('function', 'html_options', 'contents/recomend_search.tpl', 58, false),)), $this); ?>
5<!--¡¡-->
6<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
7<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
8
9<head>
10<meta http-equiv="content-type" content="application/xhtml+xml; charset=<?php echo @CHAR_CODE; ?>
11" />
12<meta http-equiv="content-script-type" content="text/javascript" />
13<meta http-equiv="content-style-type" content="text/css" />
14<script type="text/javascript" src="<?php echo @URL_DIR; ?>
15js/css.js"></script>
16<script type="text/javascript" src="<?php echo @URL_DIR; ?>
17js/navi.js"></script>
18<script type="text/javascript" src="<?php echo @URL_DIR; ?>
19js/win_op.js"></script>
20<script type="text/javascript" src="<?php echo @URL_DIR; ?>
21js/site.js"></script>
22<script type="text/javascript" src="<?php echo @URL_DIR; ?>
23js/admin.js"></script>
24<script type="text/javascript" src="<?php echo @URL_DIR; ?>
25js/css.js"></script>
26<script type="text/javascript">
27<!--
28self.moveTo(20,20);self.focus();
29
30function func_submit( id ){
31    var fm = window.opener.document.form<?php echo $_GET['rank']; ?>
32;
33    fm.product_id.value = id;
34    fm.mode.value = 'set_item';
35    fm.rank.value = '<?php echo $_GET['rank']; ?>
36';
37    fm.submit();
38    window.close();
39    return false;
40}
41//-->
42</script>
43<title>EC¥µ¥¤¥È´ÉÍý¼Ô¥Ú¡¼¥¸</title>
44</head>
45
46
47<body bgcolor="#ffffff" text="#666666" link="#007bb7" vlink="#007bb7" alink="#cc0000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
48<noscript>
49<link rel="stylesheet" href="<?php echo @URL_ADMIN_CSS; ?>
50common.css" type="text/css" />
51</noscript>
52
53<!--¢§CONTENTS-->
54<div align="center">
55¡¡
56<!--¢§¸¡º÷¥Õ¥©¡¼¥à-->
57<form name="form1" id="form1" method="post" action="<?php echo ((is_array($_tmp=$_SERVER['REQUEST_URI'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
58">
59<input name="mode" type="hidden" value="search">
60<input name="search_pageno" type="hidden" value="">
61<table bgcolor="#cccccc" width="420" border="0" cellspacing="1" cellpadding="5" summary=" ">
62    <tr class="fs12n">
63        <td bgcolor="#f0f0f0" width="100">¥«¥Æ¥´¥ê</td>
64        <td bgcolor="#ffffff" width="287"><select name="search_category_id">
65        <option value="" selected="selected">ÁªÂò¤·¤Æ¤¯¤À¤µ¤¤</option>
66        <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['arrCatList'],'selected' => $this->_tpl_vars['arrForm']['search_category_id']), $this);?>
67
68        </select>
69        </td>
70    </tr>
71    <tr class="fs12n">
72        <td bgcolor="#f0f0f0">¾¦ÉÊ̾</td>
73        <td bgcolor="#ffffff"><input type="text" name="search_name" value="<?php echo $this->_tpl_vars['arrForm']['search_name']; ?>
74" size="35" class="box35" /></td>
75    </tr>
76</table>
77<br />
78<input type="submit" name="subm" value="¸¡º÷¤ò³«»Ï" />
79<br />
80<br />
81
82    <!--¢§¸¡º÷·ë²Ìɽ¼¨-->
83    <?php if ($this->_tpl_vars['tpl_linemax']): ?>
84    <table width="420" border="0" cellspacing="0" cellpadding="0" summary=" " bgcolor="#FFFFFF">
85        <tr class="fs12">
86            <td align="left"><?php echo $this->_tpl_vars['tpl_linemax']; ?>
87·ï¤¬³ºÅö¤·¤Þ¤·¤¿¡£  </td>
88        </tr>
89        <tr class="fs12">
90            <td align="center">
91            <!--¢§¥Ú¡¼¥¸¥Ê¥Ó-->
92            <?php echo $this->_tpl_vars['tpl_strnavi']; ?>
93
94            <!--¢¥¥Ú¡¼¥¸¥Ê¥Ó-->
95            </td>
96        </tr>
97        <tr><td height="10"></td></tr>
98    </table>
99       
100    <!--¢§¸¡º÷¸åɽ¼¨Éôʬ-->
101    <table width="420" border="0" cellspacing="1" cellpadding="5" bgcolor="#cccccc">
102        <tr bgcolor="#f0f0f0" align="center" class="fs12">
103            <td>¾¦ÉʲèÁü</td>
104            <td>¾¦ÉÊÈÖ¹æ</td>
105            <td>¾¦ÉÊ̾</td>
106            <td>·èÄê</td>
107        </tr>
108        <?php unset($this->_sections['cnt']);
109$this->_sections['cnt']['name'] = 'cnt';
110$this->_sections['cnt']['loop'] = is_array($_loop=$this->_tpl_vars['arrProducts']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
111$this->_sections['cnt']['show'] = true;
112$this->_sections['cnt']['max'] = $this->_sections['cnt']['loop'];
113$this->_sections['cnt']['step'] = 1;
114$this->_sections['cnt']['start'] = $this->_sections['cnt']['step'] > 0 ? 0 : $this->_sections['cnt']['loop']-1;
115if ($this->_sections['cnt']['show']) {
116    $this->_sections['cnt']['total'] = $this->_sections['cnt']['loop'];
117    if ($this->_sections['cnt']['total'] == 0)
118        $this->_sections['cnt']['show'] = false;
119} else
120    $this->_sections['cnt']['total'] = 0;
121if ($this->_sections['cnt']['show']):
122
123            for ($this->_sections['cnt']['index'] = $this->_sections['cnt']['start'], $this->_sections['cnt']['iteration'] = 1;
124                 $this->_sections['cnt']['iteration'] <= $this->_sections['cnt']['total'];
125                 $this->_sections['cnt']['index'] += $this->_sections['cnt']['step'], $this->_sections['cnt']['iteration']++):
126$this->_sections['cnt']['rownum'] = $this->_sections['cnt']['iteration'];
127$this->_sections['cnt']['index_prev'] = $this->_sections['cnt']['index'] - $this->_sections['cnt']['step'];
128$this->_sections['cnt']['index_next'] = $this->_sections['cnt']['index'] + $this->_sections['cnt']['step'];
129$this->_sections['cnt']['first']      = ($this->_sections['cnt']['iteration'] == 1);
130$this->_sections['cnt']['last']       = ($this->_sections['cnt']['iteration'] == $this->_sections['cnt']['total']);
131?>
132        <!--¢§¾¦ÉÊ<?php echo $this->_sections['cnt']['iteration']; ?>
133-->
134        <tr bgcolor="#FFFFFF" class="fs12n">
135            <td width="90" align="center">
136            <?php if ($this->_tpl_vars['arrProducts'][$this->_sections['cnt']['index']]['main_list_image'] != ""): ?>
137                <?php $this->assign('image_path', (@IMAGE_SAVE_DIR)."/".($this->_tpl_vars['arrProducts'][$this->_sections['cnt']['index']]['main_list_image'])); ?>
138            <?php else: ?>
139                <?php $this->assign('image_path', (@NO_IMAGE_DIR)); ?>
140            <?php endif; ?>
141            <img src="<?php echo @SITE_URL; ?>
142resize_image.php?image=<?php echo $this->_tpl_vars['image_path']; ?>
143&width=65&height=65" alt="">
144            </td>
145            <td><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arrProducts'][$this->_sections['cnt']['index']]['product_code'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('default', true, $_tmp, "-") : smarty_modifier_default($_tmp, "-")); ?>
146</td>
147            <td><?php echo ((is_array($_tmp=$this->_tpl_vars['arrProducts'][$this->_sections['cnt']['index']]['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
148</td>
149            <td align="center"><a href="" onClick="return func_submit(<?php echo $this->_tpl_vars['arrProducts'][$this->_sections['cnt']['index']]['product_id']; ?>
150)">·èÄê</a></td>
151        </tr>
152        <!--¢¥¾¦ÉÊ<?php echo $this->_sections['cnt']['iteration']; ?>
153-->
154        <?php endfor; else: ?>
155        <tr bgcolor="#FFFFFF" class="fs10n">
156            <td colspan="4">¾¦Éʤ¬ÅÐÏ¿¤µ¤ì¤Æ¤¤¤Þ¤»¤ó</td>
157        </tr>   
158        <?php endif; ?>
159    </table>
160    <?php endif; ?>
161    <!--¢¥¸¡º÷·ë²Ìɽ¼¨-->
162
163</form>
164
165</div>
166<!--¢¥CONTENTS-->
167</body>
168</html>
Note: See TracBrowser for help on using the repository browser.