Ignore:
Timestamp:
2007/08/31 22:11:03 (13 years ago)
Author:
nanasess
Message:

暫定 commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/html/mobile/index.php

    r15080 r15527  
    1010 */ 
    1111 
    12 require_once('./require.php'); 
     12// {{{ requires 
     13require_once("./require.php"); 
     14require_once(CLASS_PATH . "page_extends/LC_Page_Index_Ex.php"); 
    1315 
    14 class LC_Page { 
    15     function LC_Page() { 
    16         /** 必ず変更する **/ 
    17         $this->tpl_mainpage = 'top.tpl';    // メインテンプレート 
    18     } 
    19 } 
     16// }}} 
     17// {{{ generate page 
    2018 
    21 $objPage = new LC_Page(); 
    22 $conn = new SC_DBConn(); 
    23 $objCustomer = new SC_Customer(); 
    24  
    25 // レイアウトデザインを取得 
    26 //$objPage = sfGetPageLayout($objPage, false, 'index.php'); 
    27  
    28 $objView = new SC_MobileView(); 
    29 $objView->assign("isLogin", $objCustomer->isLoginSuccess()); 
    30 $objView->assignobj($objPage); 
    31 $objView->display(SITE_FRAME); 
    32  
    33 //----------------------------------------------------------------------------------------------------------------------------------- 
     19$objPage = new LC_Page_Index_Ex(); 
     20$objPage->mobileInit(); 
     21$objPage->mobileProcess(); 
     22register_shutdown_function(array($objPage, "destroy")); 
    3423?> 
Note: See TracChangeset for help on using the changeset viewer.