servertaocan1lx.php 633 B

123456789101112131415
  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. while0("*","yjcode_server where bh='".$bh."'");if(!$row=mysql_fetch_array($res)){php_toheader("serverlist.php");}
  8. if(!strstr($adminqx,",0,") && !strstr($adminqx,",0101,")){Audit_alert("ȨÏÞ²»¹»","default.php");}
  9. $nxh=returnxh("yjcode_servertaocan"," and admin=1 and serverbh='".$bh."' and zt<>99");
  10. intotable("yjcode_servertaocan","xh,serverbh,userid,admin,zt","".$nxh.",'".$bh."',".$row[userid].",1,99");
  11. $id=mysql_insert_id();
  12. php_toheader("servertaocan1.php?bh=".$bh."&id=".$id);
  13. ?>