不会 用 你按你的说的
public function after_newthread() {
if($this->group['allowreplycredit']) {
if($this->param['replycredit'] > 0 && $this->replycredit_real > 0) {
updatemembercount($this->member['uid'], array('extcredits'.$this->setting['creditstransextra']['10'] => -$this->replycredit_real), 1, 'RCT', $this->tid);
$insertdata = array(
'tid' => $this->tid,
'extcredits' => $_GET['replycredit_extcredits'],
'extcreditstype' => $this->setting['creditstransextra']['10'],
'times' => $_GET['replycredit_times'],
'membertimes' => $_GET['replycredit_membertimes'],
'random' => $_GET['replycredit_random']
);
C::t('forum_replycredit')->insert($insertdata);
file_put_contents('1.txt', "$url\n", FILE_APPEND);
}
}
}
没效果 |