ここの情報は古いです。ご理解頂いた上でお取り扱いください。

source: OpenPNE/trunk/webapp/modules/pc/templates/h_review_search.tpl @ 6215

Last change on this file since 6215 was 6215, checked in by nakasone, 13 years ago

#1932:h_review_search.tpl の searchFormBox(検索フォームボックス)をXHTML+CSS化した。

File size: 13.4 KB
Line 
1<div id="LayoutC">
2<div id="Center">
3
4({* {{{ searchFormBox *})
5<div class="dparts searchFormBox"><div class="parts">
6<div class="partsHeading"><h3>レビュー検索・並び替え</h3></div>
7<div class="item">
8
9({t_form_block m=pc a=page_h_review_search})
10<p class="form">
11<span class="label">並び替え</span>
12<a href="({t_url m=pc a=page_h_review_search})&amp;keyword=({$keyword|escape:url|smarty:nodefaults})&amp;category=({$category})&amp;orderby=r_num">登録数順</a>
13|
14<a href="({t_url m=pc a=page_h_review_search})&amp;keyword=({$keyword|escape:url|smarty:nodefaults})&amp;category=({$category})&amp;orderby=r_datetime">作成日順</a>
15</p>
16
17<p class="form">
18<label for="keyword">キーワード</label>
19<input type="text" class="text" name="keyword" id="keyword" value="({$keyword})" size="15" />
20<label for="category">カテゴリ</label>
21<select name="category" id="category">
22<option value="">指定なし</option>
23({html_options options=$category_disp selected=$category})
24</select>
25<input type="submit" class="input_submit" value=" 検 索 " />
26</p>
27({/t_form_block})
28
29<ul class="moreInfo">
30<li><a href="({t_url m=pc a=page_h_review_add})">レビューを作成する</a></li>
31</ul>
32
33<div class="block">
34<dl class="category">
35<dt><span class="label">カテゴリ</span></dt>
36<dd><p>
37({foreach from=$category_disp key=key item=item})
38({if $key!=1}) - ({/if})
39<a href="({t_url m=pc a=page_h_review_search})&amp;category=({$key})">({$item})</a>
40({/foreach})
41</p></dd>
42</dl>
43</div>
44
45</div>
46</div></div>
47({* }}} *})
48
49({* if $result *})
50({* #1949 *})<!-- ******ここから:検索結果****** -->
51({* #1949 *})<table border="0" cellspacing="0" cellpadding="0" style="width:650px;margin:0px auto;" class="border_07">
52({* #1949 *})<tr>
53({* #1949 *})<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square" /></td>
54({* #1949 *})<td style="width:636px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square" /></td>
55({* #1949 *})<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square" /></td>
56({* #1949 *})</tr>
57({* #1949 *})<tr>
58({* #1949 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square" /></td>
59({* #1949 *})<td align="center">
60({* #1949 *})<!-- *ここから:主内容* -->
61({* #1949 *})({*ここから:header*})
62({* #1949 *})<!-- ここから:小タイトル -->
63({* #1949 *})<table border="0" cellspacing="0" cellpadding="0" style="width:636px;" class="border_01">
64({* #1949 *})<tr>
65({* #1949 *})<td style="width:36px;" class="bg_06"><img src="({t_img_url_skin filename=content_header_1})" style="width:30px;height:20px;" class="dummy" /></td>
66({* #1949 *})<td style="width:598px;padding:2px 0px;" class="bg_06"><span class="c_00"><span class="b_b">レビュー一覧</span>&nbsp;&nbsp;***&nbsp;<span class="b_b">
67({* #1949 *})({if $total_num})
68({* #1949 *})    ({$total_num})
69({* #1949 *})({else})
70({* #1949 *})    0
71({* #1949 *})({/if})
72({* #1949 *})件</span>&nbsp;が該当しました。</span></td>
73({* #1949 *})</tr>
74({* #1949 *})</table>
75({* #1949 *})<!-- ここまで:小タイトル -->
76({* #1949 *})<!-- ここから:レビュー一覧件数表示タブ -->
77({* #1949 *})<table border="0" cellspacing="0" cellpadding="0" style="width:636px;">
78({* #1949 *})({*********})
79({* #1949 *})<tr>
80({* #1949 *})<td style="width:636px;" class="bg_01" colspan="3"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
81({* #1949 *})</tr>
82({* #1949 *})({*********})
83({* #1949 *})<tr>
84({* #1949 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
85({* #1949 *})<td style="width:634px;" class="bg_02" align="right">
86({* #1949 *})
87({* #1949 *})<div class="padding_s">
88({* #1949 *})
89({* #1949 *})({if $is_prev})<a href="({t_url m=pc a=page_h_review_search})&amp;keyword=({$keyword})&amp;category=({$category})&amp;orderby=({$orderby})&amp;direc=-1&amp;page=({$page})">前を表示</a> ({/if})
90({* #1949 *})({if $total_num})
91({* #1949 *})({$start_num})件~({$end_num})件を表示
92({* #1949 *})({/if})
93({* #1949 *})({if $is_next})<a href="({t_url m=pc a=page_h_review_search})&amp;keyword=({$keyword})&amp;category=({$category})&amp;orderby=({$orderby})&amp;direc=1&amp;page=({$page})">次を表示</a>({/if})
94({* #1949 *})
95({* #1949 *})</div>
96({* #1949 *})
97({* #1949 *})</td>
98({* #1949 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
99({* #1949 *})</tr>
100({* #1949 *})({*********})
101({* #1949 *})<tr>
102({* #1949 *})<td class="bg_01" colspan="3"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
103({* #1949 *})</tr>
104({* #1949 *})({*********})
105({* #1949 *})</table>
106({* #1949 *})<!-- ここまで:レビュー一覧件数表示タブ -->
107({* #1949 *})({*ここまで:header*})
108({* #1949 *})({*ここから:body*})
109({* #1949 *})<!-- *ここから:主内容* -->
110({* #1949 *})<!-- *ここから:検索結果内容>>商品情報* -->
111({* #1949 *})<table border="0" cellspacing="0" cellpadding="0" style="width:636px;" class="border_01">
112({* #1949 *})({*********})
113({* #1949 *})<tr>
114({* #1949 *})<td style="width:636px;height:1px;" class="bg_01" colspan="7"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
115({* #1949 *})</tr>
116({* #1949 *})({*********})
117({* #1949 *})({foreach from=$result item=item})
118({* #1949 *})<!--▼レビュー1つ分ここから-->
119({* #1949 *})<tr>
120({* #1949 *})<td style="width:1px;" class="bg_01"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
121({* #1949 *})<td style="width:180px;" class="bg_02" rowspan="7" align="center">
122({* #1949 *})
123({* #1949 *})<img src="./skin/dummy.gif" alt="dummy" style="width:180px;height:1px;" class="dummy" />
124({* #1949 *})
125({* #1949 *})<div class="padding_s">
126({* #1949 *})
127({* #1949 *})<a href="({$item.url})" target="_blank"><img src="({if $item.image_medium})({$item.image_medium})({else})({t_img_url_skin filename=no_image w=120 h=120})({/if})" /><br />詳細を見る</a>
128({* #1949 *})
129({* #1949 *})</div>
130({* #1949 *})
131({* #1949 *})<img src="./skin/dummy.gif" alt="dummy" style="width:180px;height:1px;" class="dummy" />
132({* #1949 *})
133({* #1949 *})</td>
134({* #1949 *})<td style="width:1px;" class="bg_01"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
135({* #1949 *})<td style="width:70px;" class="bg_03" align="center">
136({* #1949 *})
137({* #1949 *})<img src="./skin/dummy.gif" alt="dummy" style="width:70px;height:1px;" class="dummy" />
138({* #1949 *})
139({* #1949 *})<div class="padding_s">
140({* #1949 *})
141({* #1949 *})タイトル
142({* #1949 *})
143({* #1949 *})</div>
144({* #1949 *})
145({* #1949 *})<img src="./skin/dummy.gif" alt="dummy" style="width:70px;height:1px;" class="dummy" />
146({* #1949 *})
147({* #1949 *})</td>
148({* #1949 *})<td style="width:1px;" class="bg_01"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
149({* #1949 *})<td style="width:382px;" class="bg_02">
150({* #1949 *})
151({* #1949 *})<img src="./skin/dummy.gif" alt="dummy" style="width:382px;height:1px;" class="dummy" />
152({* #1949 *})
153({* #1949 *})<div class="padding_s">
154({* #1949 *})
155({* #1949 *})<span class="b_b">({$item.title})</span>
156({* #1949 *})
157({* #1949 *})</div>
158({* #1949 *})
159({* #1949 *})<img src="./skin/dummy.gif" alt="dummy" style="width:382px;height:1px;" class="dummy" />
160({* #1949 *})
161({* #1949 *})</td>
162({* #1949 *})<td style="width:1px;" class="bg_01"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
163({* #1949 *})</tr>
164({* #1949 *})({*********})
165({* #1949 *})<tr>
166({* #1949 *})<td style="width:1px;height:1px;" class="bg_01"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
167({* #1949 *})<td style="width:455px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
168({* #1949 *})</tr>
169({* #1949 *})({*********})
170({* #1949 *})<tr>
171({* #1949 *})<td class="bg_01"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
172({* #1949 *})<td class="bg_01"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
173({* #1949 *})<td class="bg_03" align="center">
174({* #1949 *})
175({* #1949 *})<div class="padding_s">
176({* #1949 *})
177({* #1949 *})最新レビュー
178({* #1949 *})
179({* #1949 *})</div>
180({* #1949 *})
181({* #1949 *})</td>
182({* #1949 *})<td class="bg_01"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
183({* #1949 *})<td class="bg_02" align="left">
184({* #1949 *})
185({* #1949 *})<div class="padding_s">
186({* #1949 *})
187({* #1949 *})({$item.body|nl2br})
188({* #1949 *})
189({* #1949 *})</div>
190({* #1949 *})
191({* #1949 *})</td>
192({* #1949 *})<td class="bg_01"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
193({* #1949 *})</tr>
194({* #1949 *})({*********})
195({* #1949 *})<tr>
196({* #1949 *})<td style="width:1px;height:1px;" class="bg_01"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
197({* #1949 *})<td class="bg_01" colspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
198({* #1949 *})</tr>
199({* #1949 *})({*********})
200({* #1949 *})<tr>
201({* #1949 *})<td class="bg_01"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
202({* #1949 *})<td class="bg_01"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
203({* #1949 *})<td class="bg_03" align="center">
204({* #1949 *})
205({* #1949 *})<div class="padding_s">
206({* #1949 *})
207({* #1949 *})作成日時
208({* #1949 *})
209({* #1949 *})</div>
210({* #1949 *})
211({* #1949 *})</td>
212({* #1949 *})<td class="bg_01"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
213({* #1949 *})<td class="bg_02" align="left">
214({* #1949 *})
215({* #1949 *})<div class="padding_s">
216({* #1949 *})
217({* #1949 *})({$item.r_datetime2|date_format:"%Y年%m月%d日 %H:%M"})
218({* #1949 *})</div>
219({* #1949 *})
220({* #1949 *})</td>
221({* #1949 *})<td class="bg_01"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
222({* #1949 *})</tr>
223({* #1949 *})({*********})
224({* #1949 *})<tr>
225({* #1949 *})<td style="width:1px;height:1px;" class="bg_01"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
226({* #1949 *})<td class="bg_01" colspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
227({* #1949 *})</tr>
228({* #1949 *})({*********})
229({* #1949 *})<tr>
230({* #1949 *})<td class="bg_01"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
231({* #1949 *})<td class="bg_01"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
232({* #1949 *})<td class="bg_02" align="right" colspan="3">
233({* #1949 *})
234({* #1949 *})<div class="padding_s">
235({* #1949 *})<a href="({t_url m=pc a=page_h_review_list_product})&amp;c_review_id=({$item.c_review_id})">全てのレビューを見る (({$item.write_num|default:0}))</a>
236({* #1949 *})({*<a href="({t_url m=pc a=page_h_review_add_write})&amp;category_id=({$item.c_review_category_id})&amp;asin=({$item.asin})">レビューを書く</a>*})
237({* #1949 *})
238({* #1949 *})</div>
239({* #1949 *})
240({* #1949 *})</td>
241({* #1949 *})<td class="bg_01"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
242({* #1949 *})</tr>
243({* #1949 *})({*********})
244({* #1949 *})<tr>
245({* #1949 *})<td style="height:1px;" class="bg_01" colspan="7"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
246({* #1949 *})</tr>
247({* #1949 *})({*********})
248({* #1949 *})<!--▲レビュー1つ分ここまで-->
249({* #1949 *})({/foreach})
250({* #1949 *})</table>
251({* #1949 *})<!-- *ここまで:検索結果内容>>商品情報* -->
252({* #1949 *})<!-- *ここまで:主内容* -->
253({* #1949 *})({*ここまで:body*})
254({* #1949 *})({*ここから:footer*})
255({* #1949 *})<!-- ここから:レビュー一覧件数表示タブ -->
256({* #1949 *})<table border="0" cellspacing="0" cellpadding="0" style="width:636px;">
257({* #1949 *})({*********})
258({* #1949 *})<tr>
259({* #1949 *})<td style="width:636px;" class="bg_01" colspan="3"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
260({* #1949 *})</tr>
261({* #1949 *})({*********})
262({* #1949 *})<tr>
263({* #1949 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
264({* #1949 *})<td style="width:634px;" class="bg_02" align="right">
265({* #1949 *})
266({* #1949 *})<div class="padding_s">
267({* #1949 *})
268({* #1949 *})({if $is_prev})<a href="({t_url m=pc a=page_h_review_search})&amp;keyword=({$keyword})&amp;category=({$category})&amp;orderby=({$orderby})&amp;direc=-1&amp;page=({$page})">前を表示</a> ({/if})
269({* #1949 *})({if $total_num})
270({* #1949 *})({$start_num})件~({$end_num})件を表示
271({* #1949 *})({/if})
272({* #1949 *})({if $is_next})<a href="({t_url m=pc a=page_h_review_search})&amp;keyword=({$keyword})&amp;category=({$category})&amp;orderby=({$orderby})&amp;direc=1&amp;page=({$page})">次を表示</a>({/if})
273({* #1949 *})
274({* #1949 *})</div>
275({* #1949 *})
276({* #1949 *})</td>
277({* #1949 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
278({* #1949 *})</tr>
279({* #1949 *})({*********})
280({* #1949 *})<tr>
281({* #1949 *})<td class="bg_01" colspan="3"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
282({* #1949 *})</tr>
283({* #1949 *})({*********})
284({* #1949 *})</table>
285({* #1949 *})<!-- ここまで:レビュー一覧件数表示タブ -->
286({* #1949 *})({*ここから:footer*})
287({* #1949 *})</td>
288({* #1949 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square" /></td>
289({* #1949 *})</tr>
290({* #1949 *})<tr>
291({* #1949 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square" /></td>
292({* #1949 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square" /></td>
293({* #1949 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square" /></td>
294({* #1949 *})</tr>
295({* #1949 *})</table>
296({* #1949 *})<!-- ******ここまで:検索結果****** -->
297({* unknown *})({* /if *})
298
299</div><!-- Center -->
300</div><!-- LayoutC -->
Note: See TracBrowser for help on using the repository browser.