Unsupported scripts and control panel web app for a hosting company
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.

123456789101112131415161718192021222324252627282930
  1. <form action="<?PHP echo CP_PATH; ?>adminbans" method="post">
  2. <div class="block">
  3. <h2>ADMIN: Add IP ban</h2>
  4. <div class="innerblock">
  5. <p class="blurb">
  6. IP Addresses are strictly matched (i.e., no ranges are allowed).
  7. The reason specified is exposed to the banned user, so keep it civil.
  8. Expirary time should be formatted as specified <a href="http://www.gnu.org/software/tar/manual/html_node/tar_109.html">here</a>. Most commonly you'll just
  9. want '+1 day' or so.
  10. </p>
  11. <table class="form leftpad">
  12. <tr>
  13. <th><label for="ip">IP Address</label></th>
  14. <td><input type="text" name="ip" class="inflat"></td>
  15. </tr>
  16. <tr>
  17. <th><label for="reason">Reason</label></th>
  18. <td><input type="text" name="reason" class="inflat"></td>
  19. </tr>
  20. <tr>
  21. <th><label for="expirary">Expirary</label></th>
  22. <td><input type="text" name="expirary" class="inflat"></td>
  23. </tr>
  24. <tr><td colspan="2" style="text-align: right;">
  25. <input type="submit" value="Add">
  26. </td></tr>
  27. </table>
  28. </div>
  29. </div>
  30. </form>