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

source: OpenPNE/trunk/webapp_biz/modules/ktai/templates/f_home.tpl @ 1181

Last change on this file since 1181 was 1181, checked in by takanashi, 14 years ago

#235TODO機能向上の盛り込み

File size: 6.2 KB
Line 
1({$inc_ktai_header|smarty:nodefaults})
2
3<center><font color="orange">({$target_c_member.nickname})さんのホーム(ID=({$target_c_member.c_member_id}))</font></center>
4<hr>
5
6({if $days_birthday == 0})({* 誕生日当日 *})
7<a href="({t_url m=ktai a=page_f_message_send})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">☆Happy Birthday☆
8<br>お誕生日にメッセージを送りましょう</a>
9<hr>
10({elseif $days_birthday <= 3})({* 誕生日3日以内 *})
11<a href="({t_url m=ktai a=page_f_message_send})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">☆もうすぐ誕生日です!☆
12<br>お誕生日にはメッセージを送りましょう</a>
13<hr>
14({/if})
15
16({if $c_siteadmin})
17({$c_siteadmin|smarty:nodefaults})
18<hr>
19({/if})
20({if $target_c_member.image_filename})
21★<a href="({t_url m=ktai a=page_f_show_image})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">写真を見る</a><br>
22<br>
23({/if})
24
25({if $relation.wait==1})
26現在、({$WORD_FRIEND_HALF})承認待ちです<br>
27<br>
28({/if})
29<a href="#menu" accesskey="1">1.メニュー</a>({if ($relation.friend||$target_c_member.public_flag_diary=="public")&&$c_diary_list})|<a href="#news" accesskey="2">2.新着リスト</a>({/if})|<a href="#intro" accesskey="3">3.プロフィール</a>
30<hr>
31({strip})
32({capture name="birth"})
33({if $target_c_member.age !== NULL})年齢:({$target_c_member.age})歳<br>({/if})
34誕生日:({$target_c_member.birth_month})月({$target_c_member.birth_day})日<br>
35({/capture})
36
37({foreach from=$target_c_member.profile key=key item=item})
38
39({if !$_cnt_nick && $profile_list[$key].sort_order >= $smarty.const.SORT_ORDER_NICK
40  && !$_cnt_birth && $profile_list[$key].sort_order >= $smarty.const.SORT_ORDER_BIRTH})
41({counter assign="_cnt_nick"})
42({counter assign="_cnt_birth"})
43({if $smarty.const.SORT_ORDER_NICK > $smarty.const.SORT_ORDER_BIRTH})
44({$smarty.capture.birth|smarty:nodefaults})
45({$smarty.capture.nick|smarty:nodefaults})
46({else})
47({$smarty.capture.nick|smarty:nodefaults})
48({$smarty.capture.birth|smarty:nodefaults})
49({/if})
50({/if})
51
52({if !$_cnt_nick && $profile_list[$key].sort_order >= $smarty.const.SORT_ORDER_NICK})
53({counter assign="_cnt_nick"})
54({$smarty.capture.nick|smarty:nodefaults})
55({/if})
56
57({if !$_cnt_birth && $profile_list[$key].sort_order >= $smarty.const.SORT_ORDER_BIRTH})
58({counter assign="_cnt_birth"})
59({$smarty.capture.birth|smarty:nodefaults})
60({/if})
61
62({if $item.value && $item.form_type != 'textarea'})
63({$item.caption}):
64
65({if $item.form_type == 'checkbox'})
66    ({$item.value|@t_implode:", "})
67({else})
68    ({$item.value})
69({/if})
70<br>
71({/if})
72({/foreach})
73
74({if !$_cnt_nick && !$_cnt_birth})
75({if $smarty.const.SORT_ORDER_NICK > $smarty.const.SORT_ORDER_BIRTH})
76({$smarty.capture.birth|smarty:nodefaults})
77({$smarty.capture.nick|smarty:nodefaults})
78({else})
79({$smarty.capture.nick|smarty:nodefaults})
80({$smarty.capture.birth|smarty:nodefaults})
81({/if})
82({else})
83({if !$_cnt_nick})({$smarty.capture.nick|smarty:nodefaults})({/if})
84({if !$_cnt_birth})({$smarty.capture.birth|smarty:nodefaults})({/if})
85({/if})
86({/strip})
87
88<hr>
89<a name="menu">メニュー</a>
90<br>
91◆<a href="({t_url m=ktai_biz a=page_fh_biz_todo_list})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">Todoリスト</a><br>
92◆<a href="({t_url m=ktai_biz a=page_fh_calendar_week})&amp;target_id=({$target_c_member.c_member_id})&amp;({$tail})">週間カレンダー</a><br>
93◆<a href="({t_url m=ktai a=page_f_message_send})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">メッセージを送る</a><br>
94◆<a href="({t_url m=ktai a=do_f_bookmark_add_insert_c_bookmark})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">お気に入りに追加</a><br>
95◆紹介文<br>
96({if $relation.friend})
97├<a href="({t_url m=ktai a=page_f_intro_edit})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">書く</a><br>
98({/if})
99└<a href="({t_url m=ktai a=page_fh_intro})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">読む</a><br>
100({if $relation.friend==0})
101({if $relation.wait==0})
102◆<a href="({t_url m=ktai a=page_f_link_request})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">({$WORD_MY_FRIEND_HALF})に加える</a><br>
103({/if})
104({/if})
105
106<hr>
107<a name="news">新着リスト</a>
108<br>
109({if $c_diary_list})
110<font color="green">[日記]</font><br>
111({foreach from=$c_diary_list item=c_diary})
112 ({$c_diary.r_date|date_format:"%y/%m/%d"})-<a href="({t_url m=ktai a=page_fh_diary})&amp;target_c_diary_id=({$c_diary.c_diary_id})&amp;({$tail})">({$c_diary.subject})</a>(({$c_diary.comment_count}))<br>
113({/foreach})
114<a href="({t_url m=ktai a=page_fh_diary_list})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">→もっと読む</a><br>
115<a href="#top">→このページの先頭へ戻る</a>
116<hr>
117({/if})
118<font color="green">[({$WORD_FRIEND_HALF})リスト]</font><br>
119({foreach from=$c_friend_list item=c_friend})
120 <a href="({t_url m=ktai a=page_f_home})&amp;target_c_member_id=({$c_friend.c_member_id_to})&amp;({$tail})">({$c_friend.nickname})</a>(({$c_friend.count_friend}))<br>
121({/foreach})
122<a href="({t_url m=ktai a=page_fh_friend_list})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">→すべて表示</a><br>
123<a href="({t_url m=ktai a=page_fh_intro})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">紹介文を見る</a><br>
124<a href="#top">→このページの先頭へ戻る</a>
125<hr>
126<font color="green">[参加コミュニティ]</font><br>
127({foreach from=$c_commu_list item=c_commu})
128 <a href="({t_url m=ktai a=page_c_home})&amp;target_c_commu_id=({$c_commu.c_commu_id})&amp;({$tail})">({$c_commu.name})</a>(({$c_commu.count_members}))<br>
129({/foreach})
130<a href="({t_url m=ktai a=page_fh_com_list})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">→すべて表示</a><br>
131<a href="#top">→このページの先頭へ戻る</a>
132
133<hr>
134<a name="intro">プロフィール</a>
135<br>
136({foreach from=$target_c_member.profile key=key item=item})
137({if $item.form_type == 'textarea'})
138<font color="green">[({$item.caption})]</font><br>
139({$item.value|nl2br})
140({/if})
141({/foreach})
142<hr>
143
144({$inc_ktai_footer|smarty:nodefaults})
Note: See TracBrowser for help on using the repository browser.