function creditshide($creditsrequire, $message, $pid, $authorid) { global $_G; if($_G['member']['credits'] >= $creditsrequire || $_G['forum']['ismoderator'] || $_G['uid'] && $authorid == $_G['uid']) { return tpl_hide_credits($creditsrequire, str_replace('\\"', '"', $message)); } else { return tpl_hide_credits_hidden($creditsrequire); } }
function creditshide($creditsrequire, $message, $pid) { global $hideattach; if($GLOBALS['credits'] >= $creditsrequire || $GLOBALS['forum']['ismoderator']) { return tpl_hide_credits($creditsrequire, str_replace('\\"', '"', $message)); } else { return tpl_hide_credits_hidden($creditsrequire); } }