Ignore:
Timestamp:
2006/12/18 19:51:55 (20 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/branches/ec-cube-beta/html/admin/contents/campaign_design.php

    r10922 r10923  
    5555} 
    5656 
     57// ¥Ø¥Ã¥À¡¼¥Õ¥¡¥¤¥ë¤ÎÆÉ¤ß¹þ¤ß 
     58$objPage->header_data = file_get_contents($campaign_dir . "header.tpl");     
     59// ¥³¥ó¥Æ¥ó¥Ä¥Õ¥¡¥¤¥ë¤ÎÆÉ¤ß¹þ¤ß 
     60$objPage->contents_data = file_get_contents($campaign_dir . "contents.tpl");     
     61// ¥Õ¥Ã¥¿¡¼¥Õ¥¡¥¤¥ë¤ÎÆÉ¤ß¹þ¤ß 
     62$objPage->footer_data = file_get_contents($campaign_dir . "footer.tpl"); 
     63 
    5764// ¥Ç¥£¥ì¥¯¥È¥ê̾¤ò¼èÆÀ̾        
    5865$directory_name = $objQuery->get("dtb_campaign", "directory_name", "campaign_id = ?", array($arrForm['campaign_id'])); 
    … …  
    7279    // ¥×¥ì¥Ó¥å¡¼¤ò½ñ¤­½Ð¤·ÊÌÁë¤Ç³«¤¯ 
    7380    sfWriteFile($arrForm['header'] . $arrForm['contents'] . $arrForm['footer'], $campaign_dir."preview.tpl", "w"); 
    74 sfprintr($arrForm['header'] . $arrForm['contents'] . $arrForm['footer']); 
     81sfprintr($campaign_dir."preview.tpl"); 
    7582    $objPage->tpl_onload = "win02('./campaign_preview.php?status=". $arrForm['status'] ."&campaign_id=". $arrForm['campaign_id'] ."', 'preview', '600', '400');"; 
     83    $objPage->header_data = $arrForm['header'];  
     84    $objPage->contents_data = $arrForm['contents'];  
     85    $objPage->footer_data = $arrForm['footer'];  
    7686    break; 
    7787case 'return': 
    … …  
    93103} 
    94104 
    95 // ¥Ø¥Ã¥À¡¼¥Õ¥¡¥¤¥ë¤ÎÆÉ¤ß¹þ¤ß 
    96 $objPage->header_data = file_get_contents($campaign_dir . "header.tpl");     
    97 // ¥³¥ó¥Æ¥ó¥Ä¥Õ¥¡¥¤¥ë¤ÎÆÉ¤ß¹þ¤ß 
    98 $objPage->contents_data = file_get_contents($campaign_dir . "contents.tpl");     
    99 // ¥Õ¥Ã¥¿¡¼¥Õ¥¡¥¤¥ë¤ÎÆÉ¤ß¹þ¤ß 
    100 $objPage->footer_data = file_get_contents($campaign_dir . "footer.tpl");     
    101  
    102105// ¥Õ¥©¡¼¥à¤ÎÃͤò³ÊǼ 
    103106$objPage->arrForm = $arrForm; 
Note: See TracChangeset for help on using the changeset viewer.