Facebook
From sfds, 5 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 209
  1. <?php
  2. include 'header.php';
  3. ?>
  4.  
  5. <?php
  6.  
  7. $getbayi = $_GET['ip'];
  8.  
  9. if($getbayi == ""){
  10. include 'page/errorlist.php';
  11. }else{
  12. $bayi = $conn->query("SELECT * FROM bayi WHERE ip='$getbayi'")->fetch(PDO::FETCH_ASSOC);
  13.  
  14. if($bayi['id']){
  15.  
  16. include 'class/framework/ts3admin.class.php';
  17. $ts3_ip = $bayi['ip'];
  18. $ts3_queryport = $bayi['port'];
  19. $ts3_user = $bayi['kullanici'];
  20. $ts3_pass = $bayi['sifre'];
  21.  
  22.  
  23. include 'page/list.php';
  24. }else{
  25. include 'page/errorlist.php';
  26. }
  27.  
  28. }
  29. ?>
  30.  
  31. <?php
  32. include 'footer.php';
  33. ?>