servertype2lx.php 647 B

1234567891011121314
  1. <?php
  2. include("../config/conn.php");
  3. include("../config/function.php");
  4. AdminSes_audit();
  5. if(!strstr($adminqx,",0,") && !strstr($adminqx,",0301,")){Audit_alert("ȨÏÞ²»¹»","default.php");}
  6. $ty1id=$_GET[ty1id];
  7. while0("*","yjcode_servertype where zt=0 and admin=1 and id=".$ty1id);if(!$row=mysql_fetch_array($res)){php_toheader("servertypelist.php");}
  8. $bh=returnbh();
  9. $nxh=returnxh("yjcode_servertype"," and admin=2 and name1='".$row[name1]."' and zt=0");
  10. intotable("yjcode_servertype","bh,admin,name1,sj,xh,zt","'".$bh."',2,'".$row[name1]."','".getsj()."',".$nxh.",99");
  11. php_toheader("servertype2.php?bh=".$bh."&ty1id=".$ty1id);
  12. ?>