Ignore:
Timestamp:
2006/12/18 17:52:35 (20 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/branches/ec-cube-beta/html/campaign/default/index.php

    r10888 r10889  
    1919 
    2020// ¥Ç¥£¥ì¥¯¥È¥ê̾¤ò¼èÆÀ 
    21 $arrSplit = split('/', $_SERVER['PHP_SELF']); 
     21$dir_name = dirname($_SERVER['PHP_SELF']); 
     22$arrDir = split('/', $dir_name); 
     23$dir_name = $arrDir[count($arrDir) -1]; 
    2224 
    23 echo dirname($_SERVER['PHP_SELF']); 
     25switch($_GET['status']) { 
     26    case 'active': 
     27        $status = CAMPAIGN_TEMPLATE_ACTIVE; 
     28        break; 
     29    case 'end': 
     30        $status = CAMPAIGN_TEMPLATE_END; 
     31        break; 
     32    default: 
     33        $status = CAMPAIGN_TEMPLATE_ACTIVE; 
     34        break; 
     35} 
     36 
     37$objPage->tpl_dir_name = CAMPAIGN_PATH . $status . $dir_name; 
    2438 
    2539//----¡¡¥Ú¡¼¥¸É½¼¨ 
Note: See TracChangeset for help on using the changeset viewer.