1 | <?php include_page_title($member->getName().'さん')?> |
---|
2 | |
---|
3 | <?php if ($member == $sf_user->getMember()) : ?> |
---|
4 | <font color="#ff0000"> |
---|
5 | ※他のメンバーから見たあなたのページはこのようになります。<br> |
---|
6 | プロフィールを変更する場合は<?php echo link_to('「プロフィール変更」', 'member/editProfile') ?>よりおこなえます。 |
---|
7 | </font> |
---|
8 | <?php endif; ?> |
---|
9 | |
---|
10 | <table width="100%" bgcolor="#EEEEFF"> |
---|
11 | <tr><td colspan="2" align="center"> |
---|
12 | <hr color="#0D6DDF" size="3"> |
---|
13 | </td></tr> |
---|
14 | |
---|
15 | <tr><td align="center" width="50%" valign="top"> |
---|
16 | <?php echo image_tag_sf_image($member->getImageFileName(), array('size' => '120x120', 'format' => 'jpg')) ?> |
---|
17 | </td> |
---|
18 | <td valign="top"> |
---|
19 | <?php foreach ($member->getProfiles() as $profile) : ?> |
---|
20 | <font color="#999966"><?php echo $profile->getCaption() ?>:</font><br> |
---|
21 | <?php echo $profile ?><br> |
---|
22 | <?php endforeach; ?> |
---|
23 | </td> |
---|
24 | </tr> |
---|
25 | |
---|
26 | <tr><td colspan="2" align="center"> |
---|
27 | <hr color="#0d6ddf" size="3"> |
---|
28 | </td></tr> |
---|
29 | |
---|
30 | <tr><td colspan="2"> |
---|
31 | |
---|
32 | <?php if (!$relation->isFriend() && !$relation->isSelf()) : ?> |
---|
33 | <?php echo link_to('フレンドに加える', 'friend/link?id='.$member->getId()) ?><br> |
---|
34 | <?php endif; ?> |
---|
35 | |
---|
36 | <?php include_component('default', 'navi', array('type' => 'mobile_community', 'id' => $member->getId())) ?> |
---|
37 | </td></tr> |
---|
38 | </table> |
---|
39 | |
---|
40 | <br> |
---|
41 | |
---|
42 | <?php |
---|
43 | $list = array(); |
---|
44 | foreach ($member->getFriends(5) as $friendMember) |
---|
45 | { |
---|
46 | $list[] = link_to(sprintf('%s(%d)', $friendMember->getName(), $friendMember->countFriends()), 'member/profile?id='.$friendMember->getId()); |
---|
47 | } |
---|
48 | $options = array( |
---|
49 | 'title' => 'フレンドリスト', |
---|
50 | 'border' => true, |
---|
51 | 'moreInfo' => array( |
---|
52 | link_to('<font color="#0c5f0f">⇒</font>もっと見る', 'friend/list?id='.$member->getId()) |
---|
53 | ), |
---|
54 | ); |
---|
55 | include_list_box('friendList', $list, $options); |
---|
56 | ?> |
---|
57 | |
---|
58 | <?php |
---|
59 | $list = array(); |
---|
60 | foreach ($communities as $community) |
---|
61 | { |
---|
62 | $list[] = link_to($community->getName(), 'community/home?id='.$community->getId()); |
---|
63 | } |
---|
64 | $options = array( |
---|
65 | 'title' => '参加コミュニティリスト', |
---|
66 | 'border' => true, |
---|
67 | 'moreInfo' => array( |
---|
68 | link_to('<font color="#0c5f0f">⇒</font>もっと見る', 'community/joinlist?member_id='.$member->getId()) |
---|
69 | ), |
---|
70 | ); |
---|
71 | include_list_box('communityList', $list, $options); |
---|
72 | ?> |
---|
73 | |
---|
74 | <?php slot('op_mobile_footer') ?> |
---|
75 | <table width="100%"> |
---|
76 | <tbody><tr><td align="center" bgcolor="#0d6ddf"> |
---|
77 | <font color="#eeeeee"><a href="<?php echo url_for('member/home') ?>" accesskey="0"><font color="#eeeeee">0.ホーム</font></a> / <a href="#top"><font color="#eeeeee">↑上へ</font></a> / <a href="#bottom" accesskey="8"><font color="#eeeeee">8.下へ</font></a></font><br> |
---|
78 | </td></tr></tbody></table> |
---|
79 | <?php end_slot(); ?> |
---|