OSDN Git Service

Small bug fix to Low View (Lo-Fi).
authorKazuki Przyborowski <kazuki.przyborowski@gmail.com>
Sat, 2 May 2009 02:12:38 +0000 (02:12 +0000)
committerKazuki Przyborowski <kazuki.przyborowski@gmail.com>
Sat, 2 May 2009 02:12:38 +0000 (02:12 +0000)
git-svn-id: svn://svn.code.sf.net/p/intdb/svn/trunk@247 2b68903e-0b30-0410-9a39-a2e4f3c5be39

22 files changed:
admin.php
calendar.php
category.php
event.php
forum.php
inc/lowforums.php
inc/lowsubforums.php
inc/lowtopics.php
inc/topics.php
inc/versioninfo.php
index.php
install.php
member.php
messenger.php
mysql.php
preindex.php
profile.php
rss.php
search.php
subcategory.php
subforum.php
topic.php

index 56698d1..b8398c1 100644 (file)
--- a/admin.php
+++ b/admin.php
@@ -8,11 +8,13 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     Revised BSD License for more details.
 
-    Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
-    Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2009 Cool Dude 2k - http://idb.berlios.de/
+    Copyright 2004-2009 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: admin.php - Last Update: 3/26/2009 SVN 237 - Author: cooldude2k $
+    $FileInfo: admin.php - Last Update: 5/01/2009 SVN 247 - Author: cooldude2k $
 */
+if(@ini_get("register_globals")) {
+require_once('inc/misc/killglobals.php'); }
 require('preindex.php');
 $usefileext = $Settings['file_ext'];
 if($ext=="noext"||$ext=="no ext"||$ext=="no+ext") { $usefileext = ""; }
index 3faf456..62f9e64 100644 (file)
@@ -8,11 +8,13 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     Revised BSD License for more details.
 
-    Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
-    Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2009 Cool Dude 2k - http://idb.berlios.de/
+    Copyright 2004-2009 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: calendar.php - Last Update: 01/01/2008 SVN 144 - Author: cooldude2k $
+    $FileInfo: calendar.php - Last Update: 5/01/2009 SVN 247 - Author: cooldude2k $
 */
+if(@ini_get("register_globals")) {
+require_once('inc/misc/killglobals.php'); }
 require('preindex.php');
 $usefileext = $Settings['file_ext'];
 if($ext=="noext"||$ext=="no ext"||$ext=="no+ext") { $usefileext = ""; }
index 2541863..8020f59 100644 (file)
@@ -8,11 +8,13 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     Revised BSD License for more details.
 
-    Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
-    Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2009 Cool Dude 2k - http://idb.berlios.de/
+    Copyright 2004-2009 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: category.php - Last Update: 01/01/2008 SVN 144 - Author: cooldude2k $
+    $FileInfo: category.php - Last Update: 5/01/2009 SVN 247 - Author: cooldude2k $
 */
+if(@ini_get("register_globals")) {
+require_once('inc/misc/killglobals.php'); }
 require('preindex.php');
 $usefileext = $Settings['file_ext'];
 if($ext=="noext"||$ext=="no ext"||$ext=="no+ext") { $usefileext = ""; }
index 19b7d30..982ddf2 100644 (file)
--- a/event.php
+++ b/event.php
@@ -8,11 +8,13 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     Revised BSD License for more details.
 
-    Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
-    Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2009 Cool Dude 2k - http://idb.berlios.de/
+    Copyright 2004-2009 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: event.php - Last Update: 01/01/2008 SVN 144 - Author: cooldude2k $
+    $FileInfo: event.php - Last Update: 5/01/2009 SVN 247 - Author: cooldude2k $
 */
+if(@ini_get("register_globals")) {
+require_once('inc/misc/killglobals.php'); }
 require('preindex.php');
 $usefileext = $Settings['file_ext'];
 if($ext=="noext"||$ext=="no ext"||$ext=="no+ext") { $usefileext = ""; }
index 1bc0185..a3ad27d 100644 (file)
--- a/forum.php
+++ b/forum.php
@@ -8,11 +8,13 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     Revised BSD License for more details.
 
-    Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
-    Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2009 Cool Dude 2k - http://idb.berlios.de/
+    Copyright 2004-2009 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: forum.php - Last Update: 5/01/2009 SVN 246 - Author: cooldude2k $
+    $FileInfo: forum.php - Last Update: 5/01/2009 SVN 247 - Author: cooldude2k $
 */
+if(@ini_get("register_globals")) {
+require_once('inc/misc/killglobals.php'); }
 $checklowview = true;
 require('preindex.php');
 $usefileext = $Settings['file_ext'];
