Changeset 10856
- Timestamp:
- 2006/12/18 14:09:42 (19 years ago)
- Location:
- temp/branches/ec-cube-beta
- Files:
-
- 1 added
- 2 edited
-
data/Smarty/templates/admin/contents/campaign_design.tpl (added)
-
data/lib/slib.php (modified) (3 diffs)
-
html/admin/contents/campaign_design.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/branches/ec-cube-beta/data/lib/slib.php
r10850 r10856 2682 2682 * °ú¿ô3 ¡§½ñ¤¹þ¤ß¥¿¥¤¥× 2683 2683 * °ú¿ô4 ¡§¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó 2684 * Ìá¤êÃÍ¡§·ë²Ì¥Õ¥é¥° À®¸ù¤Ê¤é true ¼ºÇԤʤé false 2684 2685 * ÀâÌÀ¡¡¡§¥Õ¥¡¥¤¥ë½ñ¤½Ð¤· 2685 2686 */ … … 2687 2688 //¥Õ¥¡¥¤¥ë¤ò³«¤¯ 2688 2689 if (!($file = fopen ($path, $type))) { 2689 $mess = "¥Õ¥¡¥¤¥ë¤¬³«¤±¤Þ¤»¤ó";2690 return false; 2690 2691 } 2691 2692 … … 2703 2704 } 2704 2705 2705 return $mess;2706 return true; 2706 2707 } 2707 2708 -
temp/branches/ec-cube-beta/html/admin/contents/campaign_design.php
r10855 r10856 10 10 11 11 function LC_Page() { 12 $this->tpl_mainpage = 'contents/campaign .tpl';12 $this->tpl_mainpage = 'contents/campaign_design.tpl'; 13 13 $this->tpl_subnavi = 'contents/subnavi.tpl'; 14 14 $this->tpl_subno = "campaign"; … … 25 25 sfIsSuccess($objSess); 26 26 27 $division = $_POST['division']; 28 $pre_DIR = USER_INC_PATH . 'preview/'; 27 // ¥¥ã¥ó¥Ú¡¼¥ó¥Ç¡¼¥¿¤ò°ú¤·Ñ¤® 28 if($_GET['campaign_id'] !="" && $_GET['type'] != "") { 29 $arrForm = $_GET; 30 } else { 31 $arrForm = $_POST; 32 } 29 33 30 34 // ¥Ç¡¼¥¿¹¹¿·½èÍý 31 35 if ($division != ''){ 36 /* 32 37 // ¥×¥ì¥Ó¥å¡¼Íѥƥó¥×¥ì¡¼¥È¤Ë½ñ¤¹þ¤ß 33 38 $fp = fopen($pre_DIR.$division.'.tpl',"w"); … … 54 59 // ¥Õ¥Ã¥¿¡¼¥Õ¥¡¥¤¥ë¤ÎÆÉ¤ß¹þ¤ß(¥×¥ì¥Ó¥å¡¼¥Ç¡¼¥¿) 55 60 $footer_data = file_get_contents($pre_DIR . "footer.tpl"); 56 }else{ 61 */ 62 } else { 63 /* 57 64 // post¤Ç¥Ç¡¼¥¿¤¬ÅϤµ¤ì¤Ê¤±¤ì¤Ð¿·µ¬ÆÉ¤ß¹þ¤ß¤ÈȽÃǤò¤·¡¢¥×¥ì¥Ó¥å¡¼Íѥǡ¼¥¿¤òÀµµ¬¤Î¥Ç¡¼¥¿¤Ç¾å½ñ¤¤¹¤ë 58 65 if (!is_dir($pre_DIR)) { … … 66 73 // ¥Õ¥Ã¥¿¡¼¥Õ¥¡¥¤¥ë¤ÎÆÉ¤ß¹þ¤ß 67 74 $footer_data = file_get_contents(USER_INC_PATH . "footer.tpl"); 68 75 */ 69 76 } 70 77
Note: See TracChangeset
for help on using the changeset viewer.
