source: branches/feature-module-update/html/install/user_data/include/campaign/default/src/complete.php @ 15080

Revision 15080, 1.0 KB checked in by nanasess, 17 years ago (diff)

svn properties 設定

  • svn:mime-type - application/x-httpd-php; charset=UTF-8
  • svn:keywords - Id
  • Property svn:keywords set to Id
  • Property svn:mime-type set to application/x-httpd-php; charset=UTF-8
Line 
1<?php
2/*
3 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
4 *
5 * http://www.lockon.co.jp/
6 */
7require_once("../../require.php");
8
9//---- ページ表示クラス
10class LC_Page {
11   
12    function LC_Page() {
13        $this->tpl_mainpage = TEMPLATE_DIR . '/campaign/complete.tpl';
14    }
15}
16
17$objPage = new LC_Page();
18$objView = new SC_SiteView();
19$objQuery = new SC_Query();
20$objCampaignSess = new SC_CampaignSession();
21
22// キャンペーンページからの遷移で無い場合はTOPページへ
23if(!$objCampaignSess->getIsCampaign()) {
24    header("location: ". URL_DIR);
25}
26
27// 入力情報を渡す
28$objPage->arrForm = $_POST;
29$objPage->campaign_name = $objQuery->get("dtb_campaign", "campaign_name", "campaign_id = ?", array($objCampaignSess->getCampaignId()));
30$site_frame = CAMPAIGN_TEMPLATE_PATH . $objCampaignSess->getCampaignDir()  . "/active/site_frame.tpl";
31
32//---- ページ表示
33$objView->assignobj($objPage);
34$objView->display($site_frame);
35// セッションの開放
36$objCampaignSess->delCampaign();
37?>
Note: See TracBrowser for help on using the repository browser.