include("../config/conn.php"); include("../config/function.php"); sesCheck(); $bh=$_GET[bh]; $userid=returnuserid($_SESSION[SHOPUSER]); $sqltask="select * from yjcode_task where bh='".$bh."' and taskty=1 and userid=".$userid."";mysql_query("SET NAMES 'GBK'");$restask=mysql_query($sqltask); if(!$rowtask=mysql_fetch_array($restask)){php_toheader("tasklist1.php");} ?>