Line | |
---|
1 | <?php |
---|
2 | /* |
---|
3 | * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved. |
---|
4 | * |
---|
5 | * http://www.lockon.co.jp/ |
---|
6 | */ |
---|
7 | |
---|
8 | require_once("../require.php"); |
---|
9 | |
---|
10 | class LC_Page{ |
---|
11 | function LC_Page(){ |
---|
12 | $this->tpl_mainpage = 'regist/complete.tpl'; |
---|
13 | $this->tpl_css = URL_DIR.'css/layout/regist/complete.css'; |
---|
14 | $this->tpl_title = '²ñ°÷ÅÐÏ¿(´°Î»¥Ú¡¼¥¸)'; |
---|
15 | } |
---|
16 | } |
---|
17 | |
---|
18 | $objPage = new LC_Page(); |
---|
19 | $objView = new SC_SiteView(); |
---|
20 | $objQuery = new SC_Query(); |
---|
21 | $objCampaignSess = new SC_CampaignSession(); |
---|
22 | |
---|
23 | // ¥¥ã¥ó¥Ú¡¼¥ó¤«¤é¤ÎÅÐÏ¿¤Î¾ì¹ç¤Î½èÍý |
---|
24 | if($_GET["cp"] != "") { |
---|
25 | $arrCampaign= $objQuery->select("directory_name", "dtb_campaign", "campaign_id = ?", array($_GET["cp"])); |
---|
26 | // ¥¥ã¥ó¥Ú¡¼¥ó¥Ç¥£¥ì¥¯¥È¥ê̾¤òÊÝ»ý |
---|
27 | $dir_name = $arrCampaign[0]['directory_name']; |
---|
28 | } else { |
---|
29 | $dir_name = ""; |
---|
30 | } |
---|
31 | |
---|
32 | // ¥ì¥¤¥¢¥¦¥È¥Ç¥¶¥¤¥ó¤ò¼èÆÀ |
---|
33 | $objPage = sfGetPageLayout($objPage, false, DEF_LAYOUT); |
---|
34 | |
---|
35 | $objView->assignobj($objPage); |
---|
36 | // ¥Õ¥ì¡¼¥à¤òÁªÂò(¥¥ã¥ó¥Ú¡¼¥ó¥Ú¡¼¥¸¤«¤éÁ«°Ü¤Ê¤éÊѹ¹) |
---|
37 | if($objPage->dir_name != "") { |
---|
38 | $objView->display(CAMPAIGN_TEMPLATE_PATH . $dir_name . "/active/site_frame.tpl"); |
---|
39 | $objCampaignSess->delCampaign(); |
---|
40 | } else { |
---|
41 | $objView->display(SITE_FRAME); |
---|
42 | } |
---|
43 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.