Ignore:
Timestamp:
2007/09/27 12:14:16 (15 years ago)
Author:
nanasess
Message:

クラス化に伴う修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/html/mypage/change_complete.php

    r15532 r16074  
    55 * http://www.lockon.co.jp/ 
    66 */ 
     7 
     8// {{{ requires 
    79require_once("../require.php"); 
     10require_once(CLASS_PATH . "page_extends/mypage/LC_Page_Mypage_ChangeComplate_Ex.php"); 
    811 
    9 class LC_Page{ 
    10     function LC_Page(){ 
    11         $this->tpl_mainpage = USER_PATH . 'templates/mypage/change_complete.tpl'; 
    12         $this->tpl_title = 'MYページ/会員登録内容変更(完了ページ)'; 
    13         $this->tpl_navi = USER_PATH . 'templates/mypage/navi.tpl'; 
    14         $this->tpl_mypageno = 'change'; 
    15     } 
    16 } 
     12// }}} 
     13// {{{ generate page 
    1714 
    18 $objPage = new LC_Page(); 
    19 $objView = new SC_SiteView(); 
    20 $objCustomer = new SC_Customer(); 
    21  
    22 // レイアウトデザインを取得 
    23 $objPage = sfGetPageLayout($objPage, false, "mypage/index.php"); 
    24  
    25 //ログイン判定 
    26 if (!$objCustomer->isLoginSuccess()){ 
    27     sfDispSiteError(CUSTOMER_ERROR); 
    28 }else { 
    29     //マイページトップ顧客情報表示用 
    30     $objPage->CustomerName1 = $objCustomer->getvalue('name01'); 
    31     $objPage->CustomerName2 = $objCustomer->getvalue('name02'); 
    32     $objPage->CustomerPoint = $objCustomer->getvalue('point'); 
    33 } 
    34  
    35  
    36 $objView->assignobj($objPage); 
    37 $objView->display(SITE_FRAME); 
    38  
     15$objPage = new LC_Page_Mypage_ChangeComplate_Ex(); 
     16$objPage->init(); 
     17$objPage->process(); 
     18register_shutdown_function(array($objPage, "destroy")); 
    3919?> 
Note: See TracChangeset for help on using the changeset viewer.