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

Changeset 3879


Ignore:
Timestamp:
Sep 6, 2007, 3:47:55 PM (14 years ago)
Author:
ebihara
Message:

#1088:携帯版BIZでh_profが表示できるようにした

Location:
OpenPNE/trunk/webapp_biz/modules/ktai/templates
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp_biz/modules/ktai/templates/f_home.tpl

    r3872 r3879  
    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 <table width="100%" bgcolor="#({$ktai_color_config.bg_05})">
    29 <tr><td colspan="2" align="center">
    30 ({if ($is_friend || $friend_path)})
    31 ({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})
    32 ({if $is_friend})({$WORD_MY_FRIEND_HALF})({/if})
    33 ({/if})
    34 <hr color="#({$ktai_color_config.border_01})">
    35 ({if $days_birthday == 0})({* 誕生日当日 *})
    36 <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☆
    37 <br>お誕生日にメッセージを送りましょう</a><br>
    38 <hr color="#({$ktai_color_config.border_02})">
    39 ({elseif $days_birthday <= 3})({* 誕生日3日以内 *})
    40 <a href="({t_url m=ktai a=page_f_message_send})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">☆もうすぐ誕生日です!☆
    41 <br>お誕生日にはメッセージを送りましょう</a><br>
    42 <hr color="#({$ktai_color_config.border_02})">
    43 ({/if})
    44 %%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>
    45 <hr color="#({$ktai_color_config.border_02})">
    46 </td></tr>
    47 
    48 <tr><td align="center" width="50%" valign="top">
    49 <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>
    50 ({if $target_c_member.image_filename})
    51 <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>
    52 ({/if})
    53 </td>
    54 <td valign="top">
    55 ({strip})
    56 ({capture name="birth"})
    57 ({if $target_c_member.age !== NULL})<font color="#({$ktai_color_config.font_02})">年齢:</font>({$target_c_member.age})歳<br>({/if})
    58 ({if $target_c_member.birth_month && $target_c_member.birth_day})
    59 <font color="#({$ktai_color_config.font_02})">誕生日:</font>({$target_c_member.birth_month})月({$target_c_member.birth_day})日<br>
    60 ({/if})
    61 ({/capture})
    62 
    63 ({foreach from=$target_c_member.profile key=key item=item})
    64 ({if $item.form_type != 'textarea'})
    65 ({if !$_cnt_nick && $profile_list[$key].sort_order >= $smarty.const.SORT_ORDER_NICK
    66   && !$_cnt_birth && $profile_list[$key].sort_order >= $smarty.const.SORT_ORDER_BIRTH})
    67 ({counter assign="_cnt_nick"})
    68 ({counter assign="_cnt_birth"})
    69 ({if $smarty.const.SORT_ORDER_NICK > $smarty.const.SORT_ORDER_BIRTH})
    70 ({$smarty.capture.birth|smarty:nodefaults})
    71 ({$smarty.capture.nick|smarty:nodefaults})
    72 ({else})
    73 ({$smarty.capture.nick|smarty:nodefaults})
    74 ({$smarty.capture.birth|smarty:nodefaults})
    75 ({/if})
    76 ({/if})
    77 
    78 ({if !$_cnt_nick && $profile_list[$key].sort_order >= $smarty.const.SORT_ORDER_NICK})
    79 ({counter assign="_cnt_nick"})
    80 ({$smarty.capture.nick|smarty:nodefaults})
    81 ({/if})
    82 
    83 ({if !$_cnt_birth && $profile_list[$key].sort_order >= $smarty.const.SORT_ORDER_BIRTH})
    84 ({counter assign="_cnt_birth"})
    85 ({$smarty.capture.birth|smarty:nodefaults})
    86 ({/if})
    87 
    88 ({if $item.value && $item.form_type != 'textarea'})
    89         <font color="#({$ktai_color_config.font_02})">({$item.caption}):</font>
    90 ({/if})
    91 
    92 ({if $item.form_type == 'checkbox'})
    93     ({$item.value|@t_implode:", "})
    94 ({else})
    95     ({$item.value})
    96 ({/if})
    97 <br>
    98 ({/if})
    99 ({/foreach})
    100 
    101 ({if !$_cnt_nick && !$_cnt_birth})
    102 ({if $smarty.const.SORT_ORDER_NICK > $smarty.const.SORT_ORDER_BIRTH})
    103 ({$smarty.capture.birth|smarty:nodefaults})
    104 ({$smarty.capture.nick|smarty:nodefaults})
    105 ({else})
    106 ({$smarty.capture.nick|smarty:nodefaults})
    107 ({$smarty.capture.birth|smarty:nodefaults})
    108 ({/if})
    109 ({else})
    110 ({if !$_cnt_nick})({$smarty.capture.nick|smarty:nodefaults})({/if})
    111 ({if !$_cnt_birth})({$smarty.capture.birth|smarty:nodefaults})({/if})
    112 ({/if})
    113 ({/strip})
    114 </td></tr>
    115 <tr><td colspan="2">
    116 ({foreach from=$target_c_member.profile key=key item=item})
    117 ({if $item.form_type == 'textarea'})
    118 <font color="#({$ktai_color_config.font_02})">({$item.caption}):</font><br>
    119 ({$item.value|t_truncate:108:""})<br>
    120 ({/if})
    121 ({/foreach})
    122 </td></tr>
    123 <tr><td align="right" colspan="2">
    124 <font color="#({$ktai_color_config.font_03})">⇒</font><a href="({t_url m=ktai a=page_f_profile_detail})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;({$tail})">もっと見る</a>
    125 <hr color="#({$ktai_color_config.border_01})"></td></tr></table>
    126 %%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>
    127 ({if $relation.friend==0})
    128 ({if $relation.wait==0})
    129 %%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>
    130 ({/if})
    131 ({/if})
    132 %%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>
    133 %%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>
    134 ({if $relation.friend})
    135  / <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>
    136 ({/if})
    137 <br>
    138 <table width="100%">
    139 <tr><td bgcolor="#({$ktai_color_config.bg_04})">
    140 <a accesskey="1" name="a1" href="#a1">%%i125%%</a>新着日記<br>
    141 </td></tr>
    142 ({if $c_diary_list})
    143 ({foreach from=$c_diary_list item=c_diary})
    144 <tr><td bgcolor="#({cycle values="`$ktai_color_config.bg_05`,`$ktai_color_config.bg_08`"})">
    145 <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>
    146 ({if $c_diary.image_filename_1 || $c_diary.image_filename_2 || $c_diary.image_filename_3})
    147 %%i68%%
    148 ({/if})
    149 <br>
    150 </td></tr>
    151 <tr><td>
    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_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>
    157 </td></tr>
    158 ({/if})
    159 </table>
    160 <br>
    161 <table width="100%">
    162 <tr><td bgcolor="#({$ktai_color_config.bg_06})">
    163 <a accesskey="2" name="a2" href="#a2">%%i126%%</a>({$WORD_FRIEND_HALF})リスト<br>
    164 </td></tr>
    165 ({foreach from=$c_friend_list item=c_friend})
    166 <tr><td bgcolor="#({cycle values="`$ktai_color_config.bg_07`,`$ktai_color_config.bg_08`"})">
    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>
    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_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>
    175 </td></tr></table>
    176 
    177 <br>
    178 
    179 <table width="100%">
    180 <tr><td bgcolor="#({$ktai_color_config.bg_04})"><a accesskey="3" name="a3" href="#a3">%%i127%%</a>参加コミュニティ<br>
    181 </td></tr>
    182 ({foreach from=$c_commu_list item=c_commu})
    183 <tr><td bgcolor="#({cycle values="`$ktai_color_config.bg_05`,`$ktai_color_config.bg_08`"})">
    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>
    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_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>
    192 ({if $common_commu_count})
    193 <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>
    194 ({/if})
    195 </td></tr></table>
    196 
    197 ({$inc_ktai_footer|smarty:nodefaults})
     1({ext_include file="inc_f_home_h_prof.tpl"})
  • OpenPNE/trunk/webapp_biz/modules/ktai/templates/h_home.tpl

    r3877 r3879  
    8585<tr>
    8686<td colspan="2"  align="center">
    87 %%i140%%<a href="({t_url m=ktai a=page_h_config_prof})&amp;({$tail})">プロフィール</a>/%%i68%%<a href="({t_url m=ktai a=page_h_config_image})&amp;({$tail})">写真</a>/%%i76%%<a href="({t_url m=ktai a=page_fh_intro})&amp;({$tail})">紹介文</a><br>
     87%%i140%%<a href="({t_url m=ktai a=page_h_prof})&amp;({$tail})">プロフィール</a>/%%i68%%<a href="({t_url m=ktai a=page_h_config_image})&amp;({$tail})">写真</a>/%%i76%%<a href="({t_url m=ktai a=page_fh_intro})&amp;({$tail})">紹介文</a><br>
    8888<hr color="#({$ktai_color_config.border_01})"></td></tr>
    8989</table>
Note: See TracChangeset for help on using the changeset viewer.