Changeset 10923 for temp/branches
- Timestamp:
- 2006/12/18 19:51:55 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
temp/branches/ec-cube-beta/html/admin/contents/campaign_design.php
r10922 r10923 55 55 } 56 56 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 57 64 // ¥Ç¥£¥ì¥¯¥È¥ê̾¤ò¼èÆÀ̾ 58 65 $directory_name = $objQuery->get("dtb_campaign", "directory_name", "campaign_id = ?", array($arrForm['campaign_id'])); … … 72 79 // ¥×¥ì¥Ó¥å¡¼¤ò½ñ¤½Ð¤·ÊÌÁë¤Ç³«¤¯ 73 80 sfWriteFile($arrForm['header'] . $arrForm['contents'] . $arrForm['footer'], $campaign_dir."preview.tpl", "w"); 74 sfprintr($ arrForm['header'] . $arrForm['contents'] . $arrForm['footer']);81 sfprintr($campaign_dir."preview.tpl"); 75 82 $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']; 76 86 break; 77 87 case 'return': … … 93 103 } 94 104 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 102 105 // ¥Õ¥©¡¼¥à¤ÎÃͤò³ÊǼ 103 106 $objPage->arrForm = $arrForm;
Note: See TracChangeset
for help on using the changeset viewer.
