$sub_menu = '400700'; include_once('./_common.php'); include_once ("$g4[path]/lib/cheditor4.lib.php"); auth_check($auth[$sub_menu], "w"); // 상단, 하단 파일경로 필드 추가 $sql = " ALTER TABLE `{$g4['yc4_content_table']}` ADD `co_include_head` VARCHAR( 255 ) NOT NULL , ADD `co_include_tail` VARCHAR( 255 ) NOT NULL "; sql_query($sql, false); $html_title = "내용"; if ($w == "u") { $html_title .= " 수정"; $readonly = " readonly"; $sql = " select * from {$g4['yc4_content_table']} where co_id = '$co_id' "; $co = sql_fetch($sql); if (!$co['co_id']) alert('등록된 자료가 없습니다.'); } else { $html_title .= ' 입력'; $co['co_html'] = 2; } $g4['title'] = $html_title; include_once (G4_ADMIN_PATH.'/admin.head.php'); ?> //=subtitle($html_title)?>
=cheditor1('co_content', '100%', '350');?>
include_once (G4_ADMIN_PATH.'/admin.tail.php'); ?>