Ignore:
Timestamp:
2007/07/20 15:58:59 (17 years ago)
Author:
nanasess
Message:

r15064 から svn cp
とりあえず暫定コミット.

  • UTF-8 に変更
  • slib.php, glib.php のクラス化
  • LC_Page の抽象化(一部)
Location:
branches/feature-module-update
Files:
1 edited
2 copied

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update

    • Property svn:ignore set to
      .cache

      .settings

      .projectOptions
  • branches/feature-module-update/html/admin/mail/history.php

    r12157 r15078  
    1414        $this->tpl_subnavi = 'mail/subnavi.tpl'; 
    1515        $this->tpl_subno = "history"; 
    16         $this->tpl_subtitle = 'ÇÛ¿®ÍúÎò'; 
     16        $this->tpl_subtitle = '配信履歴'; 
    1717    } 
    1818} 
    1919 
    20 //---- ¥Ú¡¼¥¸½é´üÀßÄê 
     20//---- ページ初期設定 
    2121$conn = new SC_DBConn(); 
    2222$objPage = new LC_Page(); 
     
    2525$objDate = new SC_Date(); 
    2626 
    27 // ǧ¾Ú²ÄÈݤÎȽÄê 
     27// 認証可否の判定 
    2828sfIsSuccess($objSess); 
    2929 
    30 // ºï½ü»þ 
     30// 削除時 
    3131if ( sfCheckNumLength($_GET['send_id']) && ($_GET['mode']=='delete') ){ 
    3232     
     
    4343     
    4444    $objQuery = new SC_Query(); 
    45     // ¹Ô¿ô¤Î¼èÆÀ 
     45    // 行数の取得 
    4646    $linemax = $objQuery->count($from, $where, $arrval); 
    47     $objPage->tpl_linemax = $linemax;               // ²¿·ï¤¬³ºÅö¤·¤Þ¤·¤¿¡£É½¼¨ÍÑ 
     47    $objPage->tpl_linemax = $linemax;               // 何件が該当しました。表示用 
    4848     
    49     // ¥Ú¡¼¥¸Á÷¤ê¤Î¼èÆÀ 
     49    // ページ送りの取得 
    5050    $objNavi = new SC_PageNavi($_POST['search_pageno'], $linemax, SEARCH_PMAX, "fnNaviSearchPage", NAVI_PMAX); 
    51     $objPage->tpl_strnavi = $objNavi->strnavi;      // ɽ¼¨Ê¸»úÎó 
     51    $objPage->tpl_strnavi = $objNavi->strnavi;      // 表示文字列 
    5252    $startno = $objNavi->start_row; 
    5353     
    54     // ¼èÆÀÈϰϤλØÄê(³«»Ï¹ÔÈֹ桢¹Ô¿ô¤Î¥»¥Ã¥È) 
     54    // 取得範囲の指定(開始行番号、行数のセット) 
    5555    $objQuery->setlimitoffset(SEARCH_PMAX, $startno); 
    5656     
    57     // ɽ¼¨½ç½ø 
     57    // 表示順序 
    5858    $order = "start_date DESC, send_id DESC"; 
    5959    $objQuery->setorder($order); 
    6060     
    61     // ¸¡º÷·ë²Ì¤Î¼èÆÀ 
     61    // 検索結果の取得 
    6262    $objPage->arrDataList = $objQuery->select($col, $from, $where, $arrval); 
    6363     
    64 //----¡¡¥Ú¡¼¥¸É½¼¨ 
     64//---- ページ表示 
    6565$objView->assignobj($objPage); 
    6666$objView->display(MAIN_FRAME); 
Note: See TracChangeset for help on using the changeset viewer.