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

source: OpenPNE/branches/stable-2.12.x/webapp_biz/modules/ktai/templates/inc_f_home_h_prof.tpl @ 9214

Last change on this file since 9214 was 9214, checked in by akamine, 12 years ago

#2292 bizモードにも対応

File size: 10.9 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 $target_c_member.public_flag_birth_month_day == 'public' || ($target_c_member.public_flag_birth_month_day == 'friend' && $is_friend)})
37({if $days_birthday == 0})({* 誕生日当日 *})
38<tr><td colspan="2" align="center">
39<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>
40お誕生日にメッセージを送りましょう</a>
41<hr color="#({$ktai_color_config.border_02})">
42</td></tr>
43({elseif $days_birthday > 0 && $days_birthday <= 3})({* 誕生日3日以内 *})
44<tr><td colspan="2" align="center">
45<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>
46お誕生日にはメッセージを送りましょう</a>
47<hr color="#({$ktai_color_config.border_02})">
48</td></tr>
49({/if})
50({/if})
51({/if})
52<tr><td colspan="2" align="center">
53[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>
54<hr color="#({$ktai_color_config.border_02})">
55</td></tr>
56
57<tr><td align="center" width="50%" valign="top">
58<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>
59({if $is_h_prof == 1})
60<a href="({t_url m=ktai a=page_h_config_image})&amp;({$tail})">写真を編集</a><br>
61({else})
62({if $target_c_member.image_filename})
63<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>
64({/if})
65({/if})
66</td>
67<td valign="top">
68({strip})
69<font color="#({$ktai_color_config.font_06})">ID:</font><br>
70({$target_c_member.c_member_id})<br>
71
72({capture name="birth"})
73({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>
74({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})
75({/if})
76({if $target_c_member.birth_month && $target_c_member.birth_day && ($target_c_member.public_flag_birth_month_day == 'public' || ($target_c_member.public_flag_birth_month_day == 'friend' && ($is_friend || $is_h_prof)))})
77<font color="#({$ktai_color_config.font_06})">誕生日:</font><br>
78({$target_c_member.birth_month})月({$target_c_member.birth_day})日<br>
79({if $is_h_prof && $target_c_member.public_flag_birth_month_day == 'friend'})<font color="#({$ktai_color_config.font_09})">※({$WORD_MY_FRIEND_HALF})まで公開</font><br>({/if})
80({/if})
81({/capture})
82
83({foreach from=$target_c_member.profile key=key item=item})
84({if $item.public_flag != "private" && ($item.public_flag == "public" || ($item.public_flag == "friend" && ($is_friend || $is_h_prof)))})
85({if $item.form_type != 'textarea'})
86
87({if !$_cnt_birth && $profile_list[$key].sort_order >= $smarty.const.SORT_ORDER_BIRTH})
88({counter assign="_cnt_birth"})
89({$smarty.capture.birth|smarty:nodefaults})
90({/if})
91
92({if !$item.value == ''})
93<font color="#({$ktai_color_config.font_06})">({$item.caption}):</font><br>
94({if $item.form_type == 'checkbox'})
95    ({$item.value|@t_implode:", "})
96({elseif $item.form_type == 'text' || $item.form_type == 'textlong'})
97    ({$item.value|t_truncate:30:""})
98({else})
99    ({$item.value})
100({/if})
101<br>
102({if $is_h_prof && $item.public_flag == 'friend'})<font color="#({$ktai_color_config.font_09})">※({$WORD_MY_FRIEND_HALF})まで公開</font><br>({/if})
103({/if})
104({/if})
105({/if})
106({/foreach})
107
108({if !$_cnt_birth})({$smarty.capture.birth|smarty:nodefaults})({/if})
109({/strip})
110</td></tr>
111<tr><td colspan="2">
112({foreach from=$target_c_member.profile key=key item=item})
113({if $item.public_flag != "private" && ($item.public_flag == "public" || ($item.public_flag == "friend" && ($is_friend || $is_h_prof)))})
114({if !$item.value == ''})
115({if $item.form_type == 'textarea'})
116<font color="#({$ktai_color_config.font_06})">({$item.caption}):</font><br>
117({$item.value|t_truncate:108:""})<br>
118({if $is_h_prof && $item.public_flag == 'friend'})<font color="#({$ktai_color_config.font_09})">※({$WORD_MY_FRIEND_HALF})まで公開</font><br>({/if})
119({/if})
120({/if})
121({/if})
122({/foreach})
123</td></tr>
124<tr><td align="right" colspan="2">
125<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>
126<hr color="#({$ktai_color_config.border_01})"></td></tr></table>
127({if $is_h_prof})
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({else})
130[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>
131({if $relation.friend==0})
132({if $relation.wait==0})
133[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>
134({/if})
135({/if})
136[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>
137[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>
138({if $relation.friend})
139 / <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>
140({/if})
141({/if})
142({if $inc_ktai_entry_point[3]})
143({$inc_ktai_entry_point[3]|smarty:nodefaults})
144({/if})
145<br>
146<table width="100%">
147<tr><td bgcolor="#({$ktai_color_config.bg_05})">
148<a accesskey="1" name="a1" href="#a1">[i:125]</a><font color="#({$ktai_color_config.color_25})">新着({$WORD_DIARY_HALF})</font><br>
149</td></tr>
150({if $c_diary_list})
151({foreach from=$c_diary_list item=c_diary})
152<tr><td bgcolor="#({cycle values="`$ktai_color_config.bg_06`,`$ktai_color_config.bg_07`"})">
153<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>
154({if $c_diary.image_filename_1 || $c_diary.image_filename_2 || $c_diary.image_filename_3})
155[i:68]
156({/if})
157<br>
158({if $is_h_prof && $c_diary.public_flag == 'friend'})<font color="#({$ktai_color_config.font_09})">※({$WORD_MY_FRIEND_HALF})まで公開</font><br>({/if})
159</td></tr>
160<tr><td bgcolor="#({$ktai_color_config.bg_07})">
161<hr color="#({$ktai_color_config.border_02})">
162</td></tr>
163({/foreach})
164<tr><td align="right">
165<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>
166</td></tr>
167({/if})
168</table>
169<br>
170<table width="100%">
171<tr><td bgcolor="#({$ktai_color_config.bg_08})">
172<a accesskey="2" name="a2" href="#a2">[i:126]</a><font color="#({$ktai_color_config.color_26})">({$WORD_FRIEND_HALF})リスト</font><br>
173</td></tr>
174({foreach from=$c_friend_list item=c_friend})
175<tr><td bgcolor="#({cycle values="`$ktai_color_config.bg_09`,`$ktai_color_config.bg_07`"})">
176<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>
177</td></tr>
178<tr><td bgcolor="#({$ktai_color_config.bg_10})">
179<hr color="#({$ktai_color_config.border_03})">
180</td></tr>
181({/foreach})
182<tr><td align="right">
183<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>
184</td></tr></table>
185
186<br>
187
188<table width="100%">
189<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>
190</td></tr>
191({foreach from=$c_commu_list item=c_commu})
192<tr><td bgcolor="#({cycle values="`$ktai_color_config.bg_06`,`$ktai_color_config.bg_07`"})">
193<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>
194</td></tr>
195<tr><td bgcolor="#({$ktai_color_config.bg_07})">
196<hr color="#({$ktai_color_config.border_02})">
197</td></tr>
198({/foreach})
199<tr><td align="right">
200<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>
201({if $common_commu_count})
202<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>
203({/if})
204</td></tr></table>
205
206({$inc_ktai_footer|smarty:nodefaults})
Note: See TracBrowser for help on using the repository browser.