All pastes #793343 Raw Edit

Stuff

public text v1 · immutable
·published 2007-11-22 04:48 UTC
rendered paste body
   <?php
   
      //CleanScript.com (Nor/Lamonte/TIS)
   
      $page = $_GET['action'];
   
      switch($page)
   
      {
   
              case "members":
   
                      include('members.php'); 

                      break;
   
              case "splash":
  
                      include('splash.php');
  
                      break;
  
              case "register":
  
                      include('register.php');
  
                      break;
  
              case "logout":
  
                      include('logout.php');
  
                      break;
  
              case "editprofile":
  
                      include('editprofile.php');
  
                      break;
  
              case "admin":
  
                      if(!isset($_GET['sa']) || empty($_GET['sa']))
  
                      {
  
                              include('admincp.php');
  
                      }
  
                      else
  
                      {
  
                              $sa = htmlspecialchars($_GET['sa']);
  
                              switch($sa)
  
                              {
  
                                      case "editprofile":
  
                                              include("admineditprofile.php");//or w/e
  
                                      break;
  
                              }
  
                      }
  
                      break;
  
      }
  
      ?>