Changeset 13528 for branches/dev/html


Ignore:
Timestamp:
2007/05/28 19:35:41 (19 years ago)
Author:
nakanishi
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/html/admin/basis/mail.php

    r13523 r13528  
    3030//------------------------------------------------------------------ 
    3131 
    32 if (count($objPage->arrErr) == 0) { 
     32    if($_POST["mode"] == ''){ 
     33        if (count($objPage->arrErr) == 0) { 
    3334         
    3435        //-- ¸¡º÷¥Ç¡¼¥¿¼èÆÀ 
     
    3637        $mail_list = $objQuery->getall($sql); 
    3738         
    38         print_r($mail_list);print("<br>"); 
    39          
    4039        // ɽ¼¨·ï¿ôÀßÄê 
    4140        $page_rows = $objQuery->count("dtb_templates"); 
    4241        print($page_rows); 
    43         exit; 
    4442        if(is_numeric($page_rows)) {     
    4543            $page_max = $page_rows; 
     
    4846        } 
    4947         
    50         if ($objPage->arrForm['search_pageno'] == 0){ 
    51             $objPage->arrForm['search_pageno'] = 1; 
    52         } 
     48        //$offset = $page_max * ($objPage->arrForm['search_pageno'] - 1); 
     49        //$objSelect->setLimitOffset($page_max, $offset); 
    5350         
    54         $offset = $page_max * ($objPage->arrForm['search_pageno'] - 1); 
    55         $objSelect->setLimitOffset($page_max, $offset); 
    56          
    57         $objPage->search_data = $objQuery->conn->getAll($searchSql, $objSelect->arrVal); 
    58  
     51        $objPage->search_data = $mail_list; 
    5952        // ¹Ô¿ô¤Î¼èÆÀ 
    6053            $linemax = $objQuery->conn->getOne( $objSelect->getListCount(), $objSelect->arrVal); 
     
    6659            $objPage->arrPagenavi = $objNavi->arrPagenavi;       
    6760        } 
    68  
     61    } 
    6962 
    7063//----------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.