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

source: OpenPNE/branches/stable-2.10.x/webapp/modules/ktai/templates/inc_f_home_h_prof.tpl @ 4371

Last change on this file since 4371 was 4371, checked in by kiwa, 13 years ago

#1391 テンプレートに新配色設定追加

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