destoon7.0 VIP会员晋级体例机动考查窜改本领

destoon7.0 VIP会员晋级体例机动考查窜改本领

本本领只符合于Destoon7.0体例 – dt7.0-会员晋级体例机动考查窜改本领 找到根目次 module/member/account.inc.php 再找到 $fee = 0; 在其底下加一条龙 $year_time = $DT_TIME+24*3600*365; 在找到 $db->query(“INSERT INTO {$DT_PRE}upgrade (userid,username,gid,groupid,company,addtime,ip,amount,status) VALUES (‘$_userid’,’$_username’,’$_groupid’,’$groupid’,’$company’,’$DT_TIME’, ‘$DT_IP’,’$fee’,’2′)”);message($L[‘grade_msg_success’], ‘?action=index’, 5);径直换成 if($groupid > 6) {$db->query(“INSERT INTO {$DT_PRE}upgrade (userid,username,gid,groupid,company,addtime,ip,amount,status,amount,msg,editor,reason,note) VALUES (‘$_userid’,’$_username’,’$_groupid’,’$groupid’,’$company’,’$DT_TIME’, ‘$DT_IP’,’$fee’,’3′,’$amount’,’1′,’admin’,’晋级请求’,’体例机动考查’)”);$db->query(“UPDATe {$DT_PRE}company SET groupid=’$could_up’,vip=’1′,validated=’1′,validator=’已经过本站组织认证’,vipt=’1′,validtime=’$DT_TIME’,fromtime=’$DT_TIME’,totime=’$year_time’ WHERe username=’$_username'”);$db->query(“UPDATE {$DT_PRE}member SET groupid=’$could_up’ WHERe username=’$_username'”);message(‘祝贺您晋级胜利!’, ‘?action=index’, 5);} else...