OSDN Git Service

Small bug fix. :P
authorKazuki Przyborowski <kazuki.przyborowski@gmail.com>
Tue, 5 Jul 2011 00:12:27 +0000 (00:12 +0000)
committerKazuki Przyborowski <kazuki.przyborowski@gmail.com>
Tue, 5 Jul 2011 00:12:27 +0000 (00:12 +0000)
git-svn-id: svn://svn.code.sf.net/p/intdb/svn/trunk@694 2b68903e-0b30-0410-9a39-a2e4f3c5be39

inc/calendars.php
inc/versioninfo.php
sql.php

index 1876eb6..bdcbcf3 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2011 iDB Support - http://idb.berlios.de/
     Copyright 2004-2011 Game Maker 2k - http://gamemaker2k.org/
 
-    $FileInfo: calendars.php - Last Update: 07/01/2011 SVN 691 - Author: cooldude2k $
+    $FileInfo: calendars.php - Last Update: 07/04/2011 SVN 695 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="calendars.php"||$File3Name=="/calendars.php") {
@@ -32,7 +32,7 @@ $backcalm = $_GET['calmadd'] - 1;
 if($_GET['calmadd']===0||$_GET['calmadd']=="0") {
 $calmounthaddd = ($_GET['calmadd'] * $dayconv['month']); }
 if($_GET['calmadd']!==0&&$_GET['calmadd']!="0") {
-$calmounthaddd = ($_GET['calmadd'] * $dayconv['month']) + ($dayconv['day'] * 2); }
+$calmounthaddd = ($_GET['calmadd'] * $dayconv['month']) + ($dayconv['day'] * 1); }
 // Extra month stuff
 $MyRealMonthNum1 = GMTimeGet("m",$_SESSION['UserTimeZone'],0,$_SESSION['UserDST']);
 $MyRealYear = GMTimeGet("Y",$_SESSION['UserTimeZone'],0,$_SESSION['UserDST']);
index 0f2417e..fc2ddfd 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2011 iDB Support - http://idb.berlios.de/
     Copyright 2004-2011 Game Maker 2k - http://gamemaker2k.org/
 
-    $FileInfo: versioninfo.php - Last Update: 07/02/2011 SVN 694 - Author: cooldude2k $
+    $FileInfo: versioninfo.php - Last Update: 07/04/2011 SVN 695 - 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] = 6; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2];
-$VER2[0] = "Alpha"; $VER2[1] = "Al"; $VER2[2] = "SVN"; $SubVerN = 694;
-$SVNDay[0] = 07; $SVNDay[1] = 02; $SVNDay[2] = 2011; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2];
+$VER2[0] = "Alpha"; $VER2[1] = "Al"; $VER2[2] = "SVN"; $SubVerN = 695;
+$SVNDay[0] = 07; $SVNDay[1] = 04; $SVNDay[2] = 2011; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2];
 $AltName = "RDB"; $AltName2 = "ReneeDB"; $RName = "iDB"; $SFName = "IntDB";
 $RFullName = "Internet Discussion Boards"; $AltFullName = "Renee Discussion Boards"; $AltGM2k = "ReneeDB Team";
 $VerCheckName = "iDB"; $AltVerCheckName = "RDB"; $AltiDBHome = "http://duckduckgo.com/?q=ReneeDB";
diff --git a/sql.php b/sql.php
index 7d3da66..fc44ad7 100644 (file)
--- a/sql.php
+++ b/sql.php
@@ -11,7 +11,7 @@
     Copyright 2004-2011 iDB Support - http://idb.berlios.de/
     Copyright 2004-2011 Game Maker 2k - http://gamemaker2k.org/
 
-    $FileInfo: sql.php - Last Update: 07/02/2011 SVN 692 - Author: cooldude2k $
+    $FileInfo: sql.php - Last Update: 07/04/2011 SVN 695 - Author: cooldude2k $
 */
 /* Some ini setting changes uncomment if you need them. 
    Display PHP Errors */
@@ -188,7 +188,7 @@ if($Settings['use_hashtype']!="md2"&&
        $Settings['use_hashtype'] = "sha1"; } }
 // Check to see if variables are set
 require_once($SettDir['misc'].'setcheck.php');
-$dayconv = array('second' => 1, 'minute' => 60, 'hour' => 3600, 'day' => 86400, 'week' => 604800, 'month' => 2630880, 'year' => 31570560, 'decade' => 315705600);
+$dayconv = array("year" => 29030400, "month" => 2419200, "week" => 604800, "day" => 86400, "hour" => 3600 "minute" => 60, "second" => 1);
 require_once($SettDir['inc'].'function.php');
 if(!in_array("ini_set", $disfunc)) {
 // Set user agent if we can use ini_set and have to do any http requests. :P