// \\ (c) 2004-2008 Game Maker 2k //
// """"""""""""""""""""""""""""""""""""""""""
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-// $FileInfo: README - Last Update: 03/10/2008 SVN 152 - Author: cooldude2k $
+// $FileInfo: README - Last Update: 06/24/2008 SVN 167 - Author: cooldude2k $
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// Copyright 2004-2008 Cool Dude 2k - http://intdb.sourceforge.net/ http://idb.berlios.net/
// Copyright 2004-2008 Game Maker 2k - http://upload.idb.s1.jcink.com/
// http://s1.jcink.com/s/host/idb/ http://idb.everywebhost.com/ http://cooldude2k.id.funpic.org/
-// Game Maker 2k Copyright 2000-2008 Cool Dude 2k (René Johnson)
+// Game Maker 2k Copyright 2000-2008 Cool Dude 2k (Kazuki Przyborowski), René Johnson
// Emoticons made by Jcink for TextfileBB (https://launchpad.net/tfbb) Under GPL License
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// iDB Installer made by Game Maker 2k - http://upload.idb.s1.jcink.com/
Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
- $FileInfo: categories.php - Last Update: 03/25/2008 SVN 155 - Author: cooldude2k $
+ $FileInfo: categories.php - Last Update: 06/24/2008 SVN 167 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="categories.php"||$File3Name=="/categories.php") {
$lul = url_maker($exfile['member'],$Settings['file_ext'],"act=view&id=".$UsersID,$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']);
$LastTopic = "User: <a href=\"".$lul."\" title=\"".$oldusername."\">".$UsersName."</a><br />\nTopic: <a href=\"".url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TopicID."&page=".$NumPages,$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic'])."#reply".$ShowReply."\" title=\"".$oldtopicname."\">".$TopicName."</a>"; }
if($UsersID=="-1") {
-$LastTopic = "User: <span title=\"".$oldusername."\">".$UsersName."</span><br />\nTopic: <a href=\"".url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TopicID."&page=".$NumPages,$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic'])."#reply".$ShowReply."\" title=\"".$oldtopicname."\">".$TopicName."</a>"; } }
+$LastTopic = "Guest: <span title=\"".$oldusername."\">".$UsersName."</span><br />\nTopic: <a href=\"".url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TopicID."&page=".$NumPages,$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic'])."#reply".$ShowReply."\" title=\"".$oldtopicname."\">".$TopicName."</a>"; } }
if($LastTopic==null) { $LastTopic=" <br /> "; } }
@mysql_free_result($gltresult);
if ($ForumType=="redirect") { $LastTopic="Redirects: ".$NumRedirects; }
Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
- $FileInfo: events.php - Last Update: 05/31/2008 SVN 164 - Author: cooldude2k $
+ $FileInfo: events.php - Last Update: 06/24/2008 SVN 167 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="events.php"||$File3Name=="/events.php") {
$_POST['EventText'] = remove_bad_entities($_POST['EventText']);
//$_POST['EventText'] = @remove_spaces($_POST['EventText']);
/* <_< iWordFilter >_>
- by René Johnson - Cool Dude 2k */
+ by Kazuki Przyborowski - Cool Dude 2k */
$katarzynaqy=query("SELECT * FROM `".$Settings['sqltable']."wordfilter`", array(null));
$katarzynart=mysql_query($katarzynaqy);
$katarzynanm=mysql_num_rows($katarzynart);
Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
- $FileInfo: forums.php - Last Update: 03/25/2008 SVN 155 - Author: cooldude2k $
+ $FileInfo: forums.php - Last Update: 06/24/2008 SVN 167 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="forums.php"||$File3Name=="/forums.php") {
++$glti; } }
if ($ForumType!="subforum"&&$ForumType!="redirect") { $UseThisFonum = $gltf[0]; }
if ($ForumType!="redirect") {
-$gltquery = query("SELECT * FROM `".$Settings['sqltable']."topics` WHERE `CategoryID`=%i AND `ForumID`=%i ORDER BY `LastUpdate` DESC LIMIT 1", array($CategoryID,$UseThisFonum));
+$gltquery = query("SELECT * FROM `".$Settings['sqltable']."topics` WHERE `ForumID`=%i ORDER BY `LastUpdate` DESC LIMIT 1", array($UseThisFonum));
$gltresult=mysql_query($gltquery);
$gltnum=mysql_num_rows($gltresult);
if($gltnum>0){
$lul = url_maker($exfile['member'],$Settings['file_ext'],"act=view&id=".$UsersID,$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']);
$LastTopic = "User: <a href=\"".$lul."\" title=\"".$oldusername."\">".$UsersName."</a><br />\nTopic: <a href=\"".url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TopicID."&page=".$NumPages,$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic'])."#reply".$ShowReply."\" title=\"".$oldtopicname."\">".$TopicName."</a>"; }
if($UsersID=="-1") {
-$LastTopic = "User: <span title=\"".$oldusername."\">".$UsersName."</span><br />\nTopic: <a href=\"".url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TopicID."&page=".$NumPages,$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic'])."#reply".$ShowReply."\" title=\"".$oldtopicname."\">".$TopicName."</a>"; } }
+$LastTopic = "Guest: <span title=\"".$oldusername."\">".$UsersName."</span><br />\nTopic: <a href=\"".url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TopicID."&page=".$NumPages,$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic'])."#reply".$ShowReply."\" title=\"".$oldtopicname."\">".$TopicName."</a>"; } }
if($LastTopic==null) { $LastTopic=" <br /> "; } }
@mysql_free_result($gltresult);
if ($ForumType=="redirect") { $LastTopic="Redirects: ".$NumRedirects; }
Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
- $FileInfo: functions.php - Last Update: 05/31/2008 SVN 164 - Author: cooldude2k $
+ $FileInfo: functions.php - Last Update: 06/24/2008 SVN 167 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="functions.php"||$File3Name=="/functions.php") {
++$query_i; }
$query_val[0] = $query_string;
return call_user_func_array("sprintf",$query_val); }
+ $Names['KP'] = "Kazuki Przyborowski";
+define("_kazuki_", $Names['KP']);
// Kill bad vars for some functions
function killbadvars($varname) {
$badphp1 = array('$'); $badphp2 = array(null);
Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
- $FileInfo: pm.php - Last Update: 05/31/2008 SVN 164 - Author: cooldude2k $
+ $FileInfo: pm.php - Last Update: 06/24/2008 SVN 167 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="pm.php"||$File3Name=="/pm.php") {
//$_POST['Message'] = @remove_spaces($_POST['Message']);
$_POST['Message'] = remove_bad_entities($_POST['Message']);
/* <_< iWordFilter >_>
- by René Johnson - Cool Dude 2k */
+ by Kazuki Przyborowski - Cool Dude 2k */
$katarzynaqy=query("SELECT * FROM `".$Settings['sqltable']."wordfilter`", array(null));
$katarzynart=mysql_query($katarzynaqy);
$katarzynanm=mysql_num_rows($katarzynart);
Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
- $FileInfo: replys.php - Last Update: 05/31/2008 SVN 164 - Author: cooldude2k $
+ $FileInfo: replys.php - Last Update: 06/24/2008 SVN 167 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="replys.php"||$File3Name=="/replys.php") {
//$_POST['ReplyPost'] = @remove_spaces($_POST['ReplyPost']);
$_POST['ReplyPost'] = remove_bad_entities($_POST['ReplyPost']);
/* <_< iWordFilter >_>
- by René Johnson - Cool Dude 2k */
+ by Kazuki Przyborowski - Cool Dude 2k */
$katarzynaqy=query("SELECT * FROM `".$Settings['sqltable']."wordfilter`", array(null));
$katarzynart=mysql_query($katarzynaqy);
$katarzynanm=mysql_num_rows($katarzynart);
//$_POST['TopicName'] = preg_replace("/&#(x[a-f0-9]+|[0-9]+);/i", "&#$1;", $_POST['TopicName']);
$_POST['TopicName'] = @remove_spaces($_POST['TopicName']); }
/* <_< iWordFilter >_>
- by René Johnson - Cool Dude 2k */
+ by Kazuki Przyborowski - Cool Dude 2k */
$katarzynaqy=query("SELECT * FROM `".$Settings['sqltable']."wordfilter`", array(null));
$katarzynart=mysql_query($katarzynaqy);
$katarzynanm=mysql_num_rows($katarzynart);
Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
- $FileInfo: searchs.php - Last Update: 06/03/2008 SVN 165 - Author: cooldude2k $
+ $FileInfo: searchs.php - Last Update: 06/24/2008 SVN 167 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="searchs.php"||$File3Name=="/searchs.php") {
if($UsersID1=="-1") {
$lul = url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index']);
$luln = url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TopicID."&page=".$NumPages,$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic'])."#reply".$NumRPosts;
-$LastReply = "User: <span title=\"".$oldusername."\">".$UsersName1."</span><br />\nTime: <a href=\"".$luln."\">".$TimeStamp1."</a>"; } }
+$LastReply = "Guest: <span title=\"".$oldusername."\">".$UsersName1."</span><br />\nTime: <a href=\"".$luln."\">".$TimeStamp1."</a>"; } }
@mysql_free_result($glrresult);
if($TimeStamp1==null) { $LastReply = " <br /> "; }
$PreTopic = $ThemeSet['TopicIcon'];
Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
- $FileInfo: topics.php - Last Update: 06/03/2008 SVN 165 - Author: cooldude2k $
+ $FileInfo: topics.php - Last Update: 06/24/2008 SVN 167 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="topics.php"||$File3Name=="/topics.php") {
if($UsersID1=="-1") {
$lul = url_maker($exfile['member'],$Settings['file_ext'],"act=view&id=".$UsersID1,$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']);
$luln = url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TopicID."&page=".$NumPages,$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic'])."#reply".$NumRPosts;
-$LastReply = "User: <span title=\"".$oldusername."\">".$UsersName1."</span><br />\nTime: <a href=\"".$luln."\">".$TimeStamp1."</a>"; } }
+$LastReply = "Guest: <span title=\"".$oldusername."\">".$UsersName1."</span><br />\nTime: <a href=\"".$luln."\">".$TimeStamp1."</a>"; } }
@mysql_free_result($glrresult);
if(!isset($TimeStamp1)) { $TimeStamp1 = null; } if(!isset($LastReply)) { $LastReply = null; }
if($TimeStamp1==null) { $LastReply = " <br /> "; }
$_POST['TopicPost'] = remove_bad_entities($_POST['TopicPost']);
//$_POST['TopicPost'] = @remove_spaces($_POST['TopicPost']);
/* <_< iWordFilter >_>
- by René Johnson - Cool Dude 2k */
+ by Kazuki Przyborowski - Cool Dude 2k */
$katarzynaqy=query("SELECT * FROM `".$Settings['sqltable']."wordfilter`", array(null));
$katarzynart=mysql_query($katarzynaqy);
$katarzynanm=mysql_num_rows($katarzynart);
Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
- $FileInfo: versioninfo.php - Last Update: 06/07/2008 SVN 166 - Author: cooldude2k $
+ $FileInfo: versioninfo.php - Last Update: 06/24/2008 SVN 167 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="versioninfo.php"||$File3Name=="/versioninfo.php") {
return $return_var; }
// Version number and date stuff. :P
$VER1[0] = 0; $VER1[1] = 2; $VER1[2] = 2; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2];
-$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 166; $RName = "iDB"; $SFName = "IntDB";
-$SVNDay[0] = 06; $SVNDay[1] = 07; $SVNDay[2] = 2008; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2];
+$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 167; $RName = "iDB"; $SFName = "IntDB";
+$SVNDay[0] = 06; $SVNDay[1] = 24; $SVNDay[2] = 2008; $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);