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

Changeset 3592


Ignore:
Timestamp:
Jul 31, 2007, 10:47:42 PM (12 years ago)
Author:
ogawa
Message:

#1006:r3591いくつか修正を追加

Location:
OpenPNE/trunk/webapp/modules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/modules/admin/lib/db_admin.php

    r3591 r3592  
    15131513
    15141514*/
    1515 function p_member_edit_c_member_list($page_size, $page,$s_access_date='', $e_access_date='')
    1516 {
    1517 
     1515function p_member_edit_c_member_list($page_size, $page, $s_access_date='', $e_access_date='')
     1516{
    15181517    $page = intval($page);
    15191518    $page_size = intval($page_size);
    15201519
    1521     $limit = "";
    1522 
    1523     //page_sizeが0の時は全て表示(pagerなし)
    1524     if ($page_size != 0) {
    1525         $limit = " OFFSET ".($page_size*($page-1))." LIMIT ".$page_size;
    1526     }
    15271520    $where = " WHERE true ";
    15281521
     
    15401533    $select = "SELECT * FROM c_member";
    15411534    $order = " order by c_member_id";
    1542 
    15431535    $sql = $select . $where . $order;
    1544     $list = db_get_all_limit($sql, 0, $limit, $params);
     1536    if ($page_size > 0) {
     1537        $list = db_get_all_page($sql, $page, $page_size, $params);
     1538    } else {
     1539        $list = db_get_all($sql, $params);
     1540    }
    15451541   
    15461542    $sql = "select count(*) from c_member".$where;
  • OpenPNE/trunk/webapp/modules/pc/templates/h_review_search.tpl

    r3029 r3592  
    354354<div class="padding_s">
    355355
    356 ({$item.r_datetime|date_format:"%Y年%m月%d日 %H:%M"})
     356({$item.r_datetime2|date_format:"%Y年%m月%d日 %H:%M"})
    357357</div>
    358358
Note: See TracChangeset for help on using the changeset viewer.