//오늘 가능한 게임횟수 검사
$today = G5_TIME_YMD;
$sql = "
select count(*) as cnt
from {$g5['point_table']}
where po_rel_table = '@bok'
and mb_id = '{$member['mb_id']}'
and substring(po_datetime, 1, 10) = '{$today}'
";
$sql = "
SELECT COUNT(*) as cnt
FROM {$g5['point_table']}
WHERE po_rel_table = '@bok'
AND mb_id = '{$member['mb_id']}'
AND po_datetime >= FROM_UNIXTIME({$three_hours_ago})
";