Index: branches/dev/html/admin/basis/mail.php
===================================================================
--- branches/dev/html/admin/basis/mail.php	(revision 13523)
+++ branches/dev/html/admin/basis/mail.php	(revision 13528)
@@ -30,5 +30,6 @@
 //------------------------------------------------------------------
 
-if (count($objPage->arrErr) == 0) {
+    if($_POST["mode"] == ''){
+        if (count($objPage->arrErr) == 0) {
         
         //-- ¸¡º÷¥Ç¡¼¥¿¼èÆÀ
@@ -36,10 +37,7 @@
         $mail_list = $objQuery->getall($sql);
         
-        print_r($mail_list);print("<br>");
-        
         // É½¼¨·ï¿ôÀßÄê
         $page_rows = $objQuery->count("dtb_templates");
         print($page_rows);
-        exit;
         if(is_numeric($page_rows)) {    
             $page_max = $page_rows;
@@ -48,13 +46,8 @@
         }
         
-        if ($objPage->arrForm['search_pageno'] == 0){
-            $objPage->arrForm['search_pageno'] = 1;
-        }
+        //$offset = $page_max * ($objPage->arrForm['search_pageno'] - 1);
+        //$objSelect->setLimitOffset($page_max, $offset);
         
-        $offset = $page_max * ($objPage->arrForm['search_pageno'] - 1);
-        $objSelect->setLimitOffset($page_max, $offset);
-        
-        $objPage->search_data = $objQuery->conn->getAll($searchSql, $objSelect->arrVal);
-
+        $objPage->search_data = $mail_list;
         // ¹Ô¿ô¤Î¼èÆÀ
             $linemax = $objQuery->conn->getOne( $objSelect->getListCount(), $objSelect->arrVal);
@@ -66,5 +59,5 @@
             $objPage->arrPagenavi = $objNavi->arrPagenavi;      
         }
-
+    }
 
 //-----------------------------------------------------------------
