답변 4개 / 댓글 1개
채택된 답변
+20 포인트
* /bbs/write_comment_update.php
Copy
insert_point(~);
->
Copy
$sql = "
select sum(po_point) as point
from {$g5['point_table']}
where mb_id = '{$mb_id}'
and po_rel_action = '댓글'
and po_datetime >= curdate()
";
$row = sql_fetch($sql);
if ($row['cnt'] < 100)
insert_point(~);
답변을 작성하려면 로그인이 필요합니다.
댓글부분만 설정하고싶습니다ㅠ