Changeset 10889
- Timestamp:
- 2006/12/18 17:52:35 (20 years ago)
- Location:
- temp/branches/ec-cube-beta
- Files:
-
- 2 edited
-
data/Smarty/templates/campaign/index.tpl (modified) (1 diff)
-
html/campaign/default/index.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/branches/ec-cube-beta/data/Smarty/templates/campaign/index.tpl
r10886 r10889 1 1 <!--{*¥Ø¥Ã¥À¡¼ÆÉ¹þ*}--> 2 <!--{include file= './header.tpl'}-->2 <!--{include file=`$tpl_dir_name`'/header.tpl'}--> 3 3 <!--{*¥³¥ó¥Æ¥ó¥ÄÆÉ¹þ*}--> 4 <!--{include file= './contents.tpl'}-->4 <!--{include file=`$tpl_dir_name`'/contents.tpl'}--> 5 5 <!--{*¥Õ¥Ã¥¿¡¼ÆÉ¹þ*}--> 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 19 19 20 20 // ¥Ç¥£¥ì¥¯¥È¥ê̾¤ò¼èÆÀ 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]; 22 24 23 echo dirname($_SERVER['PHP_SELF']); 25 switch($_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; 24 38 25 39 //----¡¡¥Ú¡¼¥¸É½¼¨
Note: See TracChangeset
for help on using the changeset viewer.
