g4를 g5로 변경

This commit is contained in:
chicpro
2013-09-13 14:32:06 +09:00
parent 9a18a049d5
commit 0f78b67eb7
563 changed files with 4097 additions and 4097 deletions

View File

@ -4,14 +4,14 @@ include_once('./_common.php');
auth_check($auth[$sub_menu], "r");
$g4['title'] = 'FAQ 상세관리';
if ($fm_subject) $g4['title'] .= ' : '.$fm_subject;
include_once (G4_ADMIN_PATH.'/admin.head.php');
$g5['title'] = 'FAQ 상세관리';
if ($fm_subject) $g5['title'] .= ' : '.$fm_subject;
include_once (G5_ADMIN_PATH.'/admin.head.php');
$sql = " select * from {$g4['shop_faq_master_table']} where fm_id = '$fm_id' ";
$sql = " select * from {$g5['shop_faq_master_table']} where fm_id = '$fm_id' ";
$fm = sql_fetch($sql);
$sql_common = " from {$g4['shop_faq_table']} where fm_id = '$fm_id' ";
$sql_common = " from {$g5['shop_faq_table']} where fm_id = '$fm_id' ";
// 테이블의 전체 레코드수만 얻음
$sql = " select count(*) as cnt " . $sql_common;
@ -49,7 +49,7 @@ $result = sql_query($sql);
<?php
for ($i=0; $row=sql_fetch_array($result); $i++)
{
$row1 = sql_fetch(" select COUNT(*) as cnt from {$g4['shop_faq_table']} where fm_id = '{$row['fm_id']}' ");
$row1 = sql_fetch(" select COUNT(*) as cnt from {$g5['shop_faq_table']} where fm_id = '{$row['fm_id']}' ");
$cnt = $row1[cnt];
$s_mod = icon("수정", "");
@ -86,5 +86,5 @@ $result = sql_query($sql);
<?php
include_once (G4_ADMIN_PATH.'/admin.tail.php');
include_once (G5_ADMIN_PATH.'/admin.tail.php');
?>