protype2lx.php 737 B

12345678910111213141516171819
  1. <?
  2. include("../config/conn.php");
  3. include("../config/function.php");
  4. sesCheck();
  5. $userid=returnuserid($_SESSION[SHOPUSER]);
  6. $sj=date("Y-m-d H:i:s");
  7. $bh=time()."p".$userid;
  8. $ty1id=$_GET[ty1id];
  9. deletetable("yjcode_protype where userid=".$userid." and zt=99");
  10. while1("*","yjcode_protype where id=".$ty1id." and userid=".$userid." and admin=1");
  11. if(!$row1=mysql_fetch_array($res1)){Audit_alert("À´Ô´´íÎó","protypelist.php","parent.");}
  12. $nxh=returnxh("yjcode_protype"," and userid=".$userid." and admin=2 and name1='".$row1[name1]."' and zt=0");
  13. intotable("yjcode_protype","bh,userid,name1,admin,xh,sj,zt","'".$bh."',".$userid.",'".$row1[name1]."',2,".$nxh.",'".$sj."',99");
  14. php_toheader("protype2.php?bh=".$bh);
  15. ?>