protype1lx.php 478 B

12345678910111213
  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. deletetable("yjcode_protype where userid=".$userid." and zt=99");
  9. $nxh=returnxh("yjcode_protype"," and userid=".$userid." and admin=1 and zt=0");
  10. intotable("yjcode_protype","bh,userid,admin,xh,sj,zt","'".$bh."',".$userid.",1,".$nxh.",'".$sj."',99");
  11. php_toheader("protype1.php?bh=".$bh);
  12. ?>