Copyright 2004-2009 iDB Support - http://idb.berlios.de/
Copyright 2004-2009 Game Maker 2k - http://gamemaker2k.org/
- $FileInfo: lowsubforums.php - Last Update: 6/16/2009 SVN 264 - Author: cooldude2k $
+ $FileInfo: lowsubforums.php - Last Update: 7/23/2009 SVN 280 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="lowsubforums.php"||$File3Name=="/lowsubforums.php") {
$ForumID=mysql_result($checkresult,0,"id");
$ForumName=mysql_result($checkresult,0,"Name");
$ForumType=mysql_result($checkresult,0,"ForumType");
+$InSubForum=mysql_result($checkresult,0,"InSubForum");
$CategoryID=mysql_result($checkresult,0,"CategoryID");
$RedirectURL=mysql_result($checkresult,0,"RedirectURL");
$RedirectTimes=mysql_result($checkresult,0,"Redirects");
$CategoryName=mysql_result($preresult,0,"Name");
$CategoryShow=mysql_result($preresult,0,"ShowCategory");
$CategoryDescription=mysql_result($preresult,0,"Description");
+if($InSubForum!="0") {
+$isfquery = query("SELECT * FROM `".$Settings['sqltable']."forums` WHERE `id`=%i LIMIT 1", array($InSubForum));
+$isfresult=mysql_query($isfquery);
+$isfnum=mysql_num_rows($isfresult);
+if($isfnum>=1) {
+$isfForumID=mysql_result($isfresult,0,"id");
+$isfForumCatID=mysql_result($isfresult,0,"CategoryID");
+$isfForumName=mysql_result($isfresult,0,"Name");
+$isfForumType=mysql_result($isfresult,0,"ForumType");
+$isfRedirectURL=mysql_result($isfresult,0,"RedirectURL"); }
+if($isfnum<1) { $InSubForum = "0"; }
+@mysql_free_result($isfresult); }
?>
<div style="font-size: 1.0em; font-weight: bold; margin-bottom: 10px; padding-top: 3px; width: auto;">Full Version: <a href="<?php echo url_maker($exfile[$ForumType],$Settings['file_ext'],"act=lowview&id=".$ForumID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr[$ForumType],$exqstr[$ForumType]); ?>"><?php echo $ForumName; ?></a></div>
-<div style="padding: 10px; border: 1px solid gray;"><a href="<?php echo url_maker($exfile['index'],$Settings['file_ext'],"act=lowview",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index']); ?>">Board index</a><?php echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile[$CategoryType],$Settings['file_ext'],"act=lowview&id=".$CategoryID,$Settings['qstr'],$Settings['qsep'],$prexqstr[$CategoryType],$exqstr[$CategoryType]); ?>"><?php echo $CategoryName; ?></a><?php echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile[$ForumType],$Settings['file_ext'],"act=lowview&id=".$ForumID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr[$ForumType],$exqstr[$ForumType]); ?>"><?php echo $ForumName; ?></a></div>
+<div style="padding: 10px; border: 1px solid gray;"><a href="<?php echo url_maker($exfile['index'],$Settings['file_ext'],"act=lowview",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index']); ?>">Board index</a><?php echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile[$CategoryType],$Settings['file_ext'],"act=lowview&id=".$CategoryID,$Settings['qstr'],$Settings['qsep'],$prexqstr[$CategoryType],$exqstr[$CategoryType]); ?>"><?php echo $CategoryName; ?></a><?php if($InSubForum!="0") { echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile[$isfForumType],$Settings['file_ext'],"act=view&id=".$isfForumID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr[$isfForumType],$exqstr[$isfForumType]); ?>"><?php echo $isfForumName; ?></a><?php } echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile[$ForumType],$Settings['file_ext'],"act=lowview&id=".$ForumID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr[$ForumType],$exqstr[$ForumType]); ?>"><?php echo $ForumName; ?></a></div>
<div> </div>
<div style="padding: 10px; border: 1px solid gray;">
<ul style="list-style-type: none;">
Copyright 2004-2009 iDB Support - http://idb.berlios.de/
Copyright 2004-2009 Game Maker 2k - http://gamemaker2k.org/
- $FileInfo: lowtopics.php - Last Update: 6/27/2009 SVN 271 - Author: cooldude2k $
+ $FileInfo: lowtopics.php - Last Update: 7/23/2009 SVN 280 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="lowtopics.php"||$File3Name=="/lowtopics.php") {
$ForumCatID=mysql_result($preresult,0,"CategoryID");
$ForumName=mysql_result($preresult,0,"Name");
$ForumType=mysql_result($preresult,0,"ForumType");
+$InSubForum=mysql_result($preresult,0,"InSubForum");
$RedirectURL=mysql_result($preresult,0,"RedirectURL");
$RedirectTimes=mysql_result($preresult,0,"Redirects");
$NumberViews=mysql_result($preresult,0,"NumViews");
redirect("location",$basedir.url_maker($exfile['index'],$Settings['file_ext'],"act=lowview",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index'],false)); }
if($CategoryKarmaCountView!=0&&$MyKarmaCount<$CategoryKarmaCountView) {
redirect("location",$basedir.url_maker($exfile['index'],$Settings['file_ext'],"act=lowview",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index'],false)); } }
+if($InSubForum!="0") {
+$isfquery = query("SELECT * FROM `".$Settings['sqltable']."forums` WHERE `id`=%i LIMIT 1", array($InSubForum));
+$isfresult=mysql_query($isfquery);
+$isfnum=mysql_num_rows($isfresult);
+if($isfnum>=1) {
+$isfForumID=mysql_result($isfresult,0,"id");
+$isfForumCatID=mysql_result($isfresult,0,"CategoryID");
+$isfForumName=mysql_result($isfresult,0,"Name");
+$isfForumType=mysql_result($isfresult,0,"ForumType");
+$isfRedirectURL=mysql_result($isfresult,0,"RedirectURL"); }
+if($isfnum<1) { $InSubForum = "0"; } }
+@mysql_free_result($isfresult); }
?>
<div style="font-size: 1.0em; font-weight: bold; margin-bottom: 10px; padding-top: 3px; width: auto;">Full Version: <a href="<?php echo url_maker($exfile['forum'],$Settings['file_ext'],"act=view&id=".$ForumID."&page=".$_GET['page'],$Settings['qstr'],$Settings['qsep'],$prexqstr['forum'],$exqstr['forum']); ?>"><?php echo $ForumName; ?></a></div>
-<div style="padding: 10px; border: 1px solid gray;"><a href="<?php echo url_maker($exfile['index'],$Settings['file_ext'],"act=lowview",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index']); ?>">Board index</a><?php echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile[$CategoryType],$Settings['file_ext'],"act=lowview&id=".$ForumCatID,$Settings['qstr'],$Settings['qsep'],$prexqstr[$CategoryType],$exqstr[$CategoryType]); ?>"><?php echo $CategoryName; ?></a><?php echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile[$ForumType],$Settings['file_ext'],"act=lowview&id=".$ForumID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr[$ForumType],$exqstr[$ForumType]); ?>"><?php echo $ForumName; ?></a></div>
+<div style="padding: 10px; border: 1px solid gray;"><a href="<?php echo url_maker($exfile['index'],$Settings['file_ext'],"act=lowview",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index']); ?>">Board index</a><?php echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile[$CategoryType],$Settings['file_ext'],"act=lowview&id=".$ForumCatID,$Settings['qstr'],$Settings['qsep'],$prexqstr[$CategoryType],$exqstr[$CategoryType]); ?>"><?php echo $CategoryName; ?></a><?php if($InSubForum!="0") { echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile[$isfForumType],$Settings['file_ext'],"act=view&id=".$isfForumID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr[$isfForumType],$exqstr[$isfForumType]); ?>"><?php echo $isfForumName; ?></a><?php } echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile[$ForumType],$Settings['file_ext'],"act=lowview&id=".$ForumID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr[$ForumType],$exqstr[$ForumType]); ?>"><?php echo $ForumName; ?></a></div>
<div> </div>
<?php
if(!isset($CatPermissionInfo['CanViewCategory'][$ForumCatID])) {
Copyright 2004-2009 iDB Support - http://idb.berlios.de/
Copyright 2004-2009 Game Maker 2k - http://gamemaker2k.org/
- $FileInfo: subforums.php - Last Update: 7/21/2009 SVN 276 - Author: cooldude2k $
+ $FileInfo: subforums.php - Last Update: 7/23/2009 SVN 280 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="subforums.php"||$File3Name=="/subforums.php") {
$ForumID=mysql_result($checkresult,0,"id");
$ForumName=mysql_result($checkresult,0,"Name");
$ForumType=mysql_result($checkresult,0,"ForumType");
+$InSubForum=mysql_result($checkresult,0,"InSubForum");
$CategoryID=mysql_result($checkresult,0,"CategoryID");
$RedirectURL=mysql_result($checkresult,0,"RedirectURL");
$RedirectTimes=mysql_result($checkresult,0,"Redirects");
$CategoryName=mysql_result($preresult,0,"Name");
$CategoryShow=mysql_result($preresult,0,"ShowCategory");
$CategoryDescription=mysql_result($preresult,0,"Description");
+if($InSubForum!="0") {
+$isfquery = query("SELECT * FROM `".$Settings['sqltable']."forums` WHERE `id`=%i LIMIT 1", array($InSubForum));
+$isfresult=mysql_query($isfquery);
+$isfnum=mysql_num_rows($isfresult);
+if($isfnum>=1) {
+$isfForumID=mysql_result($isfresult,0,"id");
+$isfForumCatID=mysql_result($isfresult,0,"CategoryID");
+$isfForumName=mysql_result($isfresult,0,"Name");
+$isfForumType=mysql_result($isfresult,0,"ForumType");
+$isfRedirectURL=mysql_result($isfresult,0,"RedirectURL"); }
+if($isfnum<1) { $InSubForum = "0"; }
+@mysql_free_result($isfresult); }
?>
-<div class="NavLinks"><?php echo $ThemeSet['NavLinkIcon']; ?><a href="<?php echo url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index']); ?>">Board index</a><?php echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile[$CategoryType],$Settings['file_ext'],"act=view&id=".$CategoryID,$Settings['qstr'],$Settings['qsep'],$prexqstr[$CategoryType],$exqstr[$CategoryType]); ?>"><?php echo $CategoryName; ?></a><?php echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile[$ForumType],$Settings['file_ext'],"act=view&id=".$ForumID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr[$ForumType],$exqstr[$ForumType]); ?>"><?php echo $ForumName; ?></a></div>
+<div class="NavLinks"><?php echo $ThemeSet['NavLinkIcon']; ?><a href="<?php echo url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index']); ?>">Board index</a><?php echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile[$CategoryType],$Settings['file_ext'],"act=view&id=".$CategoryID,$Settings['qstr'],$Settings['qsep'],$prexqstr[$CategoryType],$exqstr[$CategoryType]); ?>"><?php echo $CategoryName; ?></a><?php if($InSubForum!="0") { echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile[$isfForumType],$Settings['file_ext'],"act=view&id=".$isfForumID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr[$isfForumType],$exqstr[$isfForumType]); ?>"><?php echo $isfForumName; ?></a><?php } echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile[$ForumType],$Settings['file_ext'],"act=view&id=".$ForumID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr[$ForumType],$exqstr[$ForumType]); ?>"><?php echo $ForumName; ?></a></div>
<div class="DivNavLinks"> </div>
<?php
if(!isset($CatPermissionInfo['CanViewCategory'][$CategoryID])) {
Copyright 2004-2009 iDB Support - http://idb.berlios.de/
Copyright 2004-2009 Game Maker 2k - http://gamemaker2k.org/
- $FileInfo: topics.php - Last Update: 7/22/2009 SVN 279 - Author: cooldude2k $
+ $FileInfo: topics.php - Last Update: 7/23/2009 SVN 280 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="topics.php"||$File3Name=="/topics.php") {
$ForumCatID=mysql_result($preresult,0,"CategoryID");
$ForumName=mysql_result($preresult,0,"Name");
$ForumType=mysql_result($preresult,0,"ForumType");
+$InSubForum=mysql_result($preresult,0,"InSubForum");
$RedirectURL=mysql_result($preresult,0,"RedirectURL");
$RedirectTimes=mysql_result($preresult,0,"Redirects");
$NumberViews=mysql_result($preresult,0,"NumViews");
redirect("location",$basedir.url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index'],false)); }
if($CategoryKarmaCountView!=0&&$MyKarmaCount<$CategoryKarmaCountView) {
redirect("location",$basedir.url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index'],false)); } }
+if($InSubForum!="0") {
+$isfquery = query("SELECT * FROM `".$Settings['sqltable']."forums` WHERE `id`=%i LIMIT 1", array($InSubForum));
+$isfresult=mysql_query($isfquery);
+$isfnum=mysql_num_rows($isfresult);
+if($isfnum>=1) {
+$isfForumID=mysql_result($isfresult,0,"id");
+$isfForumCatID=mysql_result($isfresult,0,"CategoryID");
+$isfForumName=mysql_result($isfresult,0,"Name");
+$isfForumType=mysql_result($isfresult,0,"ForumType");
+$isfRedirectURL=mysql_result($isfresult,0,"RedirectURL"); }
+if($isfnum<1) { $InSubForum = "0"; }
+@mysql_free_result($isfresult); }
?>
-<div class="NavLinks"><?php echo $ThemeSet['NavLinkIcon']; ?><a href="<?php echo url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index']); ?>">Board index</a><?php echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile[$CategoryType],$Settings['file_ext'],"act=view&id=".$ForumCatID,$Settings['qstr'],$Settings['qsep'],$prexqstr[$CategoryType],$exqstr[$CategoryType]); ?>"><?php echo $CategoryName; ?></a><?php echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile[$ForumType],$Settings['file_ext'],"act=view&id=".$ForumID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr[$ForumType],$exqstr[$ForumType]); ?>"><?php echo $ForumName; ?></a></div>
+<div class="NavLinks"><?php echo $ThemeSet['NavLinkIcon']; ?><a href="<?php echo url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index']); ?>">Board index</a><?php echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile[$CategoryType],$Settings['file_ext'],"act=view&id=".$ForumCatID,$Settings['qstr'],$Settings['qsep'],$prexqstr[$CategoryType],$exqstr[$CategoryType]); ?>"><?php echo $CategoryName; ?></a><?php if($InSubForum!="0") { echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile[$isfForumType],$Settings['file_ext'],"act=view&id=".$isfForumID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr[$isfForumType],$exqstr[$isfForumType]); ?>"><?php echo $isfForumName; ?></a><?php } echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile[$ForumType],$Settings['file_ext'],"act=view&id=".$ForumID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr[$ForumType],$exqstr[$ForumType]); ?>"><?php echo $ForumName; ?></a></div>
<div class="DivNavLinks"> </div>
<?php
if(!isset($CatPermissionInfo['CanViewCategory'][$ForumCatID])) {
Copyright 2004-2009 iDB Support - http://idb.berlios.de/
Copyright 2004-2009 Game Maker 2k - http://gamemaker2k.org/
- $FileInfo: versioninfo.php - Last Update: 7/22/2009 SVN 279 - Author: cooldude2k $
+ $FileInfo: versioninfo.php - Last Update: 7/23/2009 SVN 280 - 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] = 8; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2];
-$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 279; $RName = "iDB"; $SFName = "IntDB";
-$SVNDay[0] = 7; $SVNDay[1] = 22; $SVNDay[2] = 2009; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2];
+$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 280; $RName = "iDB"; $SFName = "IntDB";
+$SVNDay[0] = 7; $SVNDay[1] = 23; $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);
$VerInfo['iDB_Full_Ver'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[0],$SubVerN,false);