OSDN Git Service

Delete versioninfo.php
authorKazuki Suzuki Przyborowski <kazuki.przyborowski@gmail.com>
Fri, 8 Apr 2022 21:24:32 +0000 (16:24 -0500)
committerGitHub <noreply@github.com>
Fri, 8 Apr 2022 21:24:32 +0000 (16:24 -0500)
inc/versioninfo.php [deleted file]

diff --git a/inc/versioninfo.php b/inc/versioninfo.php
deleted file mode 100644 (file)
index 018e174..0000000
+++ /dev/null
@@ -1,141 +0,0 @@
-<?php\r
-/*\r
-    This program is free software; you can redistribute it and/or modify\r
-    it under the terms of the Revised BSD License.\r
-\r
-    This program is distributed in the hope that it will be useful,\r
-    but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-    Revised BSD License for more details.\r
-\r
-    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/8/2022 SVN 948 - Author: cooldude2k $\r
-*/\r
-$File3Name = basename($_SERVER['SCRIPT_NAME']);\r
-if ($File3Name=="versioninfo.php"||$File3Name=="/versioninfo.php") {\r
-       require('index.php');\r
-       exit(); }\r
-       $rssurlon = "off";\r
-// Version info stuff. :P \r
-function version_info($proname,$subver,$ver,$supver,$reltype,$svnver,$showsvn) {\r
-       $return_var = $proname." ".$reltype." ".$subver.".".$ver.".".$supver;\r
-       if($showsvn===false) { $showsvn = null; }\r
-       if($showsvn===true) { $return_var .= " SVN ".$svnver; }\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] = 4; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2];\r
-$VER2[0] = "Alpha"; $VER2[1] = "Al"; $VER2[2] = "SVN"; $SubVerN = 948; $GitRevN = '$Id: 122279fd71c7f9b11797dde9daf510b74803f1e6 $';\r
-$SVNDay[0] = 4; $SVNDay[1] = 8; $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
-$AltGM2kHome = "https://idb.osdn.jp/"; $AltGM2kURL = "<a href=\"".$AltGM2kHome."\" title=\"".$AltGM2k."\" onclick=\"window.open(this.href);return false;\">".$AltGM2k."</a>";\r
-$iDBTheme = "iDB"; $AltiDBTheme = "Gray"; \r
-$UserAgentName = "iDB-Forum"; $AltUserAgentName = "DF2k-Forum";\r
-if(!isset($Settings['usealtname'])) { $Settings['usealtname'] = "no"; }\r
-if(isset($Settings['usealtname'])&&$Settings['usealtname']=="yes") {\r
-if(isset($iDBAltName['VER1'][0])) { $VER1[0] = $iDBAltName['VER1'][0]; }\r
-if(isset($iDBAltName['VER1'][1])) { $VER1[1] = $iDBAltName['VER1'][1]; }\r
-if(isset($iDBAltName['VER1'][2])) { $VER1[2] = $iDBAltName['VER1'][2]; }\r
-if(isset($iDBAltName['VER1'][0])&&\r
-       isset($iDBAltName['VER1'][1])&&\r
-       isset($iDBAltName['VER1'][2])) { \r
-       $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2]; }\r
-if(isset($iDBAltName['VER2'][0])) { $VER2[0] = $iDBAltName['VER2'][0]; }\r
-if(isset($iDBAltName['VER2'][1])) { $VER2[1] = $iDBAltName['VER2'][1]; }\r
-if(isset($iDBAltName['VER2'][2])) { $VER2[2] = $iDBAltName['VER2'][2]; }\r
-if(isset($iDBAltName['SubVerN'])) { $SubVerN = $iDBAltName['SubVerN']; }\r
-if(isset($iDBAltName['SVNDay'][0])) { $SVNDay[0] = $iDBAltName['SVNDay'][0]; }\r
-if(isset($iDBAltName['SVNDay'][1])) { $SVNDay[1] = $iDBAltName['SVNDay'][1]; }\r
-if(isset($iDBAltName['SVNDay'][2])) { $SVNDay[2] = $iDBAltName['SVNDay'][2]; }\r
-if(isset($iDBAltName['SVNDay'][0])&&\r
-       isset($iDBAltName['SVNDay'][1])&&\r
-       isset($iDBAltName['SVNDay'][2])) { \r
-       $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2]; }\r
-if(isset($iDBAltName['AltName'])) { $AltName = $iDBAltName['AltName']; }\r
-if(isset($iDBAltName['AltName2'])) { $AltName2 = $iDBAltName['AltName2']; }\r
-if(isset($iDBAltName['AltFullName'])) { $AltFullName = $iDBAltName['AltFullName']; } \r
-if(isset($iDBAltName['AltVerCheckName'])) { $AltVerCheckName = $iDBAltName['AltVerCheckName']; } \r
-if(isset($iDBAltName['AltUserAgentName'])) { $AltUserAgentName = $iDBAltName['AltUserAgentName']; } \r
-if(isset($iDBAltName['AltiDBHome'])) { $AltiDBHome = $iDBAltName['AltiDBHome']; } \r
-if(isset($iDBAltName['AltGM2k'])) { $AltGM2k = $iDBAltName['AltGM2k']; } \r
-if(isset($iDBAltName['AltGM2kHome'])) { $AltGM2kHome = $iDBAltName['AltGM2kHome']; } \r
-if(isset($iDBAltName['AltGM2kURL'])) { $AltGM2kURL = $iDBAltName['AltGM2kURL']; } \r
-if(isset($iDBAltName['AltiDBTheme'])) { $AltiDBTheme = $iDBAltName['AltiDBTheme']; } \r
-if(isset($iDBAltName['VerCheckURL'])) { $Settings['VerCheckURL'] = $iDBAltName['VerCheckURL']; } }\r
-if(isset($Settings['usealtname'])&&$Settings['usealtname']=="yes") {\r
-       $RName = $AltName2; $SFName = $AltName; $RFullName = $AltFullName; $VerCheckName = $AltVerCheckName; $UserAgentName = $AltUserAgentName; }\r
-$VerInfo['iDB_Ver'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[1],$SubVerN,false);\r
-$VerInfo['iDB_Ver_SVN'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[1],$SubVerN,$VER2[2]);\r
-$VerInfo['iDB_Full_Ver'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[0],$SubVerN,false);\r
-$VerInfo['iDB_Full_Ver_SVN'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[0],$SubVerN,$VER2[2]);\r
-$VerInfo['iDB_Ver_Show'] = $VerInfo['iDB_Ver_SVN']; $VerInfo['iDB_Full_Ver_Show'] = $VerInfo['iDB_Full_Ver_SVN'];\r
-define("_iDB_Ver_", $VerInfo['iDB_Ver']); define("_iDB_Ver_SVN_", $VerInfo['iDB_Ver_SVN']);\r
-define("_iDB_Full_Ver_", $VerInfo['iDB_Full_Ver']); define("_iDB_Full_Ver_SVN_", $VerInfo['iDB_Full_Ver_SVN']);\r
-define("_iDB_Ver_Show_", $VerInfo['iDB_Ver_Show']); define("_iDB_Full_Ver_Show_", $VerInfo['iDB_Full_Ver_Show']);\r
-/* \r
-URLs and names and stuff. :P \r
-$KSP = "Kazuki Suzuki Przyborowski";\r
-$KSPAlt = "Kazuki Suzuki Przyborowski";\r
-*/\r
-$iDBHome = "https://idb.osdn.jp/"; $DF2kHome = "https://idb.osdn.jp/"; \r
-$OrgName = "iDB"; $AltOrgName = "DF2k"; $AltiDB = "Discussion Forums 2k";\r
-$AltSQLDumper = null;\r
-if(isset($Settings['usealtname'])&&$Settings['usealtname']=="yes") {\r
-if(isset($iDBAltName['AltOrgName'])) { $AltOrgName = $iDBAltName['AltOrgName']; }\r
-if(isset($iDBAltName['AltiDB'])) { $AltiDB = $iDBAltName['AltiDB']; }\r
-if(isset($iDBAltName['AltSQLDumperName'])) { $AltSQLDumper = $iDBAltName['AltSQLDumperName']; } }\r
-if(!isset($Settings['VerCheckURL'])||\r
-       $Settings['VerCheckURL']==="") {\r
-$VerCheckURL = $iDBHome."?act=vercheck"; }\r
-if(isset($Settings['VerCheckURL'])&&\r
-       $Settings['VerCheckURL']!=="") {\r
-$VerCheckURL = $Settings['VerCheckURL']; }\r
-$VerCheckQuery = parse_url($VerCheckURL);\r
-$VerCheckQuery = $VerCheckQuery['query'];\r
-if($VerCheckQuery=="") { $VerCheckURL = $VerCheckURL."?"; }\r
-if(!isset($Settings['IPCheckURL'])||\r
-       $Settings['IPCheckURL']==="") {\r
-$IPCheckURL = 'http://cqcounter.com/whois/?query=%s'; }\r
-if(isset($Settings['IPCheckURL'])&&\r
-       $Settings['IPCheckURL']!=="") {\r
-$IPCheckURL = $Settings['IPCheckURL']; }\r
-$CD2k = "Kazuki Przyborowski"; $CD2k_Full = "Kazuki Suzuki Przyborowski";\r
-$GM2k = "Game Maker 2k"; $iDB_Author = "Kazuki";\r
-$iDB = "Internet Discussion Boards"; $iTB = "Internet Tag Boards"; \r
-$DF2k = "Discussion Forums 2k"; $TB2k = "Tag Boards 2k";\r
-$TheProgrammerNaps = "The programmer has a nap. \nHold out! Programmer! ";\r
-if(isset($Settings['usealtname'])&&$Settings['usealtname']=="yes") { \r
-       $iDB = $AltiDB; $OrgName = $AltOrgName; $iDBTheme = $AltiDBTheme; }\r
-$iDBURL1 = "<a href=\"".$iDBHome."\" onclick=\"window.open(this.href);return false;\">"; $iDBURL2 = $iDBURL1.$iDB."</a>";\r
-$DF2kURL1 = "<a href=\"".$DF2kHome."\" onclick=\"window.open(this.href);return false;\">"; $DF2kURL2 = $DF2kURL1.$DF2k."</a>";\r
-$GM2kHome = $iDBHome."support/category.php?act=view&amp;id=2";\r
-$GM2kURL = "<a href=\"".$GM2kHome."\" title=\"".$GM2k."\" onclick=\"window.open(this.href);return false;\">".$GM2k."</a>";\r
-$iDBURL3 = "<a href=\"".$iDBHome."\" title=\"".$iDB."\" onclick=\"window.open(this.href);return false;\">".$iDB."</a>";\r
-$PHPQA = "PHP-Quick-Arcade|http://quickarcade.jcink.com/"; $TFBB = "TextFileBB|https://launchpad.net/tfbb";\r
-$PHPQA = explode("|",$PHPQA); $TFBB = explode("|",$TFBB);\r
-$PHPQA = "<a href=\"".$PHPQA[1]."\" title=\"".$PHPQA[0]."\" onclick=\"window.open(this.href);return false;\">".$PHPQA[0]."</a>";\r
-$TFBB = "<a href=\"".$TFBB[1]."\" title=\"".$TFBB[0]."\" onclick=\"window.open(this.href);return false;\">".$TFBB[0]."</a>";\r
-if(isset($Settings['usealtname'])&&$Settings['usealtname']=="yes") { \r
-       $iDBHome = $AltiDBHome; $GM2k = $AltGM2k; $GM2kHome = $AltGM2kHome; $GM2kURL = $AltGM2kURL; }\r
-$PHPV1 = phpversion(); $PHPV2 = "PHP ".$PHPV1; $OSType = @php_uname("s"); $OSType .= " ".@php_uname("r");\r
-$OSType .= " ".@php_uname("m"); if($OSType==""||!isset($OSType)) { $OSType = PHP_OS; } // Check OS Name\r
-if($OSType=="WINNT") { $OSType="Windows NT"; } if($OSType=="WIN32") { $OSType="Windows 9x"; }\r
-$OSType2 = $PHPV2." / ".$OSType; $ZENDV1 = zend_version(); $ZENDV2 = "Zend engine ".$ZENDV1;\r
-// Show or hide the version number\r
-if($Settings['showverinfo']=="on") {\r
-//header("X-".$RName."-Powered-By: ".$VerInfo['iDB_Ver_Show']);\r
-header("Generator: ".$VerInfo['iDB_Ver_Show']); }\r
-if($Settings['showverinfo']!="on") {\r
-//header("X-".$RName."-Powered-By: ".$RName);\r
-//header("X-Powered-By: PHP");\r
-header("Generator: ".$RName); }\r
-if(!isset($Settings['hideverinfohttp'])) {\r
-       $Settings['hideverinfohttp'] = "off"; }\r
-if($Settings['hideverinfohttp']=="on") {\r
-header("X-Powered-By: ");\r
-header("Generator: "); }\r
-?>\r