Changeset 13660 for branches/dev
- Timestamp:
- 2007/05/29 17:07:34 (19 years ago)
- File:
-
- 1 edited
-
branches/dev/html/admin/basis/mail.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/html/admin/basis/mail.php
r13635 r13660 27 27 //ǧ¾Ú²ÄÈݤÎȽÄê 28 28 sfIsSuccess($objSess); 29 30 //------------------------------------------------------------------31 32 if($_POST["mode"] == ''){33 if (count($objPage->arrErr) == 0) {34 35 //-- ¸¡º÷¥Ç¡¼¥¿¼èÆÀ36 $sql = "SELECT * FROM dtb_templates";37 $mail_list = $objQuery->getall($sql);38 39 // ɽ¼¨·ï¿ôÀßÄê40 $page_rows = $objQuery->count("dtb_templates");41 print($page_rows);42 if(is_numeric($page_rows)) {43 $page_max = $page_rows;44 } else {45 $page_max = SEARCH_PMAX;46 }47 48 //$offset = $page_max * ($objPage->arrForm['search_pageno'] - 1);49 //$objSelect->setLimitOffset($page_max, $offset);50 51 $objPage->search_data = $list_data;52 // ¹Ô¿ô¤Î¼èÆÀ53 //$linemax = $objQuery->conn->getOne( $objSelect->getListCount(), $objSelect->arrVal);54 //$objPage->tpl_linemax = $linemax; // ²¿·ï¤¬³ºÅö¤·¤Þ¤·¤¿¡£É½¼¨ÍÑ55 $objPage->tpl_linemax = $page_rows;56 57 // ¥Ú¡¼¥¸Á÷¤ê¤Î¼èÆÀ58 $objNavi = new SC_PageNavi($_POST['search_pageno'], $linemax, $page_max, "fnCustomerPage", NAVI_PMAX);59 $startno = $objNavi->start_row;60 $objPage->arrPagenavi = $objNavi->arrPagenavi;61 $objPage->list_data = $list_data;62 // foreach($mail_list as $key => $value){63 //64 // }65 66 67 }68 }69 70 //-----------------------------------------------------------------71 72 73 29 74 30 $objPage->arrMailTEMPLATE = $arrMAILTEMPLATE;
Note: See TracChangeset
for help on using the changeset viewer.
