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.blocks.php < prev    next >
PHP Script  |  2004-01-29  |  1KB  |  38 lines

  1. <?php
  2.  
  3. /************************************************************************/
  4. /* PHP-NUKE: Advanced Content Management System                         */
  5. /* ============================================                         */
  6. /*                                                                      */
  7. /* Copyright (c) 2002 by Francisco Burzi                                */
  8. /* http://phpnuke.org                                                   */
  9. /*                                                                      */
  10. /* This program is free software. You can redistribute it and/or modify */
  11. /* it under the terms of the GNU General Public License as published by */
  12. /* the Free Software Foundation; either version 2 of the License.       */
  13. /************************************************************************/
  14.  
  15. if (!eregi("admin.php", $_SERVER['PHP_SELF'])) { die ("Access Denied"); }
  16.  
  17. switch($op) {
  18.  
  19.     case "BlocksAdmin":
  20.     case "BlocksAdd":
  21.     case "BlocksEdit":
  22.     case "BlocksEditSave":
  23.     case "ChangeStatus":
  24.     case "BlocksDelete":
  25.     case "BlockOrder":    
  26.     case "HeadlinesDel":
  27.     case "HeadlinesAdd":
  28.     case "HeadlinesSave":
  29.     case "HeadlinesAdmin":
  30.     case "HeadlinesEdit":
  31.     case "fixweight":
  32.     case "block_show":
  33.     include("admin/modules/blocks.php");
  34.     break;
  35.  
  36. }
  37.  
  38. ?>