- Timestamp:
- 2007/07/20 15:58:59 (17 years ago)
- Location:
- branches/feature-module-update
- Files:
-
- 1 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update
-
Property
svn:ignore
set to
.cache
.settings
.projectOptions
-
Property
svn:ignore
set to
-
branches/feature-module-update/html/admin/contents/campaign_preview.php
r12157 r15078 7 7 require_once("../require.php"); 8 8 9 //---- ¥Ú¡¼¥¸É½¼¨¥¯¥é¥¹9 //---- ページ表示クラス 10 10 class LC_Page { 11 11 … … 18 18 $objQuery = new SC_Query(); 19 19 20 // Àµ¤·¤¯Ãͤ¬¼èÆÀ¤Ç¤¤Ê¤¤¾ì¹ç¤Ï¥¥ã¥ó¥Ú¡¼¥óTOP¤Ø20 // 正しく値が取得できない場合はキャンペーンTOPへ 21 21 if($_GET['campaign_id'] == "" || $_GET['status'] == "") { 22 22 header("location: ".URL_CAMPAIGN_TOP); 23 23 } 24 24 25 // status ¤ÎȽÊÌ25 // statusの判別 26 26 switch($_GET['status']) { 27 27 case 'active': … … 36 36 } 37 37 38 // ¥Ç¥£¥ì¥¯¥È¥ê̾¤ò¼èÆÀ̾38 // ディレクトリ名を取得名 39 39 $directory_name = $objQuery->get("dtb_campaign", "directory_name", "campaign_id = ?", array($_GET['campaign_id'])); 40 40 41 41 $template_dir = CAMPAIGN_TEMPLATE_PATH . $directory_name . "/" . $status . "preview.tpl"; 42 42 43 //---- ¡¡¥Ú¡¼¥¸É½¼¨43 //---- ページ表示 44 44 $objView->assignobj($objPage); 45 45 $objView->display($template_dir);
Note: See TracChangeset
for help on using the changeset viewer.