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

source: OpenPNE/trunk/webapp_biz/modules/ktai/templates/inc_f_home_h_prof.tpl @ 6410

Last change on this file since 6410 was 6410, checked in by ogawa, 12 years ago

#2014:「コミュニティ」の名称変更に対応

File size: 10.0 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<table width="100%"><tr><td align="center" bgcolor="#({$ktai_color_config.bg_02})">
7<font color="#({$ktai_color_config.font_05})"><a name="top">({$target_c_member.nickname})さん</a></font><br>
8</td></tr>
9<tr><td bgcolor="#({$ktai_color_config.bg_03})" align="center">
10<font color="#({$ktai_color_config.color_24})">最終ログインは({$target_c_member.last_login})</font><br>
11</td></tr></table>
12({if $c_siteadmin})
13({$c_siteadmin|smarty:nodefaults})<br>
14({/if})
15({if $inc_ktai_entry_point[2]})
16({$inc_ktai_entry_point[2]|smarty:nodefaults})
17({/if})
18
19({if $relation.wait==1})
20<font color="#({$ktai_color_config.font_09})">※現在、({$WORD_FRIEND_HALF})承認待ちです</font><br>
21({/if})
22
23({if $is_h_prof == 1})
24<font color="#({$ktai_color_config.font_09})">※他のメンバーから見たあなたのページはこのようになります。<br>プロフィールを変更する場合は <a href="({t_url m=ktai a=page_h_config_prof})&amp;({$tail})">「プロフィール変更」 </a>よりおこなえます。</font><br>
25({/if})
26
27<table width="100%" bgcolor="#({$ktai_color_config.bg_04})">
28({if !$is_h_prof})
29({if ($is_friend || $friend_path)})
30<tr><td colspan="2" align="center">
31({if $friend_path})<a href="({t_url m=ktai a=page_f_home})&amp;target_c_member_id=({$friend_path.c_member_id})&amp;({$tail})">({$friend_path.nickname})</a>さんの({$WORD_FRIEND_HALF})({/if})
32({if $is_friend})({$WORD_MY_FRIEND_HALF})({/if})
33<hr color="#({$ktai_color_config.border_02})">
34</td></tr>
35({/if})
36({if $days_birthday == 0})({* 誕生日当日 *})
37<tr><td colspan="2" align="center">
38<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☆<br>
39お誕生日にメッセージを送りましょう</a>
40<hr color="#({$ktai_color_config.border_02})">
41</td></tr>
42({elseif $days_birthday > 0 && $days_birthday <= 3})({* 誕生日3日以内 *})
43<tr><td colspan="2" align="center">
44<a href="({t_url m=ktai a=page_f_message_send})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">☆もうすぐ誕生日です!☆<br>
45お誕生日にはメッセージを送りましょう</a>
46<hr color="#({$ktai_color_config.border_02})">
47</td></tr>
48({/if})
49({/if})
50<tr><td colspan="2" align="center">
51[i:69]<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>/[i:176]<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>
52<hr color="#({$ktai_color_config.border_02})">
53</td></tr>
54
55<tr><td align="center" width="50%" valign="top">
56<img src="({t_img_url filename=$target_c_member.image_filename w=120 h=120 f=jpg noimg=no_image})" alt="({$target_c_member.nickname})さん"><br>
57({if $is_h_prof == 1})
58<a href="({t_url m=ktai a=page_h_config_image})&amp;({$tail})">写真を編集</a><br>
59({else})
60({if $target_c_member.image_filename})
61<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>
62({/if})
63({/if})
64</td>
65<td valign="top">
66({strip})
67<font color="#({$ktai_color_config.font_06})">ID:</font><br>
68({$target_c_member.c_member_id})<br>
69
70({capture name="birth"})
71({if $target_c_member.age !== NULL && ($target_c_member.public_flag_birth_year == 'public' || ($target_c_member.public_flag_birth_year == 'friend' && ($is_friend || $is_h_prof)))})<font color="#({$ktai_color_config.font_06})">年齢:</font><br>({$target_c_member.age})歳<br>
72({if $is_h_prof && $target_c_member.public_flag_birth_year == 'friend'})<font color="#({$ktai_color_config.font_09})">※({$WORD_MY_FRIEND_HALF})まで公開</font><br>({/if})
73({/if})
74({if $target_c_member.birth_month && $target_c_member.birth_day})
75<font color="#({$ktai_color_config.font_06})">誕生日:</font><br>
76({$target_c_member.birth_month})月({$target_c_member.birth_day})日<br>
77({/if})
78({/capture})
79
80({foreach from=$target_c_member.profile key=key item=item})
81({if $item.public_flag != "private" && ($item.public_flag == "public" || ($item.public_flag == "friend" && ($is_friend || $is_h_prof)))})
82({if $item.form_type != 'textarea'})
83
84({if !$_cnt_birth && $profile_list[$key].sort_order >= $smarty.const.SORT_ORDER_BIRTH})
85({counter assign="_cnt_birth"})
86({$smarty.capture.birth|smarty:nodefaults})
87({/if})
88
89<font color="#({$ktai_color_config.font_06})">({$item.caption}):</font><br>
90({if $item.form_type == 'checkbox'})
91    ({$item.value|@t_implode:", "})
92({elseif $item.form_type == 'text' || $item.form_type == 'textlong'})
93    ({$item.value|t_truncate:30:""})
94({else})
95    ({$item.value})
96({/if})
97<br>
98({if $is_h_prof && $item.public_flag == 'friend'})<font color="#({$ktai_color_config.font_09})">※({$WORD_MY_FRIEND_HALF})まで公開</font><br>({/if})
99
100({/if})
101({/if})
102({/foreach})
103
104({if !$_cnt_birth})({$smarty.capture.birth|smarty:nodefaults})({/if})
105({/strip})
106</td></tr>
107<tr><td colspan="2">
108({foreach from=$target_c_member.profile key=key item=item})
109({if $item.form_type == 'textarea'})
110<font color="#({$ktai_color_config.font_06})">({$item.caption}):</font><br>
111({$item.value|t_truncate:108:""})<br>
112({/if})
113({/foreach})
114</td></tr>
115<tr><td align="right" colspan="2">
116<font color="#({$ktai_color_config.font_07})">⇒</font><a href="({t_url m=ktai a=page_fh_profile_detail})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">もっと見る</a>
117<hr color="#({$ktai_color_config.border_01})"></td></tr></table>
118({if $is_h_prof})
119[i:76]<a href="({t_url m=ktai a=page_fh_intro})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">紹介文を読む</a>
120({else})
121[i:110]<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>
122({if $relation.friend==0})
123({if $relation.wait==0})
124[i:140]<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>
125({/if})
126({/if})
127[i:136]<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>
128[i:76]<a href="({t_url m=ktai a=page_fh_intro})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">紹介文を読む</a>
129({if $relation.friend})
130 / <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>
131({/if})
132({/if})
133({if $inc_ktai_entry_point[3]})
134({$inc_ktai_entry_point[3]|smarty:nodefaults})
135({/if})
136<br>
137<table width="100%">
138<tr><td bgcolor="#({$ktai_color_config.bg_05})">
139<a accesskey="1" name="a1" href="#a1">[i:125]</a><font color="#({$ktai_color_config.color_25})">新着({$WORD_DIARY_HALF})</font><br>
140</td></tr>
141({if $c_diary_list})
142({foreach from=$c_diary_list item=c_diary})
143<tr><td bgcolor="#({cycle values="`$ktai_color_config.bg_06`,`$ktai_color_config.bg_07`"})">
144<font color="#({$ktai_color_config.font_06})">[({$c_diary.r_date|date_format:"%m/%d"})]</font><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|t_truncate:22:""})(({$c_diary.comment_count}))</a>
145({if $c_diary.image_filename_1 || $c_diary.image_filename_2 || $c_diary.image_filename_3})
146[i:68]
147({/if})
148<br>
149({if $is_h_prof && $item.public_flag == 'friend'})<font color="#({$ktai_color_config.font_09})">※({$WORD_MY_FRIEND_HALF})まで公開</font><br>({/if})
150</td></tr>
151<tr><td bgcolor="#({$ktai_color_config.bg_07})">
152<hr color="#({$ktai_color_config.border_02})">
153</td></tr>
154({/foreach})
155<tr><td align="right">
156<font color="#({$ktai_color_config.font_07})">⇒</font><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>
157</td></tr>
158({/if})
159</table>
160<br>
161<table width="100%">
162<tr><td bgcolor="#({$ktai_color_config.bg_08})">
163<a accesskey="2" name="a2" href="#a2">[i:126]</a><font color="#({$ktai_color_config.color_26})">({$WORD_FRIEND_HALF})リスト</font><br>
164</td></tr>
165({foreach from=$c_friend_list item=c_friend})
166<tr><td bgcolor="#({cycle values="`$ktai_color_config.bg_09`,`$ktai_color_config.bg_07`"})">
167<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|t_truncate:30:""})(({$c_friend.count_friend}))</a><br>
168</td></tr>
169<tr><td bgcolor="#({$ktai_color_config.bg_10})">
170<hr color="#({$ktai_color_config.border_03})">
171</td></tr>
172({/foreach})
173<tr><td align="right">
174<font color="#({$ktai_color_config.font_07})">⇒</font><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>
175</td></tr></table>
176
177<br>
178
179<table width="100%">
180<tr><td bgcolor="#({$ktai_color_config.bg_05})"><a accesskey="3" name="a3" href="#a3">[i:127]</a><font color="#({$ktai_color_config.color_25})">参加({$WORD_COMMUNITY_HALF})</font><br>
181</td></tr>
182({foreach from=$c_commu_list item=c_commu})
183<tr><td bgcolor="#({cycle values="`$ktai_color_config.bg_06`,`$ktai_color_config.bg_07`"})">
184<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|t_truncate:30:""})(({$c_commu.count_members}))</a><br>
185</td></tr>
186<tr><td bgcolor="#({$ktai_color_config.bg_07})">
187<hr color="#({$ktai_color_config.border_02})">
188</td></tr>
189({/foreach})
190<tr><td align="right">
191<font color="#({$ktai_color_config.font_07})">⇒</font><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>
192({if $common_commu_count})
193<font color="#({$ktai_color_config.font_07})">⇒</font><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})">共通({$WORD_COMMUNITY_HALF})</a><br>
194({/if})
195</td></tr></table>
196
197({$inc_ktai_footer|smarty:nodefaults})
Note: See TracBrowser for help on using the repository browser.