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

source: OpenPNE/branches/work/yoshimura/2.8/webapp_biz/modules/ktai/templates/f_home.tpl @ 3563

Last change on this file since 3563 was 3563, checked in by yoshimura, 12 years ago

BIZ使用時、マイホーム、他人ホームにTodo一覧を表示できるか否か設定できるように変更

File size: 6.7 KB
Line 
1({$inc_ktai_header|smarty:nodefaults})
2
3({if $inc_ktai_entry_point[1]})
4({$inc_ktai_entry_point[1]|smarty:nodefaults})
5({/if})
6
7<center>
8<a name="top">
9<font color="orange">({$target_c_member.nickname})さんのホーム(ID=({$target_c_member.c_member_id}))</font>
10</a>
11</center>
12
13<hr>
14
15({if $days_birthday == 0})({* 誕生日当日 *})
16<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☆
17<br>お誕生日にメッセージを送りましょう</a>
18<hr>
19({elseif $days_birthday <= 3})({* 誕生日3日以内 *})
20<a href="({t_url m=ktai a=page_f_message_send})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">☆もうすぐ誕生日です!☆
21<br>お誕生日にはメッセージを送りましょう</a>
22<hr>
23({/if})
24
25({if $c_siteadmin})
26({$c_siteadmin|smarty:nodefaults})
27<hr>
28({/if})
29
30({if $inc_ktai_entry_point[2]})
31({$inc_ktai_entry_point[2]|smarty:nodefaults})
32({/if})
33
34({if $target_c_member.image_filename})
35★<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>
36<br>
37({/if})
38
39({if $relation.wait==1})
40現在、({$WORD_FRIEND_HALF})承認待ちです<br>
41<br>
42({/if})
43<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>
44<hr>
45({if $inc_ktai_entry_point[3]})
46({$inc_ktai_entry_point[3]|smarty:nodefaults})
47({/if})
48({strip})
49({capture name="birth"})
50({if $target_c_member.age !== NULL})年齢:({$target_c_member.age})歳<br>({/if})
51誕生日:({$target_c_member.birth_month})月({$target_c_member.birth_day})日<br>
52({/capture})
53
54({foreach from=$target_c_member.profile key=key item=item})
55
56({if !$_cnt_nick && $profile_list[$key].sort_order >= $smarty.const.SORT_ORDER_NICK
57  && !$_cnt_birth && $profile_list[$key].sort_order >= $smarty.const.SORT_ORDER_BIRTH})
58({counter assign="_cnt_nick"})
59({counter assign="_cnt_birth"})
60({if $smarty.const.SORT_ORDER_NICK > $smarty.const.SORT_ORDER_BIRTH})
61({$smarty.capture.birth|smarty:nodefaults})
62({$smarty.capture.nick|smarty:nodefaults})
63({else})
64({$smarty.capture.nick|smarty:nodefaults})
65({$smarty.capture.birth|smarty:nodefaults})
66({/if})
67({/if})
68
69({if !$_cnt_nick && $profile_list[$key].sort_order >= $smarty.const.SORT_ORDER_NICK})
70({counter assign="_cnt_nick"})
71({$smarty.capture.nick|smarty:nodefaults})
72({/if})
73
74({if !$_cnt_birth && $profile_list[$key].sort_order >= $smarty.const.SORT_ORDER_BIRTH})
75({counter assign="_cnt_birth"})
76({$smarty.capture.birth|smarty:nodefaults})
77({/if})
78
79({if $item.value && $item.form_type != 'textarea'})
80({$item.caption}):
81
82({if $item.form_type == 'checkbox'})
83    ({$item.value|@t_implode:", "})
84({else})
85    ({$item.value})
86({/if})
87<br>
88({/if})
89({/foreach})
90
91({if !$_cnt_nick && !$_cnt_birth})
92({if $smarty.const.SORT_ORDER_NICK > $smarty.const.SORT_ORDER_BIRTH})
93({$smarty.capture.birth|smarty:nodefaults})
94({$smarty.capture.nick|smarty:nodefaults})
95({else})
96({$smarty.capture.nick|smarty:nodefaults})
97({$smarty.capture.birth|smarty:nodefaults})
98({/if})
99({else})
100({if !$_cnt_nick})({$smarty.capture.nick|smarty:nodefaults})({/if})
101({if !$_cnt_birth})({$smarty.capture.birth|smarty:nodefaults})({/if})
102({/if})
103({/strip})
104
105<hr>
106<a name="menu">メニュー</a>
107<br>
108({if $display_todo_list})
109◆<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>
110({/if})
111◆<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>
112◆<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>
113◆<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>
114◆紹介文<br>
115({if $relation.friend})
116├<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>
117({/if})
118└<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>
119({if $relation.friend==0})
120({if $relation.wait==0})
121◆<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>
122({/if})
123({/if})
124
125<hr>
126<a name="news">新着リスト</a>
127<br>
128({if $c_diary_list})
129<font color="green">[日記]</font><br>
130({foreach from=$c_diary_list item=c_diary})
131 ({$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>
132({/foreach})
133<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>
134<a href="#top">↑このページの先頭へ戻る</a>
135<hr>
136({/if})
137<font color="green">[({$WORD_FRIEND_HALF})リスト]</font><br>
138({foreach from=$c_friend_list item=c_friend})
139 <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>
140({/foreach})
141<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>
142<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>
143<a href="#top">↑このページの先頭へ戻る</a>
144<hr>
145<font color="green">[参加コミュニティ]</font><br>
146({foreach from=$c_commu_list item=c_commu})
147 <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>
148({/foreach})
149<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>
150({if $common_commu_count})
151<a href="({t_url m=ktai a=page_f_com_list_common})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">→共通コミュニティ</a><br>
152({/if})
153<a href="#top">↑このページの先頭へ戻る</a>
154
155<hr>
156<a name="intro">プロフィール</a>
157<br>
158({foreach from=$target_c_member.profile key=key item=item})
159({if $item.form_type == 'textarea'})
160<font color="green">[({$item.caption})]</font><br>
161({$item.value|t_url2a_ktai|nl2br})
162<br>
163({/if})
164({/foreach})
165<hr>
166
167({$inc_ktai_footer|smarty:nodefaults})
Note: See TracBrowser for help on using the repository browser.