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

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

Last change on this file since 3910 was 3910, checked in by ebihara, 13 years ago

#1088:プロフィール写真を1枚も登録していない場合に、h_profの「写真を編集」リンクが表示されなかったのを修正

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