Changeset 16397


Ignore:
Timestamp:
2007/10/12 18:17:53 (14 years ago)
Author:
nanasess
Message:

プレビュー修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/html/preview/index.php

    r15532 r16397  
    55 * http://www.lockon.co.jp/ 
    66 */ 
     7 
     8// {{{ requires 
    79require_once("../require.php"); 
     10require_once(CLASS_EX_PATH . "page_extends/preview/LC_Page_Preview_Ex.php"); 
    811 
    9 class LC_Page { 
    10     function LC_Page() { 
    11     } 
    12 } 
    13 $objPage = new LC_Page(); 
    14 $objView = new SC_SiteView(); 
    15 $objSess = new SC_Session(); 
     12// }}} 
     13// {{{ generate page 
    1614 
    17 if ($_SESSION['preview'] === "ON") { 
    18     // レイアウトデザインを取得 
    19     $objPage = sfGetPageLayout($objPage, true); 
    20      
    21     // 画面の表示 
    22     $objView->assignobj($objPage); 
    23     $objView->display(SITE_FRAME); 
    24 } 
    25  
    26 //----------------------------------------------------------------------------------------------------------------------------------- 
    27  
     15$objPage = new LC_Page_Preview_Ex(); 
     16$objPage->init(); 
     17$objPage->process(); 
     18register_shutdown_function(array($objPage, "destroy")); 
    2819?> 
Note: See TracChangeset for help on using the changeset viewer.