From 916d98c2d293bdbc3223448f78a29192fdaa3c46 Mon Sep 17 00:00:00 2001 From: whitedot Date: Wed, 12 Dec 2012 12:56:16 +0900 Subject: [PATCH] =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90:=20=ED=8F=AC?= =?UTF-8?q?=EC=9D=B8=ED=8A=B8=EB=82=B4=EC=97=AD=20=EB=A7=88=ED=81=AC?= =?UTF-8?q?=EC=97=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/point.php | 186 ++++++++++++-------------------------------------- 1 file changed, 44 insertions(+), 142 deletions(-) diff --git a/bbs/point.php b/bbs/point.php index 68d9d97e7..6c51d0cee 100644 --- a/bbs/point.php +++ b/bbs/point.php @@ -22,171 +22,73 @@ if (!$page) { $page = 1; } // 페이지가 없으면 첫 페이지 (1 페이지) $from_record = ($page - 1) * $rows; // 시작 열을 구함 ?> - +

포인트내역

+ +
+ + - - -
포인트내역 목록
- - - - -
- - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - -
- - - - - - - - - 0) { - $point1 = '+' .number_format($row[po_point]); - $sum_point1 += $row[po_point]; - } else { - $point2 = number_format($row[po_point]); - $sum_point2 += $row[po_point]; - } - - echo << - - - - - -HEREDOC; - } - - if ($i == 0) - echo ''; - else { - if ($sum_point1 > 0) - $sum_point1 = "+" . number_format($sum_point1); - $sum_point2 = number_format($sum_point2); - echo << - - - - -HEREDOC; - } - ?> -
일시내용지급포인트사용포인트
$row[po_datetime] $row[po_content]{$point1} {$point2} 
자료가 없습니다.
소계{$sum_point1} {$sum_point2} 
- 보유 포인트 : 점
-
- - - - - -
-
- - - - - - - - + + + + + + + + += 0) { - $point1 = "+" . number_format($row[po_point]); + $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]; } - - echo ' - - - - - - - '; + +?> + + + + + + +"; + echo ''; +else { + if ($sum_point1 > 0) + $sum_point1 = "+" . number_format($sum_point1); + $sum_point2 = number_format($sum_point2); +} ?> +
일시 내용 지급포인트 사용포인트
소계
$row[po_datetime] '.$row[po_content].''.$point1.' '.$point2.' 
자료가 없습니다.
자료가 없습니다.
- - -
+
+ +
- - - - -
- - - - - -
   내 포인트 보유 포인트 :
-
- - - -
- +

보유 포인트 점

+
+ 창닫기 +