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

Changeset 4559


Ignore:
Timestamp:
Nov 7, 2007, 7:23:51 PM (14 years ago)
Author:
ishida
Message:

見た目を整形

Location:
OpenPNE/branches/work/ishida/prj_tejimaya_asp
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/work/ishida/prj_tejimaya_asp/public_html/cmd/sns_info.js

    r4558 r4559  
    11function main(type,order,num) {
    22
     3    height = 50 + num * 16
     4
    35    var html = ''
    4         + '<iframe MARGINWIDTH="0" MARGINHEIGHT="0" HSPACE="0" VSPACE="0" FRAMEBORDER="0" SCROLLING="no" BORDERCOLOR="#000000" src="?m=pc&a=page_tag'+'&type='+type+'&order='+ order +'&num='+ num + '" name="sample" width="240" height="240">'
     6        + '<iframe MARGINWIDTH="0" MARGINHEIGHT="0" HSPACE="0" VSPACE="0" FRAMEBORDER="0" SCROLLING="no" BORDERCOLOR="#000000" src="?m=pc&a=page_tag'+'&type='+type+'&order='+ order +'&num='+ num + '" name="sample" width="240" height="' + height + '">'
    57        + 'この部分はインラインフレームを使用しています。'
    68        + '</iframe>';
  • OpenPNE/branches/work/ishida/prj_tejimaya_asp/webapp/modules/pc/page/tag.php

    r4558 r4559  
    1717        // ----------
    1818
    19         $this->set('list', db_get_sns_info($type, $order, $num));
     19        $list = db_get_sns_info($type, $order, $num);
     20
     21        for ($i = $num - count($list); $i > 0; $i--) {
     22            $list[] = array();
     23        }
     24
     25        $this->set('list', $list);
    2026
    2127        return 'success';
  • OpenPNE/branches/work/ishida/prj_tejimaya_asp/webapp/modules/pc/templates/tag.tpl

    r4558 r4559  
    327327
    328328({foreach from=$list item=item})
     329({if !$item})
     330<img src="./skin/dummy.gif" alt="dummy" style="width:14px;height:14px;clear:both;" class="icon icon_1"> <br>
     331({else})
    329332<img src="./skin/dummy.gif" alt="dummy" style="width:14px;height:14px;clear:both;" class="icon icon_1"><a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})" target="_parent">({$item.nickname})</a><br>
     333({/if})
     334
    330335({/foreach})
    331336
     
    333338
    334339({foreach from=$list item=item})
     340
     341({if !$item})
     342<img src="./skin/dummy.gif" alt="dummy" style="width:14px;height:14px;clear:both;" class="icon icon_1"> <br>
     343({else})
    335344<img src="./skin/dummy.gif" alt="dummy" style="width:14px;height:14px;clear:both;" class="icon icon_1"><a href="({t_url m=pc a=page_fh_diary})&amp;target_c_diary_id=({$item.c_diary_id})" target="_parent">({$item.subject}) (({$item.num_comment}))</a> (({$item.nickname}))<br>
     345({/if})
     346
    336347({/foreach})
    337348
     
    339350
    340351({foreach from=$list item=item})
     352
     353({if !$item})
     354<img src="./skin/dummy.gif" alt="dummy" style="width:14px;height:14px;clear:both;" class="icon icon_1"> <br>
     355({else})
    341356<img src="./skin/dummy.gif" alt="dummy" style="width:14px;height:14px;clear:both;" class="icon icon_1"><a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})" target="_parent">({$item.name}) (({$item.num_member}))</a><br>
     357({/if})
     358
    342359({/foreach})
    343360
     
    345362
    346363({foreach from=$list item=item})
     364
     365({if !$item})
     366<img src="./skin/dummy.gif" alt="dummy" style="width:14px;height:14px;clear:both;" class="icon icon_2"> <br>
     367({else})
    347368<img src="./skin/dummy.gif" alt="dummy" style="width:14px;height:14px;clear:both;" class="icon icon_2"><a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$item.c_commu_topic_id})&amp;comment_count=({$item.num_comment})" target="_parent">({$item.name}) (({$item.num_comment}))</a> (({$item.commu_name}))<br>
     369({/if})
     370
    348371({/foreach})
    349372
Note: See TracChangeset for help on using the changeset viewer.