taocan1lx.php 801 B

12345678910111213141516
  1. <?php
  2. include("../config/conn.php");
  3. include("../config/function.php");
  4. AdminSes_audit();
  5. $sj=date("Y-m-d H:i:s");
  6. $bh=$_GET[bh];
  7. $ty1id=$_GET[ty1id];
  8. while0("*","yjcode_pro where bh='".$bh."'");if(!$row=mysql_fetch_array($res)){php_toheader("productlist.php");}
  9. if(!strstr($adminqx,",0,") && !strstr($adminqx,",0101,")){Audit_alert("ȨÏÞ²»¹»","default.php");}
  10. while1("*","yjcode_taocan where id=".$ty1id);if(!$row1=mysql_fetch_array($res1)){php_toheader("productlist.php");}
  11. $nxh=returnxh("yjcode_taocan"," and admin=2 and tit='".$row1[tit]."' and probh='".$bh."'");
  12. intotable("yjcode_taocan","tit,xh,admin,probh,userid,zt","'".$row1[tit]."',".$nxh.",2,'".$bh."',".$row[userid].",99");
  13. $id=mysql_insert_id();
  14. php_toheader("taocan1.php?ty1id=".$_GET[ty1id]."&bh=".$bh."&id=".$id);
  15. ?>