Index: /branches/feature-module-update/html/contact/complete.php
===================================================================
--- /branches/feature-module-update/html/contact/complete.php (revision 15080)
+++ /branches/feature-module-update/html/contact/complete.php (revision 15085)
@@ -5,29 +5,15 @@
* http://www.lockon.co.jp/
*/
+
+// {{{ requires
require_once("../require.php");
+require_once(CLASS_PATH . "page_extends/contact/LC_Page_Contact_Complete_Ex.php");
-class LC_Page {
- function LC_Page() {
- $this->tpl_css[1] = URL_DIR.'css/layout/contact/index.css'; // メインCSSパス
- $this->tpl_mainpage = 'contact/complete.tpl';
- $this->tpl_title .= 'お問い合わせ(完了ページ)';
- $this->tpl_mainno = 'contact';
- }
-}
+// }}}
+// {{{ generate page
-$objPage = new LC_Page();
-$objView = new SC_SiteView();
-$objCampaignSess = new SC_CampaignSession();
-
-// レイアウトデザインを取得
-$objPage = sfGetPageLayout($objPage, false, DEF_LAYOUT);
-
-// キャンペーンからの遷移かチェック
-$objPage->is_campaign = $objCampaignSess->getIsCampaign();
-$objPage->campaign_dir = $objCampaignSess->getCampaignDir();
-
-$objView->assignobj($objPage);
-// フレームを選択(キャンペーンページから遷移なら変更)
-$objCampaignSess->pageView($objView);
-
+$objPage = new LC_Page_Contact_Complete_Ex();
+$objPage->init();
+$objPage->process();
+register_shutdown_function(array($objPage, "destroy"));
?>