@@ -48,7 +50,7 @@ if(!isset($ForumName)) { $ForumName = null; }
 </body>
 </html>
 <?php 
-if($_GET['act']=="view") {
+if($_GET['act']=="view"||$_GET['act']=="lowview") {
 change_title($Settings['board_name']." ".$ThemeSet['TitleDivider']." ".$ForumName,$Settings['use_gzip'],$GZipEncode['Type']); } 
 if($_GET['act']=="create") {
 change_title($Settings['board_name']." ".$ThemeSet['TitleDivider']." Making a Topic",$Settings['use_gzip'],$GZipEncode['Type']); }
index f7e8fea..dd0e855 100644 (file)
@@ -8,10 +8,10 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     Revised BSD License for more details.
 
-    Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
-    Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2009 Cool Dude 2k - http://idb.berlios.de/
+    Copyright 2004-2009 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: forums.php - Last Update: 5/01/2009 SVN 246 - Author: cooldude2k $
+    $FileInfo: forums.php - Last Update: 5/01/2009 SVN 247 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="forums.php"||$File3Name=="/forums.php") {
index 7c65699..e99ab8e 100644 (file)
@@ -8,10 +8,10 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     Revised BSD License for more details.
 
-    Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
-    Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2009 Cool Dude 2k - http://idb.berlios.de/
+    Copyright 2004-2009 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: subforums.php - Last Update: 5/01/2009 SVN 246 - Author: cooldude2k $
+    $FileInfo: subforums.php - Last Update: 5/01/2009 SVN 247 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="subforums.php"||$File3Name=="/subforums.php") {
index 13a93cb..db754c8 100644 (file)
@@ -8,10 +8,10 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     Revised BSD License for more details.
 
-    Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
-    Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2009 Cool Dude 2k - http://idb.berlios.de/
+    Copyright 2004-2009 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: lowtopics.php - Last Update: 5/01/2009 SVN 246 - Author: cooldude2k $
+    $FileInfo: lowtopics.php - Last Update: 5/01/2009 SVN 247 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="lowtopics.php"||$File3Name=="/lowtopics.php") {
index cb7084e..dc2e3ba 100644 (file)
@@ -8,8 +8,8 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     Revised BSD License for more details.
 
-    Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
-    Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2009 Cool Dude 2k - http://idb.berlios.de/
+    Copyright 2004-2009 Game Maker 2k - http://intdb.sourceforge.net/
 
     $FileInfo: topics.php - Last Update: 4/22/2009 SVN 245 - Author: cooldude2k $
 */
@@ -152,7 +152,7 @@ $PageLimit = $Settings['max_topics'] * $snumber;
 if($PageLimit<0) { $PageLimit = 0; }
 //End Topic Page Code
 $i=0;
-$query = query("SELECT * FROM `".$Settings['sqltable']."topics` WHERE `ForumID`=%i ORDER BY `Pinned` DESC, `LastUpdate` DESC LIMIT %i,%i", array($_GET['id'],$PageLimit,$Settings['max_topics']));
+$query = query("SELECT * FROM `".$Settings['sqltable']."topics` WHERE (`ForumID`=%i) OR (`OldForumID`=%i) ORDER BY `Pinned` DESC, `LastUpdate` DESC LIMIT %i,%i", array($_GET['id'],$_GET['id'],$PageLimit,$Settings['max_topics']));
 $result=mysql_query($query);
 $num=mysql_num_rows($result);
 //List Page Number Code Start
index 3bbc557..bdd15b8 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2009 Cool Dude 2k - http://idb.berlios.de/
     Copyright 2004-2009 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: versioninfo.php - Last Update: 5/01/2009 SVN 246 - Author: cooldude2k $
+    $FileInfo: versioninfo.php - Last Update: 5/01/2009 SVN 247 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="versioninfo.php"||$File3Name=="/versioninfo.php") {
@@ -27,7 +27,7 @@ function version_info($proname,$subver,$ver,$supver,$reltype,$svnver,$showsvn) {
        return $return_var; }
 // Version number and date stuff. :P
 $VER1[0] = 0; $VER1[1] = 2; $VER1[2] = 6; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2];
-$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 246; $RName = "iDB"; $SFName = "IntDB";
+$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 247; $RName = "iDB"; $SFName = "IntDB";
 $SVNDay[0] = 5; $SVNDay[1] = 01; $SVNDay[2] = 2009; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2];
 $VerInfo['iDB_Ver'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[1],$SubVerN,false);
 $VerInfo['iDB_Ver_SVN'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[1],$SubVerN,true);
