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

source: OpenPNE/trunk/webapp/modules/pc/templates/h_com_topic_find_all.tpl @ 6197

Last change on this file since 6197 was 6197, checked in by nakasone, 14 years ago

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

File size: 3.5 KB
Line 
1<div id="LayoutC">
2<div id="Center">
3
4({capture name="keyword_url"})({$keyword|escape:url|smarty:nodefaults})({/capture})
5
6({* {{{ searchFormBox *})
7<div class="dparts searchFormBox"><div class="parts">
8<div class="partsHeading"><h3>トピック検索</h3></div>
9<div class="item">
10
11({t_form_block _method=get m=pc a=page_h_com_topic_find_all})
12<p class="form">
13<label for="keyword">キーワード</label>
14<input type="text" class="text" name="keyword" id="keyword" size="15" value="({$keyword})" />
15<input type="submit" class="input_submit" value=" 検 索 " />
16</p>
17
18<p class="form">
19<span class="label">絞りこみ</span>
20<a href="({t_url m=pc a=page_h_com_topic_find_all})&amp;type=all&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})">すべて</a>
21|
22<a href="({t_url m=pc a=page_h_com_topic_find_all})&amp;type=topic&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})">トピック</a>
23|
24<a href="({t_url m=pc a=page_h_com_topic_find_all})&amp;type=event&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})">イベント</a>
25</p>
26({/t_form_block})
27
28</div>
29</div></div>
30({* }}} *})
31
32({if $c_commu_topic_search_list})
33({* {{{ searchResultList *})
34<div class="dparts searchResultList"><div class="parts">
35<div class="partsHeading"><h3>トピック一覧</h3><p>*** ({$total_num|default:'0'})件が該当しました。</p></div>
36
37({if $total_num})
38<div class="pagerRelative">
39({if $is_prev})<p class="prev"><a href="({t_url m=pc a=page_h_com_topic_find_all})&amp;direc=-1&amp;page=({$page})&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})&amp;type=({$search_val_list.type})">前を表示</a></p>({/if})
40<p class="number">({$start_num})件~({$end_num})件を表示</p>
41({if $is_next})<p class="next"><a href="({t_url m=pc a=page_h_com_topic_find_all})&amp;direc=1&amp;page=({$page})&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})&amp;type=({$search_val_list.type})">次を表示</a></p>({/if})
42</div>
43({/if})
44
45<div class="block">
46({foreach from=$c_commu_topic_search_list item=item})
47<div class="ditem"><div class="item"><table><tr>
48<td class="photo" rowspan="4"><a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$item.c_commu_topic_id})"><img src="({t_img_url filename=$item.commu_image w=76 h=76 noimg=no_logo_small})" alt="" /></a></td>
49<th>トピック名</th><td>({$item.name}) (({$item.max_number}))</td>
50</tr><tr>
51<th>コミュニティ名</th><td>({$item.commu_name})</td>
52</tr><tr>
53<th>本文</th><td>({$item.body|t_truncate:36:"":3})</td>
54</tr><tr>
55<th>投稿日</th><td class="operation"><span class="text">({$item.max_datetime|date_format:"%m月%d日 %H:%M"})</span> <span class="moreInfo"><a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$item.c_commu_topic_id})"><img src="({t_img_url_skin filename=button_shosai})" alt="詳細を見る" /></a></span></td>
56</tr></table></div></div>
57({/foreach})
58</div>
59
60({if $total_num})
61<div class="pagerRelative">
62({if $is_prev})<p class="prev"><a href="({t_url m=pc a=page_h_com_topic_find_all})&amp;direc=-1&amp;page=({$page})&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})&amp;type=({$search_val_list.type})">前を表示</a></p>({/if})
63<p class="number">({$start_num})件~({$end_num})件を表示</p>
64({if $is_next})<p class="next"><a href="({t_url m=pc a=page_h_com_topic_find_all})&amp;direc=1&amp;page=({$page})&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})&amp;type=({$search_val_list.type})">次を表示</a></p>({/if})
65</div>
66({/if})
67
68</div></div>
69({* }}} *})
70({/if})
71
72</div><!-- Center -->
73</div><!-- LayoutC -->
Note: See TracBrowser for help on using the repository browser.