OSDN Git Service

Small bug fix
authorKazuki Przyborowski <kazuki@localhost.localdomain>
Mon, 23 Jan 2017 22:31:50 +0000 (16:31 -0600)
committerKazuki Przyborowski <kazuki@localhost.localdomain>
Mon, 23 Jan 2017 22:31:50 +0000 (16:31 -0600)
inc/endpage.php
inc/versioninfo.php

index 40b174a..9177e3d 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2015 iDB Support - http://idb.berlios.de/
     Copyright 2004-2015 Game Maker 2k - http://gamemaker2k.org/
 
-    $FileInfo: endpage.php - Last Update: 05/16/2016 SVN 806 - Author: cooldude2k $
+    $FileInfo: endpage.php - Last Update: 01/23/2017 SVN 807 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="endpage.php"||$File3Name=="/endpage.php") {
@@ -24,6 +24,11 @@ $MyTimeNow = $usercurtime->format($_SESSION['iDBTimeFormat']);
 $MyFullTimeNow = $usercurtime->format($_SESSION['iDBDateFormat'].", ".$_SESSION['iDBTimeFormat']);
 if(!isset($TimeSign)) { $TimeSign = ""; }
 $endpagevar=$endpagevar."<br />The time now is <span class=\"ctimenow\" title=\"".$MyFullTimeNow."\">".$MyTimeNow."</span> ".$ThemeSet['LineDivider']." All times are UTC ".$TimeSign." ".$MyDST; }
+if(function_exists("bcsub")==False) {
+function bcsub($left_operand, $right_operand, $scale = 0) {
+$lof = floatval($left_operand);
+$rof = floatval($right_operand);
+return sprintf("%0.".$scale."f", $lof - $rof); } }
 function execution_time($starttime) {
 list($uetime, $etime) = explode(" ", microtime());
 $endtime = $uetime + $etime;
index 2cc920b..4d13051 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2015 iDB Support - http://idb.berlios.de/
     Copyright 2004-2015 Game Maker 2k - http://gamemaker2k.org/
 
-    $FileInfo: versioninfo.php - Last Update: 05/16/2016 SVN 806 - Author: cooldude2k $
+    $FileInfo: versioninfo.php - Last Update: 01/23/2017 SVN 806 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="versioninfo.php"||$File3Name=="/versioninfo.php") {
@@ -27,8 +27,8 @@ function version_info($proname,$subver,$ver,$supver,$reltype,$svnver,$showsvn) {
        return $return_var; }
 // Version number and date stuff. :P
 $VER1[0] = 0; $VER1[1] = 4; $VER1[2] = 8; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2];
-$VER2[0] = "Alpha"; $VER2[1] = "Al"; $VER2[2] = "SVN"; $SubVerN = 806;
-$SVNDay[0] = 5; $SVNDay[1] = 16; $SVNDay[2] = 2016; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2];
+$VER2[0] = "Alpha"; $VER2[1] = "Al"; $VER2[2] = "SVN"; $SubVerN = 807;
+$SVNDay[0] = 1; $SVNDay[1] = 23; $SVNDay[2] = 2017; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2];
 $AltName = "DF2k"; $AltName2 = "DF2k"; $RName = "iDB"; $SFName = "IntDB";
 $RFullName = "Internet Discussion Boards"; $AltFullName = "Discussion Forums 2k"; $AltGM2k = "DF2k Team";
 $VerCheckName = "iDB"; $AltVerCheckName = "DF2k"; $AltiDBHome = "http://df2k.gamemaker2k.org/";