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: 08/02/2019 SVN 905 - Author: cooldude2k $
+ $FileInfo: groupsetup.php - Last Update: 4/6/2022 SVN 944 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="groupsetup.php"||$File3Name=="/groupsetup.php") {
if($PermissionInfo['CanModForum'][$PerForumID]!="yes"&&$PermissionInfo['CanModForum'][$PerForumID]!="no") {
$PermissionInfo['CanModForum'][$PerForumID] = "no"; }
if($PermissionInfo['CanModForum'][$PerForumID]=="no") {
+if(isset($ModForumIgnoreList1)) {
if(strlen($ModForumIgnoreList1)>1) { $ModForumIgnoreList1 .= " AND \"id\"<>".$PerForumID; }
-if(strlen($ModForumIgnoreList1)<1) { $ModForumIgnoreList1 = " \"id\"<>".$PerForumID; }
+if(strlen($ModForumIgnoreList1)<1) { $ModForumIgnoreList1 = " \"id\"<>".$PerForumID; } }
+if(isset($ModForumIgnoreList2)) {
if(strlen($ModForumIgnoreList2)>1) { $ModForumIgnoreList2 .= " AND \"id\"<>".$PerForumID; }
-if(strlen($ModForumIgnoreList2)<1) { $ModForumIgnoreList2 = " AND \"id\"<>".$PerForumID; }
+if(strlen($ModForumIgnoreList2)<1) { $ModForumIgnoreList2 = " AND \"id\"<>".$PerForumID; } }
+if(isset($ModForumIgnoreList3)) {
if(strlen($ModForumIgnoreList3)>1) { $ModForumIgnoreList3 .= " AND \"ForumID\"<>".$PerForumID; }
-if(strlen($ModForumIgnoreList3)<1) { $ModForumIgnoreList3 = " WHERE \"ForumID\"<>".$PerForumID; }
+if(strlen($ModForumIgnoreList3)<1) { $ModForumIgnoreList3 = " WHERE \"ForumID\"<>".$PerForumID; } }
+if(isset($ModForumIgnoreList4)) {
if(strlen($ModForumIgnoreList4)>1) { $ModForumIgnoreList4 .= " AND \"ForumID\"<>".$PerForumID; }
-if(strlen($ModForumIgnoreList4)<1) { $ModForumIgnoreList4 = " AND \"ForumID\"<>".$PerForumID; } }
+if(strlen($ModForumIgnoreList4)<1) { $ModForumIgnoreList4 = " AND \"ForumID\"<>".$PerForumID; } } }
if($PerError===true) { $peri = $pernum; }
++$peri; } if($PerError===true) {
header("Content-Type: text/plain; charset=".$Settings['charset']); sql_free_result($peresult); $urlstatus = 503;
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 944 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="html5.php"||$File3Name=="/html5.php") {
<!-- generator="<?php echo $iDB; ?>" -->
<?php } $iWrappers['METATAGS'] = ob_get_clean();
ob_start("idb_suboutput_handler"); ?>
-<link rel="preload" as="script" href=<?php echo url_maker($exfilejs['javascript'],$Settings['js_ext'],null,$Settings['qstr'],$Settings['qsep'],$prexqstrjs['javascript'],$exqstrjs['javascript']); ?>" />
+<link rel="preload" as="script" href="<?php echo url_maker($exfilejs['javascript'],$Settings['js_ext'],null,$Settings['qstr'],$Settings['qsep'],$prexqstrjs['javascript'],$exqstrjs['javascript']); ?>" />
<script type="text/javascript" src="<?php echo url_maker($exfilejs['javascript'],$Settings['js_ext'],null,$Settings['qstr'],$Settings['qsep'],$prexqstrjs['javascript'],$exqstrjs['javascript']); ?>"></script>
<script type="text/javascript">
var tzname=Intl.DateTimeFormat().resolvedOptions().timeZone;
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: 08/02/2019 SVN 905 - Author: cooldude2k $
+ $FileInfo: iwrapper.php - Last Update: 4/6/2022 SVN 944 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="iwrapper.php"||$File3Name=="/iwrapper.php") {
if(!isset($ThemeSet['WrapperString'])||$ThemeSet['WrapperString']===null) {
$ThemeSet['WrapperString'] = "<% HTMLSTART %>\n<% HTTPEQUIV %>\n<% METATAGS %>\n<% JAVASCRIPT %>\n<% LINKTAGS %>\n<% CSSTHEME %>\n<% FAVICON %>\n<% EXTRALINKS %>\n<% TITLETAG %>\n<% BODYTAG %>\n<% NAVBAR %>\n<% CONTENT %>\n<% COPYRIGHT %>\n<% HTMLEND %>"; }
$iWrappers['WrapperString'] = $ThemeSet['WrapperString'];
-if(!isset($iWrappers['HTMLSTART'])) { $iWrappers['HTMLSTART'] = null; }
+if(!isset($iWrappers['HTMLSTART'])) { $iWrappers['HTMLSTART'] = ""; }
$iWrappers['WrapperString'] = preg_replace("/\<% HTMLSTART %\>/is", trim($iWrappers['HTMLSTART']), $iWrappers['WrapperString']);
-if(!isset($iWrappers['HTTPEQUIV'])) { $iWrappers['HTTPEQUIV'] = null; }
+if(!isset($iWrappers['HTTPEQUIV'])) { $iWrappers['HTTPEQUIV'] = ""; }
$iWrappers['WrapperString'] = preg_replace("/\<% HTTPEQUIV %\>/is", trim($iWrappers['HTTPEQUIV']), $iWrappers['WrapperString']);
-if(!isset($iWrappers['METATAGS'])) { $iWrappers['METATAGS'] = null; }
+if(!isset($iWrappers['METATAGS'])) { $iWrappers['METATAGS'] = ""; }
$iWrappers['WrapperString'] = preg_replace("/\<% METATAGS %\>/is", trim($iWrappers['METATAGS']), $iWrappers['WrapperString']);
-if(!isset($iWrappers['JAVASCRIPT'])) { $iWrappers['JAVASCRIPT'] = null; }
+if(!isset($iWrappers['JAVASCRIPT'])) { $iWrappers['JAVASCRIPT'] = ""; }
$iWrappers['WrapperString'] = preg_replace("/\<% JAVASCRIPT %\>/is", trim($iWrappers['JAVASCRIPT']), $iWrappers['WrapperString']);
-if(!isset($iWrappers['LINKTAGS'])) { $iWrappers['LINKTAGS'] = null; }
+if(!isset($iWrappers['LINKTAGS'])) { $iWrappers['LINKTAGS'] = ""; }
$iWrappers['WrapperString'] = preg_replace("/\<% LINKTAGS %\>/is", trim($iWrappers['LINKTAGS']), $iWrappers['WrapperString']);
-if(!isset($iWrappers['CSSTHEME'])) { $iWrappers['CSSTHEME'] = null; }
+if(!isset($iWrappers['CSSTHEME'])) { $iWrappers['CSSTHEME'] = ""; }
$iWrappers['WrapperString'] = preg_replace("/\<% CSSTHEME %\>/is", trim($iWrappers['CSSTHEME']), $iWrappers['WrapperString']);
-if(!isset($iWrappers['FAVICON'])) { $iWrappers['FAVICON'] = null; }
+if(!isset($iWrappers['FAVICON'])) { $iWrappers['FAVICON'] = ""; }
$iWrappers['WrapperString'] = preg_replace("/\<% FAVICON %\>/is", trim($iWrappers['FAVICON']), $iWrappers['WrapperString']);
-if(!isset($iWrappers['EXTRALINKS'])) { $iWrappers['EXTRALINKS'] = null; }
+if(!isset($iWrappers['EXTRALINKS'])) { $iWrappers['EXTRALINKS'] = ""; }
$iWrappers['WrapperString'] = preg_replace("/\<% EXTRALINKS %\>/is", trim($iWrappers['EXTRALINKS']), $iWrappers['WrapperString']);
-if(!isset($iWrappers['TITLETAG'])) { $iWrappers['TITLETAG'] = null; }
+if(!isset($iWrappers['TITLETAG'])) { $iWrappers['TITLETAG'] = ""; }
$iWrappers['WrapperString'] = preg_replace("/\<% TITLETAG %\>/is", trim($iWrappers['TITLETAG']), $iWrappers['WrapperString']);
-if(!isset($iWrappers['BODYTAG'])) { $iWrappers['BODYTAG'] = null; }
+if(!isset($iWrappers['BODYTAG'])) { $iWrappers['BODYTAG'] = ""; }
$iWrappers['WrapperString'] = preg_replace("/\<% BODYTAG %\>/is", trim($iWrappers['BODYTAG']), $iWrappers['WrapperString']);
-if(!isset($iWrappers['NAVBAR'])) { $iWrappers['NAVBAR'] = null; }
+if(!isset($iWrappers['NAVBAR'])) { $iWrappers['NAVBAR'] = ""; }
$iWrappers['WrapperString'] = preg_replace("/\<% NAVBAR %\>/is", trim($iWrappers['NAVBAR']), $iWrappers['WrapperString']);
-if(!isset($iWrappers['CONTENT'])) { $iWrappers['CONTENT'] = null; }
+if(!isset($iWrappers['CONTENT'])) { $iWrappers['CONTENT'] = ""; }
$iWrappers['WrapperString'] = preg_replace("/\<% CONTENT %\>/is", trim($iWrappers['CONTENT']), $iWrappers['WrapperString']);
-if(!isset($iWrappers['COPYRIGHT'])) { $iWrappers['COPYRIGHT'] = null; }
+if(!isset($iWrappers['COPYRIGHT'])) { $iWrappers['COPYRIGHT'] = ""; }
$iWrappers['WrapperString'] = preg_replace("/\<% COPYRIGHT %\>/is", trim($iWrappers['COPYRIGHT']), $iWrappers['WrapperString']);
-if(!isset($iWrappers['HTMLEND'])) { $iWrappers['HTMLEND'] = null; }
+if(!isset($iWrappers['HTMLEND'])) { $iWrappers['HTMLEND'] = ""; }
$iWrappers['WrapperString'] = preg_replace("/\<% HTMLEND %\>/is", trim($iWrappers['HTMLEND']), $iWrappers['WrapperString']);
echo $iWrappers['WrapperString'];
$iWrappers = array(null);
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/4/2022 SVN 943 - Author: cooldude2k $\r
+ $FileInfo: versioninfo.php - Last Update: 4/6/2022 SVN 944 - Author: cooldude2k $\r
*/\r
$File3Name = basename($_SERVER['SCRIPT_NAME']);\r
if ($File3Name=="versioninfo.php"||$File3Name=="/versioninfo.php") {\r
if($showsvn!==true&&$showsvn!==null) { $return_var .= " ".$showsvn." ".$svnver; }\r
return $return_var; }\r
// Version number and date stuff. :P\r
-$VER1[0] = 0; $VER1[1] = 5; $VER1[2] = 5; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2];\r
-$VER2[0] = "Alpha"; $VER2[1] = "Al"; $VER2[2] = "SVN"; $SubVerN = 943; $GitRevN = "$Id$";\r
-$SVNDay[0] = 4; $SVNDay[1] = 4; $SVNDay[2] = 2022; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2];\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
+$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
$VerCheckName = "iDB"; $AltVerCheckName = "DF2k"; $AltiDBHome = "https://idb.osdn.jp/";\r
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: 6/16/2021 SVN 934 - Author: cooldude2k $
+ $FileInfo: sql.php - Last Update: 4/6/2022 SVN 944 - Author: cooldude2k $
*/
/* Some ini setting changes uncomment if you need them.
Display PHP Errors */
@ini_set('default_charset', $Settings['charset']); }
$File1Name = dirname($_SERVER['SCRIPT_NAME'])."/";
$File2Name = $_SERVER['SCRIPT_NAME'];
-$File3Name=str_replace($File1Name, null, $File2Name);
+/*$File3Name=str_replace($File1Name, null, $File2Name);
if ($File3Name=="sql.php"||$File3Name=="/sql.php") {
header('Location: index.php');
- exit(); }
+ exit(); }*/
+$File3Name = basename($_SERVER['SCRIPT_NAME']);
+if ($File3Name=="sql.php"||$File3Name=="/sql.php") {
+ header('Location: index.php');
+ exit(); }
//error_reporting(E_ERROR);
// Check if gzip is on and if user's browser can accept gzip pages
if($_GET['act']=="MkCaptcha"||$_GET['act']=="Captcha") {
'gc_probability' => 1,
'gc_divisor' => 100,
'gc_maxlifetime' => 1440,
- 'hash_function' => 1,
- 'hash_bits_per_character' => 6,
+ //'hash_function' => 1,
+ //'hash_bits_per_character' => 6,
'name' => $Settings['sqltable']."sess",
]); }
if(!isset($_SESSION['UserFormID'])) { $_SESSION['UserFormID'] = null; }
'gc_probability' => 1,
'gc_divisor' => 100,
'gc_maxlifetime' => 1440,
- 'hash_function' => 1,
- 'hash_bits_per_character' => 6,
+ //'hash_function' => 1,
+ //'hash_bits_per_character' => 6,
'name' => $Settings['sqltable']."sess",
]); }
if(!isset($_SESSION['UserFormID'])) { $_SESSION['UserFormID'] = null; }
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]); } }
if(!isset($ThemeSet['TableStyle'])) {
$ThemeSet['TableStyle'] = "table"; }
if(isset($ThemeSet['TableStyle'])) {