home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2003 May / INTERNET103.ISO / pc / software / windows / building / php_nuke / html / admin / case / casestories.php < prev    next >
Encoding:
PHP Script  |  2002-09-16  |  1.5 KB  |  46 lines

  1. <?php
  2.  
  3. /************************************************************************/
  4. /* PHP-NUKE: Web Portal 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", $PHP_SELF)) { die ("Access Denied"); }
  16.  
  17. switch($op) {
  18.  
  19.     case "YesDelCategory":
  20.     case "subdelete":
  21.     case "DelCategory":
  22.     case "NoMoveCategory":
  23.     case "EditCategory":
  24.     case "SaveEditCategory":
  25.     case "AddCategory":
  26.     case "SaveCategory":
  27.     case "DisplayStory":
  28.     case "PreviewAgain":
  29.     case "PostStory":
  30.     case "EditStory":
  31.     case "RemoveStory":
  32.     case "ChangeStory":
  33.     case "DeleteStory":
  34.     case "adminStory":
  35.     case "PreviewAdminStory":
  36.     case "PostAdminStory":
  37.     case "autoDelete":
  38.     case "autoEdit":
  39.     case "autoSaveEdit":
  40.     case "submissions":
  41.     include("admin/modules/stories.php");
  42.     break;
  43.  
  44. }
  45.  
  46. ?>