FAQ 관리 페이지 코드 수정
This commit is contained in:
@ -9,7 +9,6 @@ $sql = " select * from {$g5['faq_master_table']} where fm_id = '$fm_id' ";
|
|||||||
$fm = sql_fetch($sql);
|
$fm = sql_fetch($sql);
|
||||||
|
|
||||||
$html_title = 'FAQ '.$fm['fm_subject'];;
|
$html_title = 'FAQ '.$fm['fm_subject'];;
|
||||||
$g5['title'] = $html_title.' 관리';
|
|
||||||
|
|
||||||
if ($w == "u")
|
if ($w == "u")
|
||||||
{
|
{
|
||||||
@ -26,6 +25,8 @@ if ($w == "u")
|
|||||||
else
|
else
|
||||||
$html_title .= ' 항목 입력';
|
$html_title .= ' 항목 입력';
|
||||||
|
|
||||||
|
$g5['title'] = $html_title.' 관리';
|
||||||
|
|
||||||
include_once (G5_ADMIN_PATH.'/admin.head.php');
|
include_once (G5_ADMIN_PATH.'/admin.head.php');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|||||||
@ -6,7 +6,6 @@ include_once(G5_EDITOR_LIB);
|
|||||||
auth_check($auth[$sub_menu], "w");
|
auth_check($auth[$sub_menu], "w");
|
||||||
|
|
||||||
$html_title = 'FAQ';
|
$html_title = 'FAQ';
|
||||||
$g5['title'] = $html_title.' 관리';
|
|
||||||
|
|
||||||
if ($w == "u")
|
if ($w == "u")
|
||||||
{
|
{
|
||||||
@ -22,6 +21,8 @@ else
|
|||||||
$html_title .= ' 입력';
|
$html_title .= ' 입력';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$g5['title'] = $html_title.' 관리';
|
||||||
|
|
||||||
// 모바일 상하단 내용 필드추가
|
// 모바일 상하단 내용 필드추가
|
||||||
if(!sql_query(" select fm_mobile_head_html from {$g5['faq_master_table']} limit 1 ", false)) {
|
if(!sql_query(" select fm_mobile_head_html from {$g5['faq_master_table']} limit 1 ", false)) {
|
||||||
sql_query(" ALTER TABLE `{$g5['faq_master_table']}`
|
sql_query(" ALTER TABLE `{$g5['faq_master_table']}`
|
||||||
|
|||||||
Reference in New Issue
Block a user