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

source: OpenPNE/trunk/webapp/modules/ktai/templates/fh_diary.tpl @ 6779

Last change on this file since 6779 was 6779, checked in by ogawa, 11 years ago

#2058:コミュニティトピック、イベントのページャを変更

File size: 8.1 KB
Line 
1({$inc_ktai_header|smarty:nodefaults})
2
3<table width="100%"><tr><td align="center" bgcolor="#({$ktai_color_config.bg_02})">
4<font color="#({$ktai_color_config.font_05})"><a name="top">({$target_diary_writer.nickname})さんの({$WORD_DIARY_HALF})</a></font><br>
5</td></tr>
6({if $c_siteadmin})
7<tr><td align="left">
8({$c_siteadmin|smarty:nodefaults})<br>
9</td></tr>
10({/if})
11<tr><td bgcolor="#({$ktai_color_config.bg_03})" align="center">
12<font color="#({$ktai_color_config.color_24})">({$target_c_diary.subject})</font><br>
13</td></tr></table>
14<a href="#({if $c_diary_comment})dc1({else})({if $is_prev || $is_next})pager({else})write({/if})({/if})"><font color="#({$ktai_color_config.font_08})">▼</font></a>({$target_c_diary.r_datetime|date_format:"%y/%m/%d %H:%M"})({if $target_diary_writer.c_member_id==$u}) [<a href="({t_url m=ktai a=page_h_diary_edit})&amp;target_c_diary_id=({$target_c_diary.c_diary_id})&amp;({$tail})">編集</a>][<a href="({t_url m=ktai a=page_fh_diary_delete_c_diary_confirm})&amp;target_c_diary_id=({$target_c_diary.c_diary_id})&amp;({$tail})">削除</a>]({/if})<br>
15({$target_c_diary.body|t_url2a_ktai|nl2br|t_decoration_ktai})
16<br>
17({if $target_c_diary.image_filename_1})
18写真1を見る:[<a href="({t_img_url filename=$target_c_diary.image_filename_1 w=120 h=120 f=jpg})">小</a>/<a href="({t_img_url filename=$target_c_diary.image_filename_1 w=$smarty.const.OPENPNE_IMG_KTAI_MAX_WIDTH h=$smarty.const.OPENPNE_IMG_KTAI_MAX_HEIGHT f=jpg})">大</a>]<br>
19({/if})
20({if $target_c_diary.image_filename_2})
21写真2を見る:[<a href="({t_img_url filename=$target_c_diary.image_filename_2 w=120 h=120 f=jpg})">小</a>/<a href="({t_img_url filename=$target_c_diary.image_filename_2 w=$smarty.const.OPENPNE_IMG_KTAI_MAX_WIDTH h=$smarty.const.OPENPNE_IMG_KTAI_MAX_HEIGHT f=jpg})">大</a>]<br>
22({/if})
23({if $target_c_diary.image_filename_3})
24写真3を見る:[<a href="({t_img_url filename=$target_c_diary.image_filename_3 w=120 h=120 f=jpg})">小</a>/<a href="({t_img_url filename=$target_c_diary.image_filename_3 w=$smarty.const.OPENPNE_IMG_KTAI_MAX_WIDTH h=$smarty.const.OPENPNE_IMG_KTAI_MAX_HEIGHT f=jpg})">大</a>]<br>
25({/if})
26
27(({if $target_c_diary.public_flag == "public"})全員に公開({elseif $target_c_diary.public_flag == "friend"})({$WORD_MY_FRIEND_HALF})まで公開({elseif $target_c_diary.public_flag == "private"})公開しない({/if}))
28
29({if $c_diary_id_prev || $c_diary_id_next})
30<hr color="#({$ktai_color_config.border_01})">
31<center>
32({if $c_diary_id_prev})<a href="({t_url m=ktai a=page_fh_diary})&amp;target_c_diary_id=({$c_diary_id_prev})&amp;({$tail})">前の({$WORD_DIARY_HALF})</a>({/if})
33({if $c_diary_id_prev && $c_diary_id_next})&nbsp;({/if})
34({if $c_diary_id_next})<a href="({t_url m=ktai a=page_fh_diary})&amp;target_c_diary_id=({$c_diary_id_next})&amp;({$tail})">次の({$WORD_DIARY_HALF})</a>({/if})
35</center>
36({/if})
37
38({if $c_diary_comment})
39<hr color="#({$ktai_color_config.border_01})">
40<center>
41コメント(全({$total_num})件)<br>
42({$pager.start})番~({$pager.end})番を表示
43</center>
44
45<table width="100%">
46({foreach from=$c_diary_comment name=c_diary_comment item=c_diary_comment_})
47<tr><td bgcolor="#({$ktai_color_config.bg_07})">
48<hr color="#({$ktai_color_config.border_02})">
49</td></tr>
50<tr><td bgcolor="#({cycle values="`$ktai_color_config.bg_06`,`$ktai_color_config.bg_07`"})">
51<a href="#({if $smarty.foreach.c_diary_comment.last})({if $is_prev || $is_next})pager({else})write({/if})({else})dc({$smarty.foreach.c_diary_comment.iteration+1})({/if})" name="dc({$smarty.foreach.c_diary_comment.iteration})"><font color="#({$ktai_color_config.font_08})">▼</font></a><font color="#({$ktai_color_config.font_06})">[({$c_diary_comment_.number|string_format:"%03d"})]</font> ({$c_diary_comment_.r_datetime|date_format:"%m/%d %H:%M"})
52({if $c_diary_comment_.c_member_id == $u || $target_diary_writer.c_member_id==$u})
53[<a href="({t_url m=ktai a=page_fh_diary_delete_c_diary_comment_confirm})&amp;target_c_diary_comment_id=({$c_diary_comment_.c_diary_comment_id})&amp;({$tail})&amp;target_c_diary_id=({$target_c_diary.c_diary_id})">削除</a>]
54({/if})<br>
55({if $c_diary_comment_.nickname})<a href="({t_url m=ktai a=page_f_home})&amp;target_c_member_id=({$c_diary_comment_.c_member_id})&amp;({$tail})">({$c_diary_comment_.nickname})</a>({/if})
56<br>
57({$c_diary_comment_.body|t_url2a_ktai|nl2br})
58<br>
59({if $c_diary_comment_.image_filename_1})
60写真1を見る:[<a href="({t_img_url filename=$c_diary_comment_.image_filename_1 w=120 h=120 f=jpg})">小</a>/<a href="({t_img_url filename=$c_diary_comment_.image_filename_1 w=$smarty.const.OPENPNE_IMG_KTAI_MAX_WIDTH h=$smarty.const.OPENPNE_IMG_KTAI_MAX_HEIGHT f=jpg})">大</a>]<br>
61({/if})
62({if $c_diary_comment_.image_filename_2})
63写真2を見る:[<a href="({t_img_url filename=$c_diary_comment_.image_filename_2 w=120 h=120 f=jpg})">小</a>/<a href="({t_img_url filename=$c_diary_comment_.image_filename_2 w=$smarty.const.OPENPNE_IMG_KTAI_MAX_WIDTH h=$smarty.const.OPENPNE_IMG_KTAI_MAX_HEIGHT f=jpg})">大</a>]<br>
64({/if})
65({if $c_diary_comment_.image_filename_3})
66写真3を見る:[<a href="({t_img_url filename=$c_diary_comment_.image_filename_3 w=120 h=120 f=jpg})">小</a>/<a href="({t_img_url filename=$c_diary_comment_.image_filename_3 w=$smarty.const.OPENPNE_IMG_KTAI_MAX_WIDTH h=$smarty.const.OPENPNE_IMG_KTAI_MAX_HEIGHT f=jpg})">大</a>]<br>
67({/if})
68</td></tr>
69({/foreach})
70</table>
71
72({if $pager.page_prev || $pager.page_next})
73<center>
74<a name="pager"></a>
75({if $pager.page_prev})<a href="({t_url m=ktai a=page_fh_diary})&amp;target_c_diary_id=({$target_c_diary.c_diary_id})&amp;page=({$pager.page_prev})({if $requests.order == 'asc'})&amp;order=asc({/if})&amp;({$tail})" accesskey="4">[i:128]前を表示</a>({/if})
76({if $pager.page_prev && $pager.page_next})&nbsp;({/if})
77({if $pager.page_next})<a href="({t_url m=ktai a=page_fh_diary})&amp;target_c_diary_id=({$target_c_diary.c_diary_id})&amp;page=({$pager.page_next})({if $requests.order == 'asc'})&amp;order=asc({/if})&amp;({$tail})" accesskey="6">[i:130]次を表示</a>({/if})
78<br>
79({if $total_page_num > 1})
80({if $requests.order == 'asc'})
81<a href="({t_url m=ktai a=page_fh_diary})&amp;target_c_diary_id=({$target_c_diary.c_diary_id})&amp;({$tail})">最新を表示</a>
82({else})
83<a href="({t_url m=ktai a=page_fh_diary})&amp;target_c_diary_id=({$target_c_diary.c_diary_id})&amp;order=asc&amp;({$tail})">最初から表示</a>
84({/if})
85({/if})
86</center>
87({/if})
88({/if})
89<hr color="#({$ktai_color_config.border_01})">
90<a name="write"></a>
91<font color="#({$ktai_color_config.font_06})">コメントを書く:</font>
92({t_form m=ktai a=do_fh_diary_insert_c_diary_comment})
93<input type="hidden" name="ksid" value="({$PHPSESSID})">
94<input type="hidden" name="target_c_diary_id" value="({$target_c_diary.c_diary_id})">
95({if $msg})<font color="#({$ktai_color_config.font_09})">({$msg})</font><br>({/if})
96<textarea name="body" rows="3"></textarea><br>
97<input type="submit" value="書き込む">
98</form>
99<br>
100[i:110]<a href="mailto:({$mail_address})">メール投稿</a><br>
101写真も添付できます。<br>
102<font color="#({$ktai_color_config.font_09})">※メール投稿では絵文字が反映されません</font>
103
104<hr color="#({$ktai_color_config.border_01})">
105<a name="menu"></a>
106[i:190]<a href="({t_url m=ktai a=page_fh_diary_list})&amp;target_c_member_id=({$target_diary_writer.c_member_id})&amp;({$tail})">({$target_diary_writer.nickname})さんの({$WORD_DIARY_HALF})リスト</a><br>
107({if $INC_NAVI_type=="f"})
108<a href="({t_url m=ktai a=page_f_home})&amp;target_c_member_id=({$target_diary_writer.c_member_id})&amp;({$tail})">({$target_diary_writer.nickname})さんのトップ</a><br>
109({/if})
110({if $target_diary_writer.c_member_id==$u})
111<table width="100%"><tr><td align="center" bgcolor="#({$ktai_color_config.bg_02})">
112<font color="#({$ktai_color_config.font_05})">({$WORD_DIARY_HALF})検索</font><br>
113</td></tr>
114</table>
115({t_form _method=get m=ktai a=page_fh_diary_list})
116<input type="hidden" name="ksid" value="({$PHPSESSID})">
117<font color="#({$ktai_color_config.font_06})">キーワード:</font><br>
118<input type="text" name="keyword" value="({$keyword})"><br>
119<center><input type="submit" value="検索する"></center>
120</form>
121({/if})
122
123({$inc_ktai_footer|smarty:nodefaults})
Note: See TracBrowser for help on using the repository browser.