修改e/class/ShowSysFun.php
//取得用户信息
$userid=(int)getcvar('mluserid');
$username=RepPostVar(getcvar('mlusername'));
if($userid)
{
$rnd=RepPostVar(getcvar('mlrnd'));
$user=$empire->fetch1("select ".$user_userid.",".$user_money.",".$user_userfen." from ".$user_tablename." where ".$user_userid."='$userid' and ".$user_rnd."='$rnd' limit 1");
if(!$user[$user_userid])
{
printerror("MustSingleUser","history.go(-1)",1);
}
}
$location=" ../ShopSys/buycar/";
注:红色的就是修改部分
新闻热点
疑难解答