From ecaae4d8fa0ff5b51581b08ed892cff633a8981b Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 5 Mar 2013 16:01:06 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC=EC=9A=A9=20?= =?UTF-8?q?=ED=8E=98=EC=9D=B4=EC=A7=95=20=EB=B3=80=EC=88=98=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/new.php | 4 ++-- bbs/point.php | 31 ++++++++++++------------- mobile/skin/member/basic/scrap.skin.php | 2 +- 3 files changed, 18 insertions(+), 19 deletions(-) diff --git a/bbs/new.php b/bbs/new.php index 2d23a6ea7..d2b2c3978 100644 --- a/bbs/new.php +++ b/bbs/new.php @@ -48,7 +48,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { $tmp_write_table = $g4['write_prefix'].$row['bo_table']; if ($row['wr_id'] == $row['wr_parent']) { - + // 원글 $comment = ""; $comment_link = ""; @@ -103,7 +103,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { $list[$i]['wr_subject'] = $row2['wr_subject']; } -$write_pages = get_paging($config['cf_write_pages'], $page, $total_page, "?gr_id=$gr_id&view=$view&mb_id=$mb_id&page="); +$write_pages = get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "?gr_id=$gr_id&view=$view&mb_id=$mb_id&page="); include_once($new_skin_path.'/new.skin.php'); diff --git a/bbs/point.php b/bbs/point.php index 6c24174d6..1c1762cb9 100644 --- a/bbs/point.php +++ b/bbs/point.php @@ -1,22 +1,22 @@ 보유포인트 - + @@ -72,18 +72,18 @@ for($i=0; $row=sql_fetch_array($result); $i++) { $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]; + 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]; + $point2 = number_format($row['po_point']); + $sum_point2 += $row['po_point']; } ?> - - + + @@ -102,14 +102,13 @@ for($i=0; $row=sql_fetch_array($result); $i++) { - + +
창닫기