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