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

暫定 commit

Location:
branches/feature-module-update/html/mobile
Files:
2 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?> 
  • branches/feature-module-update/html/mobile/require.php

    r15080 r15527  
    11<?php 
    22/** 
    3  *  
     3 * 
    44 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved. 
    55 * 
    66 * http://www.lockon.co.jp/ 
    7  *  
     7 * 
    88 */ 
    99$include_dir = realpath(dirname( __FILE__)); 
    1010require_once($include_dir . "/../define.php"); 
    11  
     11if (!defined("CLASS_PATH")) { 
     12    /** クラスパス */ 
     13    define("CLASS_PATH", $include_dir . "/.." . HTML2DATA_DIR . "class/"); 
     14} 
    1215require_once($include_dir . "/.." . HTML2DATA_DIR . "conf/conf.php"); 
    1316require_once($include_dir . "/.." . HTML2DATA_DIR . "conf/mobile_conf.php"); 
    1417require_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"); 
     18require_once(CLASS_PATH . "util_extends/GC_Utils_Ex.php"); 
     19require_once(CLASS_PATH . "util_extends/SC_Utils_Ex.php"); 
     20require_once(CLASS_PATH . "db_extends/SC_DB_MasterData_Ex.php"); 
     21require_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"); 
     25require_once(CLASS_PATH . "SC_View.php"); 
     26require_once(CLASS_PATH . "SC_DbConn.php"); 
     27require_once(CLASS_PATH . "SC_Session.php"); 
     28require_once(CLASS_PATH . "SC_Query.php"); 
     29require_once(CLASS_PATH . "SC_SelectSql.php"); 
     30require_once(CLASS_PATH . "SC_CheckError.php"); 
     31require_once(CLASS_PATH . "SC_PageNavi.php"); 
     32require_once(CLASS_PATH . "SC_Date.php"); 
     33require_once(CLASS_PATH . "SC_Image.php"); 
     34require_once(CLASS_PATH . "SC_UploadFile.php"); 
     35require_once(CLASS_PATH . "SC_SiteInfo.php"); 
     36require_once(CLASS_PATH . "GC_SendMail.php"); 
     37require_once(CLASS_PATH . "SC_FormParam.php"); 
     38require_once(CLASS_PATH . "SC_CartSession.php"); 
     39require_once(CLASS_PATH . "SC_SiteSession.php"); 
     40require_once(CLASS_PATH . "SC_Customer.php"); 
     41require_once(CLASS_PATH . "SC_Cookie.php"); 
     42require_once(CLASS_PATH . "SC_Page.php"); 
     43require_once(CLASS_PATH . "SC_Pdf.php"); 
     44require_once(CLASS_PATH . "GC_MobileUserAgent.php"); 
     45require_once(CLASS_PATH . "GC_MobileEmoji.php"); 
     46require_once(CLASS_PATH . "GC_MobileImage.php"); 
     47require_once(CLASS_PATH . "helper_extends/SC_Helper_PageLayout_Ex.php"); 
     48require_once(CLASS_PATH . "helper_extends/SC_Helper_DB_Ex.php"); 
     49require_once(CLASS_PATH . "helper_extends/SC_Helper_Mobile_Ex.php"); 
     50require_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"); 
    4156 
    4257// アップデートで取得したPHPを読み出す 
    43 sfLoadUpdateModule(); 
     58SC_Utils_Ex::sfLoadUpdateModule(); 
    4459 
    4560// モバイルサイト用の初期処理を実行する。 
    4661if (!defined('SKIP_MOBILE_INIT')) { 
    47     sfMobileInit(); 
     62    $objMobile = new SC_Helper_Mobile_Ex(); 
     63    $objMobile->sfMobileInit(); 
    4864} 
    4965?> 
Note: See TracChangeset for help on using the changeset viewer.