Changeset 15527 for branches/feature-module-update/html/mobile
- Timestamp:
- 2007/08/31 22:11:03 (17 years ago)
- Location:
- branches/feature-module-update/html/mobile
- Files:
-
- 2 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 ?> -
branches/feature-module-update/html/mobile/require.php
r15080 r15527 1 1 <?php 2 2 /** 3 * 3 * 4 4 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved. 5 5 * 6 6 * http://www.lockon.co.jp/ 7 * 7 * 8 8 */ 9 9 $include_dir = realpath(dirname( __FILE__)); 10 10 require_once($include_dir . "/../define.php"); 11 11 if (!defined("CLASS_PATH")) { 12 /** クラスパス */ 13 define("CLASS_PATH", $include_dir . "/.." . HTML2DATA_DIR . "class/"); 14 } 12 15 require_once($include_dir . "/.." . HTML2DATA_DIR . "conf/conf.php"); 13 16 require_once($include_dir . "/.." . HTML2DATA_DIR . "conf/mobile_conf.php"); 14 17 require_once($include_dir . "/.." . HTML2DATA_DIR . "include/module.inc"); 15 require_once($include_dir . "/.." . HTML2DATA_DIR . "include/mobile.inc"); 16 require_once($include_dir . "/.." . HTML2DATA_DIR . "lib/glib.php"); 17 require_once($include_dir . "/.." . HTML2DATA_DIR . "lib/slib.php"); 18 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_View.php"); 19 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_DbConn.php"); 20 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_Session.php"); 21 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_Query.php"); 22 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_SelectSql.php"); 23 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_CheckError.php"); 24 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_PageNavi.php"); 25 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_Date.php"); 26 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_Image.php"); 27 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_UploadFile.php"); 28 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_SiteInfo.php"); 29 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/GC_SendMail.php"); 30 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_FormParam.php"); 31 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_CartSession.php"); 32 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_SiteSession.php"); 33 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_Customer.php"); 34 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_Cookie.php"); 35 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_Page.php"); 36 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/SC_Pdf.php"); 37 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/GC_MobileUserAgent.php"); 38 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/GC_MobileEmoji.php"); 39 require_once($include_dir . "/.." . HTML2DATA_DIR . "class/GC_MobileImage.php"); 40 require_once($include_dir . "/.." . HTML2DATA_DIR . "include/page_layout.inc"); 18 require_once(CLASS_PATH . "util_extends/GC_Utils_Ex.php"); 19 require_once(CLASS_PATH . "util_extends/SC_Utils_Ex.php"); 20 require_once(CLASS_PATH . "db_extends/SC_DB_MasterData_Ex.php"); 21 require_once(CLASS_PATH . "db_extends/SC_DB_DBFactory_Ex.php"); 22 //require_once($include_dir . "/.." . HTML2DATA_DIR . "include/mobile.inc"); 23 //require_once($include_dir . "/.." . HTML2DATA_DIR . "lib/glib.php"); 24 //require_once($include_dir . "/.." . HTML2DATA_DIR . "lib/slib.php"); 25 require_once(CLASS_PATH . "SC_View.php"); 26 require_once(CLASS_PATH . "SC_DbConn.php"); 27 require_once(CLASS_PATH . "SC_Session.php"); 28 require_once(CLASS_PATH . "SC_Query.php"); 29 require_once(CLASS_PATH . "SC_SelectSql.php"); 30 require_once(CLASS_PATH . "SC_CheckError.php"); 31 require_once(CLASS_PATH . "SC_PageNavi.php"); 32 require_once(CLASS_PATH . "SC_Date.php"); 33 require_once(CLASS_PATH . "SC_Image.php"); 34 require_once(CLASS_PATH . "SC_UploadFile.php"); 35 require_once(CLASS_PATH . "SC_SiteInfo.php"); 36 require_once(CLASS_PATH . "GC_SendMail.php"); 37 require_once(CLASS_PATH . "SC_FormParam.php"); 38 require_once(CLASS_PATH . "SC_CartSession.php"); 39 require_once(CLASS_PATH . "SC_SiteSession.php"); 40 require_once(CLASS_PATH . "SC_Customer.php"); 41 require_once(CLASS_PATH . "SC_Cookie.php"); 42 require_once(CLASS_PATH . "SC_Page.php"); 43 require_once(CLASS_PATH . "SC_Pdf.php"); 44 require_once(CLASS_PATH . "GC_MobileUserAgent.php"); 45 require_once(CLASS_PATH . "GC_MobileEmoji.php"); 46 require_once(CLASS_PATH . "GC_MobileImage.php"); 47 require_once(CLASS_PATH . "helper_extends/SC_Helper_PageLayout_Ex.php"); 48 require_once(CLASS_PATH . "helper_extends/SC_Helper_DB_Ex.php"); 49 require_once(CLASS_PATH . "helper_extends/SC_Helper_Mobile_Ex.php"); 50 require_once(CLASS_PATH . "helper_extends/SC_Helper_Session_Ex.php"); 51 52 // セッションハンドラ開始 53 $objSession = new SC_Helper_Session_Ex(); 54 55 //require_once($include_dir . "/.." . HTML2DATA_DIR . "include/page_layout.inc"); 41 56 42 57 // アップデートで取得したPHPを読み出す 43 sfLoadUpdateModule();58 SC_Utils_Ex::sfLoadUpdateModule(); 44 59 45 60 // モバイルサイト用の初期処理を実行する。 46 61 if (!defined('SKIP_MOBILE_INIT')) { 47 sfMobileInit(); 62 $objMobile = new SC_Helper_Mobile_Ex(); 63 $objMobile->sfMobileInit(); 48 64 } 49 65 ?>
Note: See TracChangeset
for help on using the changeset viewer.