彩虹系统修改订单数据系统修改订单统计交易额显示系统怎么批量修改订单数据
彩虹代刷网修改订单数据代刷网修改订单统计交易额显示批量修改,很多站长都表示自己的订单数据很少,刚刚搭建的网站都不敢放开自己的数据显示,显得很不专业!看到别人动辄几千交易数据很眼红,其实很多站长都是刷的或者修改的,网络上流传着:数据库改法、软件刷法、插件刷单,等等手段(随着代刷版本提高基本已经报废)!彩虹服务网给大家的是最简单“直接修改法”:
首先打开服务器目录,来到代刷网的根目录,然后打开文件:ajax.php ,直接打开修改里面的第16-22行(有的不一样,根据自己目录实际文件语句操作)
试着修改如下两行:
$count1 = $DB->count("SELECT count(*) from shua_orders");
$count7 = round($count6, 2);
改成这样:
$count1 = $DB->count("SELECT count(*)*3+100 from shua_orders");
$count7 = round($count6*3+100, 2);
在 (*)后面乘以了个3还加了100
$count6也乘以了个3还加了100
保存 返回前台发现 订单数 和 今日交易额 都被翻了3倍还多了100!举一反三,所有前台显示的数据都可以这么修改!方法会了,自己就去根据自己需求随意改动吧!
这里给个表 分别告诉你们哪行是改什么的:
***********************
//所有订单数
$count1 = $DB->count("SELECT count(*) from shua_orders");
//完成订单数
$count2 = $DB->count("SELECT count(*) from shua_orders where status>=1");
//不需要懂这行
$count3 = $DB->count("SELECT sum(money) from shua_pay where status=1");
//总交易额
$count4 = round($count3, 2);
//今日订单数
$count5 = $DB->count("SELECT count(*) from `shua_orders` WHERE `addtime` > '$time'");.
//不需要懂这行
$count6 = $DB->count("SELECT sum(money) FROM `shua_pay` WHERE `addtime` > '$time' AND `status` = 1");
//今日交易额
$count7 = round($count6, 2);
***********************
改好的示例代码:
$count1 = $DB->count("SELECT count(*)*2+1214 from shua_orders");
$count2 = $DB->count("SELECT count(*)*2+1210 from shua_orders where status>=1");
$count3 = $DB->count("SELECT sum(money)*3+3056 from shua_pay where status=1");
$count4 = round($count3, 2);
$count5 = $DB->count("SELECT count(*)*2+138 from `shua_orders` WHERE `addtime` > '$time'");
$count6 = $DB->count("SELECT sum(money) FROM `shua_pay` WHERE `addtime` > '$time' AND `status` = 1");
$count7 = round($count6 * 3 + 359, 2);