OSDN Git Service

Got rid of most of the at signs (@) in the code. (made it hard to debug the code)
[idb/iDB.git.git] / member.php
1 <?php
2 /*
3     This program is free software; you can redistribute it and/or modify
4     it under the terms of the Revised BSD License.
5
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.
10
11     Copyright 2004-2009 iDB Support - http://idb.berlios.de/
12     Copyright 2004-2009 Game Maker 2k - http://gamemaker2k.org/
13
14     $FileInfo: member.php - Last Update: 11/23/2009 SVN 357 - Author: cooldude2k $
15 */
16 if(ini_get("register_globals")) {
17 require_once('inc/misc/killglobals.php'); }
18 require('preindex.php');
19 $usefileext = $Settings['file_ext'];
20 if($ext=="noext"||$ext=="no ext"||$ext=="no+ext") { $usefileext = ""; }
21 $filewpath = $exfile['member'].$Settings['file_ext'].$_SERVER['PATH_INFO'];
22 if($_GET['act']==null) { $_GET['act'] = "login"; }
23 if(!isset($_GET['view'])) { $_GET['view'] = null; }
24 ?>
25
26 <title> <?php echo $Settings['board_name'].$idbpowertitle; ?> </title>
27 </head>
28 <body>
29 <?php if($_GET['act']=="register")
30 { $_GET['act']="signup"; }
31 if($_GET['act']=="signin")
32 { $_GET['act']="login"; }
33 if($_GET['act']=="signout")
34 { $_GET['act']="logout"; }
35 if(!is_numeric($_GET['id']))
36 { $_GET['id']="1"; }
37 require($SettDir['inc'].'navbar.php');
38 if($_GET['act']=="login"||
39 $_GET['act']=="online"||
40 $_POST['act']=="loginmember"||
41 $_GET['act']=="logout")
42 { require($SettDir['inc'].'members.php'); } 
43 if($_GET['act']=="list"||
44 $_GET['act']=="view"||
45 $_GET['act']=="signup")
46 { require($SettDir['inc'].'members.php'); } 
47 if($_GET['act']=="makemember") {
48 if($_POST['act']=="makemembers") {
49 require($SettDir['inc'].'members.php'); } } 
50 require($SettDir['inc'].'endpage.php');
51 if(!isset($membertitle)) { $membertitle = null; }
52 ?>
53
54 </body>
55 </html>
56 <?php 
57 if($membertitle==null) {
58 fix_amp($Settings['use_gzip'],$GZipEncode['Type']); }
59 if($membertitle!=null) {
60 change_title($Settings['board_name'].$membertitle,$Settings['use_gzip'],$GZipEncode['Type']); }
61 ?>