1 | <!--{*
|
---|
2 | /*
|
---|
3 | * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
|
---|
4 | *
|
---|
5 | * http://www.lockon.co.jp/
|
---|
6 | */
|
---|
7 | *}-->
|
---|
8 | <!--★★メインコンテンツ★★-->
|
---|
9 | <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
10 | <form name="search_form" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->" >
|
---|
11 | <input type="hidden" name="mode" value="search">
|
---|
12 | <tr valign="top">
|
---|
13 | <td background="<!--{$smarty.const.URL_DIR}-->img/contents/navi_bg.gif" height="402">
|
---|
14 | <!-- サブナビ -->
|
---|
15 | <!--{include file=$tpl_subnavi}-->
|
---|
16 | </td>
|
---|
17 | <td class="mainbg">
|
---|
18 | <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
19 | <!--メインエリア-->
|
---|
20 | <tr>
|
---|
21 | <td align="center">
|
---|
22 | <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
23 | <tr><td height="14"></td></tr>
|
---|
24 | <tr>
|
---|
25 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
|
---|
26 | </tr>
|
---|
27 | <tr>
|
---|
28 | <td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
|
---|
29 | <td bgcolor="#cccccc">
|
---|
30 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
31 | <tr>
|
---|
32 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
|
---|
33 | </tr>
|
---|
34 | <tr>
|
---|
35 | <td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
|
---|
36 | <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->検索条件設定</span></td>
|
---|
37 | <td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
|
---|
38 | </tr>
|
---|
39 | <tr>
|
---|
40 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
|
---|
41 | </tr>
|
---|
42 | <tr>
|
---|
43 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
|
---|
44 | </tr>
|
---|
45 | </table>
|
---|
46 |
|
---|
47 | <!--検索条件設定テーブルここから-->
|
---|
48 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
|
---|
49 | <tr class="fs12n">
|
---|
50 | <td bgcolor="#f2f1ec" width="110">投稿者名</td>
|
---|
51 | <td bgcolor="#ffffff" width="248"><input type="text" name="search_reviewer_name" value="<!--{$arrForm.search_reviewer_name|escape}-->" size="30" class="box30" /></td>
|
---|
52 | <td bgcolor="#f2f1ec" width="110">ホームページアドレス</td>
|
---|
53 | <td bgcolor="#ffffff" width="249"><input type="text" name="search_reviewer_url" value="<!--{$arrForm.search_reviewer_url}-->" size="30" class="box30" /></td>
|
---|
54 | </tr>
|
---|
55 | <tr class="fs12n">
|
---|
56 | <td bgcolor="#f2f1ec" width="110">商品名</td>
|
---|
57 | <td bgcolor="#ffffff" width="248"><input type="text" name="search_name" value="<!--{$arrForm.search_name|escape}-->" size="30" class="box30" /></td>
|
---|
58 | <td bgcolor="#f2f1ec" width="110">商品コード</td>
|
---|
59 | <td bgcolor="#ffffff" width="249"><input type="text" name="search_product_code" value="<!--{$arrForm.search_product_code|escape}-->" size="30" class="box30" /></td>
|
---|
60 | </tr>
|
---|
61 | <tr class="fs12n">
|
---|
62 | <td bgcolor="#f2f1ec" width="110">性別</td>
|
---|
63 | <!--{assign var=key value=search_sex}-->
|
---|
64 | <td bgcolor="#ffffff" width="248"><!--{html_checkboxes name="$key" options=$arrSex selected=$arrForm[$key]}--></td>
|
---|
65 | <td bgcolor="#f2f1ec" width="110">おすすめレベル</td>
|
---|
66 | <td bgcolor="#ffffff" width="249">
|
---|
67 | <!--{assign var=key value=search_recommend_level}-->
|
---|
68 | <select name="<!--{$key}-->">
|
---|
69 | <option value="" selected="selected">選択してください</option>
|
---|
70 | <!--{html_options options=$arrRECOMMEND selected=$arrForm[$key].value}-->
|
---|
71 | </select></td>
|
---|
72 | </tr>
|
---|
73 | <tr class="fs12n">
|
---|
74 | <td bgcolor="#f2f1ec" width="110">投稿日</td>
|
---|
75 | <td bgcolor="#ffffff" width="607" colspan="3">
|
---|
76 | <span class="red"><!--{$arrErr.search_startyear}--></span>
|
---|
77 | <span class="red"><!--{$arrErr.search_endyear}--></span>
|
---|
78 | <select name="search_startyear" style="<!--{$arrErr.search_startyear|sfGetErrorColor}-->">
|
---|
79 | <option value="">----</option>
|
---|
80 | <!--{html_options options=$arrStartYear selected=$arrForm.search_startyear}-->
|
---|
81 | </select>年
|
---|
82 | <select name="search_startmonth" style="<!--{$arrErr.search_startyear|sfGetErrorColor}-->">
|
---|
83 | <option value="">--</option>
|
---|
84 | <!--{html_options options=$arrStartMonth selected=$arrForm.search_startmonth}-->
|
---|
85 | </select>月
|
---|
86 | <select name="search_startday" style="<!--{$arrErr.search_startyear|sfGetErrorColor}-->">
|
---|
87 | <option value="">--</option>
|
---|
88 | <!--{html_options options=$arrStartDay selected=$arrForm.search_startday}-->
|
---|
89 | </select>日〜
|
---|
90 | <select name="search_endyear" style="<!--{$arrErr.search_endyear|sfGetErrorColor}-->">
|
---|
91 | <option value="">----</option>
|
---|
92 | <!--{html_options options=$arrEndYear selected=$arrForm.search_endyear}-->
|
---|
93 | </select>年
|
---|
94 | <select name="search_endmonth" style="<!--{$arrErr.search_endyear|sfGetErrorColor}-->">
|
---|
95 | <option value="">--</option>
|
---|
96 | <!--{html_options options=$arrEndMonth selected=$arrForm.search_endmonth}-->
|
---|
97 | </select>月
|
---|
98 | <select name="search_endday" style="<!--{$arrErr.search_endyear|sfGetErrorColor}-->">
|
---|
99 | <option value="">--</option>
|
---|
100 | <!--{html_options options=$arrEndDay selected=$arrForm.search_endday}-->
|
---|
101 | </select>日
|
---|
102 | </td>
|
---|
103 | </tr>
|
---|
104 | </table>
|
---|
105 |
|
---|
106 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
107 | <tr>
|
---|
108 | <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
|
---|
109 | <td><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
|
---|
110 | <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
|
---|
111 | </tr>
|
---|
112 | <tr>
|
---|
113 | <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
|
---|
114 | <td bgcolor="#e9e7de" align="center">
|
---|
115 | <table border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
116 | <tr>
|
---|
117 | <td class="fs12n">検索結果表示件数
|
---|
118 | <!--{assign var=key value="search_page_max"}-->
|
---|
119 | <span class="red12"><!--{$arrErr[$key]}--></span>
|
---|
120 | <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
|
---|
121 | <!--{html_options options=$arrPageMax selected=$arrForm.search_page_max}-->
|
---|
122 | </select> 件
|
---|
123 | </td>
|
---|
124 | <td><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="10" height="1" alt=""></td>
|
---|
125 | <td><input type="image" name="subm" onMouseover="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/contents/btn_search_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/contents/btn_search.jpg',this)" src="<!--{$smarty.const.URL_DIR}-->img/contents/btn_search.jpg" width="123" height="24" alt="この条件で検索する" border="0" ></td>
|
---|
126 | </tr>
|
---|
127 | </table>
|
---|
128 | </td>
|
---|
129 | <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
|
---|
130 | </tr>
|
---|
131 | <tr>
|
---|
132 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
|
---|
133 | </tr>
|
---|
134 | </table>
|
---|
135 | <!--検索条件設定テーブルここまで-->
|
---|
136 | </td>
|
---|
137 | <td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
|
---|
138 | </tr>
|
---|
139 | <tr>
|
---|
140 | <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
|
---|
141 | </tr>
|
---|
142 | <tr><td height="30"></td></tr>
|
---|
143 | </table>
|
---|
144 | </td>
|
---|
145 | </tr>
|
---|
146 | <!--メインエリア-->
|
---|
147 | </table>
|
---|
148 | </td>
|
---|
149 | </tr>
|
---|
150 | </form>
|
---|
151 | </table>
|
---|
152 | <!--★★メインコンテンツ★★-->
|
---|
153 |
|
---|
154 | <!--{if $smarty.post.mode == 'search'}-->
|
---|
155 |
|
---|
156 | <!--★★検索結果一覧★★-->
|
---|
157 | <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
158 | <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->">
|
---|
159 | <input type="hidden" name="mode" value="search">
|
---|
160 | <input type="hidden" name="review_id" value="">
|
---|
161 | <input type="hidden" name="search_pageno" value="<!--{$tpl_pageno}-->">
|
---|
162 | <!--{foreach key=key item=item from=$arrHidden}-->
|
---|
163 | <!--{if $key ne "search_pageno"}-->
|
---|
164 | <input type="hidden" name="<!--{$key}-->" value="<!--{$item}-->" >
|
---|
165 | <!--{/if}-->
|
---|
166 | <!--{/foreach}-->
|
---|
167 | <tr><td colspan="2"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/search_line.jpg" width="878" height="12" alt=""></td></tr>
|
---|
168 | <tr bgcolor="cbcbcb">
|
---|
169 | <td>
|
---|
170 | <table border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
171 | <tr>
|
---|
172 | <td><img src="<!--{$smarty.const.URL_DIR}-->img/contents/search_left.gif" width="19" height="22" alt=""></td>
|
---|
173 | <td>
|
---|
174 | <!--検索結果-->
|
---|
175 | <table border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
176 | <tr>
|
---|
177 | <td><img src="<!--{$smarty.const.URL_DIR}-->img/contents/reselt_left_top.gif" width="22" height="5" alt=""></td>
|
---|
178 | <td background="<!--{$smarty.const.URL_DIR}-->img/contents/reselt_top_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
|
---|
179 | <td><img src="<!--{$smarty.const.URL_DIR}-->img/contents/reselt_right_top.gif" width="22" height="5" alt=""></td>
|
---|
180 | </tr>
|
---|
181 | <tr>
|
---|
182 | <td background="<!--{$smarty.const.URL_DIR}-->img/contents/reselt_left_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/reselt_left_middle.gif" width="22" height="12" alt=""></td>
|
---|
183 | <td bgcolor="#393a48" class="white10">検索結果一覧 <span class="reselt"><!--検索結果数--><!--{$tpl_linemax}-->件</span> が該当しました。</td>
|
---|
184 | <td background="<!--{$smarty.const.URL_DIR}-->img/contents/reselt_right_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="22" height="8" alt=""></td>
|
---|
185 | </tr>
|
---|
186 | <tr>
|
---|
187 | <td><img src="<!--{$smarty.const.URL_DIR}-->img/contents/reselt_left_bottom.gif" width="22" height="5" alt=""></td>
|
---|
188 | <td background="<!--{$smarty.const.URL_DIR}-->img/contents/reselt_bottom_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
|
---|
189 | <td><img src="<!--{$smarty.const.URL_DIR}-->img/contents/reselt_right_bottom.gif" width="22" height="5" alt=""></td>
|
---|
190 | </tr>
|
---|
191 | </table>
|
---|
192 | <!--検索結果-->
|
---|
193 | <!--{if $smarty.const.ADMIN_MODE == '1'}-->
|
---|
194 | <input type="button" name="subm" value="検索結果をすべて削除" onclick="fnModeSubmit('delete_all','','');" />
|
---|
195 | <!--{/if}-->
|
---|
196 | </td>
|
---|
197 | <td><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="8" height="1" alt=""></td>
|
---|
198 | <td><a href="#" onmouseover="chgImg('<!--{$smarty.const.URL_DIR}-->img/contents/btn_csv_on.jpg','btn_csv');" onmouseout="chgImg('<!--{$smarty.const.URL_DIR}-->img/contents/btn_csv.jpg','btn_csv');" onclick="fnModeSubmit('csv','','');" ><img src="<!--{$smarty.const.URL_DIR}-->img/contents/btn_csv.jpg" width="99" height="22" alt="CSV DOWNLOAD" border="0" name="btn_csv" id="btn_csv"></a></td>
|
---|
199 | </tr>
|
---|
200 | </table>
|
---|
201 | </td>
|
---|
202 | <td align="right">
|
---|
203 | <!--{include file=$tpl_pager}-->
|
---|
204 | </td>
|
---|
205 | </tr>
|
---|
206 | <tr><td bgcolor="cbcbcb" colspan="2"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td></tr>
|
---|
207 | </table>
|
---|
208 |
|
---|
209 | <!--{ if $arrReview > 0 & $tpl_linemax > 0 }-->
|
---|
210 | <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
211 | <tr>
|
---|
212 | <td bgcolor="#f0f0f0" align="center">
|
---|
213 | <table width="840" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
214 | <tr><td height="12"></td></tr>
|
---|
215 | <tr>
|
---|
216 | <td bgcolor="#cccccc">
|
---|
217 |
|
---|
218 | <!--検索結果表示テーブル-->
|
---|
219 | <table width="840" border="0" cellspacing="1" cellpadding="5" summary=" ">
|
---|
220 | <tr bgcolor="#636469" align="center" class="fs12">
|
---|
221 | <td width="130"><span class="white">投稿日</span></td>
|
---|
222 | <td width="100"><span class="white">投稿者名</span></td>
|
---|
223 | <td width="252"><span class="white">商品名</span></td>
|
---|
224 | <td width="100"><span class="white">おすすめレベル</span></td>
|
---|
225 | <td width="80"><span class="white">表示・非表示</span></td>
|
---|
226 | <td width="50"><span class="white">編集</span></td>
|
---|
227 | <td width="50"><span class="white">削除</span></td>
|
---|
228 | </tr>
|
---|
229 |
|
---|
230 | <!--{section name=cnt loop=$arrReview}-->
|
---|
231 | <tr bgcolor="#ffffff" class="fs12">
|
---|
232 | <td align="center"><!--{$arrReview[cnt].create_date|sfDispDBDate}--></td>
|
---|
233 | <td><!--{$arrReview[cnt].reviewer_name|escape}--></td>
|
---|
234 | <td><!--{$arrReview[cnt].name|escape}--></td>
|
---|
235 | <!--{assign var=key value="`$arrReview[cnt].recommend_level`"}-->
|
---|
236 | <td align="center"><!--{$arrRECOMMEND[$key]}--></td>
|
---|
237 | <td align="center"><!--{if $arrReview[cnt].status eq 1}-->表示<!--{elseif $arrReview[cnt].status eq 2}-->非表示<!--{/if}--></td>
|
---|
238 | <td align="center"><a href="#" onclick="fnChangeAction('./review_edit.php'); fnModeSubmit('','review_id','<!--{$arrReview[cnt].review_id}-->');">編集</a></td>
|
---|
239 | <td align="center"><a href="#" onclick="fnModeSubmit('delete','review_id','<!--{$arrReview[cnt].review_id}-->'); return false;">削除</a></td>
|
---|
240 | </tr>
|
---|
241 | <!--{/section}-->
|
---|
242 | </table>
|
---|
243 | <!--検索結果表示テーブル-->
|
---|
244 | </td>
|
---|
245 | </tr>
|
---|
246 | </table>
|
---|
247 | </td>
|
---|
248 | </tr>
|
---|
249 | </form>
|
---|
250 | </table>
|
---|
251 | <!--{ /if }-->
|
---|
252 | <!--{ /if }-->
|
---|
253 | <!--★★検索結果一覧★★-->
|
---|