Ignore:
Timestamp:
2007/07/20 15:58:59 (17 years ago)
Author:
nanasess
Message:

r15064 から svn cp
とりあえず暫定コミット.

  • UTF-8 に変更
  • slib.php, glib.php のクラス化
  • LC_Page の抽象化(一部)
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
  • branches/feature-module-update/html/admin/contents/campaign_preview.php

    r12157 r15078  
    77require_once("../require.php"); 
    88 
    9 //---- ¥Ú¡¼¥¸É½¼¨¥¯¥é¥¹ 
     9//---- ページ表示クラス 
    1010class LC_Page { 
    1111     
     
    1818$objQuery = new SC_Query(); 
    1919 
    20 // Àµ¤·¤¯Ãͤ¬¼èÆÀ¤Ç¤­¤Ê¤¤¾ì¹ç¤Ï¥­¥ã¥ó¥Ú¡¼¥óTOP¤Ø 
     20// 正しく値が取得できない場合はキャンペーンTOPへ 
    2121if($_GET['campaign_id'] == "" || $_GET['status'] == "") { 
    2222    header("location: ".URL_CAMPAIGN_TOP); 
    2323} 
    2424 
    25 // status¤ÎȽÊÌ 
     25// statusの判別 
    2626switch($_GET['status']) { 
    2727    case 'active': 
     
    3636} 
    3737 
    38 // ¥Ç¥£¥ì¥¯¥È¥ê̾¤ò¼èÆÀ̾        
     38// ディレクトリ名を取得名       
    3939$directory_name = $objQuery->get("dtb_campaign", "directory_name", "campaign_id = ?", array($_GET['campaign_id'])); 
    4040 
    4141$template_dir = CAMPAIGN_TEMPLATE_PATH . $directory_name  . "/" . $status . "preview.tpl"; 
    4242 
    43 //----¡¡¥Ú¡¼¥¸É½¼¨ 
     43//---- ページ表示 
    4444$objView->assignobj($objPage); 
    4545$objView->display($template_dir); 
Note: See TracChangeset for help on using the changeset viewer.