OSDN Git Service

Added make events and birthdays for members. :P
[idb/iDB.git.git] / calendar.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: calendar.php - Last Update: 08/16/2007 SVN 84 - 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['calendar'].$usefileext.$_SERVER['PATH_INFO'];
20 ?>
21
22 <title> <?php echo $Settings['board_name'].$idbpowertitle; ?> </title>
23 </head>
24 <body>
25 <?php
26 require($SettDir['inc'].'navbar.php');
27
28 if($_GET['act']==null) {
29 $_GET['act']="view"; }
30 if($_GET['act']=="view")
31 { require($SettDir['inc'].'calendars.php'); }
32 if($_GET['act']=="create") 
33 { require($SettDir['inc'].'events.php'); }
34 require($SettDir['inc'].'endpage.php'); ?>
35 </body>
36 </html>
37 <?php
38 if($_GET['act']=="view") {
39 change_title($Settings['board_name']." ".$ThemeSet['TitleDivider']." Viewing Calendar",$Settings['use_gzip'],$GZipEncode['Type']); }
40 if($_GET['act']=="create") {
41 change_title($Settings['board_name']." ".$ThemeSet['TitleDivider']." Making a Event",$Settings['use_gzip'],$GZipEncode['Type']); }
42 ?>