diff --git a/adm/sms_admin/_common.php b/adm/sms_admin/_common.php
index 289691141..c2c148c40 100644
--- a/adm/sms_admin/_common.php
+++ b/adm/sms_admin/_common.php
@@ -4,7 +4,7 @@ include_once ('../../common.php');
include_once(G5_ADMIN_PATH.'/admin.lib.php');
if (!strstr($_SERVER['PHP_SELF'], 'install.php')) {
- if(!mysql_num_rows(mysql_query("show tables like '{$g5['sms5_config_table']}'")))
+ if(!mysql_num_rows(mysql_query(" show tables like '{$g5['sms5_config_table']}' ")))
goto_url('install.php');
// SMS 설정값 배열변수
diff --git a/adm/sms_admin/ajax.sms_write_person.php b/adm/sms_admin/ajax.sms_write_person.php
index 718fbe41b..e11a329f4 100644
--- a/adm/sms_admin/ajax.sms_write_person.php
+++ b/adm/sms_admin/ajax.sms_write_person.php
@@ -137,18 +137,18 @@ while ($res = sql_fetch_array($qry)) array_push($group, $res);
diff --git a/adm/sms_admin/config.php b/adm/sms_admin/config.php
index 1a9f1132b..5283094a3 100644
--- a/adm/sms_admin/config.php
+++ b/adm/sms_admin/config.php
@@ -109,7 +109,7 @@ if ($config['cf_sms_use'] == 'icode') { // 아이코드 사용
|
- > 허용
+ > 허용
|
@@ -118,7 +118,7 @@ if ($config['cf_sms_use'] == 'icode') { // 아이코드 사용
레벨 이상
diff --git a/adm/sms_admin/form_list.php b/adm/sms_admin/form_list.php
index c62704d98..008405441 100644
--- a/adm/sms_admin/form_list.php
+++ b/adm/sms_admin/form_list.php
@@ -29,7 +29,7 @@ if ($st == 'all') {
}
$total_res = sql_fetch("select count(*) as cnt from {$g5['sms5_form_table']} where 1 $sql_group $sql_search");
-$total_count = $total_res[cnt];
+$total_count = $total_res['cnt'];
$total_page = (int)($total_count/$page_size) + ($total_count%$page_size==0 ? 0 : 1);
$page_start = $page_size * ( $page - 1 );
@@ -41,7 +41,7 @@ $qry = sql_query("select * from {$g5['sms5_form_group_table']} order by fg_name"
while ($res = sql_fetch_array($qry)) array_push($group, $res);
$res = sql_fetch("select count(*) as cnt from {$g5['sms5_form_table']} where fg_no=0");
-$no_count = $res[cnt];
+$no_count = $res['cnt'];
include_once(G5_ADMIN_PATH.'/admin.head.php');
?>
@@ -122,9 +122,9 @@ function multi_update(sel)
diff --git a/adm/sms_admin/form_write.php b/adm/sms_admin/form_write.php
index 35c2382bb..603bd2c03 100644
--- a/adm/sms_admin/form_write.php
+++ b/adm/sms_admin/form_write.php
@@ -41,7 +41,7 @@ include_once(G5_ADMIN_PATH.'/admin.head.php');
$qry = sql_query("select * from {$g5['sms5_form_group_table']} order by fg_name");
while($res = sql_fetch_array($qry)) {
?>
-
+
diff --git a/adm/sms_admin/history_list.php b/adm/sms_admin/history_list.php
index bb2b10292..e4856f10f 100644
--- a/adm/sms_admin/history_list.php
+++ b/adm/sms_admin/history_list.php
@@ -17,7 +17,7 @@ else
$sql_search = "";
$total_res = sql_fetch("select count(*) as cnt from {$g5['sms5_write_table']} where wr_renum=0 $sql_search");
-$total_count = $total_res[cnt];
+$total_count = $total_res['cnt'];
$total_page = (int)($total_count/$page_size) + ($total_count%$page_size==0 ? 0 : 1);
$page_start = $page_size * ( $page - 1 );
@@ -31,7 +31,7 @@ include_once(G5_ADMIN_PATH.'/admin.head.php');
diff --git a/adm/sms_admin/history_member.php b/adm/sms_admin/history_member.php
index 71cbe5425..21fe0c84e 100644
--- a/adm/sms_admin/history_member.php
+++ b/adm/sms_admin/history_member.php
@@ -30,9 +30,9 @@ include_once(G5_ADMIN_PATH.'/admin.head.php');
@@ -59,7 +59,7 @@ include_once(G5_ADMIN_PATH.'/admin.head.php');
- |
+ |
데이터가 없습니다.
|
@@ -77,23 +77,22 @@ include_once(G5_ADMIN_PATH.'/admin.head.php');
$bg_name = '없음';
if ($res['mb_id'])
- $mb_id = "{$res['mb_id']}";
+ $mb_id = ''.$res['mb_id'].'';
else
$mb_id = '비회원';
?>
- |
- |
- |
- |
- |
+ |
+ |
+ |
+ |
+ |
|
예약":'';?> |
|
|
- 수정
-
+ 수정
|
diff --git a/adm/sms_admin/history_view.php b/adm/sms_admin/history_view.php
index edf8dbfe2..58a5ed562 100644
--- a/adm/sms_admin/history_view.php
+++ b/adm/sms_admin/history_view.php
@@ -52,7 +52,7 @@ function re_send()
act = window.open('sms_ing.php', 'act', 'width=300, height=200');
act.focus();
- location.href = './history_send.php?w=f&page=&st=&sv=&wr_no=&wr_renum=';
+ location.href = './history_send.php?w=f&page=&st=&sv=&wr_no=&wr_renum=';
}
function all_send()
@@ -71,8 +71,8 @@ function all_send()
diff --git a/adm/sms_admin/num_book.php b/adm/sms_admin/num_book.php
index 7ab18c7f5..0a7422410 100644
--- a/adm/sms_admin/num_book.php
+++ b/adm/sms_admin/num_book.php
@@ -52,7 +52,7 @@ if ($no_hp_checked == 'checked')
$sql_no_hp = "and bk_hp <> ''";
$total_res = sql_fetch("select count(*) as cnt from {$g5['sms5_book_table']} where 1 $sql_group $sql_search $sql_korean $sql_no_hp");
-$total_count = $total_res[cnt];
+$total_count = $total_res['cnt'];
$total_page = (int)($total_count/$page_size) + ($total_count%$page_size==0 ? 0 : 1);
$page_start = $page_size * ( $page - 1 );
@@ -111,9 +111,9 @@ function no_hp_click(val)
@@ -123,10 +123,10 @@ function no_hp_click(val)
@@ -29,9 +29,9 @@ $no_count = $res['cnt'];