diff --git a/adm/admin.lib.php b/adm/admin.lib.php
index 53410238e..38a1183f4 100644
--- a/adm/admin.lib.php
+++ b/adm/admin.lib.php
@@ -191,7 +191,6 @@ function order_select($fld, $sel='')
// 접근 권한 검사
if (!$member['mb_id'])
{
- //alert('로그인 하십시오.', '$g5['bbs_path']/login.php?url=' . urlencode('$_SERVER['PHP_SELF']?w=$w&mb_id=$mb_id'));
alert('로그인 하십시오.', G5_BBS_URL.'/login.php?url=' . urlencode(G5_ADMIN_URL));
}
else if ($is_admin != 'super')
diff --git a/adm/auth_list.php b/adm/auth_list.php
index fc11f400e..3dfad19f5 100644
--- a/adm/auth_list.php
+++ b/adm/auth_list.php
@@ -45,7 +45,7 @@ $sql = " select *
limit {$from_record}, {$rows} ";
$result = sql_query($sql);
-$listall = '전체목록';
+$listall = '전체목록';
$g5['title'] = "관리권한설정";
include_once('./admin.head.php');
@@ -158,7 +158,7 @@ else
diff --git a/adm/board_form.php b/adm/board_form.php
index 1bf23223c..d40bd5756 100644
--- a/adm/board_form.php
+++ b/adm/board_form.php
@@ -1099,12 +1099,12 @@ $frm_submit .= '';
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/adm/board_list.php b/adm/board_list.php
index 1c51da1d2..ade37535c 100644
--- a/adm/board_list.php
+++ b/adm/board_list.php
@@ -46,7 +46,7 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
$sql = " select * {$sql_common} {$sql_search} {$sql_order} limit {$from_record}, {$rows} ";
$result = sql_query($sql);
-$listall = '전체목록';
+$listall = '전체목록';
$g5['title'] = '게시판관리';
include_once('./admin.head.php');
@@ -208,7 +208,7 @@ $colspan = 15;
-
+
'."\n";
-flush();
-
-$max_count = 50;
-
-// 테이블 락을 걸고
-$sql = " LOCK TABLES {$g5['member_table']} WRITE, {$g5['point_table']} WRITE ";
-sql_query($sql);
-
-$sql = " select mb_id, count(po_point) as cnt
- from {$g5['point_table']}
- group by mb_id
- having cnt > {$max_count}+1
- order by cnt ";
-$result = sql_query($sql);
-for ($i=0; $row=sql_fetch_array($result); $i++)
-{
- $count = 0;
- $total = 0;
- $sql2 = " select po_id, po_point
- from {$g5['point_table']}
- where mb_id = '{$row['mb_id']}'
- order by po_id desc
- limit {$max_count}, {$row['cnt']} ";
- $result2 = sql_query($sql2);
- for ($k=0; $row2=sql_fetch_array($result2); $k++)
- {
- $count++;
- $total += $row2['po_point'];
-
- sql_query(" delete from {$g5['point_table']} where po_id = '{$row2['po_id']}' ");
- }
-
- insert_point($row['mb_id'], $total, '포인트 {$count}건 정리', '@clear', $row['mb_id'], G5_TIME_YMD."-".uniqid(""));
-
- $str = $row['mb_id']."님 포인트 내역 ".number_format($count)."건 ".number_format($total)."점 정리 ";
- echo ''."\n";
- flush();
-}
-
-// 테이블 락을 풀고
-$sql = " UNLOCK TABLES ";
-sql_query($sql);
-
-echo ''."\n";
-?>
diff --git a/adm/point_list.php b/adm/point_list.php
index 08f44d5b1..eaed7aaff 100644
--- a/adm/point_list.php
+++ b/adm/point_list.php
@@ -48,7 +48,7 @@ $sql = " select *
limit {$from_record}, {$rows} ";
$result = sql_query($sql);
-$listall = '전체목록';
+$listall = '전체목록';
$mb = array();
if ($sfl == 'mb_id' && $stx)
@@ -70,16 +70,6 @@ else
$mb_id = "";
?>
-
-
전체 건
@@ -91,7 +81,6 @@ function point_clear()
echo ' (전체 합계 '.number_format($row2['sum_point']).'점)';
}
?>
-
-
+
개별회원 포인트 증감 설정
diff --git a/adm/poll_form.php b/adm/poll_form.php
index 533596dcd..795719edf 100644
--- a/adm/poll_form.php
+++ b/adm/poll_form.php
@@ -86,8 +86,8 @@ include_once('./admin.head.php');
- |
- |
+ 투표등록일 |
+ |
|
diff --git a/adm/poll_form_update.php b/adm/poll_form_update.php
index ef955f793..19a11b49d 100644
--- a/adm/poll_form_update.php
+++ b/adm/poll_form_update.php
@@ -14,7 +14,7 @@ if ($w == '')
{
$sql = " insert {$g5['poll_table']}
( po_subject, po_poll1, po_poll2, po_poll3, po_poll4, po_poll5, po_poll6, po_poll7, po_poll8, po_poll9, po_cnt1, po_cnt2, po_cnt3, po_cnt4, po_cnt5, po_cnt6, po_cnt7, po_cnt8, po_cnt9, po_etc, po_level, po_point, po_date )
- values ( '{$_POST['po_subject']}', '{$_POST['po_poll1']}', '{$_POST['po_poll2']}', '{$_POST['po_poll3']}', '{$_POST['po_poll4']}', '{$_POST['po_poll5']}', '{$_POST['po_poll6']}', '{$_POST['po_poll7']}', '{$_POST['po_poll8']}', '{$_POST['po_poll9']}', '{$_POST['po_cnt1']}', '{$_POST['po_cnt2']}', '{$_POST['po_cnt3']}', '{$_POST['po_cnt4']}', '{$_POST['po_cnt5']}', '{$_POST['po_cnt6']}', '{$_POST['po_cnt7']}', '{$_POST['po_cnt8']}', '{$_POST['po_cnt9']}', '{$_POST['po_etc']}', '{$_POST['po_level']}', '{$_POST['po_point']}', '".G5_TIME_YMDHIS."' ) ";
+ values ( '{$_POST['po_subject']}', '{$_POST['po_poll1']}', '{$_POST['po_poll2']}', '{$_POST['po_poll3']}', '{$_POST['po_poll4']}', '{$_POST['po_poll5']}', '{$_POST['po_poll6']}', '{$_POST['po_poll7']}', '{$_POST['po_poll8']}', '{$_POST['po_poll9']}', '{$_POST['po_cnt1']}', '{$_POST['po_cnt2']}', '{$_POST['po_cnt3']}', '{$_POST['po_cnt4']}', '{$_POST['po_cnt5']}', '{$_POST['po_cnt6']}', '{$_POST['po_cnt7']}', '{$_POST['po_cnt8']}', '{$_POST['po_cnt9']}', '{$_POST['po_etc']}', '{$_POST['po_level']}', '{$_POST['po_point']}', '".G5_TIME_YMD."' ) ";
sql_query($sql);
$po_id = mysql_insert_id();
@@ -43,8 +43,7 @@ else if ($w == 'u')
po_cnt9 = '{$_POST['po_cnt9']}',
po_etc = '{$_POST['po_etc']}',
po_level = '{$_POST['po_level']}',
- po_point = '{$_POST['po_point']}',
- po_date = '{$_POST['po_date']}'
+ po_point = '{$_POST['po_point']}'
where po_id = '{$_POST['po_id']}' ";
sql_query($sql);
}
diff --git a/adm/poll_list.php b/adm/poll_list.php
index b07e39166..2de51e514 100644
--- a/adm/poll_list.php
+++ b/adm/poll_list.php
@@ -44,7 +44,7 @@ $sql = " select *
limit {$from_record}, {$rows} ";
$result = sql_query($sql);
-$listall = '전체목록';
+$listall = '전체목록';
$g5['title'] = '투표관리';
include_once('./admin.head.php');
@@ -106,7 +106,6 @@ $colspan = 7;
$po_etc = ($row['po_etc']) ? "사용" : "미사용";
$s_mod = '수정';
- //$s_del = '삭제';
$bg = 'bg'.($i%2);
?>
@@ -139,7 +138,7 @@ $colspan = 7;
-
+
-
+
diff --git a/adm/sms_admin/history_list.php b/adm/sms_admin/history_list.php
index 193937878..bf6d1afd0 100644
--- a/adm/sms_admin/history_list.php
+++ b/adm/sms_admin/history_list.php
@@ -27,7 +27,7 @@ $vnum = $total_count - (($page-1) * $page_size);
include_once(G5_ADMIN_PATH.'/admin.head.php');
?>
- |