diff --git a/adm/gnb.js b/adm/gnb.js deleted file mode 100644 index 865e669ae..000000000 --- a/adm/gnb.js +++ /dev/null @@ -1,2 +0,0 @@ -$(document).ready(function(){ -}); \ No newline at end of file diff --git a/bbs/point.php b/bbs/point.php index c732d7ffd..660011cdc 100644 --- a/bbs/point.php +++ b/bbs/point.php @@ -37,73 +37,76 @@ 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); -} -?> - - +

보유 포인트

-
- -
+
+ +
-

보유 포인트

-
- 창닫기 -
+
+ 창닫기 +
+
'; } -$group_select = '