count_day_hours(getuseraction('pmid'), $fromid); if($sendpmmaxnum && $currentnum >= $sendpmmaxnum) { return -16; } } loaducenter(); $return = uc_pm_send($fromid, $toid, addslashes($subject), addslashes($message), 1, $replypmid, $isusername, $type); if($return > 0 && $fromid) { foreach(explode(',', $fromid) as $v) { useractionlog($fromid, 'pmid'); } } return $return; } } ?>