index ac63e92..a2b26a4 100644 (file)
--- a/index.php
+++ b/index.php
@@ -8,11 +8,13 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     Revised BSD License for more details.
 
-    Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
-    Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2009 Cool Dude 2k - http://idb.berlios.de/
+    Copyright 2004-2009 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: index.php - Last Update: 5/01/2009 SVN 246 - Author: cooldude2k $
+    $FileInfo: index.php - Last Update: 5/01/2009 SVN 247 - Author: cooldude2k $
 */
+if(@ini_get("register_globals")) {
+require_once('inc/misc/killglobals.php'); }
 $checklowview = true;
 require('preindex.php');
 $usefileext = $Settings['file_ext'];
index 9adcb88..61aaac1 100644 (file)
@@ -8,12 +8,14 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     Revised BSD License for more details.
 
-    Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
-    Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2009 Cool Dude 2k - http://idb.berlios.de/
+    Copyright 2004-2009 Game Maker 2k - http://intdb.sourceforge.net/
     iDB Installer made by Game Maker 2k - http://idb.berlios.de/support/category.php?act=view&id=2
 
-    $FileInfo: install.php - Last Update: 12/12/2008 SVN 215 - Author: cooldude2k $
+    $FileInfo: install.php - Last Update: 5/01/2009 SVN 247 - Author: cooldude2k $
 */
+if(@ini_get("register_globals")) {
+require_once('inc/misc/killglobals.php'); }
 @error_reporting(E_ALL ^ E_NOTICE);
 if(@ini_get("register_globals")) { 
        if(!isset($SettDir['misc'])) { $SettDir['misc'] = "inc/misc/"; }
index 103691d..be4822d 100644 (file)
@@ -8,11 +8,13 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     Revised BSD License for more details.
 
-    Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
-    Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2009 Cool Dude 2k - http://idb.berlios.de/
+    Copyright 2004-2009 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: member.php - Last Update: 01/01/2008 SVN 144 - Author: cooldude2k $
+    $FileInfo: member.php - Last Update: 5/01/2009 SVN 247 - Author: cooldude2k $
 */
+if(@ini_get("register_globals")) {
+require_once('inc/misc/killglobals.php'); }
 require('preindex.php');
 $usefileext = $Settings['file_ext'];
 if($ext=="noext"||$ext=="no ext"||$ext=="no+ext") { $usefileext = ""; }
index d12a19f..b19a66a 100644 (file)
@@ -8,11 +8,13 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     Revised BSD License for more details.
 
-    Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
-    Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2009 Cool Dude 2k - http://idb.berlios.de/
+    Copyright 2004-2009 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: messenger.php - Last Update: 12/19/2008 SVN 219 - Author: cooldude2k $
+    $FileInfo: messenger.php - Last Update: 5/01/2009 SVN 247 - Author: cooldude2k $
 */
+if(@ini_get("register_globals")) {
+require_once('inc/misc/killglobals.php'); }
 require('preindex.php');
 $usefileext = $Settings['file_ext'];
 if($ext=="noext"||$ext=="no ext"||$ext=="no+ext") { $usefileext = ""; }
index d45a65f..e0e9a74 100644 (file)
--- a/mysql.php
+++ b/mysql.php
@@ -11,7 +11,7 @@
     Copyright 2004-2009 Cool Dude 2k - http://idb.berlios.de/
     Copyright 2004-2009 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: mysql.php - Last Update: 4/04/2009 SVN 244 - Author: cooldude2k $
+    $FileInfo: mysql.php - Last Update: 5/01/2009 SVN 247 - Author: cooldude2k $
 */
 //@ini_set("display_errors", true); 
 //@ini_set("display_startup_errors", true);
@@ -22,10 +22,6 @@ $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="mysql.php"||$File3Name=="/mysql.php") {
        @header('Location: index.php');
        exit(); }
-if(@ini_get("register_globals")) { require('settings.php');
-if(!isset($SettDir['misc'])) { $SettDir['misc'] = "inc/misc/"; }
-       require_once($SettDir['misc'].'killglobals.php'); }
-$starttime = $_POST['starttime'];
 require('settings.php');
 if(!isset($Settings['showverinfo'])) { 
        $Settings['showverinfo'] = "on"; }
index 6639dac..658cce9 100644 (file)
@@ -8,15 +8,15 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     Revised BSD License for more details.
 
-    Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
-    Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2009 Cool Dude 2k - http://idb.berlios.de/
+    Copyright 2004-2009 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: preindex.php - Last Update: 5/01/2009 SVN 246 - Author: cooldude2k $
+    $FileInfo: preindex.php - Last Update: 5/01/2009 SVN 247 - Author: cooldude2k $
 */
 $pretime = explode(" ", microtime());
 $utime = $pretime[0];
 $time = $pretime[1];
