home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 April / PCWorld_2005-04_cd.bin / akce / web / phpnuke / PHP-Nuke-7.5.exe / html / admin / case / case.ipban.php < prev    next >
PHP Script  |  2004-07-08  |  1KB  |  34 lines

  1. <?php
  2.  
  3. /************************************************************************/
  4. /* PHP-NUKE: Advanced Content Management System                         */
  5. /* ============================================                         */
  6. /*                                                                      */
  7. /* Block/Ban users based on their IP number                             */
  8. /*                                                                      */
  9. /* Copyright (c) 2004 by Francisco Burzi                                */
  10. /* http://phpnuke.org                                                   */
  11. /*                                                                      */
  12. /* This program is free software. You can redistribute it and/or modify */
  13. /* it under the terms of the GNU General Public License as published by */
  14. /* the Free Software Foundation; either version 2 of the License.       */
  15. /************************************************************************/
  16.  
  17. if (!eregi("admin.php", $PHP_SELF)) { die ("Access Denied"); }
  18.  
  19. switch($op) {
  20.     case "ipban":
  21.     include("admin/modules/ipban.php");
  22.     break;
  23.  
  24.     case "save_banned":
  25.     include("admin/modules/ipban.php");
  26.     break;
  27.  
  28.     case "ipban_delete":
  29.     include("admin/modules/ipban.php");
  30.     break;
  31.  
  32. }
  33.  
  34. ?>