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 | <script type="text/javascript"> |
---|
26 | // URLの表示非表示切り替え |
---|
27 | function lfnDispChange(){ |
---|
28 | inner_id = 'switch'; |
---|
29 | |
---|
30 | cnt = form1.item_cnt.value; |
---|
31 | |
---|
32 | if(document.getElementById('disp_url1').style.display == 'none'){ |
---|
33 | for (i = 1; i <= cnt; i++) { |
---|
34 | disp_id = 'disp_url'+i; |
---|
35 | document.getElementById(disp_id).style.display=""; |
---|
36 | |
---|
37 | disp_id = 'disp_cat'+i; |
---|
38 | document.getElementById(disp_id).style.display="none"; |
---|
39 | |
---|
40 | document.getElementById(inner_id).innerHTML = ' URL <a href="#" onClick="lfnDispChange();"> <FONT Color="#FFFF99"> >> カテゴリ表示</FONT></a>'; |
---|
41 | } |
---|
42 | }else{ |
---|
43 | for (i = 1; i <= cnt; i++) { |
---|
44 | disp_id = 'disp_url'+i; |
---|
45 | document.getElementById(disp_id).style.display="none"; |
---|
46 | |
---|
47 | disp_id = 'disp_cat'+i; |
---|
48 | document.getElementById(disp_id).style.display=""; |
---|
49 | |
---|
50 | document.getElementById(inner_id).innerHTML = ' カテゴリ <a href="#" onClick="lfnDispChange();"> <FONT Color="#FFFF99"> >> URL表示</FONT></a>'; |
---|
51 | } |
---|
52 | } |
---|
53 | |
---|
54 | } |
---|
55 | |
---|
56 | </script> |
---|
57 | |
---|
58 | <!--★★メインコンテンツ★★--> |
---|
59 | <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
60 | <form name="search_form" id="search_form" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->"> |
---|
61 | <input type="hidden" name="mode" value="search"> |
---|
62 | <!--{foreach key=key item=item from=$arrHidden}--> |
---|
63 | <!--{if $key == 'campaign_id' || $key == 'search_mode'}--> |
---|
64 | <input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->"> |
---|
65 | <!--{/if}--> |
---|
66 | <!--{/foreach}--> |
---|
67 | <tr valign="top"> |
---|
68 | <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402"> |
---|
69 | <!-- サブナビ --> |
---|
70 | <!--{include file=$tpl_subnavi}--> |
---|
71 | </td> |
---|
72 | <td class="mainbg"> |
---|
73 | <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
74 | <!--メインエリア--> |
---|
75 | <tr> |
---|
76 | <td align="center"> |
---|
77 | <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
78 | <tr><td height="14"></td></tr> |
---|
79 | <tr> |
---|
80 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td> |
---|
81 | </tr> |
---|
82 | <tr> |
---|
83 | <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> |
---|
84 | <td bgcolor="#cccccc"> |
---|
85 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
86 | <tr> |
---|
87 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td> |
---|
88 | </tr> |
---|
89 | <tr> |
---|
90 | <td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td> |
---|
91 | <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->検索条件設定</span></td> |
---|
92 | <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td> |
---|
93 | </tr> |
---|
94 | <tr> |
---|
95 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td> |
---|
96 | </tr> |
---|
97 | <tr> |
---|
98 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td> |
---|
99 | </tr> |
---|
100 | </table> |
---|
101 | <!--検索条件設定テーブルここから--> |
---|
102 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> |
---|
103 | <tr class="fs12"> |
---|
104 | <td bgcolor="#f2f1ec" width="110">商品ID</td> |
---|
105 | <td bgcolor="#ffffff" width="194"><span class="red"><!--{$arrErr.search_product_id}--></span><input type="text" name="search_product_id" value="<!--{$arrForm.search_product_id|escape}-->" size="30" class="box30" style="<!--{$arrErr.search_product_id|sfGetErrorColor}-->"/></td> |
---|
106 | <td bgcolor="#f2f1ec" width="110">規格名称</td> |
---|
107 | <td bgcolor="#ffffff" width="195"><span class="red"><!--{$arrErr.search_product_class_name}--></span><input type="text" name="search_product_class_name" value="<!--{$arrForm.search_product_class_name|escape}-->" size="30" class="box30"style="<!--{$arrErr.search_product_class_name|sfGetErrorColor}-->" /></td> |
---|
108 | </tr> |
---|
109 | <tr class="fs12"> |
---|
110 | <td bgcolor="#f2f1ec" width="110">商品コード</td> |
---|
111 | <td bgcolor="#ffffff" width="194"><input type="text" name="search_product_code" value="<!--{$arrForm.search_product_code|escape}-->" size="30" class="box30" /></td> |
---|
112 | <td bgcolor="#f2f1ec" width="110">商品名</td> |
---|
113 | <td bgcolor="#ffffff" width="195"><input type="text" name="search_name" value="<!--{$arrForm.search_name|escape}-->" size="30" class="box30" /></td> |
---|
114 | </tr> |
---|
115 | <tr class="fs12"> |
---|
116 | <td bgcolor="#f2f1ec" width="110">カテゴリ</td> |
---|
117 | <td bgcolor="#ffffff" width="194"> |
---|
118 | <select name="search_category_id" style="<!--{if $arrErr.search_category_id != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"> |
---|
119 | <option value="">選択してください</option> |
---|
120 | <!--{html_options options=$arrCatList selected=$arrForm.search_category_id}--> |
---|
121 | </select> |
---|
122 | </td> |
---|
123 | <td bgcolor="#f2f1ec" width="110">種別</td> |
---|
124 | <td bgcolor="#ffffff" width="195"> |
---|
125 | <!--{html_checkboxes name="search_status" options=$arrDISP selected=$arrForm.search_status}--> |
---|
126 | </td> |
---|
127 | </tr class="fs12"> |
---|
128 | <tr class="fs12n"> |
---|
129 | <td bgcolor="#f2f1ec" width="110">登録・更新日</td> |
---|
130 | <td bgcolor="#ffffff" width="499" colspan=3> |
---|
131 | <span class="red"><!--{$arrErr.search_startyear}--></span> |
---|
132 | <span class="red"><!--{$arrErr.search_endyear}--></span> |
---|
133 | <select name="search_startyear" style="<!--{$arrErr.search_startyear|sfGetErrorColor}-->"> |
---|
134 | <option value="">----</option> |
---|
135 | <!--{html_options options=$arrStartYear selected=$arrForm.search_startyear}--> |
---|
136 | </select>年 |
---|
137 | <select name="search_startmonth" style="<!--{$arrErr.search_startyear|sfGetErrorColor}-->"> |
---|
138 | <option value="">--</option> |
---|
139 | <!--{html_options options=$arrStartMonth selected=$arrForm.search_startmonth}--> |
---|
140 | </select>月 |
---|
141 | <select name="search_startday" style="<!--{$arrErr.search_startyear|sfGetErrorColor}-->"> |
---|
142 | <option value="">--</option> |
---|
143 | <!--{html_options options=$arrStartDay selected=$arrForm.search_startday}--> |
---|
144 | </select>日〜 |
---|
145 | <select name="search_endyear" style="<!--{$arrErr.search_endyear|sfGetErrorColor}-->"> |
---|
146 | <option value="">----</option> |
---|
147 | <!--{html_options options=$arrEndYear selected=$arrForm.search_endyear}--> |
---|
148 | </select>年 |
---|
149 | <select name="search_endmonth" style="<!--{$arrErr.search_endyear|sfGetErrorColor}-->"> |
---|
150 | <option value="">--</option> |
---|
151 | <!--{html_options options=$arrEndMonth selected=$arrForm.search_endmonth}--> |
---|
152 | </select>月 |
---|
153 | <select name="search_endday" style="<!--{$arrErr.search_endyear|sfGetErrorColor}-->"> |
---|
154 | <option value="">--</option> |
---|
155 | <!--{html_options options=$arrEndDay selected=$arrForm.search_endday}--> |
---|
156 | </select>日 |
---|
157 | </td> |
---|
158 | </tr> |
---|
159 | <tr class="fs12n"> |
---|
160 | <td bgcolor="#f2f1ec" width="110">ステータス</td> |
---|
161 | <td bgcolor="#ffffff" width="499" colspan="3"> |
---|
162 | <!--{html_checkboxes name="search_product_flag" options=$arrSTATUS selected=$arrForm.search_product_flag}--> |
---|
163 | </td> |
---|
164 | </tr> |
---|
165 | |
---|
166 | </table> |
---|
167 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
168 | <tr> |
---|
169 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
170 | <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td> |
---|
171 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
172 | </tr> |
---|
173 | <tr> |
---|
174 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> |
---|
175 | <td bgcolor="#e9e7de" align="center"> |
---|
176 | <table border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
177 | <tr> |
---|
178 | <td class="fs12n">検索結果表示件数 |
---|
179 | <!--{assign var=key value="search_page_max"}--> |
---|
180 | <span class="red12"><!--{$arrErr[$key]}--></span> |
---|
181 | <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"> |
---|
182 | <!--{html_options options=$arrPageMax selected=$arrForm.search_page_max}--> |
---|
183 | </select> 件 |
---|
184 | </td> |
---|
185 | <td><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="10" height="1" alt=""></td> |
---|
186 | <td><input type="image" name="subm" onMouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_search_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_search.jpg',this)" src="<!--{$TPL_DIR}-->img/contents/btn_search.jpg" width="123" height="24" alt="この条件で検索する" border="0"></td> |
---|
187 | </tr> |
---|
188 | </table> |
---|
189 | </td> |
---|
190 | <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td> |
---|
191 | </tr> |
---|
192 | <tr> |
---|
193 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td> |
---|
194 | </tr> |
---|
195 | </table> |
---|
196 | <!--検索条件設定テーブルここまで--> |
---|
197 | </td> |
---|
198 | <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> |
---|
199 | </tr> |
---|
200 | <tr> |
---|
201 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td> |
---|
202 | </tr> |
---|
203 | <tr><td height="30"></td></tr> |
---|
204 | </table> |
---|
205 | </td> |
---|
206 | </tr> |
---|
207 | <!--メインエリア--> |
---|
208 | </table> |
---|
209 | </td> |
---|
210 | </tr> |
---|
211 | </form> |
---|
212 | </table> |
---|
213 | <!--★★メインコンテンツ★★--> |
---|
214 | |
---|
215 | <!--{if count($arrErr) == 0 and ($smarty.post.mode == 'search' or $smarty.post.mode == 'delete')}--> |
---|
216 | |
---|
217 | <!--★★検索結果一覧★★--> |
---|
218 | <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
219 | <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->"> |
---|
220 | <input type="hidden" name="mode" value="search"> |
---|
221 | <input type="hidden" name="product_id" value=""> |
---|
222 | <input type="hidden" name="category_id" value=""> |
---|
223 | <!--{foreach key=key item=item from=$arrHidden}--> |
---|
224 | <input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->"> |
---|
225 | <!--{/foreach}--> |
---|
226 | <tr><td colspan="2"><img src="<!--{$TPL_DIR}-->img/contents/search_line.jpg" width="878" height="12" alt=""></td></tr> |
---|
227 | <tr bgcolor="cbcbcb"> |
---|
228 | <td> |
---|
229 | <table border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
230 | <tr> |
---|
231 | <td><img src="<!--{$TPL_DIR}-->img/contents/search_left.gif" width="19" height="22" alt=""></td> |
---|
232 | <td> |
---|
233 | <!--検索結果--> |
---|
234 | <table border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
235 | <tr> |
---|
236 | <td><img src="<!--{$TPL_DIR}-->img/contents/reselt_left_top.gif" width="22" height="5" alt=""></td> |
---|
237 | <td background="<!--{$TPL_DIR}-->img/contents/reselt_top_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
238 | <td><img src="<!--{$TPL_DIR}-->img/contents/reselt_right_top.gif" width="22" height="5" alt=""></td> |
---|
239 | </tr> |
---|
240 | <tr> |
---|
241 | <td background="<!--{$TPL_DIR}-->img/contents/reselt_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/reselt_left_middle.gif" width="22" height="12" alt=""></td> |
---|
242 | <td bgcolor="#393a48" class="white10">検索結果一覧 <span class="reselt"><!--検索結果数--><!--{$tpl_linemax}-->件</span> が該当しました。</td> |
---|
243 | <td background="<!--{$TPL_DIR}-->img/contents/reselt_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="22" height="8" alt=""></td> |
---|
244 | </tr> |
---|
245 | <tr> |
---|
246 | <td><img src="<!--{$TPL_DIR}-->img/contents/reselt_left_bottom.gif" width="22" height="5" alt=""></td> |
---|
247 | <td background="<!--{$TPL_DIR}-->img/contents/reselt_bottom_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td> |
---|
248 | <td><img src="<!--{$TPL_DIR}-->img/contents/reselt_right_bottom.gif" width="22" height="5" alt=""></td> |
---|
249 | </tr> |
---|
250 | </table> |
---|
251 | <!--検索結果--> |
---|
252 | <!--{if $smarty.const.ADMIN_MODE == '1'}--> |
---|
253 | <input type="button" name="subm" value="検索結果をすべて削除" onclick="fnModeSubmit('delete_all','','');" /> |
---|
254 | <!--{/if}--> |
---|
255 | </td> |
---|
256 | <td><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="8" height="1" alt=""></td> |
---|
257 | <td><a href="#" onmouseover="chgImg('<!--{$TPL_DIR}-->img/contents/btn_csv_on.jpg','btn_csv');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/contents/btn_csv.jpg','btn_csv');" onclick="fnModeSubmit('csv','','');" ><img src="<!--{$TPL_DIR}-->img/contents/btn_csv.jpg" width="99" height="22" alt="CSV DOWNLOAD" border="0" name="btn_csv" id="btn_csv"></a></td> |
---|
258 | <td><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="8" height="1" alt=""></td> |
---|
259 | <td><a href="../contents/csv.php?tpl_subno_csv=product"><span class="fs12n"> >> CSV出力項目設定 </span></a></td> |
---|
260 | </tr> |
---|
261 | </table> |
---|
262 | </td> |
---|
263 | <td align="right"> |
---|
264 | <!--{include file=$tpl_pager}--> |
---|
265 | </td> |
---|
266 | </tr> |
---|
267 | <tr><td bgcolor="cbcbcb" colspan="2"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td></tr> |
---|
268 | </table> |
---|
269 | |
---|
270 | <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
271 | <tr> |
---|
272 | <td bgcolor="#f0f0f0" align="center"> |
---|
273 | |
---|
274 | <!--{if count($arrProducts) > 0}--> |
---|
275 | <table width="840" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
276 | <tr><td height="12"></td></tr> |
---|
277 | <tr> |
---|
278 | <td bgcolor="#cccccc"> |
---|
279 | |
---|
280 | <!--検索結果表示テーブル--> |
---|
281 | <table width="840" border="0" cellspacing="1" cellpadding="5" summary=" "> |
---|
282 | <tr bgcolor="#636469" align="center" class="fs12n"> |
---|
283 | <td width="50" rowspan="2"><span class="white">商品ID</span></td> |
---|
284 | <td width="90" rowspan="2"><span class="white">商品画像</span></td> |
---|
285 | <td width="90"><span class="white">商品コード</span></td> |
---|
286 | <td width="350"><span class="white">商品名</span></td> |
---|
287 | <td width="60"><span class="white">在庫</span></td> |
---|
288 | <td width="50" rowspan="2"><span class="white">編集</span></td> |
---|
289 | <td width="50" rowspan="2"><span class="white">確認</span></td> |
---|
290 | <!--{if $smarty.const.OPTION_CLASS_REGIST == 1}--> |
---|
291 | <td width="50" rowspan="2"><span class="white">規格</span></td> |
---|
292 | <!--{/if}--> |
---|
293 | <td width="50"><span class="white">削除</span></td> |
---|
294 | </tr> |
---|
295 | <tr bgcolor="#636469" align="center" class="fs12n"> |
---|
296 | <td width="90"><span class="white">価格(円)</span></td> |
---|
297 | <td width="430"> |
---|
298 | <span class="white" id="switch"> |
---|
299 | カテゴリ <a href="#" onClick="lfnDispChange();"> <FONT Color="#FFFF99"> >> URL表示</FONT></a> |
---|
300 | </span> |
---|
301 | </td> |
---|
302 | <td width="60"><span class="white">種別</span></td> |
---|
303 | <td width="50"><span class="white">複製</span></td> |
---|
304 | </tr> |
---|
305 | |
---|
306 | <!--{section name=cnt loop=$arrProducts}--> |
---|
307 | <!--▼商品<!--{$smarty.section.cnt.iteration}-->--> |
---|
308 | <!--{assign var=status value="`$arrProducts[cnt].status`"}--> |
---|
309 | <tr bgcolor="<!--{$arrPRODUCTSTATUS_COLOR[$status]}-->" class="fs12n"> |
---|
310 | <td rowspan="2" align="center"><!--{$arrProducts[cnt].product_id}--></td> |
---|
311 | <td rowspan="2" align="center"> |
---|
312 | <!--{if $arrProducts[cnt].main_list_image != ""}--> |
---|
313 | <!--{assign var=image_path value="`$arrProducts[cnt].main_list_image`"}--> |
---|
314 | <!--{else}--> |
---|
315 | <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--> |
---|
316 | <!--{/if}--> |
---|
317 | <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=65&height=65"> |
---|
318 | </td> |
---|
319 | <td><!--{$arrProducts[cnt].product_code|escape|default:"-"}--></td> |
---|
320 | <td><!--{$arrProducts[cnt].name|escape}--></td> |
---|
321 | <td align="center"> |
---|
322 | <!--{* 在庫 *}--> |
---|
323 | <!--{if $arrProducts[cnt].stock_unlimited == '1'}--> |
---|
324 | 無制限 |
---|
325 | <!--{else}--> |
---|
326 | <!--{$arrProducts[cnt].stock|escape|default:"-"}--> |
---|
327 | <!--{/if}--> |
---|
328 | </td> |
---|
329 | <td align="center" rowspan="2"><span class="icon_edit"><a href="<!--{$smarty.const.URL_DIR}-->" onclick="fnChangeAction('./product.php'); fnModeSubmit('pre_edit', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;" >編集</a></span></td> |
---|
330 | <td align="center" rowspan="2"><span class="icon_confirm"><a href="<!--{$smarty.const.SITE_URL|sfTrimURL}-->/products/detail.php?product_id=<!--{$arrProducts[cnt].product_id}-->&admin=on" target="_blank">確認</a></td> |
---|
331 | <!--{if $smarty.const.OPTION_CLASS_REGIST == 1}--> |
---|
332 | <td align="center" rowspan="2"><span class="icon_class"><a href="<!--{$smarty.const.URL_DIR}-->" onclick="fnChangeAction('./product_class.php'); fnModeSubmit('pre_edit', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;" >規格</a></td> |
---|
333 | <!--{/if}--> |
---|
334 | <td align="center"><span class="icon_delete"><a href="<!--{$smarty.const.URL_DIR}-->" onclick="fnSetFormValue('category_id', '<!--{$arrProducts[cnt].category_id}-->'); fnModeSubmit('delete', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;">削除</a></span></td> |
---|
335 | </tr> |
---|
336 | <tr bgcolor="<!--{$arrPRODUCTSTATUS_COLOR[$status]}-->" class="fs12n"> |
---|
337 | <td align="right"> |
---|
338 | <!--{* 価格 *}--> |
---|
339 | <!--{if $arrProducts[cnt].price02 != ""}--> |
---|
340 | <!--{$arrProducts[cnt].price02|number_format}--> |
---|
341 | <!--{else}--> |
---|
342 | - |
---|
343 | <!--{/if}--> |
---|
344 | </td> |
---|
345 | <td> |
---|
346 | <!--{* カテゴリ名 *}--> |
---|
347 | <div id="disp_cat<!--{$smarty.section.cnt.iteration}-->" style="display:<!--{$cat_flg}-->"> |
---|
348 | <!--{foreach from=$arrProducts[cnt].categories item=category_id name=categories}--> |
---|
349 | <!--{$arrCatList[$category_id]|sfTrim}--> |
---|
350 | <!--{if !$smarty.foreach.categories.last}--><br /><!--{/if}--> |
---|
351 | <!--{/foreach}--> |
---|
352 | </div> |
---|
353 | |
---|
354 | <!--{* URL *}--> |
---|
355 | <div id="disp_url<!--{$smarty.section.cnt.iteration}-->" style="display:none"> |
---|
356 | <!--{$smarty.const.SITE_URL|sfTrimURL}-->/products/detail.php?product_id=<!--{$arrProducts[cnt].product_id}--> |
---|
357 | </div> |
---|
358 | </td> |
---|
359 | <!--{* 表示 *}--> |
---|
360 | <!--{assign var=key value=$arrProducts[cnt].status}--> |
---|
361 | <td align="center"><!--{$arrDISP[$key]}--></td> |
---|
362 | <td align="center"><span class="icon_copy"><a href="<!--{$smarty.const.URL_DIR}-->" onclick="fnChangeAction('./product.php'); fnModeSubmit('copy', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;" >複製</a></span></td> |
---|
363 | </tr> |
---|
364 | <!--▲商品<!--{$smarty.section.cnt.iteration}-->--> |
---|
365 | <!--{/section}--> |
---|
366 | <input type="hidden" name="item_cnt" value="<!--{$arrProducts|@count}-->"> |
---|
367 | </table> |
---|
368 | <!--検索結果表示テーブル--> |
---|
369 | </td> |
---|
370 | </tr> |
---|
371 | </table> |
---|
372 | <!--{/if}--> |
---|
373 | |
---|
374 | </td> |
---|
375 | </tr> |
---|
376 | </form> |
---|
377 | </table> |
---|
378 | |
---|
379 | <!--★★検索結果一覧★★--> |
---|
380 | <!--{/if}--> |
---|