Changeset 16131


Ignore:
Timestamp:
2007/09/28 03:48:51 (17 years ago)
Author:
nanasess
Message:

モバイルページ更新

Location:
branches/feature-module-update
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/class/pages/contact/LC_Page_Contact.php

    r16000 r16131  
    133133        // フレームを選択(キャンペーンページから遷移なら変更) 
    134134        $objCampaignSess->pageView($this->objView); 
     135    } 
     136 
     137    /** 
     138     * モバイルページを初期化する. 
     139     * 
     140     * @return void 
     141     */ 
     142    function mobileInit() { 
     143        $this->init(); 
     144    } 
     145 
     146    /** 
     147     * Page のプロセス(モバイル). 
     148     * 
     149     * @return void 
     150     */ 
     151    function mobileProcess() { 
     152        $conn = new SC_DBConn(); 
     153        $objView = new SC_MobileView(); 
     154        $objDb = new SC_Helper_DB_Ex(); 
     155        $CONF = $objDb->sf_getBasisData();          // 店舗基本情報 
     156 
     157        //---- ページ表示 
     158        $objView->assignobj($this); 
     159        $objView->assignarray($CONF); 
     160        $objView->display(SITE_FRAME); 
    135161    } 
    136162 
  • branches/feature-module-update/html/mobile/contact/index.php

    r15532 r16131  
    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 * 
     8 * 
     9 * モバイルサイト/お問い合わせ 
    810 */ 
     11 
     12// {{{ requires 
    913require_once("../require.php"); 
     14require_once(CLASS_PATH . "page_extends/contact/LC_Page_Contact_Ex.php"); 
    1015 
    11 class LC_Page { 
    12     function LC_Page() { 
    13         $this->tpl_css = '/css/layout/contact/index.css';   // メインCSSパス 
    14         $this->tpl_mainpage = 'contact/index.tpl'; 
    15         $this->tpl_title = 'お問い合わせ(入力ページ)'; 
    16         $this->tpl_page_category = 'contact'; 
    17         global $arrPref; 
    18         $this->arrPref = $arrPref; 
    19     } 
    20 } 
     16// }}} 
     17// {{{ generate page 
    2118 
    22 $conn = new SC_DBConn(); 
    23 $objPage = new LC_Page(); 
    24 $objView = new SC_MobileView(); 
    25 $CONF = sf_getBasisData();          // 店舗基本情報 
    26  
    27 //---- ページ表示 
    28 $objView->assignobj($objPage); 
    29 $objView->assignarray($CONF); 
    30 $objView->display(SITE_FRAME); 
    31  
    32 //------------------------------------------------------------------------------------------------------------------------------------------ 
     19$objPage = new LC_Page_Contact_Ex(); 
     20$objPage->mobileInit(); 
     21$objPage->mobileProcess(); 
     22register_shutdown_function(array($objPage, "destroy")); 
    3323?> 
Note: See TracChangeset for help on using the changeset viewer.