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

Changeset 750


Ignore:
Timestamp:
Nov 16, 2006, 9:51:51 PM (14 years ago)
Author:
ishida
Message:

ポイントの値とランク画像ファイル名をアサイン

Location:
OpenPNE/branches/ishida/prj_dev26/webapp/modules
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/ishida/prj_dev26/webapp/modules/ktai/page/f_home.php

    r260 r750  
    6161        $this->set('days_birthday', db_common_count_days_birthday4c_member_id($target_c_member_id));
    6262
     63        //PNEPOINT
     64        $point = db_point_get_point($target_c_member_id);
     65        $this->set("point", $point);
     66
     67        //rank
     68        $this->set("rank", db_point_get_rank4point($point));
     69
    6370        //あしあとをつける
    6471        db_ashiato_insert_c_ashiato($target_c_member_id, $u);
  • OpenPNE/branches/ishida/prj_dev26/webapp/modules/ktai/page/h_home.php

    r102 r750  
    6767        $this->set('birthday_flag', p_h_home_birthday_flag4c_member_id($u));
    6868
     69        //PNEPOINT
     70        $point = db_point_get_point($u);
     71        $this->set("point", $point);
     72
     73        //rank
     74        $this->set("rank", db_point_get_rank4point($point));
     75
    6976        return 'success';
    7077    }
  • OpenPNE/branches/ishida/prj_dev26/webapp/modules/pc/page/f_home.php

    r665 r750  
    8383        // inc_entry_point
    8484        $this->set('inc_entry_point', fetch_inc_entry_point_f_home($this->getView()));
     85        //PNEPOINT
     86        $point = db_point_get_point($target_c_member_id);
     87        $this->set("point", $point);
     88
     89        //rank
     90        $this->set("rank", db_point_get_rank4point($point));
    8591
    8692        // ---
  • OpenPNE/branches/ishida/prj_dev26/webapp/modules/pc/page/h_prof.php

    r269 r750  
    4545        $this->set('inc_entry_point', fetch_inc_entry_point_f_home($this->getView()));
    4646
     47        //PNEPOINT
     48        $point = db_point_get_point($u);
     49        $this->set("point", $point);
     50
     51        //rank
     52        $this->set("rank", db_point_get_rank4point($point));
     53
    4754        return 'success';
    4855    }
  • OpenPNE/branches/ishida/prj_dev26/webapp/modules/pc/templates/h_home.tpl

    r746 r750  
    123123</div>
    124124<!-- ここまで:写真 -->
    125 
    126 <!-- ここから:ポイント&ランク表示 -->
    127 ({if (defined('OPENPNE_DISP_POINT') && $smarty.const.OPENPNE_DISP_POINT) || (defined('OPENPNE_DISP_POINT') && $smarty.const.OPENPNE_DISP_RANK) })
    128 <table border="0" cellspacing="0" cellpadding="0" style="width:256px;">
    129 <tr>
    130 <td align="center" class="bg_05">
    131 <img src="./skin/dummy.gif" class="v_spacer_m">
    132 ({if $rank && $rank.image_filename && defined('OPENPNE_DISP_RANK') && $smarty.const.OPENPNE_DISP_RANK})
    133 <img src="({t_img_url filename=$rank.image_filename })" class="pict" alt="({$rank.name})" style="margin:2px">
    134 ({/if})
    135 <br>
    136 ({if $point && defined('OPENPNE_DISP_POINT') && $smarty.const.OPENPNE_DISP_POINT })
    137 ({$point})Point
    138 ({/if})
    139 </td>
    140 </tr>
    141 </table>
    142 ({/if})
    143 <!-- ここまで:ポイント&ランク表示 -->
    144 
    145125({*ここまで:body*})
    146126({*ここから:footer*})
Note: See TracChangeset for help on using the changeset viewer.