경로 및 전체테이블명 변경

This commit is contained in:
gnuboard
2013-02-07 16:56:29 +09:00
parent d7b9aab47a
commit f7855b165c
184 changed files with 711 additions and 708 deletions

View File

@ -7,7 +7,7 @@ auth_check($auth[$sub_menu], "r");
$g4[title] = "FAQ관리";
include_once(G4_ADMIN_PATH."/admin.head.php");
$sql_common = " from $g4[yc4_faq_master_table] ";
$sql_common = " from $g4[shop_faq_master_table] ";
// 테이블의 전체 레코드수만 얻음
$sql = " select count(*) as cnt " . $sql_common;
@ -50,7 +50,7 @@ $result = sql_query($sql);
<?
for ($i=0; $row=mysql_fetch_array($result); $i++)
{
$sql1 = " select COUNT(*) as cnt from $g4[yc4_faq_table] where fm_id = '$row[fm_id]' ";
$sql1 = " select COUNT(*) as cnt from $g4[shop_faq_table] where fm_id = '$row[fm_id]' ";
$row1 = sql_fetch($sql1);
$cnt = $row1[cnt];