Revision 2,
998 bytes
checked in by root, 17 years ago
(diff) |
new import
|
Line | |
---|
1 | <?php
|
---|
2 | /*
|
---|
3 | * Copyright(c) 2000-2006 LOCKON CO.,LTD. All Rights Reserved.
|
---|
4 | *
|
---|
5 | * http://www.lockon.co.jp/
|
---|
6 | */
|
---|
7 | require_once("../../require.php");
|
---|
8 |
|
---|
9 | //---- ¥Ú¡¼¥¸É½¼¨¥¯¥é¥¹
|
---|
10 | class 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¥Ú¡¼¥¸¤Ø
|
---|
23 | if(!$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.