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/order/index.php

    r12211 r15078  
    66 */ 
    77 
     8// {{{ requires 
    89require_once("../require.php"); 
     10require_once(CLASS_PATH . "page_extends/order/LC_Page_Order_Ex.php"); 
    911 
    10 class LC_Page { 
    11     function LC_Page() { 
    12         /** ɬ¤º»ØÄꤹ¤ë **/ 
    13         $this->tpl_css = URL_DIR.'css/layout/order/index.css';      // ¥á¥¤¥óCSS¥Ñ¥¹ 
    14         /** ɬ¤º»ØÄꤹ¤ë **/ 
    15         $this->tpl_mainpage = 'order/index.tpl';            // ¥á¥¤¥ó¥Æ¥ó¥×¥ì¡¼¥È 
    16         $this->tpl_page_category = 'order';  
    17         $this->tpl_title = 'ÆÃÄ꾦¼è°ú¤Ë´Ø¤¹¤ëˡΧ'; 
    18     } 
    19 } 
     12// }}} 
     13// {{{ generate page 
    2014 
    21 $objPage = new LC_Page(); 
    22 $objView = new SC_SiteView(); 
    23 $objQuery = new SC_Query(); 
    24  
    25 // ¥ì¥¤¥¢¥¦¥È¥Ç¥¶¥¤¥ó¤ò¼èÆÀ 
    26 $objPage = sfGetPageLayout($objPage, false, DEF_LAYOUT); 
    27  
    28 $arrRet = $objQuery->getall("SELECT * FROM dtb_baseinfo",array()); 
    29 $objPage->arrRet = $arrRet[0]; 
    30 $objPage->arrPref = $arrPref; 
    31  
    32 $objView->assignobj($objPage); 
    33 $objView->display(SITE_FRAME); 
    34 //----------------------------------------------------------------------------------------------------------------------------------- 
     15$objPage = new LC_Page_Order_Ex(); 
     16$objPage->init(); 
     17$objPage->process(); 
     18register_shutdown_function(array($objPage, "destroy")); 
    3519?> 
Note: See TracChangeset for help on using the changeset viewer.