diff --git a/bbs/point.php b/bbs/point.php
index f0549bb14..d9adee088 100644
--- a/bbs/point.php
+++ b/bbs/point.php
@@ -9,7 +9,7 @@ include_once(G5_PATH.'/head.sub.php');
$list = array();
-$sql_common = " from {$g5['point_table']} where mb_id = '".mysql_escape_string($member['mb_id'])."' ";
+$sql_common = " from {$g5['point_table']} where mb_id = '".escape_trim($member['mb_id'])."' ";
$sql_order = " order by po_id desc ";
$sql = " select count(*) as cnt {$sql_common} ";
@@ -18,92 +18,10 @@ $total_count = $row['cnt'];
$rows = $config['cf_page_rows'];
$total_page = ceil($total_count / $rows); // 전체 페이지 계산
-if (!$page) { $page = 1; } // 페이지가 없으면 첫 페이지 (1 페이지)
+if ($page < 1) { $page = 1; } // 페이지가 없으면 첫 페이지 (1 페이지)
$from_record = ($page - 1) * $rows; // 시작 열을 구함
-?>
-
-
+include_once($member_skin_path.'/point.skin.php');
-
-
- 포인트 사용내역 목록
-
-
- 일시
- 내용
- 만료일
- 지급포인트
- 사용포인트
-
-
-
- 0) {
- $point1 = '+' .number_format($row['po_point']);
- $sum_point1 += $row['po_point'];
- } else {
- $point2 = number_format($row['po_point']);
- $sum_point2 += $row['po_point'];
- }
-
- $po_content = $row['po_content'];
-
- $expr = '';
- if($row['po_expired'] == 1)
- $expr = ' txt_expired';
- ?>
-
-
-
-
-
- 만료
-
-
-
-
-
- 자료가 없습니다. ';
- else {
- if ($sum_point1 > 0)
- $sum_point1 = "+" . number_format($sum_point1);
- $sum_point2 = number_format($sum_point2);
- }
- ?>
-
-
-
- 소계
-
-
-
-
- 보유포인트
-
-
-
-
-
-
-
-
-
창닫기
-
-
-
\ No newline at end of file
diff --git a/mobile/skin/member/basic/point.skin.php b/mobile/skin/member/basic/point.skin.php
new file mode 100644
index 000000000..4e108db80
--- /dev/null
+++ b/mobile/skin/member/basic/point.skin.php
@@ -0,0 +1,88 @@
+', 0);
+?>
+
+
+
+
+
+
+ 포인트 사용내역 목록
+
+
+ 일시
+ 내용
+ 만료일
+ 지급포인트
+ 사용포인트
+
+
+
+ 0) {
+ $point1 = '+' .number_format($row['po_point']);
+ $sum_point1 += $row['po_point'];
+ } else {
+ $point2 = number_format($row['po_point']);
+ $sum_point2 += $row['po_point'];
+ }
+
+ $po_content = $row['po_content'];
+
+ $expr = '';
+ if($row['po_expired'] == 1)
+ $expr = ' txt_expired';
+ ?>
+
+
+
+
+
+ 만료
+
+
+
+
+
+ 자료가 없습니다. ';
+ else {
+ if ($sum_point1 > 0)
+ $sum_point1 = "+" . number_format($sum_point1);
+ $sum_point2 = number_format($sum_point2);
+ }
+ ?>
+
+
+
+ 소계
+
+
+
+
+ 보유포인트
+
+
+
+
+
+
+
+
+
창닫기
+
\ No newline at end of file
diff --git a/skin/member/basic/point.skin.php b/skin/member/basic/point.skin.php
new file mode 100644
index 000000000..4e108db80
--- /dev/null
+++ b/skin/member/basic/point.skin.php
@@ -0,0 +1,88 @@
+', 0);
+?>
+
+
+
+
+
+
+ 포인트 사용내역 목록
+
+
+ 일시
+ 내용
+ 만료일
+ 지급포인트
+ 사용포인트
+
+
+
+ 0) {
+ $point1 = '+' .number_format($row['po_point']);
+ $sum_point1 += $row['po_point'];
+ } else {
+ $point2 = number_format($row['po_point']);
+ $sum_point2 += $row['po_point'];
+ }
+
+ $po_content = $row['po_content'];
+
+ $expr = '';
+ if($row['po_expired'] == 1)
+ $expr = ' txt_expired';
+ ?>
+
+
+
+
+
+ 만료
+
+
+
+
+
+ 자료가 없습니다. ';
+ else {
+ if ($sum_point1 > 0)
+ $sum_point1 = "+" . number_format($sum_point1);
+ $sum_point2 = number_format($sum_point2);
+ }
+ ?>
+
+
+
+ 소계
+
+
+
+
+ 보유포인트
+
+
+
+
+
+
+
+
+
창닫기
+
\ No newline at end of file