-$_POST['starttime'] = $utime + $time;
+$starttime = $utime + $time;
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="preindex.php"||$File3Name=="/preindex.php") {
        @header('Location: index.php');
index 536001e..c8493b7 100644 (file)
@@ -8,11 +8,13 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     Revised BSD License for more details.
 
-    Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
-    Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2009 Cool Dude 2k - http://idb.berlios.de/
+    Copyright 2004-2009 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: profile.php - Last Update: 01/01/2008 SVN 144 - Author: cooldude2k $
+    $FileInfo: profile.php - Last Update: 5/01/2009 SVN 247 - Author: cooldude2k $
 */
+if(@ini_get("register_globals")) {
+require_once('inc/misc/killglobals.php'); }
 require('preindex.php');
 $usefileext = $Settings['file_ext'];
 if($ext=="noext"||$ext=="no ext"||$ext=="no+ext") { $usefileext = ""; }
diff --git a/rss.php b/rss.php
index a74a663..69ed677 100644 (file)
--- a/rss.php
+++ b/rss.php
@@ -8,11 +8,13 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     Revised BSD License for more details.
 
-    Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
-    Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2009 Cool Dude 2k - http://idb.berlios.de/
+    Copyright 2004-2009 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: rss.php - Last Update: 12/10/2008 SVN 212 - Author: cooldude2k $
+    $FileInfo: rss.php - Last Update: 5/01/2009 SVN 247 - Author: cooldude2k $
 */
+if(@ini_get("register_globals")) {
+require_once('inc/misc/killglobals.php'); }
 $pretime = explode(" ", microtime());
 $utime = $pretime[0];
 $time = $pretime[1];
index abc5f54..218690d 100644 (file)
@@ -8,11 +8,13 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     Revised BSD License for more details.
 
-    Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
-    Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2009 Cool Dude 2k - http://idb.berlios.de/
+    Copyright 2004-2009 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: search.php - Last Update: 12/09/2008 SVN 207 - Author: cooldude2k $
+    $FileInfo: search.php - Last Update: 5/01/2009 SVN 247 - Author: cooldude2k $
 */
+if(@ini_get("register_globals")) {
+require_once('inc/misc/killglobals.php'); }
 require('preindex.php');
 $usefileext = $Settings['file_ext'];
 if($ext=="noext"||$ext=="no ext"||$ext=="no+ext") { $usefileext = ""; }
index d182847..cfbc275 100644 (file)
@@ -8,11 +8,13 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     Revised BSD License for more details.
 
-    Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
-    Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2009 Cool Dude 2k - http://idb.berlios.de/
+    Copyright 2004-2009 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: subcategory.php - Last Update: 01/01/2008 SVN 144 - Author: cooldude2k $
+    $FileInfo: subcategory.php - Last Update: 5/01/2009 SVN 247 - Author: cooldude2k $
 */
+if(@ini_get("register_globals")) {
+require_once('inc/misc/killglobals.php'); }
 require('preindex.php');
 $usefileext = $Settings['file_ext'];
 if($ext=="noext"||$ext=="no ext"||$ext=="no+ext") { $usefileext = ""; }
index 4c2a7f7..942721b 100644 (file)
@@ -8,11 +8,13 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     Revised BSD License for more details.
 
-    Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
-    Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2009 Cool Dude 2k - http://idb.berlios.de/
+    Copyright 2004-2009 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: subforum.php - Last Update: 5/01/2009 SVN 246 - Author: cooldude2k $
+    $FileInfo: subforum.php - Last Update: 5/01/2009 SVN 247 - Author: cooldude2k $
 */
+if(@ini_get("register_globals")) {
+require_once('inc/misc/killglobals.php'); }
 $checklowview = true;
 require('preindex.php');
 $usefileext = $Settings['file_ext'];
index 3985758..a66ff27 100644 (file)
--- a/topic.php
+++ b/topic.php
@@ -8,11 +8,13 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     Revised BSD License for more details.
 
-    Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
-    Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2009 Cool Dude 2k - http://idb.berlios.de/
+    Copyright 2004-2009 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: topic.php - Last Update: 12/08/2008 SVN 204 - Author: cooldude2k $
+    $FileInfo: topic.php - Last Update: 5/01/2009 SVN 247 - Author: cooldude2k $
 */
+if(@ini_get("register_globals")) {
+require_once('inc/misc/killglobals.php'); }
 require('preindex.php');
 $usefileext = $Settings['file_ext'];
 if($ext=="noext"||$ext=="no ext"||$ext=="no+ext") { $usefileext = ""; }