From 8923f6dabe08deeef43c76e6416612a0651f1533 Mon Sep 17 00:00:00 2001 From: Kazuki Przyborowski Date: Mon, 23 Jul 2007 09:07:11 +0000 Subject: [PATCH] Edited make reply/topic box and other small chenages. :P git-svn-id: svn://svn.code.sf.net/p/intdb/svn/trunk@51 2b68903e-0b30-0410-9a39-a2e4f3c5be39 --- inc/replys.php | 22 +++++++++++++++++++--- inc/topics.php | 28 +++++++++++++++++----------- inc/versioninfo.php | 6 +++--- mysql.php | 3 ++- rss.php | 12 ++++-------- 5 files changed, 45 insertions(+), 26 deletions(-) diff --git a/inc/replys.php b/inc/replys.php index 0a59592..67715d3 100644 --- a/inc/replys.php +++ b/inc/replys.php @@ -11,7 +11,7 @@ Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/ Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/ - $FileInfo: replys.php - Last Update: 07/20/2007 SVN 50 - Author: cooldude2k $ + $FileInfo: replys.php - Last Update: 07/23/2007 SVN 51 - Author: cooldude2k $ */ $File3Name = basename($_SERVER['SCRIPT_NAME']); if ($File3Name=="replys.php"||$File3Name=="/replys.php") { @@ -46,7 +46,14 @@ if($CatPermissionInfo['CanViewCategory'][$TopicCatID]=="yes"&& - +
  + + + + + +
 
@@ -206,7 +213,16 @@ echo url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr - +
  + + + + + + + +
 
diff --git a/inc/topics.php b/inc/topics.php index e896b9f..6b39f93 100644 --- a/inc/topics.php +++ b/inc/topics.php @@ -11,21 +11,12 @@ Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/ Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/ - $FileInfo: topics.php - Last Update: 07/15/2007 SVN 44 - Author: cooldude2k $ + $FileInfo: topics.php - Last Update: 07/23/2007 SVN 51 - Author: cooldude2k $ */ $File3Name = basename($_SERVER['SCRIPT_NAME']); if ($File3Name=="topics.php"||$File3Name=="/topics.php") { require('index.php'); exit(); } -?> - - - - - -
 
-
 
- + + + + + +
  + + +
+
 
+".$UsersName.""; } - +
  + + +
 
diff --git a/inc/versioninfo.php b/inc/versioninfo.php index f0a254c..70a3522 100644 --- a/inc/versioninfo.php +++ b/inc/versioninfo.php @@ -11,7 +11,7 @@ Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/ Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/ - $FileInfo: versioninfo.php - Last Update: 07/20/2007 SVN 50 - Author: cooldude2k $ + $FileInfo: versioninfo.php - Last Update: 07/23/2007 SVN 51 - 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] = 1; $VER1[2] = 6; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2]; -$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 50; $RName = "iDB"; $SFName = "IntDB"; -$SVNDay[0] = 07; $SVNDay[1] = 20; $SVNDay[2] = 2007; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2]; +$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 51; $RName = "iDB"; $SFName = "IntDB"; +$SVNDay[0] = 07; $SVNDay[1] = 23; $SVNDay[2] = 2007; $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); $VerInfo['iDB_Full_Ver'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[0],$SubVerN,false); diff --git a/mysql.php b/mysql.php index 894355d..c5b6e89 100644 --- a/mysql.php +++ b/mysql.php @@ -11,7 +11,7 @@ Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/ Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/ - $FileInfo: mysql.php - Last Update: 07/20/2007 SVN 50 - Author: cooldude2k $ + $FileInfo: mysql.php - Last Update: 07/23/2007 SVN 51 - Author: cooldude2k $ */ @error_reporting(E_ALL ^ E_NOTICE); @ini_set('session.use_trans_sid', false); @@ -19,6 +19,7 @@ $File3Name = basename($_SERVER['SCRIPT_NAME']); if ($File3Name=="mysql.php"||$File3Name=="/mysql.php") { @header('Location: index.php'); exit(); } +@set_time_limit(30); @ignore_user_abort(true); if(@ini_get("register_globals")) { $PreDir['misc'] = "inc/misc/"; require_once($PreDir['misc'].'killglobals.php'); unset($PreDir); } require_once('settings.php'); diff --git a/rss.php b/rss.php index 9a4b544..f821aaf 100644 --- a/rss.php +++ b/rss.php @@ -11,20 +11,16 @@ Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/ Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/ - $FileInfo: rss.php - Last Update: 07/11/2007 SVN 40 - Author: cooldude2k $ + $FileInfo: rss.php - Last Update: 07/23/2007 SVN 51 - Author: cooldude2k $ */ @error_reporting(E_ALL ^ E_NOTICE); if(@ini_get("register_globals")) { require_once('inc/misc/killglobals.php'); } require_once('mysql.php'); -// Check to see if variables are set -if(!isset($SettDir['inc'])) { $SettDir['inc'] = "inc/"; } -if(!isset($SettDir['misc'])) { $SettDir['misc'] = "inc/misc/"; } -if(!isset($SettDir['admin'])) { $SettDir['admin'] = "inc/admin/"; } -if(!isset($SettDir['mod'])) { $SettDir['mod'] = "inc/mod/"; } -if(!isset($SettDir['themes'])) { $SettDir['themes'] = "themes/"; } if($Settings['enable_rss']==false) { -redirect("location",$basedir.url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index'],false)); } +@header("Content-Type: text/plain; charset=".$Settings['charset']); +ob_clean(); echo "Sorry RSS Feeds are not enabled for this board."; +gzip_page($Settings['use_gzip'],$GZipEncode['Type']); @mysql_close(); die(); } if($_GET['act']==null) { $_GET['act'] = "rss"; } if($_GET['act']=="rss"||$_GET['act']=="atom") { $_GET['feedtype'] = $_GET['act']; $Feed['Feed']="Done"; -- 2.11.0