'+10', 'login' => '+2', 'information' => '+2', 'coupon' => '+2', 'group' => '+2', 'goods' => '+2', 'com_certify' => '+10', 'per_certify' => '+10'); if (!submit_check(CURSCRIPT . '_submit')) { chk_admin_purview('purview_积分信用等级'); $here = '积分增减设置'; $score = $db->getOne('SELECT value FROM `' . $db_mymps . 'config` WHERE type=\'credit_sco\' AND description = \'score\''); $score = $score ? $charset == 'utf-8' ? utf8_unserialize($score) : unserialize($score) : array('rank' => $defaultrank); include mymps_tpl(CURSCRIPT); } else { $db->query('DELETE FROM `' . $db_mymps . 'config` WHERE description = \'score\' AND type = \'credit_sco\''); $db->query('INSERT INTO `' . $db_mymps . 'config` (description,value,type) values (\'score\',\'' . serialize($score_new) . '\',\'credit_sco\')'); clear_cache_files('credit_score'); write_msg('积分增减设置更新成功!', 'score.php', 'WriteRecord'); } is_object($db) && $db->Close(); $mymps_global = $db = $db_mymps = $part = NULL;