Changeset 11617


Ignore:
Timestamp:
2007/03/08 16:52:24 (15 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/html/regist/complete.php

    r17 r11617  
    1919$objView = new SC_SiteView(); 
    2020$objQuery = new SC_Query(); 
     21$objCampaignSess = new SC_CampaignSession(); 
    2122 
    2223// ¥­¥ã¥ó¥Ú¡¼¥ó¤«¤é¤ÎÅÐÏ¿¤Î¾ì¹ç¤Î½èÍý 
     
    2425    $arrCampaign= $objQuery->select("directory_name", "dtb_campaign", "campaign_id = ?", array($_GET["cp"])); 
    2526    // ¥­¥ã¥ó¥Ú¡¼¥ó¥Ç¥£¥ì¥¯¥È¥ê̾¤òÊÝ»ý 
    26     $objPage->dir_name = $arrCampaign[0]['directory_name']; 
     27    $dir_name = $arrCampaign[0]['directory_name']; 
    2728} else { 
    28     $objPage->dir_name = ""; 
     29    $dir_name = ""; 
    2930} 
    3031 
     
    3536// ¥Õ¥ì¡¼¥à¤òÁªÂò(¥­¥ã¥ó¥Ú¡¼¥ó¥Ú¡¼¥¸¤«¤éÁ«°Ü¤Ê¤éÊѹ¹) 
    3637if($objPage->dir_name != "") { 
    37     $objView->display(CAMPAIGN_TEMPLATE_PATH . $objPage->dir_name  . "/active/site_frame.tpl"); 
     38    $objView->display(CAMPAIGN_TEMPLATE_PATH . $dir_name  . "/active/site_frame.tpl"); 
     39    $objCampaignSess->delCampaign(); 
    3840} else { 
    3941    $objView->display(SITE_FRAME);   
Note: See TracChangeset for help on using the changeset viewer.