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

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

Last change on this file since 4222 was 4222, checked in by ebihara, 13 years ago

#1322:携帯版の配色を適切な順序に並び替え、配色番号を振り直した

File size: 7.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})さんの日記</a></font><br>
5</td></tr>
6<tr><td bgcolor="#({$ktai_color_config.bg_03})" 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})({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>
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 $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}))
27
28({if $c_diary_id_prev || $c_diary_id_next})
29<hr color="#({$ktai_color_config.border_01})">
30<center>
31({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})">前の日記</a>({/if})
32({if $c_diary_id_prev && $c_diary_id_next})&nbsp;({/if})
33({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})">次の日記</a>({/if})
34</center>
35({/if})
36
37({if $c_diary_comment})
38<hr color="#({$ktai_color_config.border_01})">
39<center>
40コメント(全({$total_num})件)<br>
41({$pager.start})~({$pager.end})件目を表示
42</center>
43
44<table width="100%">
45({foreach from=$c_diary_comment name=c_diary_comment item=c_diary_comment_})
46<tr><td>
47<hr color="#({$ktai_color_config.border_02})">
48</td></tr>
49<tr><td bgcolor="#({cycle values="`$ktai_color_config.bg_06`,`$ktai_color_config.bg_07`"})">
50<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"})
51({if $c_diary_comment_.c_member_id == $u || $target_diary_writer.c_member_id==$u})
52[<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>]
53({/if})<br>
54({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})
55<br>
56({$c_diary_comment_.body|t_url2a_ktai|nl2br})
57<br>
58({if $c_diary_comment_.image_filename_1})
59写真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>
60({/if})
61({if $c_diary_comment_.image_filename_2})
62写真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>
63({/if})
64({if $c_diary_comment_.image_filename_3})
65写真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>
66({/if})
67</td></tr>
68({/foreach})
69</table>
70
71({if $is_prev || $is_next})
72<center>
73<a name="pager"></a>
74({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">[i:128]前を表示</a>({/if})
75({if $is_prev && $is_next})&nbsp;({/if})
76({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">[i:130]次を表示</a>({/if})
77<br>
78</center>
79({/if})
80({/if})
81<hr color="#({$ktai_color_config.border_01})">
82<a name="write"></a>
83<font color="#({$ktai_color_config.font_06})">コメントを書く:</font>
84({t_form m=ktai a=do_fh_diary_insert_c_diary_comment})
85<input type="hidden" name="ksid" value="({$PHPSESSID})">
86<input type="hidden" name="target_c_diary_id" value="({$target_c_diary.c_diary_id})">
87({if $msg})<font color="#({$ktai_color_config.font_09})">({$msg})</font><br>({/if})
88<textarea name="body" rows="3"></textarea><br>
89<input type="submit" value="書き込む">
90</form>
91
92<hr color="#({$ktai_color_config.border_01})">
93<a name="menu"></a>
94[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})さんの日記リスト</a><br>
95({if $INC_NAVI_type=="f"})
96<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>
97({/if})
98({if $target_diary_writer.c_member_id==$u})
99<table width="100%"><tr><td align="center" bgcolor="#({$ktai_color_config.bg_02})">
100<font color="#({$ktai_color_config.font_05})">日記検索</font><br>
101</td></tr>
102</table>
103({t_form _method=get m=ktai a=page_fh_diary_list})
104<input type="hidden" name="ksid" value="({$PHPSESSID})">
105<font color="#({$ktai_color_config.font_06})">キーワード:</font><br>
106<input type="text" name="keyword" value="({$keyword})"><br>
107<center><input type="submit" value="検索する"></center>
108</form>
109({/if})
110
111({$inc_ktai_footer|smarty:nodefaults})
Note: See TracBrowser for help on using the repository browser.