Changeset 13528 for branches/dev/html
- Timestamp:
- 2007/05/28 19:35:41 (19 years ago)
- File:
-
- 1 edited
-
branches/dev/html/admin/basis/mail.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/html/admin/basis/mail.php
r13523 r13528 30 30 //------------------------------------------------------------------ 31 31 32 if (count($objPage->arrErr) == 0) { 32 if($_POST["mode"] == ''){ 33 if (count($objPage->arrErr) == 0) { 33 34 34 35 //-- ¸¡º÷¥Ç¡¼¥¿¼èÆÀ … … 36 37 $mail_list = $objQuery->getall($sql); 37 38 38 print_r($mail_list);print("<br>");39 40 39 // ɽ¼¨·ï¿ôÀßÄê 41 40 $page_rows = $objQuery->count("dtb_templates"); 42 41 print($page_rows); 43 exit;44 42 if(is_numeric($page_rows)) { 45 43 $page_max = $page_rows; … … 48 46 } 49 47 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); 53 50 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; 59 52 // ¹Ô¿ô¤Î¼èÆÀ 60 53 $linemax = $objQuery->conn->getOne( $objSelect->getListCount(), $objSelect->arrVal); … … 66 59 $objPage->arrPagenavi = $objNavi->arrPagenavi; 67 60 } 68 61 } 69 62 70 63 //-----------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.
