Location: PHPKode > scripts > Shampoo > shampoo/index.php
<?php /*** Shampoo 0.4, (c) 2008 R Holt ( ratherodd.com )                           ****
      **** Please see settings.php for things you can do to customise this script.  ****
      **** Don't edit this file unless you know what you're doing.                  ****
      **** Also please read readme.txt. This script requires PHP 5 or above.        ****/

error_reporting(2039);
ini_set("session.bug_compat_42", 0);
session_name('fish');
$sok = @session_start();
if(!$sok){
  session_regenerate_id(true);
  session_start();
}
header('Content-type: text/html; charset=utf-8');
require 'functions.php';
require 'settings.php';

$fish = explode('/', $_GET['fish']);

$shampoo = new Shampoo($fish[0]);
$shampoo->register_var('base', BASE);
$shampoo->register_var('version', VERSION);
$shampoo->addBodyClass($_SESSION['fixed']);
if ($shampoo->album) {
  $shampoo->register_var('title', $shampoo->{$shampoo->album}->title);
  $shampoo->albumate($fish);
}
else {
  $shampoo->register_var('header', $shampoo->title);
  $shampoo->register_var('title', $shampoo->title);
  $shampoo->showList();
}
$shampoo->makeMenu();
$shampoo->output();
?>
Return current item: Shampoo