tpdel.php 337 B

123456789101112
  1. <?
  2. include("../config/conn.php");
  3. include("../config/function.php");
  4. AdminSes_audit();
  5. while1("*","yjcode_tp where id=".$_GET[id]);if($row1=mysql_fetch_array($res1)){
  6. if(!empty($row1[tp])){
  7. delFile("../".str_replace(".","-1.",$row1[tp]));
  8. delFile("../".$row1[tp]);
  9. }
  10. deletetable("yjcode_tp where id=".$_GET[id]);
  11. }
  12. ?>