3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the Revised BSD License.
6 This program is distributed in the hope that it will be useful,
7 but WITHOUT ANY WARRANTY; without even the implied warranty of
8 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 Revised BSD License for more details.
11 Copyright 2004-2010 iDB Support - http://idb.berlios.de/
12 Copyright 2004-2010 Game Maker 2k - http://gamemaker2k.org/
14 $FileInfo: category.php - Last Update: 11/23/2009 SVN 357 - Author: cooldude2k $
16 if(ini_get("register_globals")) {
17 require_once('inc/misc/killglobals.php'); }
19 require('preindex.php');
20 $usefileext = $Settings['file_ext'];
21 if($ext=="noext"||
$ext=="no ext"||
$ext=="no+ext") { $usefileext = ""; }
22 $filewpath = $exfile['category'].$usefileext.$_SERVER['PATH_INFO'];
23 if(!is_numeric($_GET['id'])) { $_GET['id']="1"; }
26 <title
> <?php
echo $Settings['board_name'].$idbpowertitle; ?
> </title
>
29 <?php
if($_GET['act']!="lowview") {
30 require($SettDir['inc'].'navbar.php'); }
32 if($_GET['act']==null)
33 { $_GET['act']="view"; }
34 if(!is_numeric($_GET['id'])) { $_GET['id']="1"; }
35 if($_GET['act']=="view")
36 { require($SettDir['inc'].'categories.php'); }
37 if($_GET['act']=="lowview")
38 { require($SettDir['inc'].'lowcategories.php'); }
39 if($_GET['act']=="view"||
$_GET['act']=="stats")
40 { require($SettDir['inc'].'stats.php'); }
41 require($SettDir['inc'].'endpage.php');
42 if(!isset($CategoryName)) { $CategoryName = null; }
48 change_title($Settings['board_name']." ".$ThemeSet['TitleDivider']." ".$CategoryName,$Settings['use_gzip'],$GZipEncode['Type']);