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-2024 iDB Support - https://idb.osdn.jp/support/category.php?act=view&id=1
12 Copyright 2004-2024 Game Maker 2k - https://idb.osdn.jp/support/category.php?act=view&id=2
14 $FileInfo: calendar.php - Last Update: 8/23/2024 SVN 1023 - Author: cooldude2k $
16 if (ini_get("register_globals")) {
17 require_once('inc/misc/killglobals.php');
19 require('preindex.php');
20 $usefileext = $Settings['file_ext'];
21 if ($ext == "noext" ||
$ext == "no ext" ||
$ext == "no+ext") {
24 $filewpath = $exfile['calendar'].$usefileext.$_SERVER['PATH_INFO'];
25 $idbactcheck = array("view", "create");
27 <?php
$iWrappers['EXTRALINKS'] = null;
28 ob_start("idb_suboutput_handler");
29 $title_html = htmlentities($Settings['board_name'].$idbpowertitle, ENT_QUOTES
, $Settings['charset']);
31 <meta itemprop
="title" property
="og:title" content
="<?php echo $title_html; ?>" />
32 <meta itemprop
="sitename" property
="og:site_name" content
="<?php echo $title_html; ?>" />
33 <meta itemprop
="title" property
="twitter:title" content
="<?php echo $title_html; ?>" />
34 <meta name
="title" content
="<?php echo $title_html; ?>" />
35 <title
> <?php
echo $Settings['board_name'].$idbpowertitle; ?
> </title
>
36 <?php
$iWrappers['TITLETAG'] = ob_get_clean();
37 ob_start("idb_suboutput_handler"); ?
>
40 <?php
$iWrappers['BODYTAG'] = ob_get_clean();
41 ob_start("idb_suboutput_handler");
42 require($SettDir['inc'].'navbar.php');
43 $iWrappers['NAVBAR'] = ob_get_clean();
44 ob_start("idb_suboutput_handler");
45 if ($_GET['act'] == null) {
46 $_GET['act'] = "view";
48 if (!in_array($_GET['act'], $idbactcheck)) {
49 $_GET['act'] = "view";
51 if ($_GET['act'] == "view") {
52 require($SettDir['inc'].'calendars.php');
54 if ($_GET['act'] == "create") {
55 require($SettDir['inc'].'events.php');
57 $iWrappers['CONTENT'] = ob_get_clean();
58 ob_start("idb_suboutput_handler");
59 require($SettDir['inc'].'endpage.php');
60 $iWrappers['COPYRIGHT'] = ob_get_clean();
61 ob_start("idb_suboutput_handler"); ?
>
65 $iWrappers['HTMLEND'] = ob_get_clean();
66 require($SettDir['inc'].'iwrapper.php');
67 if ($_GET['act'] == "view") {
68 change_title($Settings['board_name']." ".$ThemeSet['TitleDivider']." Viewing Calendar", $Settings['use_gzip'], $GZipEncode['Type']);
70 if ($_GET['act'] == "create") {
71 change_title($Settings['board_name']." ".$ThemeSet['TitleDivider']." Making a Event", $Settings['use_gzip'], $GZipEncode['Type']);