include("../../config/conn.php"); include("../../config/function.php"); include("../../config/xy.php"); $getstr=$_GET[str]; $uid=returnsx("i"); $sj=date("Y-m-d H:i:s"); $sqluser="select * from yjcode_user where zt=1 and (shopzt=2 or shopzt=4) and id=".$uid;mysql_query("SET NAMES 'GBK'");$resuser=mysql_query($sqluser); if(!$rowuser=mysql_fetch_array($resuser)){php_toheader("./");} if(4==$rowuser[shopzt]){php_toheader("dqview".$rowuser[id].".html");} $ses=" where zt=0 and ifxj=0 and userid=".$uid; $ty1id=returnsx("j"); $ty2id=returnsx("k"); if($ty1id!=-1){$ses=$ses." and myty1id=".$ty1id;} if($ty2id!=-1){$ses=$ses." and myty2id=".$ty2id;} $px="order by lastsj desc"; if(returnsx("p")!=-1){$page=returnsx("p");}else{$page=1;} ?>