|
|
|
21년 전
|
조회 419
|
|
|
|
21년 전
|
조회 588
|
|
|
|
21년 전
|
조회 753
|
|
|
|
21년 전
|
조회 462
|
|
|
|
21년 전
|
조회 480
|
|
|
|
21년 전
|
조회 486
|
|
|
|
21년 전
|
조회 596
|
|
|
|
21년 전
|
조회 726
|
|
|
|
21년 전
|
조회 553
|
|
|
|
21년 전
|
조회 406
|
|
|
|
21년 전
|
조회 536
|
|
|
|
21년 전
|
조회 404
|
|
|
|
21년 전
|
조회 485
|
|
|
|
21년 전
|
조회 816
|
|
|
|
21년 전
|
조회 741
|
|
|
|
21년 전
|
조회 489
|
|
|
|
21년 전
|
조회 501
|
|
|
|
21년 전
|
조회 641
|
|
|
|
21년 전
|
조회 446
|
|
|
|
21년 전
|
조회 618
|
댓글 3개
bbs/gbview.php
// 한번 읽은글은 브라우저를 닫기전까지는 카운트를 증가시키지 않음
$ss_name = "ss_view_{$bo_table}_{$wr_id}";
if (!$_SESSION[$ss_name]) {
sql_query(" update $write_table set wr_hit = wr_hit + 1 where wr_id = '$wr_id' ");
if ($member[mb_id]) {
insert_point($member[mb_id], $default[de_read_point], "$board[bo_subject] $wr_id 글읽기");
}
session_register($ss_name);
$$ss_name = $_SESSION[$ss_name] = TRUE;
}