1 | <!--{* |
---|
2 | /* |
---|
3 | * This file is part of EC-CUBE |
---|
4 | * |
---|
5 | * Copyright(c) 2000-2012 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 = document.form1.item_cnt.value; |
---|
31 | |
---|
32 | if($('#disp_url1').css("display") == 'none'){ |
---|
33 | for (i = 1; i <= cnt; i++) { |
---|
34 | disp_id = 'disp_url'+i; |
---|
35 | $('#' + disp_id).css("display", ""); |
---|
36 | |
---|
37 | disp_id = 'disp_cat'+i; |
---|
38 | $('#' + disp_id).css("display", "none"); |
---|
39 | |
---|
40 | $('#' + inner_id).html(' URL <a href="#" onClick="lfnDispChange();"> >> <!--{t string="tpl_578"}--><\/a>'); |
---|
41 | } |
---|
42 | }else{ |
---|
43 | for (i = 1; i <= cnt; i++) { |
---|
44 | disp_id = 'disp_url'+i; |
---|
45 | $('#' + disp_id).css("display", "none"); |
---|
46 | |
---|
47 | disp_id = 'disp_cat'+i; |
---|
48 | $('#' + disp_id).css("display", ""); |
---|
49 | |
---|
50 | $('#' + inner_id).html(' <!--{t string="tpl_191"}--> <a href="#" onClick="lfnDispChange();"> >> <!--{t string="tpl_579"}--><\/a>'); |
---|
51 | } |
---|
52 | } |
---|
53 | |
---|
54 | } |
---|
55 | |
---|
56 | $(function(){ |
---|
57 | |
---|
58 | $( "#datepickersearch_start" ).datepicker({ |
---|
59 | beforeShowDay: function(date) { |
---|
60 | if(date.getDay() == 0) { |
---|
61 | return [true,"date-sunday"]; |
---|
62 | } else if(date.getDay() == 6){ |
---|
63 | return [true,"date-saturday"]; |
---|
64 | } else { |
---|
65 | return [true]; |
---|
66 | } |
---|
67 | },changeMonth: 'true' |
---|
68 | ,changeYear: 'true' |
---|
69 | ,onSelect: function(dateText, inst){ |
---|
70 | setDatesearch_start(dateText); |
---|
71 | }, |
---|
72 | showButtonPanel: true, |
---|
73 | beforeShow: showAdditionalButtonsearch_start, |
---|
74 | onChangeMonthYear: showAdditionalButtonsearch_start |
---|
75 | }); |
---|
76 | |
---|
77 | $("#datepickersearch_start").blur( function() { |
---|
78 | var dateText = $(this).val(); |
---|
79 | setDatesearch_start(dateText); |
---|
80 | }); |
---|
81 | |
---|
82 | $( "#datepickersearch_end" ).datepicker({ |
---|
83 | beforeShowDay: function(date) { |
---|
84 | if(date.getDay() == 0) { |
---|
85 | return [true,"date-sunday"]; |
---|
86 | } else if(date.getDay() == 6){ |
---|
87 | return [true,"date-saturday"]; |
---|
88 | } else { |
---|
89 | return [true]; |
---|
90 | } |
---|
91 | },changeMonth: 'true' |
---|
92 | ,changeYear: 'true' |
---|
93 | ,onSelect: function(dateText, inst){ |
---|
94 | setDatesearch_end(dateText); |
---|
95 | }, |
---|
96 | showButtonPanel: true, |
---|
97 | beforeShow: showAdditionalButtonsearch_end, |
---|
98 | onChangeMonthYear: showAdditionalButtonsearch_end |
---|
99 | }); |
---|
100 | |
---|
101 | $("#datepickersearch_end").blur( function() { |
---|
102 | var dateText = $(this).val(); |
---|
103 | setDatesearch_end(dateText); |
---|
104 | }); |
---|
105 | |
---|
106 | }); |
---|
107 | |
---|
108 | var btn = $('<button class="ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all" type="button">Clear</button>'); |
---|
109 | |
---|
110 | var showAdditionalButtonsearch_start = function (input) { |
---|
111 | setTimeout(function () { |
---|
112 | var buttonPane = $(input) |
---|
113 | .datepicker("widget") |
---|
114 | .find(".ui-datepicker-buttonpane"); |
---|
115 | btn |
---|
116 | .unbind("click") |
---|
117 | .bind("click", function () { |
---|
118 | $.datepicker._clearDate(input); |
---|
119 | $("*[name=search_startyear]").val(""); |
---|
120 | $("*[name=search_startmonth]").val(""); |
---|
121 | $("*[name=search_startday]").val(""); |
---|
122 | }); |
---|
123 | btn.appendTo(buttonPane); |
---|
124 | }, 1); |
---|
125 | }; |
---|
126 | |
---|
127 | var showAdditionalButtonsearch_end = function (input) { |
---|
128 | setTimeout(function () { |
---|
129 | var buttonPane = $(input) |
---|
130 | .datepicker("widget") |
---|
131 | .find(".ui-datepicker-buttonpane"); |
---|
132 | btn |
---|
133 | .unbind("click") |
---|
134 | .bind("click", function () { |
---|
135 | $.datepicker._clearDate(input); |
---|
136 | $("*[name=search_endyear]").val(""); |
---|
137 | $("*[name=search_endmonth]").val(""); |
---|
138 | $("*[name=search_endday]").val(""); |
---|
139 | }); |
---|
140 | btn.appendTo(buttonPane); |
---|
141 | }, 1); |
---|
142 | }; |
---|
143 | |
---|
144 | function setDatesearch_start(dateText){ |
---|
145 | var dates = dateText.split('/'); |
---|
146 | $("*[name=search_startyear]").val(dates[0]); |
---|
147 | $("*[name=search_startmonth]").val(dates[1]); |
---|
148 | $("*[name=search_startday]").val(dates[2]); |
---|
149 | } |
---|
150 | |
---|
151 | function setDatesearch_end(dateText){ |
---|
152 | var dates = dateText.split('/'); |
---|
153 | $("*[name=search_endyear]").val(dates[0]); |
---|
154 | $("*[name=search_endmonth]").val(dates[1]); |
---|
155 | $("*[name=search_endday]").val(dates[2]); |
---|
156 | } |
---|
157 | </script> |
---|
158 | |
---|
159 | |
---|
160 | <div id="products" class="contents-main"> |
---|
161 | <form name="search_form" id="search_form" method="post" action="?"> |
---|
162 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
163 | <input type="hidden" name="mode" value="search" /> |
---|
164 | <h2><!--{t string="tpl_250"}--></h2> |
---|
165 | |
---|
166 | <!--検索条件設定テーブルここから--> |
---|
167 | <table> |
---|
168 | <tr> |
---|
169 | <th><!--{t string="tpl_577"}--></th> |
---|
170 | <td colspan="3"> |
---|
171 | <!--{assign var=key value="search_product_id"}--> |
---|
172 | <!--{if $arrErr[$key]}--> |
---|
173 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
174 | <!--{/if}--> |
---|
175 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="30" class="box30"/> |
---|
176 | </td> |
---|
177 | </tr> |
---|
178 | <tr> |
---|
179 | <th><!--{t string="tpl_192"}--></th> |
---|
180 | <td> |
---|
181 | <!--{assign var=key value="search_product_code"}--> |
---|
182 | <!--{if $arrErr[$key]}--> |
---|
183 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
184 | <!--{/if}--> |
---|
185 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="30" class="box30" /> |
---|
186 | </td> |
---|
187 | <th><!--{t string="tpl_189"}--></th> |
---|
188 | <td> |
---|
189 | <!--{assign var=key value="search_name"}--> |
---|
190 | <!--{if $arrErr[$key]}--> |
---|
191 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
192 | <!--{/if}--> |
---|
193 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="30" class="box30" /> |
---|
194 | </td> |
---|
195 | </tr> |
---|
196 | <tr> |
---|
197 | <th><!--{t string="tpl_191"}--></th> |
---|
198 | <td> |
---|
199 | <!--{assign var=key value="search_category_id"}--> |
---|
200 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
201 | <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"> |
---|
202 | <option value=""><!--{t string="tpl_068"}--></option> |
---|
203 | <!--{html_options options=$arrCatList selected=$arrForm[$key].value}--> |
---|
204 | </select> |
---|
205 | </td> |
---|
206 | <th><!--{t string="tpl_256"}--></th> |
---|
207 | <td> |
---|
208 | <!--{assign var=key value="search_status"}--> |
---|
209 | <span class="attention"><!--{$arrErr[$key]|h}--></span> |
---|
210 | <!--{html_checkboxes name="$key" options=$arrDISP selected=$arrForm[$key].value}--> |
---|
211 | </td> |
---|
212 | </tr> |
---|
213 | <tr> |
---|
214 | <th><!--{t string="tpl_330"}--></th> |
---|
215 | <td colspan="3"> |
---|
216 | <!--{if $arrErr.search_startyear || $arrErr.search_endyear}--> |
---|
217 | <span class="attention"><!--{$arrErr.search_startyear}--></span> |
---|
218 | <span class="attention"><!--{$arrErr.search_endyear}--></span> |
---|
219 | <!--{/if}--> |
---|
220 | <input id="datepickersearch_start" type="text" value="<!--{if $arrForm.search_startyear.value != "" && $arrForm.search_startmonth.value != "" && $arrForm.search_startday.value != ""}--><!--{$arrForm.search_startyear.value|h}-->/<!--{$arrForm.search_startmonth.value|h|string_format:'%02d'}-->/<!--{$arrForm.search_startday.value|h|string_format:'%02d'}--><!--{/if}-->" <!--{if $arrErr.search_startyear != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
221 | <input type="hidden" name="search_startyear" value="<!--{$arrForm.search_startyear.value}-->" /> |
---|
222 | <input type="hidden" name="search_startmonth" value="<!--{$arrForm.search_startmonth.value}-->" /> |
---|
223 | <input type="hidden" name="search_startday" value="<!--{$arrForm.search_startday.value}-->" /> |
---|
224 | <!--{t string="-"}--> |
---|
225 | <input id="datepickersearch_end" type="text" value="<!--{if $arrForm.search_endyear.value != "" && $arrForm.search_endmonth.value != "" && $arrForm.search_endday.value != ""}--><!--{$arrForm.search_endyear.value|h}-->/<!--{$arrForm.search_endmonth.value|h|string_format:'%02d'}-->/<!--{$arrForm.search_endday.value|h|string_format:'%02d'}--><!--{/if}-->" <!--{if $arrErr.search_endyear != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> |
---|
226 | <input type="hidden" name="search_endyear" value="<!--{$arrForm.search_endyear.value}-->" /> |
---|
227 | <input type="hidden" name="search_endmonth" value="<!--{$arrForm.search_endmonth.value}-->" /> |
---|
228 | <input type="hidden" name="search_endday" value="<!--{$arrForm.search_endday.value}-->" /> |
---|
229 | </td> |
---|
230 | </tr> |
---|
231 | <tr> |
---|
232 | <th><!--{t string="tpl_554"}--></th> |
---|
233 | <td colspan="3"> |
---|
234 | <!--{assign var=key value="search_product_statuses"}--> |
---|
235 | <span class="attention"><!--{$arrErr[$key]|h}--></span> |
---|
236 | <!--{html_checkboxes name="$key" options=$arrSTATUS selected=$arrForm[$key].value}--> |
---|
237 | </td> |
---|
238 | </tr> |
---|
239 | </table> |
---|
240 | <div class="btn"> |
---|
241 | <p class="page_rows"><!--{t string="tpl_251"}--> |
---|
242 | <!--{assign var=key value="search_page_max"}--> |
---|
243 | <!--{if $arrErr[$key]}--> |
---|
244 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
245 | <!--{/if}--> |
---|
246 | <!--{t string="record_prefix"}--> |
---|
247 | <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"> |
---|
248 | <!--{html_options options=$arrPageMax selected=$arrForm.search_page_max.value}--> |
---|
249 | </select> |
---|
250 | <!--{t string="record_suffix"}--> |
---|
251 | </p> |
---|
252 | |
---|
253 | <div class="btn-area"> |
---|
254 | <ul> |
---|
255 | <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('search_form', 'search', '', ''); return false;"><span class="btn-next"><!--{t string="tpl_252"}--></span></a></li> |
---|
256 | </ul> |
---|
257 | </div> |
---|
258 | |
---|
259 | </div> |
---|
260 | <!--検索条件設定テーブルここまで--> |
---|
261 | </form> |
---|
262 | |
---|
263 | |
---|
264 | <!--{if count($arrErr) == 0 and ($smarty.post.mode == 'search' or $smarty.post.mode == 'delete')}--> |
---|
265 | |
---|
266 | <!--★★検索結果一覧★★--> |
---|
267 | <form name="form1" id="form1" method="post" action="?"> |
---|
268 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
269 | <input type="hidden" name="mode" value="search" /> |
---|
270 | <input type="hidden" name="product_id" value="" /> |
---|
271 | <input type="hidden" name="category_id" value="" /> |
---|
272 | <!--{foreach key=key item=item from=$arrHidden}--> |
---|
273 | <!--{if is_array($item)}--> |
---|
274 | <!--{foreach item=c_item from=$item}--> |
---|
275 | <input type="hidden" name="<!--{$key|h}-->[]" value="<!--{$c_item|h}-->" /> |
---|
276 | <!--{/foreach}--> |
---|
277 | <!--{else}--> |
---|
278 | <input type="hidden" name="<!--{$key|h}-->" value="<!--{$item|h}-->" /> |
---|
279 | <!--{/if}--> |
---|
280 | <!--{/foreach}--> |
---|
281 | <h2><!--{t string="tpl_253"}--></h2> |
---|
282 | <div class="btn"> |
---|
283 | <!--検索結果数--><!--{t string="tpl_230" T_FIELD=$tpl_linemax}--> |
---|
284 | <!--検索結果--> |
---|
285 | <!--{if $smarty.const.ADMIN_MODE == '1'}--> |
---|
286 | <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('delete_all','',''); return false;"><!--{t string="tpl_327"}--></a> |
---|
287 | <!--{/if}--> |
---|
288 | <a class="btn-tool" href="javascript:;" onclick="fnModeSubmit('csv','',''); return false;"><!--{t string="tpl_254"}--></a> |
---|
289 | <a class="btn-tool" href="../contents/csv.php?tpl_subno_csv=product"><!--{t string="tpl_255"}--></a> |
---|
290 | </div> |
---|
291 | <!--{if count($arrProducts) > 0}--> |
---|
292 | |
---|
293 | <!--{include file=$tpl_pager}--> |
---|
294 | |
---|
295 | <!--検索結果表示テーブル--> |
---|
296 | <table class="list" id="products-search-result"> |
---|
297 | <col width="8%" /> |
---|
298 | <col width="9%" /> |
---|
299 | <col width="9%" /> |
---|
300 | <col width="8%" /> |
---|
301 | <col width="25%" /> |
---|
302 | <col width="8%" /> |
---|
303 | <col width="8%" /> |
---|
304 | <col width="5%" /> |
---|
305 | <col width="5%" /> |
---|
306 | <col width="5%" /> |
---|
307 | <col width="5%" /> |
---|
308 | <col width="5%" /> |
---|
309 | <tr> |
---|
310 | <th rowspan="2"><!--{t string="tpl_577"}--></th> |
---|
311 | <th rowspan="2"><!--{t string="tpl_195"}--></th> |
---|
312 | <th rowspan="2"><!--{t string="tpl_192"}--></th> |
---|
313 | <th rowspan="2"><!--{t string="tpl_580"}--></th> |
---|
314 | <th><!--{t string="tpl_189"}--></th> |
---|
315 | <th rowspan="2"><!--{t string="tpl_581"}--></th> |
---|
316 | <th rowspan="2"><!--{t string="tpl_256"}--></th> |
---|
317 | <th rowspan="2"><!--{t string="tpl_003"}--></th> |
---|
318 | <th rowspan="2"><!--{t string="tpl_318"}--></th> |
---|
319 | <!--{if $smarty.const.OPTION_CLASS_REGIST == 1}--> |
---|
320 | <th rowspan="2"><!--{t string="tpl_582"}--></th> |
---|
321 | <!--{/if}--> |
---|
322 | <th rowspan="2"><!--{t string="tpl_004"}--></th> |
---|
323 | <th rowspan="2"><!--{t string="tpl_583"}--></th> |
---|
324 | </tr> |
---|
325 | <tr> |
---|
326 | <th nowrap><a href="#" onClick="lfnDispChange(); return false;"><!--{t string="tpl_584"}--></a></th> |
---|
327 | </tr> |
---|
328 | |
---|
329 | <!--{section name=cnt loop=$arrProducts}--> |
---|
330 | <!--▼商品<!--{$smarty.section.cnt.iteration}-->--> |
---|
331 | <!--{assign var=status value="`$arrProducts[cnt].status`"}--> |
---|
332 | <tr style="background:<!--{$arrPRODUCTSTATUS_COLOR[$status]}-->;"> |
---|
333 | <td class="id" rowspan="2"><!--{$arrProducts[cnt].product_id}--></td> |
---|
334 | <td class="thumbnail" rowspan="2"> |
---|
335 | <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrProducts[cnt].main_list_image|sfNoImageMainList|h}-->&width=65&height=65"> </td> |
---|
336 | <td rowspan="2"><!--{$arrProducts[cnt].product_code_min|h}--> |
---|
337 | <!--{if $arrProducts[cnt].product_code_min != $arrProducts[cnt].product_code_max}--> |
---|
338 | <br /><!--{t string="-"}--> <!--{$arrProducts[cnt].product_code_max|h}--> |
---|
339 | <!--{/if}--> |
---|
340 | </td> |
---|
341 | <!--{* 価格 *}--> |
---|
342 | <td rowspan="2" class="right"> |
---|
343 | <!--{$arrProducts[cnt].price02_min|number_format}--> |
---|
344 | <!--{if $arrProducts[cnt].price02_min != $arrProducts[cnt].price02_max}--> |
---|
345 | <br /><!--{t string="-"}--> <!--{$arrProducts[cnt].price02_max|number_format}--> |
---|
346 | <!--{/if}--> </td> |
---|
347 | <td><!--{$arrProducts[cnt].name|h}--></td> |
---|
348 | <!--{* 在庫 *}--> |
---|
349 | <!--{* XXX 複数規格でかつ、全ての在庫数量が等しい場合は先頭に「各」と入れたれたら良いと思う。 *}--> |
---|
350 | <td class="menu" rowspan="2"> |
---|
351 | <!--{if $arrProducts[cnt].stock_unlimited_min}--><!--{t string="tpl_053"}--><!--{else}--><!--{$arrProducts[cnt].stock_min|number_format}--><!--{/if}--> |
---|
352 | <!--{if $arrProducts[cnt].stock_unlimited_min != $arrProducts[cnt].stock_unlimited_max || $arrProducts[cnt].stock_min != $arrProducts[cnt].stock_max}--> |
---|
353 | <br /><!--{t string="-"}--> <!--{if $arrProducts[cnt].stock_unlimited_max}--><!--{t string="tpl_053"}--><!--{else}--><!--{$arrProducts[cnt].stock_max|number_format}--><!--{/if}--> |
---|
354 | <!--{/if}--> </td> |
---|
355 | <!--{* 表示 *}--> |
---|
356 | <!--{assign var=key value=$arrProducts[cnt].status}--> |
---|
357 | <td class="menu" rowspan="2"><!--{$arrDISP[$key]}--></td> |
---|
358 | <td class="menu" rowspan="2"><span class="icon_edit"><a href="<!--{$smarty.const.ROOT_URLPATH}-->" onclick="fnChangeAction('./product.php'); fnModeSubmit('pre_edit', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;" ><!--{t string="tpl_003"}--></a></span></td> |
---|
359 | <td class="menu" rowspan="2"><span class="icon_confirm"><a href="<!--{$smarty.const.HTTP_URL|sfTrimURL}-->/products/detail.php?product_id=<!--{$arrProducts[cnt].product_id}-->&admin=on" target="_blank"><!--{t string="tpl_318"}--></a></span></td> |
---|
360 | <!--{if $smarty.const.OPTION_CLASS_REGIST == 1}--> |
---|
361 | <td class="menu" rowspan="2"><span class="icon_class"><a href="<!--{$smarty.const.ROOT_URLPATH}-->" onclick="fnChangeAction('./product_class.php'); fnModeSubmit('pre_edit', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;" ><!--{t string="tpl_582"}--></a></span></td> |
---|
362 | <!--{/if}--> |
---|
363 | <td class="menu" rowspan="2"><span class="icon_delete"><a href="<!--{$smarty.const.ROOT_URLPATH}-->" onclick="fnSetFormValue('category_id', '<!--{$arrProducts[cnt].category_id}-->'); fnModeSubmit('delete', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;"><!--{t string="tpl_004"}--></a></span></td> |
---|
364 | <td class="menu" rowspan="2"><span class="icon_copy"><a href="<!--{$smarty.const.ROOT_URLPATH}-->" onclick="fnChangeAction('./product.php'); fnModeSubmit('copy', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;" ><!--{t string="tpl_583"}--></a></span></td> |
---|
365 | </tr> |
---|
366 | <tr style="background:<!--{$arrPRODUCTSTATUS_COLOR[$status]}-->;"> |
---|
367 | <td> |
---|
368 | <!--{* カテゴリ名 *}--> |
---|
369 | <div id="disp_cat<!--{$smarty.section.cnt.iteration}-->" style="display:<!--{$cat_flg}-->"> |
---|
370 | <!--{foreach from=$arrProducts[cnt].categories item=category_id name=categories}--> |
---|
371 | <!--{$arrCatList[$category_id]|sfTrim}--> |
---|
372 | <!--{if !$smarty.foreach.categories.last}--><br /><!--{/if}--> |
---|
373 | <!--{/foreach}--> |
---|
374 | </div> |
---|
375 | |
---|
376 | <!--{* URL *}--> |
---|
377 | <div id="disp_url<!--{$smarty.section.cnt.iteration}-->" style="display:none"> |
---|
378 | <!--{$smarty.const.HTTP_URL|sfTrimURL}-->/products/detail.php?product_id=<!--{$arrProducts[cnt].product_id}--> |
---|
379 | </div> |
---|
380 | </td> |
---|
381 | </tr> |
---|
382 | <!--▲商品<!--{$smarty.section.cnt.iteration}-->--> |
---|
383 | <!--{/section}--> |
---|
384 | </table> |
---|
385 | <input type="hidden" name="item_cnt" value="<!--{$arrProducts|@count}-->" /> |
---|
386 | <!--検索結果表示テーブル--> |
---|
387 | <!--{/if}--> |
---|
388 | |
---|
389 | </form> |
---|
390 | |
---|
391 | <!--★★検索結果一覧★★--> |
---|
392 | <!--{/if}--> |
---|
393 | </div> |
---|