- 积分
- 185527
- 最后登录
- 2024-4-22
- 精华
- 0
- 阅读权限
- 255
- 主题
- 250
- UID
- 1004992
- 帖子
- 156603
- PB币
- 213424
- 威望
- 20481
- 贡献
- 3
- 技术
- 142
- 活跃
- 2666
幻想乡中享幸福
- UID
- 1004992
- 帖子
- 156603
- PB币
- 213424
- 贡献
- 3
- 技术
- 142
- 活跃
- 2666
|
- if(abs($score) <= $maxratetoday[$id]) {
- if($score > $rating['max'] || $score < $rating['min']) {
- showmessage('thread_rate_range_invalid');
- } else {
- $creditsarray[$id] = $score;
- if($rating['isself']) {
- $sub_self_credit[$id] = -abs($score);
- }
- $rate += $score;
- $ratetimes += ceil(max(abs($rating['min']), abs($rating['max'])) / 5);
- }
- } else {
- showmessage('thread_rate_ctrl');
- }
复制代码 |
|