답변 2개
채택된 답변
+20 포인트
댓글을 작성하려면 로그인이 필요합니다.
4년 전
lib/common.lib.php에
// 포인트 부여
function insert_point($mb_id, $point, $content='', $rel_table='', $rel_id='', $rel_action='', $expire=0)
함수에서
// 회원포인트
이것 전에
$tmp=sql_fetch("select sum( po_point) point1day from g5_point where mb_id='$mb_id' and po_datetime > curdate() ");
if( $tmp['point1day'] > 1000) return 0;
추가하면 되겠네요.
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인