OSDN Git Service

iDB HTTP encoding system updated added deflate. ^_^
[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-2007 Cool Dude 2k - http://intdb.sourceforge.net/
12     Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/
13
14     $FileInfo: member.php - Last Update: 05/14/2007 SVN 4 - Author: cooldude2k $
15 */
16 require('preindex.php');
17 $usefileext = $Settings['file_ext'];
18 if($ext=="noext"||$ext=="no ext"||$ext=="no+ext") { $usefileext = ""; }
19 $filewpath = $exfile['member'].$Settings['file_ext'].$_SERVER['PATH_INFO'];
20 if($_GET['act']==null) { $_GET['act'] = "login"; }
21 ?>
22
23 <title> <?php echo $Settings['board_name'].$idbpowertitle; ?> </title>
24 </head>
25 <body>
26 <?php if($_GET['act']==null)
27 { $_GET['act']="loginmember"; }
28 if(!is_numeric($_GET['id']))
29 { $_GET['id']="1"; }
30 require($SettDir['inc'].'navbar.php');
31 if($_GET['act']=="login"||
32 $_POST['act']=="loginmember"||
33 $_GET['act']=="logout")
34 { require($SettDir['inc'].'members.php'); } 
35 if($_GET['act']=="list"||
36 $_GET['act']=="view"||
37 $_GET['act']=="signup")
38 { require($SettDir['inc'].'members.php'); } 
39 if($_GET['act']=="makemember") {
40 if($_POST['act']=="makemembers") {
41 require($SettDir['inc'].'members.php'); } } ?>
42 <div>&nbsp;</div>
43 <?php require($SettDir['inc'].'endpage.php');
44 ?>
45
46 </body>
47 </html>
48 <?php 
49 if($membertitle==null) {
50 fix_amp($Settings['use_gzip'],$GZipEncode['Type']); }
51 if($membertitle!=null) {
52 change_title($Settings['board_name'].$membertitle,$Settings['use_gzip'],$GZipEncode['Type']); }
53 ?>