diff --git a/bbs/point.php b/bbs/point.php index 992af96e0..ce64bcec8 100644 --- a/bbs/point.php +++ b/bbs/point.php @@ -38,74 +38,74 @@ for($i=0; $row=sql_fetch_array($result); $i++) { ?>
-

포인트내역

+

포인트내역

- - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + 0) { - $point1 = '+' .number_format($row[po_point]); - $sum_point1 += $row[po_point]; - } else { - $point2 = number_format($row[po_point]); - $sum_point2 += $row[po_point]; + $sql = " select * + {$sql_common} + {$sql_order} + limit {$from_record}, {$rows} "; + $result = sql_query($sql); + for ($i=0; $row=sql_fetch_array($result); $i++) { + $point1 = $point2 = 0; + if ($row[po_point] > 0) { + $point1 = '+' .number_format($row[po_point]); + $sum_point1 += $row[po_point]; + } else { + $point2 = number_format($row[po_point]); + $sum_point2 += $row[po_point]; + } + + ?> + + + + + + + - - - - - - -'; + else { + if ($sum_point1 > 0) + $sum_point1 = "+" . number_format($sum_point1); + $sum_point2 = number_format($sum_point2); + } + ?> + +
포인트내역 목록
일시내용지급포인트사용포인트
소계
포인트내역 목록
일시내용지급포인트사용포인트
소계
자료가 없습니다.
-if ($i == 0) - echo '자료가 없습니다.'; -else { - if ($sum_point1 > 0) - $sum_point1 = "+" . number_format($sum_point1); - $sum_point2 = number_format($sum_point2); -} -?> - - +

보유 포인트

-

보유 포인트

+
+ +
-
- -
- -
- 창닫기 -
+
+ 창닫기 +
-

쪽지함

+
+

쪽지함

- + - - - - - - - - - - - - - - - - - - - -"; } ?> - -
-전체 쪽지
-쪽지 보관일수는 최장 일 입니다. -
보낸시간읽은시간쪽지삭제
자료가 없습니다.
+ + + + + + + + + + + + + + + + + + + + "; } ?> + +
+ 전체 쪽지
+ 쪽지 보관일수는 최장 일 입니다. +
보낸시간읽은시간쪽지삭제
자료가 없습니다.
+ +
+ 창닫기 +
+