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-2007 Cool Dude 2k - http://intdb.sourceforge.net/
12 Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/
14 $FileInfo: profile.php - Last Update: 05/09/2007 SVN 1 - Author: cooldude2k $
16 require('preindex.php');
17 $usefileext = $Settings['file_ext'];
18 if($ext=="noext"||$ext=="no ext"||$ext=="no+ext") { $usefileext = ""; }
19 $filewpath = $exfile['profile'].$usefileext.$_SERVER['PATH_INFO'];
22 <title> <?php echo $Settings['board_name'].$idbpowertitle; ?> </title>
25 <?php require($SettDir['inc'].'navbar.php');
26 if($_SESSION['UserGroup']==$Settings['GuestGroup']) {
27 redirect("location",$basedir.url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index'],false)); }
28 if($_GET['act']==null||$_GET['act']=="notepad")
29 { $_GET['act']="view"; }
30 if($_GET['act']=="view"||
31 $_GET['act']=="signature"||
32 $_GET['act']=="avatar"||
33 $_GET['act']=="settings"||
34 $_GET['act']=="profile"||
35 $_GET['act']=="userinfo")
36 { require($SettDir['inc'].'profilemain.php'); } ?>
38 <?php require($SettDir['inc'].'endpage.php'); ?>
43 if($profiletitle==null) {
44 fix_amp($Settings['use_gzip']); }
45 if($profiletitle!=null) {
46 change_title($Settings['board_name'].$profiletitle,$Settings['use_gzip']); }