Changeset 10889


Ignore:
Timestamp:
2006/12/18 17:52:35 (20 years ago)
Author:
uehara
Message:
 
Location:
temp/branches/ec-cube-beta
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • temp/branches/ec-cube-beta/data/Smarty/templates/campaign/index.tpl

    r10886 r10889  
    11<!--{*¥Ø¥Ã¥À¡¼ÆÉ¹þ*}--> 
    2 <!--{include file='./header.tpl'}--> 
     2<!--{include file=`$tpl_dir_name`'/header.tpl'}--> 
    33<!--{*¥³¥ó¥Æ¥ó¥ÄÆÉ¹þ*}--> 
    4 <!--{include file='./contents.tpl'}--> 
     4<!--{include file=`$tpl_dir_name`'/contents.tpl'}--> 
    55<!--{*¥Õ¥Ã¥¿¡¼ÆÉ¹þ*}--> 
    6 <!--{include file='./footer.tpl'}--> 
     6<!--{include file=`$tpl_dir_name`'/footer.tpl'}--> 
  • 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.