From c7b87be8ce8dc8bc151e903257830e5d94048166 Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 14 Dec 2012 17:00:30 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8F=AC=EC=9D=B8=ED=8A=B8=EC=86=8C=EA=B3=84?= =?UTF-8?q?=20=EA=B3=84=EC=82=B0=20=EC=BF=BC=EB=A6=AC=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/point.php | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/bbs/point.php b/bbs/point.php index a4bf3d76e..99d4bc276 100644 --- a/bbs/point.php +++ b/bbs/point.php @@ -1,7 +1,7 @@ = 0 "; +$row = sql_fetch($sql); +$sum_point1 = $row['sum_point1']; + +// 사용포인트소계 +$sql = " select SUM(po_point) as sum_point2 + $sql_common + and po_point < 0 "; +$row = sql_fetch($sql); +$sum_point2 = $row['sum_point2']; ?>

포인트내역

@@ -37,15 +51,15 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함 소계 - - + +