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

source: OpenPNE/branches/takanashi/prj_takanashi/webapp/modules/ktai/templates/f_home.tpl @ 1335

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

携帯エントリポイント漏れ分を追加

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