Copyright 2004-2009 iDB Support - http://idb.berlios.de/
Copyright 2004-2009 Game Maker 2k - http://gamemaker2k.org/
- $FileInfo: categories.php - Last Update: 7/21/2009 SVN 276 - Author: cooldude2k $
+ $FileInfo: categories.php - Last Update: 7/23/2009 SVN 281 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="categories.php"||$File3Name=="/categories.php") {
$CategoryName=mysql_result($preresult,0,"Name");
$CategoryShow=mysql_result($preresult,0,"ShowCategory");
$CategoryType=mysql_result($preresult,0,"CategoryType");
+$InSubCategory=mysql_result($preresult,0,"InSubCategory");
$SubShowForums=mysql_result($preresult,0,"SubShowForums");
$CategoryDescription=mysql_result($preresult,0,"Description");
$CategoryType = strtolower($CategoryType); $SubShowForums = strtolower($SubShowForums);
if($CatPermissionInfo['CanViewCategory'][$CategoryID]=="yes") {
if(!isset($CatCheck)) { $CatCheck = null; }
if($CatCheck!="skip") {
+if($InSubCategory!="0") {
+$iscquery = query("SELECT * FROM `".$Settings['sqltable']."categories` WHERE `id`=%i LIMIT 1", array($InSubCategory));
+$iscresult=mysql_query($iscquery);
+$iscnum=mysql_num_rows($iscresult);
+if($iscnum>=1) {
+$iscCategoryID=mysql_result($iscresult,0,"id");
+$iscCategoryName=mysql_result($iscresult,0,"Name");
+$iscCategoryShow=mysql_result($iscresult,0,"ShowCategory");
+$iscCategoryType=mysql_result($iscresult,0,"CategoryType");
+$iscCategoryType = strtolower($iscCategoryType); }
+if($iscnum<1) { $InSubCategory = "0"; }
+@mysql_free_result($iscresult); }
?>
-<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></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 if($InSubCategory!="0") { echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile[$iscCategoryType],$Settings['file_ext'],"act=view&id=".$iscCategoryID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr[$iscCategoryType],$exqstr[$iscCategoryType]); ?>"><?php echo $iscCategoryName; ?></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></div>
<div class="DivNavLinks"> </div>
<?php
if($CategoryType=="subcategory") {
Copyright 2004-2009 iDB Support - http://idb.berlios.de/
Copyright 2004-2009 Game Maker 2k - http://gamemaker2k.org/
- $FileInfo: lowcategories.php - Last Update: 6/16/2009 SVN 264 - Author: cooldude2k $
+ $FileInfo: lowcategories.php - Last Update: 7/23/2009 SVN 281 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="lowcategories.php"||$File3Name=="/lowcategories.php") {
$CategoryName=mysql_result($preresult,0,"Name");
$CategoryShow=mysql_result($preresult,0,"ShowCategory");
$CategoryType=mysql_result($preresult,0,"CategoryType");
+$InSubCategory=mysql_result($preresult,0,"InSubCategory");
$SubShowForums=mysql_result($preresult,0,"SubShowForums");
$CategoryDescription=mysql_result($preresult,0,"Description");
$CategoryType = strtolower($CategoryType); $SubShowForums = strtolower($SubShowForums);
if($CatPermissionInfo['CanViewCategory'][$CategoryID]=="yes") {
if(!isset($CatCheck)) { $CatCheck = null; }
if($CatCheck!="skip") {
+if($InSubCategory!="0") {
+$iscquery = query("SELECT * FROM `".$Settings['sqltable']."categories` WHERE `id`=%i LIMIT 1", array($InSubCategory));
+$iscresult=mysql_query($iscquery);
+$iscnum=mysql_num_rows($iscresult);
+if($iscnum>=1) {
+$iscCategoryID=mysql_result($iscresult,0,"id");
+$iscCategoryName=mysql_result($iscresult,0,"Name");
+$iscCategoryShow=mysql_result($iscresult,0,"ShowCategory");
+$iscCategoryType=mysql_result($iscresult,0,"CategoryType");
+$iscCategoryType = strtolower($iscCategoryType); }
+if($iscnum<1) { $InSubCategory = "0"; }
+@mysql_free_result($iscresult); }
?>
<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[$CategoryType],$Settings['file_ext'],"act=view&id=".$CategoryID,$Settings['qstr'],$Settings['qsep'],$prexqstr[$CategoryType],$exqstr[$CategoryType]); ?>"><?php echo $CategoryName; ?></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></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 if($InSubCategory!="0") { echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile[$iscCategoryType],$Settings['file_ext'],"act=view&id=".$iscCategoryID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr[$iscCategoryType],$exqstr[$iscCategoryType]); ?>"><?php echo $iscCategoryName; ?></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></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: lowsubcategories.php - Last Update: 6/16/2009 SVN 264 - Author: cooldude2k $
+ $FileInfo: lowsubcategories.php - Last Update: 7/23/2009 SVN 281 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="lowsubcategories.php"||$File3Name=="/lowsubcategories.php") {
$CategoryName=mysql_result($checkresult,0,"Name");
$CategoryShow=mysql_result($checkresult,0,"ShowCategory");
$CategoryType=mysql_result($checkresult,0,"CategoryType");
+$InSubCategory=mysql_result($checkresult,0,"InSubCategory");
$SubShowForums=mysql_result($checkresult,0,"SubShowForums");
$CategoryType = strtolower($CategoryType); $SubShowForums = strtolower($SubShowForums);
$SCategoryName = $CategoryName;
ob_clean(); @header("Content-Type: text/plain; charset=".$Settings['charset']);
gzip_page($Settings['use_gzip'],$GZipEncode['Type']); @mysql_close(); die(); }
if($CatPermissionInfo['CanViewCategory'][$CategoryID]=="yes") {
+if($InSubCategory!="0") {
+$iscquery = query("SELECT * FROM `".$Settings['sqltable']."categories` WHERE `id`=%i LIMIT 1", array($InSubCategory));
+$iscresult=mysql_query($iscquery);
+$iscnum=mysql_num_rows($iscresult);
+if($iscnum>=1) {
+$iscCategoryID=mysql_result($iscresult,0,"id");
+$iscCategoryName=mysql_result($iscresult,0,"Name");
+$iscCategoryShow=mysql_result($iscresult,0,"ShowCategory");
+$iscCategoryType=mysql_result($iscresult,0,"CategoryType");
+$iscCategoryType = strtolower($iscCategoryType); }
+if($iscnum<1) { $InSubCategory = "0"; }
+@mysql_free_result($iscresult); }
?>
<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[$CategoryType],$Settings['file_ext'],"act=view&id=".$CategoryID,$Settings['qstr'],$Settings['qsep'],$prexqstr[$CategoryType],$exqstr[$CategoryType]); ?>"><?php echo $CategoryName; ?></a></div>
-<div style="padding: 10px; border: 1px solid gray;"><?php echo $ThemeSet['NavLinkIcon']; ?><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></div>
+<div style="padding: 10px; border: 1px solid gray;"><?php echo $ThemeSet['NavLinkIcon']; ?><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 if($InSubCategory!="0") { echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile[$iscCategoryType],$Settings['file_ext'],"act=view&id=".$iscCategoryID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr[$iscCategoryType],$exqstr[$iscCategoryType]); ?>"><?php echo $iscCategoryName; ?></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></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: lowsubforums.php - Last Update: 7/23/2009 SVN 280 - Author: cooldude2k $
+ $FileInfo: lowsubforums.php - Last Update: 7/23/2009 SVN 281 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="lowsubforums.php"||$File3Name=="/lowsubforums.php") {
$isfForumCatID=mysql_result($isfresult,0,"CategoryID");
$isfForumName=mysql_result($isfresult,0,"Name");
$isfForumType=mysql_result($isfresult,0,"ForumType");
+$isfForumType = strtolower($isfForumType);
$isfRedirectURL=mysql_result($isfresult,0,"RedirectURL"); }
if($isfnum<1) { $InSubForum = "0"; }
@mysql_free_result($isfresult); }
Copyright 2004-2009 iDB Support - http://idb.berlios.de/
Copyright 2004-2009 Game Maker 2k - http://gamemaker2k.org/
- $FileInfo: lowtopics.php - Last Update: 7/23/2009 SVN 280 - Author: cooldude2k $
+ $FileInfo: lowtopics.php - Last Update: 7/23/2009 SVN 281 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="lowtopics.php"||$File3Name=="/lowtopics.php") {
$isfForumCatID=mysql_result($isfresult,0,"CategoryID");
$isfForumName=mysql_result($isfresult,0,"Name");
$isfForumType=mysql_result($isfresult,0,"ForumType");
+$isfForumType = strtolower($isfForumType);
$isfRedirectURL=mysql_result($isfresult,0,"RedirectURL"); }
if($isfnum<1) { $InSubForum = "0"; } }
@mysql_free_result($isfresult); }
Copyright 2004-2009 iDB Support - http://idb.berlios.de/
Copyright 2004-2009 Game Maker 2k - http://gamemaker2k.org/
- $FileInfo: subcategories.php - Last Update: 7/21/2009 SVN 276 - Author: cooldude2k $
+ $FileInfo: subcategories.php - Last Update: 7/23/2009 SVN 281 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="subcategories.php"||$File3Name=="/subcategories.php") {
$CategoryName=mysql_result($checkresult,0,"Name");
$CategoryShow=mysql_result($checkresult,0,"ShowCategory");
$CategoryType=mysql_result($checkresult,0,"CategoryType");
+$InSubCategory=mysql_result($checkresult,0,"InSubCategory");
$SubShowForums=mysql_result($checkresult,0,"SubShowForums");
$CategoryType = strtolower($CategoryType); $SubShowForums = strtolower($SubShowForums);
$SCategoryName = $CategoryName;
ob_clean(); @header("Content-Type: text/plain; charset=".$Settings['charset']);
gzip_page($Settings['use_gzip'],$GZipEncode['Type']); @mysql_close(); die(); }
if($CatPermissionInfo['CanViewCategory'][$CategoryID]=="yes") {
+if($InSubCategory!="0") {
+$iscquery = query("SELECT * FROM `".$Settings['sqltable']."categories` WHERE `id`=%i LIMIT 1", array($InSubCategory));
+$iscresult=mysql_query($iscquery);
+$iscnum=mysql_num_rows($iscresult);
+if($iscnum>=1) {
+$iscCategoryID=mysql_result($iscresult,0,"id");
+$iscCategoryName=mysql_result($iscresult,0,"Name");
+$iscCategoryShow=mysql_result($iscresult,0,"ShowCategory");
+$iscCategoryType=mysql_result($iscresult,0,"CategoryType");
+$iscCategoryType = strtolower($iscCategoryType); }
+if($iscnum<1) { $InSubCategory = "0"; }
+@mysql_free_result($iscresult); }
?>
-<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></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 if($InSubCategory!="0") { echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile[$iscCategoryType],$Settings['file_ext'],"act=view&id=".$iscCategoryID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr[$iscCategoryType],$exqstr[$iscCategoryType]); ?>"><?php echo $iscCategoryName; ?></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></div>
<div class="DivNavLinks"> </div>
<?php
if($CategoryType=="category") {
Copyright 2004-2009 iDB Support - http://idb.berlios.de/
Copyright 2004-2009 Game Maker 2k - http://gamemaker2k.org/
- $FileInfo: subforums.php - Last Update: 7/23/2009 SVN 280 - Author: cooldude2k $
+ $FileInfo: subforums.php - Last Update: 7/23/2009 SVN 281 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="subforums.php"||$File3Name=="/subforums.php") {
$isfForumCatID=mysql_result($isfresult,0,"CategoryID");
$isfForumName=mysql_result($isfresult,0,"Name");
$isfForumType=mysql_result($isfresult,0,"ForumType");
+$isfForumType = strtolower($isfForumType);
$isfRedirectURL=mysql_result($isfresult,0,"RedirectURL"); }
if($isfnum<1) { $InSubForum = "0"; }
@mysql_free_result($isfresult); }
Copyright 2004-2009 iDB Support - http://idb.berlios.de/
Copyright 2004-2009 Game Maker 2k - http://gamemaker2k.org/
- $FileInfo: topics.php - Last Update: 7/23/2009 SVN 280 - Author: cooldude2k $
+ $FileInfo: topics.php - Last Update: 7/23/2009 SVN 281 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="topics.php"||$File3Name=="/topics.php") {
$isfForumCatID=mysql_result($isfresult,0,"CategoryID");
$isfForumName=mysql_result($isfresult,0,"Name");
$isfForumType=mysql_result($isfresult,0,"ForumType");
+$isfForumType = strtolower($isfForumType);
$isfRedirectURL=mysql_result($isfresult,0,"RedirectURL"); }
if($isfnum<1) { $InSubForum = "0"; }
@mysql_free_result($isfresult); }
Copyright 2004-2009 iDB Support - http://idb.berlios.de/
Copyright 2004-2009 Game Maker 2k - http://gamemaker2k.org/
- $FileInfo: versioninfo.php - Last Update: 7/23/2009 SVN 280 - Author: cooldude2k $
+ $FileInfo: versioninfo.php - Last Update: 7/23/2009 SVN 281 - 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 = 280; $RName = "iDB"; $SFName = "IntDB";
+$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 281; $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);