Copyright 2004-2019 iDB Support - https://idb.osdn.jp/support/category.php?act=view&id=1
Copyright 2004-2019 Game Maker 2k - https://idb.osdn.jp/support/category.php?act=view&id=2
- $FileInfo: function.php - Last Update: 08/02/2019 SVN 905 - Author: cooldude2k $
+ $FileInfo: function.php - Last Update: 4/6/2022 SVN 946 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="function.php"||$File3Name=="/function.php") {
if(!isset($_GET['debug'])) { $_GET['debug'] = "false"; }
if(!isset($_GET['post'])) { $_GET['post'] = null; }
if(!isset($_POST['License'])) { $_POST['License'] = null; } }
-if($_SERVER['PATH_INFO']==null) {
+if(isset($_SERVER['PATH_INFO']) && $_SERVER['PATH_INFO']==null) {
if(getenv('PATH_INFO')!=null&&getenv('PATH_INFO')!="1") {
$_SERVER['PATH_INFO'] = getenv('PATH_INFO'); }
if(getenv('PATH_INFO')==null) {
Copyright 2004-2019 iDB Support - https://idb.osdn.jp/support/category.php?act=view&id=1
Copyright 2004-2019 Game Maker 2k - https://idb.osdn.jp/support/category.php?act=view&id=2
- $FileInfo: groupsetup.php - Last Update: 4/6/2022 SVN 944 - Author: cooldude2k $
+ $FileInfo: groupsetup.php - Last Update: 4/6/2022 SVN 946 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="groupsetup.php"||$File3Name=="/groupsetup.php") {
Copyright 2004-2019 iDB Support - https://idb.osdn.jp/support/category.php?act=view&id=1
Copyright 2004-2019 Game Maker 2k - https://idb.osdn.jp/support/category.php?act=view&id=2
- $FileInfo: html5.php - Last Update: 4/6/2022 SVN 944 - Author: cooldude2k $
+ $FileInfo: html5.php - Last Update: 4/6/2022 SVN 946 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="html5.php"||$File3Name=="/html5.php") {
Copyright 2004-2019 iDB Support - https://idb.osdn.jp/support/category.php?act=view&id=1
Copyright 2004-2019 Game Maker 2k - https://idb.osdn.jp/support/category.php?act=view&id=2
- $FileInfo: iwrapper.php - Last Update: 4/6/2022 SVN 944 - Author: cooldude2k $
+ $FileInfo: iwrapper.php - Last Update: 4/6/2022 SVN 946 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="iwrapper.php"||$File3Name=="/iwrapper.php") {
Copyright 2004-2019 iDB Support - https://idb.osdn.jp/support/category.php?act=view&id=1
Copyright 2004-2019 Game Maker 2k - https://idb.osdn.jp/support/category.php?act=view&id=2
- $FileInfo: navbar.php - Last Update: 08/02/2019 SVN 905 - Author: cooldude2k $
+ $FileInfo: navbar.php - Last Update: 4/6/2022 SVN 946 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="navbar.php"||$File3Name=="/navbar.php") {
$NavBarCurMonth = $usercurtime->format("m");
$NavBarCurYear = $usercurtime->format("Y");
$NavBarCurDate = $NavBarCurMonth.$NavBarCurYear;
+if(!isset($idbpowertitle)) { $idbpowertitle = null; }
?>
<div class="NavBorder">
<?php if($ThemeSet['TableStyle']=="div") { ?>
Copyright 2004-2019 iDB Support - https://idb.osdn.jp/support/category.php?act=view&id=1\r
Copyright 2004-2019 Game Maker 2k - https://idb.osdn.jp/support/category.php?act=view&id=2\r
\r
- $FileInfo: versioninfo.php - Last Update: 4/6/2022 SVN 944 - Author: cooldude2k $\r
+ $FileInfo: versioninfo.php - Last Update: 4/6/2022 SVN 946 - Author: cooldude2k $\r
*/\r
$File3Name = basename($_SERVER['SCRIPT_NAME']);\r
if ($File3Name=="versioninfo.php"||$File3Name=="/versioninfo.php") {\r
return $return_var; }\r
// Version number and date stuff. :P\r
$VER1[0] = 0; $VER1[1] = 5; $VER1[2] = 4; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2];\r
-$VER2[0] = "Alpha"; $VER2[1] = "Al"; $VER2[2] = "SVN"; $SubVerN = 944; $GitRevN = '$Id$';\r
+$VER2[0] = "Alpha"; $VER2[1] = "Al"; $VER2[2] = "SVN"; $SubVerN = 946; $GitRevN = '$Id$';\r
$SVNDay[0] = 4; $SVNDay[1] = 6; $SVNDay[2] = 2022; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2];\r
$AltName = "DF2k"; $AltName2 = "DF2k"; $RName = "iDB"; $SFName = "IntDB";\r
$RFullName = "Internet Discussion Boards"; $AltFullName = "Discussion Forums 2k"; $AltGM2k = "Game Maker 2k";\r
Copyright 2004-2019 Game Maker 2k - https://idb.osdn.jp/support/category.php?act=view&id=2
iDB Installer made by Game Maker 2k - https://idb.osdn.jp/support/category.php?act=view&id=2support/category.php?act=view&id=2
- $FileInfo: install.php - Last Update: 11/27/2020 SVN 926 - Author: cooldude2k $
+ $FileInfo: install.php - Last Update: 4/6/2022 SVN 946 - Author: cooldude2k $
*//*
if(ini_get("register_globals")) {
require_once('inc/misc/killglobals.php'); }
@ini_set("report_memleaks", false);
@ini_set("display_startup_errors", false);
//@ini_set("error_log","logs/error.log");
-//@ini_set("log_errors","On");
+//@ini_set("log_errors","On");
@ini_set("docref_ext", "");
@ini_set("docref_root", "http://php.net/"); }
if(!defined("E_DEPRECATED")) { define("E_DEPRECATED", 0); }
$SetupDir['setup'] = "setup/"; $ConvertDir['setup'] = $SetupDir['setup']; $SetupDir['sql'] = "setup/sql/";
$SetupDir['convert'] = "setup/convert/"; $ConvertDir['convert'] = $SetupDir['convert']; $ConvertDir['sql'] = $SetupDir['sql'];
$Settings['output_type'] = "html"; $Settings['html_type'] = "html5";
-$Settings['board_name'] = $iDB;
+if(isset($iD)) {
+$Settings['board_name'] = $iDB; }
if(!isset($Settings['charset'])) {
$Settings['charset'] = "ISO-8859-15";
header("Content-Type: text/html; charset=ISO-8859-15"); }
if(!isset($ThemeSet[$matches[1]])) { $return_text = null; }
return $return_text; }
foreach($ThemeSet AS $key => $value) {
+ if(isset($ThemeSet[$key])) {
$ThemeSet[$key] = preg_replace("/%%/s", "{percent}p", $ThemeSet[$key]);
$ThemeSet[$key] = preg_replace_callback("/%\{([^\}]*)\}T/s", "get_theme_values", $ThemeSet[$key]);
$ThemeSet[$key] = preg_replace_callback("/%\{([^\}]*)\}e/s", "get_env_values", $ThemeSet[$key]);
$ThemeSet[$key] = preg_replace_callback("/%\{([^\}]*)\}i/s", "get_server_values", $ThemeSet[$key]);
$ThemeSet[$key] = preg_replace_callback("/%\{([^\}]*)\}s/s", "get_setting_values", $ThemeSet[$key]);
$ThemeSet[$key] = preg_replace_callback("/%\{([^\}]*)\}t/s", "get_time", $ThemeSet[$key]);
- $ThemeSet[$key] = preg_replace("/\{percent\}p/s", "%", $ThemeSet[$key]); }
+ $ThemeSet[$key] = preg_replace("/\{percent\}p/s", "%", $ThemeSet[$key]); } }
require($SetupDir['convert'].'info.php');
require($SetupDir['setup'].'html5.php');
$Error = null; $_GET['time'] = false;
Copyright 2004-2019 iDB Support - https://idb.osdn.jp/support/category.php?act=view&id=1
Copyright 2004-2019 Game Maker 2k - https://idb.osdn.jp/support/category.php?act=view&id=2
- $FileInfo: html5.php - Last Update: 11/27/2020 SVN 928 - Author: cooldude2k $
+ $FileInfo: html5.php - Last Update: 4/6/2022 SVN 946 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="xhtml10.php"||$File3Name=="/xhtml10.php") {
<meta name="Generator" content="<?php echo $VerInfo['iDB_Ver_Show']; ?>" />
<?php } if($Settings['showverinfo']!="on") { ?>
<meta name="Generator" content="<?php echo $iDB; ?>" />
-<?php } echo "\n"; ?>
+<?php } echo "\n";
+if(!isset($SettInfo['Author'])) { $SettInfo['Author'] = ""; }
+if(!isset($ThemeSet['ThemeMaker'])) { $ThemeSet['ThemeMaker'] = ""; }
+if(!isset($SettInfo['Keywords'])) { $SettInfo['Keywords'] = ""; }
+if(!isset($SettInfo['Description'])) { $SettInfo['Description'] = ""; }
+if(!isset($Settings['js_ext'])) { $Settings['js_ext'] = ".js"; }
+?>
<meta name="Author" content="<?php echo $SettInfo['Author']; ?>" />
<meta name="web_author" content="<?php echo $SettInfo['Author']; ?>" />
<meta name="rating" content="general" />
Copyright 2004-2019 iDB Support - https://idb.osdn.jp/support/category.php?act=view&id=1
Copyright 2004-2019 Game Maker 2k - https://idb.osdn.jp/support/category.php?act=view&id=2
- $FileInfo: sql.php - Last Update: 4/6/2022 SVN 944 - Author: cooldude2k $
+ $FileInfo: sql.php - Last Update: 4/6/2022 SVN 946 - Author: cooldude2k $
*/
/* Some ini setting changes uncomment if you need them.
Display PHP Errors */
return $scheme.$user.$pass.$host.$port.$path.$query.$fragment;
}
$OrgBoardURL = $Settings['idburl'];
-$PreBestURL = parse_url($Settings['idburl']);
+if(isset($Settings['idburl'])) {
+$PreBestURL = parse_url($Settings['idburl']); }
$PreServURL = parse_url((isset($_SERVER['HTTPS']) ? "https" : "http") . "://".$_SERVER['HTTP_HOST'].substr($_SERVER['REQUEST_URI'], 0, strrpos($_SERVER['REQUEST_URI'], '/') + 1));
-if($PreBestURL['host']=="localhost.url"&&str_replace("/", "", $PreBestURL['path'])=="localpath") {
+if(isset($PreBestURL['host'])&&$PreBestURL['host']=="localhost.url"&&str_replace("/", "", $PreBestURL['path'])=="localpath") {
$PreBestURL['host'] = "localhost";
$PreBestURL['path'] = $PreServURL['path'];
$Settings['idburl'] = unparse_url($PreBestURL); }
-if($PreBestURL['host']=="localhost.url"&&str_replace("/", "", $PreBestURL['path'])!="localpath") {
+if(isset($PreBestURL['host'])&&$PreBestURL['host']=="localhost.url"&&str_replace("/", "", $PreBestURL['path'])!="localpath") {
$PreBestURL['host'] = $PreServURL['host'];
$Settings['idburl'] = unparse_url($PreBestURL); }
-if($PreBestURL['host']!="localhost.url"&&str_replace("/", "", $PreBestURL['path'])=="localpath") {
+if(isset($PreBestURL['host'])&&$PreBestURL['host']!="localhost.url"&&str_replace("/", "", $PreBestURL['path'])=="localpath") {
$PreBestURL['path'] = $PreServURL['path'];
$Settings['idburl'] = unparse_url($PreBestURL); }
$OrgWebSiteURL = $Settings['weburl'];
-$PreWestURL = parse_url($Settings['weburl']);
-if($PreWestURL['host']=="localhost.url"&&str_replace("/", "", $PreWestURL['path'])=="localpath") {
+if(isset($Settings['idburl'])) {
+$PreWestURL = parse_url($Settings['weburl']); }
+if(isset($PreWestURL['host'])&&$PreWestURL['host']=="localhost.url"&&str_replace("/", "", $PreWestURL['path'])=="localpath") {
$PreWestURL['host'] = $PreServURL['host'];
$PreWestURL['path'] = $PreServURL['path'];
$Settings['weburl'] = unparse_url($PreWestURL); }
-if($PreWestURL['host']=="localhost.url"&&str_replace("/", "", $PreWestURL['path'])!="localpath") {
+if(isset($PreWestURL['host'])&&$PreWestURL['host']=="localhost.url"&&str_replace("/", "", $PreWestURL['path'])!="localpath") {
$PreWestURL['host'] = $PreServURL['host'];
$Settings['weburl'] = unparse_url($PreWestURL); }
-if($PreWestURL['host']!="localhost.url"&&str_replace("/", "", $PreWestURL['path'])=="localpath") {
+if(isset($PreWestURL['host'])&&$PreWestURL['host']!="localhost.url"&&str_replace("/", "", $PreWestURL['path'])=="localpath") {
$PreWestURL['path'] = $PreServURL['path'];
$Settings['weburl'] = unparse_url($PreWestURL); }
if(!isset($Settings['fixbasedir'])) { $Settings['fixbasedir'] = null; }