Changeset 15527 for branches/feature-module-update/html/mobile/index.php
- Timestamp:
- 2007/08/31 22:11:03 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/html/mobile/index.php
r15080 r15527 10 10 */ 11 11 12 require_once('./require.php'); 12 // {{{ requires 13 require_once("./require.php"); 14 require_once(CLASS_PATH . "page_extends/LC_Page_Index_Ex.php"); 13 15 14 class LC_Page { 15 function LC_Page() { 16 /** 必ず変更する **/ 17 $this->tpl_mainpage = 'top.tpl'; // メインテンプレート 18 } 19 } 16 // }}} 17 // {{{ generate page 20 18 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(); 22 register_shutdown_function(array($objPage, "destroy")); 34 23 ?>
Note: See TracChangeset
for help on using the changeset viewer.