Oppaitime's version of Gazelle
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

clients.php 1.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?
  2. View::show_header('Client Rules');
  3. if (!$WhitelistedClients = $Cache->get_value('whitelisted_clients')) {
  4. $DB->query('
  5. SELECT vstring
  6. FROM xbt_client_whitelist
  7. WHERE vstring NOT LIKE \'//%\'
  8. ORDER BY vstring ASC');
  9. $WhitelistedClients = $DB->to_array(false, MYSQLI_NUM, false);
  10. $Cache->cache_value('whitelisted_clients', $WhitelistedClients, 604800);
  11. }
  12. ?>
  13. <div class="thin">
  14. <div class="header">
  15. <h2 class="center">Client Whitelist</h2>
  16. </div>
  17. <div class="box pad">
  18. <p>Client rules are how we maintain the integrity of our swarms. This allows us to filter out disruptive and dishonest clients that may hurt the performance of either the tracker or individual peers.</p>
  19. <table cellpadding="5" cellspacing="1" border="0" class="border" width="100%">
  20. <tr class="colhead">
  21. <td style="width: 150px;"><strong>Allowed Clients</strong></td>
  22. </tr>
  23. <?
  24. foreach ($WhitelistedClients as $Client) {
  25. list($ClientName) = $Client;
  26. ?>
  27. <tr class="row">
  28. <td><?=$ClientName?></td>
  29. </tr>
  30. <? } ?>
  31. </table>
  32. </div>
  33. <h3>Further Rules</h3>
  34. <div class="box pad rule_summary">
  35. <p>
  36. The modification of clients to bypass our client requirements (spoofing) is explicitly forbidden. People caught doing this will be instantly and permanently banned. When you leak peers, everyone loses. This is your only warning.
  37. </p>
  38. <p>
  39. The use of clients or proxies which have been modified to report incorrect stats to our tracker (cheating) is not allowed, and will result in a permanent ban.
  40. </p>
  41. <p>
  42. The testing of unstable clients by developers must first be approved by staff.
  43. </p>
  44. </div>
  45. <? include('jump.php'); ?>
  46. </div>
  47. <? View::show_footer(); ?>