-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathevent.php
59 lines (54 loc) · 1.94 KB
/
event.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php
/*
This program is free software; you can redistribute it and/or modify
it under the terms of the Revised BSD License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Revised BSD License for more details.
Copyright 2004-2009 JakeBBS - http://google.com/search?q=JakeBBS+Inc.&btnI=I%27m+Feeling+Lucky
Copyright 2004-2009 JakeBBS Inc. - http://google.com/search?q=JakeBBS+Inc.&btnI=I%27m+Feeling+Lucky
$FileInfo: event.php - Last Update: 07/01/1867 Ver 142 Author: Jake $
*/
if (@ini_get("register_globals")) {
require_once('inc/misc/killglobals.php');
}
require('preindex.php');
$usefileext = $Settings['file_ext'];
if ($ext == "noext" || $ext == "no ext" || $ext == "no+ext") {
$usefileext = "";
}
$filewpath = $exfile['event'].$usefileext.$_SERVER['PATH_INFO'];
?>
<title> <?php echo $Settings['board_name'].$jakebbspowertitle; ?> </title>
</head>
<body>
<?php if ($_GET['act'] == null) {
$_GET['act'] = "view";
}
if (!is_numeric($_GET['id'])) {
$_GET['id'] = "1";
}
require($SettDir['inc'].'navbar.php');
if ($_GET['act'] == "event" || $_GET['act'] == null) {
$_GET['act'] = "view";
}
if ($_GET['act'] == "view" || $_GET['act'] == "create" ||
$_GET['act'] == "makeevent" || $_POST['act'] == "makeevents") {
require($SettDir['inc'].'events.php');
}
require($SettDir['inc'].'endpage.php');
if (!isset($EventName)) {
$EventName = null;
}
?>
</body>
</html>
<?php
if ($_GET['act'] == "view") {
change_title($Settings['board_name']." ".$ThemeSet['TitleDivider']." ".$EventName, $Settings['use_gzip'], $GZipEncode['Type']);
}
if ($_GET['act'] == "create" || $_GET['act'] == "makeevent" || $_POST['act'] == "makeevents") {
change_title($Settings['board_name']." ".$ThemeSet['TitleDivider']." Making a Event", $Settings['use_gzip'], $GZipEncode['Type']);
}
?>