$sub_menu = "400710"; define('G4_EDITOR', 1); include_once("./_common.php"); auth_check($auth[$sub_menu], "w"); $html_title = "FAQ 상세"; $sql = " select * from $g4[yc4_faq_master_table] where fm_id = '$fm_id' "; $fm = sql_fetch($sql); if ($w == "u") { $html_title .= " 수정"; $readonly = " readonly"; $sql = " select * from $g4[yc4_faq_table] where fa_id = '$fa_id' "; $fa = sql_fetch($sql); if (!$fa[fa_id]) alert("등록된 자료가 없습니다."); $fa[fa_subject] = htmlspecialchars2($fa[fa_subject]); $fa[fa_content] = htmlspecialchars2($fa[fa_content]); } else $html_title .= " 입력"; $html_title .= " : $fm[fm_subject]"; $g4[title] = $html_title; include_once(G4_ADMIN_PATH."/admin.head.php"); ?> =subtitle($html_title)?>
include_once(G4_ADMIN_PATH."/admin.tail.php"); ?>