| 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 | <!--{include file="`$smarty.const.TEMPLATE_ADMIN_REALDIR`admin_popup_header.tpl"}--> |
---|
| 26 | |
---|
| 27 | <script type="text/javascript"> |
---|
| 28 | <!-- |
---|
| 29 | self.moveTo(20,20);self.focus(); |
---|
| 30 | |
---|
| 31 | function func_submit( id ){ |
---|
| 32 | var fm = window.opener.document.form1; |
---|
| 33 | var no = escape('<!--{$smarty.get.no|h}-->'); |
---|
| 34 | fm['recommend_id' + no].value = id; |
---|
| 35 | fm.select_recommend_no.value = no; |
---|
| 36 | fm.mode.value = 'recommend_select'; |
---|
| 37 | fm.anchor_key.value = 'recommend_no' + no; |
---|
| 38 | fm.submit(); |
---|
| 39 | window.close(); |
---|
| 40 | return false; |
---|
| 41 | } |
---|
| 42 | //--> |
---|
| 43 | </script> |
---|
| 44 | |
---|
| 45 | <!--▼検索フォーム--> |
---|
| 46 | <form name="form1" id="form1" method="post" action="#"> |
---|
| 47 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
| 48 | <input name="mode" type="hidden" value="search" /> |
---|
| 49 | <input name="anchor_key" type="hidden" value="" /> |
---|
| 50 | <input name="search_pageno" type="hidden" value="" /> |
---|
| 51 | <table> |
---|
| 52 | <tr> |
---|
| 53 | <th><!--{t string="tpl_191"}--></th> |
---|
| 54 | <td> |
---|
| 55 | <select name="search_category_id"> |
---|
| 56 | <option value="" selected="selected"><!--{t string="tpl_068"}--></option> |
---|
| 57 | <!--{html_options options=$arrCatList selected=$arrForm.search_category_id}--> |
---|
| 58 | </select> |
---|
| 59 | </td> |
---|
| 60 | </tr> |
---|
| 61 | <tr> |
---|
| 62 | <th><!--{t string="tpl_189"}--></th> |
---|
| 63 | <td><input type="text" name="search_name" value="<!--{$arrForm.search_name|h}-->" size="35" class="box35" /></td> |
---|
| 64 | </tr> |
---|
| 65 | </table> |
---|
| 66 | <div class="btn-area"> |
---|
| 67 | <a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'search', '', ''); return false;" name="subm"><span class="btn-next"><!--{t string="tpl_193"}--></span></a> |
---|
| 68 | </div> |
---|
| 69 | |
---|
| 70 | <!--▼検索結果表示--> |
---|
| 71 | <!--{if $tpl_linemax}--> |
---|
| 72 | <p><!--{t string="tpl_194" T_FIELD=$tpl_linemax}--></p> |
---|
| 73 | <!--{* ▼ページナビ *}--> |
---|
| 74 | <!--{$tpl_strnavi}--> |
---|
| 75 | <!--{* ▲ページナビ *}--> |
---|
| 76 | |
---|
| 77 | <!--{* ▼検索後表示部分 *}--> |
---|
| 78 | <table class="list"> |
---|
| 79 | <tr> |
---|
| 80 | <th><!--{t string="tpl_195"}--></th> |
---|
| 81 | <th><!--{t string="tpl_192"}--></th> |
---|
| 82 | <th><!--{t string="tpl_189"}--></th> |
---|
| 83 | <th><!--{t string="tpl_196"}--></th> |
---|
| 84 | </tr> |
---|
| 85 | <!--{section name=cnt loop=$arrProducts}--> |
---|
| 86 | <!--▼商品<!--{$smarty.section.cnt.iteration}-->--> |
---|
| 87 | <!--{assign var=status value="`$arrProducts[cnt].status`"}--> |
---|
| 88 | <tr style="background:<!--{$arrPRODUCTSTATUS_COLOR[$status]}-->;"> |
---|
| 89 | <td align="center"> |
---|
| 90 | <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrProducts[cnt].main_list_image|sfNoImageMainList|h}-->&width=65&height=65" alt="<!--{$arrRecommend[$recommend_no].name|h}-->" /> |
---|
| 91 | </td> |
---|
| 92 | <td> |
---|
| 93 | <!--{$arrProducts[cnt].product_code_min|h}--> |
---|
| 94 | <!--{if $arrProducts[cnt].product_code_min != $arrProducts[cnt].product_code_max}--> |
---|
| 95 | <!--{t string="-"}--> <!--{$arrProducts[cnt].product_code_max|h}--> |
---|
| 96 | <!--{/if}--> |
---|
| 97 | </td> |
---|
| 98 | <td><!--{$arrProducts[cnt].name|h}--></td> |
---|
| 99 | <td align="center"><a href="#" onclick="return func_submit(<!--{$arrProducts[cnt].product_id|h}-->)"><!--{t string="tpl_196"}--></a></td> |
---|
| 100 | </tr> |
---|
| 101 | <!--▲商品<!--{$smarty.section.cnt.iteration}-->--> |
---|
| 102 | <!--{sectionelse}--> |
---|
| 103 | <tr> |
---|
| 104 | <td colspan="4"><!--{t string="tpl_197"}--></td> |
---|
| 105 | </tr> |
---|
| 106 | <!--{/section}--> |
---|
| 107 | </table> |
---|
| 108 | <!--{/if}--> |
---|
| 109 | <!--{* ▲検索結果表示 *}--> |
---|
| 110 | |
---|
| 111 | </form> |
---|
| 112 | |
---|
| 113 | <!--{include file="`$smarty.const.TEMPLATE_ADMIN_REALDIR`admin_popup_footer.tpl"}--> |
---|