帝国商城模型订单提交成功后设置返回页面
2010-12-24 站长 站长日志
修改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/";
注:location是修改部分