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

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

Last change on this file since 3778 was 3778, checked in by ebihara, 14 years ago

#374:携帯の配色変更機能を追加

File size: 6.5 KB
Line 
1({$inc_ktai_header|smarty:nodefaults})
2
3<table width="100%"><tr><td align="center" bgcolor="#({$ktai_color_config.bg_01})">
4<font color="#({$ktai_color_config.font_01})"><a name="top">({$target_diary_writer.nickname})さんの日記</a></font><br>
5</td></tr>
6<tr><td bgcolor="#({$ktai_color_config.bg_02})" align="center">
7({$target_c_diary.subject})<br>
8</td></tr></table>
9
10({if $c_siteadmin})
11({$c_siteadmin|smarty:nodefaults})
12({/if})
13<a href="#({if $c_diary_comment})dc1({else})menu({/if})"><font color="#({$ktai_color_config.bg_06})">▼</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>
14({$target_c_diary.body|t_url2a_ktai|nl2br})
15<br>
16({if $target_c_diary.image_filename_1})
17画像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>
18({/if})
19({if $target_c_diary.image_filename_2})
20画像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>
21({/if})
22({if $target_c_diary.image_filename_3})
23画像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>
24({/if})
25
26({if $type == "h"})
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({/if})
29
30({if $c_diary_comment})
31<hr color="#({$ktai_color_config.border_01})">
32<center>
33コメント(全({$total_num})件)<br>
34({$pager.start})~({$pager.end})件目を表示
35</center>
36
37<table width="100%">
38({foreach from=$c_diary_comment name=c_diary_comment item=c_diary_comment_})
39<tr><td>
40<hr color="#b3ceef">
41</td></tr>
42<tr><td bgcolor="({cycle values="#`$ktai_color_config.bg_05`,#ffffff"})">
43<a href="#({if $smarty.foreach.c_diary_comment.last})menu({else})dc({$smarty.foreach.c_diary_comment.iteration+1})({/if})" name="dc({$smarty.foreach.c_diary_comment.iteration})"><font color="#({$ktai_color_config.bg_06})">▼</font></a><font color="#({$ktai_color_config.font_02})">[({$c_diary_comment_.number|string_format:"%03d"})]</font> ({$c_diary_comment_.r_datetime|date_format:"%m/%d %H:%M"})
44({if $c_diary_comment_.c_member_id == $u || $target_diary_writer.c_member_id==$u})
45[<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>]
46({/if})<br>
47({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})
48<br>
49({$c_diary_comment_.body|t_url2a_ktai|nl2br})
50<br>
51({if $c_diary_comment_.image_filename_1})
52画像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>
53({/if})
54({if $c_diary_comment_.image_filename_2})
55画像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>
56({/if})
57({if $c_diary_comment_.image_filename_3})
58画像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>
59({/if})
60</td></tr>
61({/foreach})
62</table>
63
64({if $is_prev || $is_next})
65<center>
66({if $is_prev})<a href="({t_url m=ktai a=page_fh_diary})&amp;target_c_diary_id=({$target_c_diary.c_diary_id})&amp;page=({$page-1})&amp;({$tail})" accesskey="4">%%i128%%前を表示</a>({/if})
67({if $is_prev && $is_next})&nbsp;({/if})
68({if $is_next})<a href="({t_url m=ktai a=page_fh_diary})&amp;target_c_diary_id=({$target_c_diary.c_diary_id})&amp;page=({$page+1})&amp;({$tail})" accesskey="6">%%i130%%次を表示</a>({/if})
69<br>
70</center>
71({/if})
72({/if})
73<hr color="#({$ktai_color_config.border_01})">
74<font color="#({$ktai_color_config.font_02})">コメントを書く:</font>
75({t_form m=ktai a=do_fh_diary_insert_c_diary_comment})
76<input type="hidden" name="ksid" value="({$PHPSESSID})">
77<input type="hidden" name="target_c_diary_id" value="({$target_c_diary.c_diary_id})">
78<font color=red>({if $msg})({$msg})<br>({/if})</font>
79<textarea name="body" rows="3"></textarea><br>
80<input type="submit" value="書き込む">
81</form>
82
83<hr color="#({$ktai_color_config.border_01})">
84<a name="menu">
85%%i1014%%<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})さんの日記リスト</a><br>
86</a>
87({if $INC_NAVI_type=="f"})
88<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>
89({/if})
90({if $target_diary_writer.c_member_id==$u})
91<table width="100%"><tr><td align="center" bgcolor="#({$ktai_color_config.bg_01})">
92<font color="#({$ktai_color_config.font_01})">日記検索</font><br>
93</td></tr>
94</table>
95({t_form _method=get m=ktai a=page_fh_diary_list})
96<input type="hidden" name="ksid" value="({$PHPSESSID})">
97<font color="#({$ktai_color_config.font_02})">キーワード:</font><br>
98<input type="text" name="keyword" value="({$keyword})"><br>
99<center><input type="submit" value="検索する"></center>
100</form>
101({/if})
102
103({$inc_ktai_footer|smarty:nodefaults})
Note: See TracBrowser for help on using the repository browser.