diff --git a/adm/point_list.php b/adm/point_list.php index a8c348ad4..2196f3689 100644 --- a/adm/point_list.php +++ b/adm/point_list.php @@ -75,7 +75,7 @@ else if (isset($mb['mb_id']) && $mb['mb_id']) { echo ' ' . $mb['mb_id'] .' 님 포인트 합계 ' . number_format($mb['mb_point']) . '점'; } else { - $row2 = sql_fetch(" select sum(po_point) as sum_point from {$g5['point_table']} "); + $row2 = sql_fetch(" select sum(po_point) as sum_point, mb_id from {$g5['point_table']} "); echo ' 전체 합계'.number_format($row2['sum_point']).'점 '; } ?> @@ -123,10 +123,14 @@ else '', 'mb_nick' => '', 'mb_name'=> '', 'mb_email' => '', 'mb_homepage' => '', 'mb_point' => ''); + } + $mb_nick = get_sideview($row['mb_id'], $row2['mb_nick'], $row2['mb_email'], $row2['mb_homepage']); $link1 = $link2 = '';