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

source: OpenPNE/trunk/webapp/modules/pc/templates/h_diary_list_all.tpl @ 6410

Last change on this file since 6410 was 6410, checked in by ogawa, 14 years ago

#2014:「コミュニティ」の名称変更に対応

File size: 4.1 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>({$WORD_DIARY})検索</h3></div>
7<div class="item">
8
9({t_form_block _method=get m=pc a=page_h_diary_list_all})
10<input type="hidden" name="m" value="pc" />
11<input type="hidden" name="a" value="page_h_diary_list_all" />
12<p class="form">
13<label for="keyword">キーワード</label> <input type="text" class="input_text" name="keyword" id="keyword" size="15" value="({$keyword})" />
14<input type="submit" class="input_submit" value=" 検 索 " />
15<a href="({t_url m=pc a=page_h_com_find_all})&amp;keyword=({$keyword|escape:url|smarty:nodefaults})">({$WORD_COMMUNITY})検索</a>
16({if $smarty.const.USE_EXTRA_SERVICE})
17|
18<a href="http://www.google.com/search?hl=ja&amp;lr=lang_ja&amp;q=({$keyword|escape:url|smarty:nodefaults})" target="_blank">ウェブ検索</a>
19({/if})
20</p>
21<p class="note">※タイトル、本文より検索をおこないます。スペースで区切ると複数キーワードでの検索ができます。</p>
22({/t_form_block})
23
24</div>
25</div></div>
26({* }}} *})
27
28({if $c_diary_search_list_count})
29({* {{{ searchResultList *})
30<div class="dparts searchResultList"><div class="parts">
31({if $keyword})
32<div class="partsHeading"><h3>({$WORD_DIARY})検索結果一覧</h3><p>*** ({$c_diary_search_list_count})件が該当しました。</p></div>
33({else})
34<div class="partsHeading"><h3>最新({$WORD_DIARY})一覧</h3></div>
35({/if})
36
37<div class="pagerRelative">
38({if $is_prev})<p class="prev"><a href="({t_url m=pc a=page_h_diary_list_all})&amp;keyword=({$keyword|escape:url|smarty:nodefaults})&amp;page=({$page})&amp;direc=-1">前を表示</a></p>({/if})
39<p class="number">({$pager.start})件~({$pager.end})件を表示</p>
40({if $is_next})<p class="next">&nbsp;&nbsp;<a href="({t_url m=pc a=page_h_diary_list_all})&amp;keyword=({$keyword|escape:url|smarty:nodefaults})&amp;page=({$page})&amp;direc=1">次を表示</a></p>({/if})
41</div>
42
43<div class="block">
44({foreach from=$new_diary_list item=diary})
45<div class="ditem"><div class="item"><table><tr>
46<td class="photo" rowspan="4"><a href="({t_url m=pc a=page_fh_diary})&amp;target_c_diary_id=({$diary.c_diary_id})"><img src="({t_img_url filename=$diary.c_member.image_filename w=76 h=76 noimg=no_image})" alt="" /></a></td>
47<th>({$WORD_NICKNAME})</th><td>({$diary.c_member.nickname})({if $diary.c_member.profile.sex.value}) (({$diary.c_member.profile.sex.value}))({/if})</td>
48</tr><tr>
49<th>タイトル</th><td>({$diary.subject}) (({$diary.num_comment}))({if $diary.image_filename_1 || $diary.image_filename_2 || $diary.image_filename_3}) <img src="({t_img_url_skin filename=icon_camera})" alt="" />({/if})</td>
50</tr><tr>
51<th>本文</th><td>({$diary.body|t_decoration:1|t_truncate:36:"":3})</td>
52</tr><tr class="operation">
53<th>作成日時</th><td><span class="text">({$diary.r_datetime|date_format:"%m月%d日 %H:%M"})</span> <span class="moreInfo"><a href="({t_url m=pc a=page_fh_diary})&amp;target_c_diary_id=({$diary.c_diary_id})"><img src="({t_img_url_skin filename=button_shosai})" alt="詳細を見る" /></a></span></td>
54</tr></table></div></div>
55({/foreach})
56</div>
57
58<div class="pagerRelative">
59({if $is_prev})<p class="prev"><a href="({t_url m=pc a=page_h_diary_list_all})&amp;keyword=({$keyword|escape:url|smarty:nodefaults})&amp;page=({$page})&amp;direc=-1">前を表示</a></p>({/if})
60<p class="number">({$pager.start})件~({$pager.end})件を表示</p>
61({if $is_next})<p class="next">&nbsp;&nbsp;<a href="({t_url m=pc a=page_h_diary_list_all})&amp;keyword=({$keyword|escape:url|smarty:nodefaults})&amp;page=({$page})&amp;direc=1">次を表示</a></p>({/if})
62</div>
63
64</div></div>
65({* }}} *})
66({/if})
67
68({if $c_rss_cache_list})
69({* {{{ recentList *})
70<div class="dparts recentList"><div class="parts">
71<div class="partsHeading"><h3>最新Blog一覧</h3></div>
72({foreach from=$c_rss_cache_list item=item})
73<dl>
74<dt>({$item.r_datetime|date_format:"%Y年%m月%d日 %H:%M"})</dt>
75<dd><a href="({$item.link})" target="_blank">({$item.subject})</a> (({$item.c_member.nickname}))</dd>
76</dl>
77({/foreach})
78</div></div>
79({* }}} *})
80({/if})
81
82</div><!-- Center -->
83</div><!-- LayoutC -->
Note: See TracBrowser for help on using the repository browser.