OSDN Git Service

Changed file format from dos to unix.
authorKazuki Przyborowski <kazuki.przyborowski@gmail.com>
Mon, 4 Jun 2007 21:55:03 +0000 (21:55 +0000)
committerKazuki Przyborowski <kazuki.przyborowski@gmail.com>
Mon, 4 Jun 2007 21:55:03 +0000 (21:55 +0000)
git-svn-id: svn://svn.code.sf.net/p/intdb/svn/trunk@18 2b68903e-0b30-0410-9a39-a2e4f3c5be39

12 files changed:
inc/categories.php
inc/filename.php
inc/misc/compression.php
inc/misc/functions.php
inc/subcategories.php
inc/subforums.php
themes/Gray/css.css
themes/Gray/info.php
themes/Gray/settings.php
themes/iDB/css.css
themes/iDB/info.php
themes/iDB/settings.php

index 1cb5f74..39383b9 100644 (file)
-<?php\r
-/*\r
-    This program is free software; you can redistribute it and/or modify\r
-    it under the terms of the Revised BSD License.\r
-\r
-    This program is distributed in the hope that it will be useful,\r
-    but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-    Revised BSD License for more details.\r
-\r
-    Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/\r
-    Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/\r
-\r
-    $FileInfo: categories.php - Last Update: 05/27/2007 SVN 16 - Author: cooldude2k $\r
-*/\r
-$File3Name = basename($_SERVER['SCRIPT_NAME']);\r
-if ($File3Name=="categories.php"||$File3Name=="/categories.php") {\r
-       require('index.php');\r
-       exit(); }\r
-$prequery = query("select * from ".$Settings['sqltable']."categories where ID=%i and ShowCategory='yes'", array($_GET['id']));\r
-$preresult=mysql_query($prequery);\r
-$prenum=mysql_num_rows($preresult);\r
-$prei=0;\r
-if($prenum==0) { redirect("location",$basedir.url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index'],false)); }\r
-while ($prei < $prenum) {\r
-$CategoryID=mysql_result($preresult,$prei,"id");\r
-$CategoryName=mysql_result($preresult,$prei,"Name");\r
-$CategoryShow=mysql_result($preresult,$prei,"ShowCategory");\r
-$CategoryType=mysql_result($preresult,$prei,"CategoryType");\r
-$SubShowForums=mysql_result($preresult,$prei,"SubShowForums");\r
-$CategoryDescription=mysql_result($preresult,$prei,"Description");\r
-$CategoryType = strtolower($CategoryType); $SubShowForums = strtolower($SubShowForums);\r
-if($CatCheck!="skip") {\r
-if($CategoryType=="subcategory") {\r
-redirect("location",$basedir.url_maker($exfile['subcategory'],$Settings['file_ext'],"act=".$_GET['act']."&id=".$_GET['id'],$Settings['qstr'],$Settings['qsep'],$prexqstr['subcategory'],$exqstr['subcategory'],FALSE)); } }\r
-$query = query("select * from ".$Settings['sqltable']."forums where ShowForum='yes' and CategoryID=%i and InSubForum=0 ORDER BY ID", array($CategoryID));\r
-$result=mysql_query($query);\r
-$num=mysql_num_rows($result);\r
-$i=0;\r
-if($num>=1) {\r
-?>\r
-<div class="Table1Border">\r
-<table id="Cat<?php echo $CategoryID; ?>" class="Table1">\r
-<tr id="CatStart<?php echo $CategoryID; ?>" class="TableRow1">\r
-<td class="TableRow1" colspan="5"><span style="float: left;">\r
-<?php echo $ThemeSet['TitleIcon'] ?><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></span>\r
-<?php echo "<span style=\"float: right;\">&nbsp;</span>"; ?></td>\r
-</tr>\r
-<tr id="ForumStatRow<?php echo $CategoryID; ?>" class="TableRow2">\r
-<th class="TableRow2" style="width: 4%;">&nbsp;</th>\r
-<th class="TableRow2" style="width: 58%;">Forum</th>\r
-<th class="TableRow2" style="width: 7%;">Topics</th>\r
-<th class="TableRow2" style="width: 7%;">Posts</th>\r
-<th class="TableRow2" style="width: 24%;">Last Topic</th>\r
-</tr>\r
-<?php }\r
-while ($i < $num) {\r
-$ForumID=mysql_result($result,$i,"id");\r
-$ForumName=mysql_result($result,$i,"Name");\r
-$ForumShow=mysql_result($result,$i,"ShowForum");\r
-$ForumType=mysql_result($result,$i,"ForumType");\r
-$NumTopics=mysql_result($result,$i,"NumTopics");\r
-$NumPosts=mysql_result($result,$i,"NumPosts");\r
-$ForumDescription=mysql_result($result,$i,"Description");\r
-unset($LastTopic);\r
-$gltquery = query("select * from ".$Settings['sqltable']."topics where (CategoryID=%i and ForumID=%i) ORDER BY LastUpdate DESC", array($CategoryID,$ForumID));\r
-$gltresult=mysql_query($gltquery);\r
-$gltnum=mysql_num_rows($gltresult);\r
-if($gltnum>0){\r
-$TopicID=mysql_result($gltresult,0,"id");\r
-$TopicName=mysql_result($gltresult,0,"TopicName");\r
-$NumReplys=mysql_result($gltresult,0,"NumReply");\r
-$ShowReply = $NumReplys + 1;\r
-$TopicName1 = substr($TopicName,0,15);\r
-if (strlen($TopicName)>12) { $TopicName1 = $TopicName1."..."; }\r
-$UsersID=mysql_result($gltresult,0,"UserID");\r
-$GuestName=mysql_result($gltresult,0,"GuestName");\r
-$UsersName = GetUserName($UsersID,$Settings['sqltable']);\r
-if($UsersName=="Guest") { $UsersName=$GuestName;\r
-if($UsersName==null) { $UsersName="Guest"; } }\r
-$UsersName1 = substr($UsersName,0,18);\r
-if (strlen($UsersName)>15) { $UsersName1 = $UsersName1."...";\r
-$oldtopicname=$TopicName; $oldusername=$UsersName;\r
-$TopicName=$TopicName1; $UsersName=$UsersName1; } $lul = null;\r
-if($UsersID!="-1") {\r
-$lul = url_maker($exfile['member'],$Settings['file_ext'],"act=view&id=".$UsersID,$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']);\r
-$LastTopic = "User: <a href=\"".$lul."\" title=\"".$oldusername."\">".$UsersName."</a><br />\nTopic: <a href=\"".url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TopicID,$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic'])."#post".$ShowReply."\" title=\"".$oldtopicname."\">".$TopicName."</a>"; }\r
-if($UsersID=="-1") {\r
-$LastTopic = "User: <span title=\"".$oldusername."\">".$UsersName."</span><br />\nTopic: <a href=\"".url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TopicID,$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic'])."#post".$ShowReply."\" title=\"".$oldtopicname."\">".$TopicName."</a>"; } }\r
-@mysql_free_result($gltresult);\r
-$ForumType = strtolower($ForumType);\r
-if ($ForumType=="forum") {\r
-       $PreForum=$ThemeSet['ForumIcon']; }\r
-if ($ForumType=="subforum") {\r
-       $PreForum=$ThemeSet['SubForumIcon']; }\r
-if ($ForumType=="subforum") {\r
-       $PreForum=$ThemeSet['SubForumIcon']; }\r
-if ($ForumType=="redirect") {\r
-       $PreForum=$ThemeSet['RedirectIcon']; }\r
-?>\r
-<tr class="TableRow3" id="Forum<?php echo $ForumID; ?>">\r
-<td class="TableRow3"><div class="forumicon">\r
-<?php echo $PreForum; ?></div></td>\r
-<td class="TableRow3"><div class="forumname"><a href="<?php echo url_maker($exfile[$ForumType],$Settings['file_ext'],"act=view&id=".$ForumID,$Settings['qstr'],$Settings['qsep'],$prexqstr[$ForumType],$exqstr[$ForumType]); ?>"><?php echo $ForumName; ?></a></div>\r
-<div class="forumescription"><?php echo $ForumDescription; ?></div></td>\r
-<td class="TableRow3" style="text-align: center;"><?php echo $NumTopics; ?></td>\r
-<td class="TableRow3" style="text-align: center;"><?php echo $NumPosts; ?></td>\r
-<td class="TableRow3"><?php echo $LastTopic; ?></td>\r
-</tr>\r
-<?php\r
-++$i; } @mysql_free_result($result);\r
-if($num>=1) { ?>\r
-<tr id="CatEnd<?php echo $CategoryID; ?>" class="TableRow4">\r
-<td class="TableRow4" colspan="5">&nbsp;</td>\r
-</tr>\r
-</table></div>\r
-<div>&nbsp;</div>\r
-<?php } ++$prei; }\r
-@mysql_free_result($preresult); ?>\r
+<?php
+/*
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the Revised BSD License.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    Revised BSD License for more details.
+
+    Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/
+
+    $FileInfo: categories.php - Last Update: 06/04/2007 SVN 18 - Author: cooldude2k $
+*/
+$File3Name = basename($_SERVER['SCRIPT_NAME']);
+if ($File3Name=="categories.php"||$File3Name=="/categories.php") {
+       require('index.php');
+       exit(); }
+$prequery = query("select * from ".$Settings['sqltable']."categories where ID=%i and ShowCategory='yes'", array($_GET['id']));
+$preresult=mysql_query($prequery);
+$prenum=mysql_num_rows($preresult);
+$prei=0;
+if($prenum==0) { redirect("location",$basedir.url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index'],false)); }
+while ($prei < $prenum) {
+$CategoryID=mysql_result($preresult,$prei,"id");
+$CategoryName=mysql_result($preresult,$prei,"Name");
+$CategoryShow=mysql_result($preresult,$prei,"ShowCategory");
+$CategoryType=mysql_result($preresult,$prei,"CategoryType");
+$SubShowForums=mysql_result($preresult,$prei,"SubShowForums");
+$CategoryDescription=mysql_result($preresult,$prei,"Description");
+$CategoryType = strtolower($CategoryType); $SubShowForums = strtolower($SubShowForums);
+if($CatCheck!="skip") {
+if($CategoryType=="subcategory") {
+redirect("location",$basedir.url_maker($exfile['subcategory'],$Settings['file_ext'],"act=".$_GET['act']."&id=".$_GET['id'],$Settings['qstr'],$Settings['qsep'],$prexqstr['subcategory'],$exqstr['subcategory'],FALSE)); } }
+$query = query("select * from ".$Settings['sqltable']."forums where ShowForum='yes' and CategoryID=%i and InSubForum=0 ORDER BY ID", array($CategoryID));
+$result=mysql_query($query);
+$num=mysql_num_rows($result);
+$i=0;
+if($num>=1) {
+?>
+<div class="Table1Border">
+<table id="Cat<?php echo $CategoryID; ?>" class="Table1">
+<tr id="CatStart<?php echo $CategoryID; ?>" class="TableRow1">
+<td class="TableRow1" colspan="5"><span style="float: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><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></span>
+<?php echo "<span style=\"float: right;\">&nbsp;</span>"; ?></td>
+</tr>
+<tr id="ForumStatRow<?php echo $CategoryID; ?>" class="TableRow2">
+<th class="TableRow2" style="width: 4%;">&nbsp;</th>
+<th class="TableRow2" style="width: 58%;">Forum</th>
+<th class="TableRow2" style="width: 7%;">Topics</th>
+<th class="TableRow2" style="width: 7%;">Posts</th>
+<th class="TableRow2" style="width: 24%;">Last Topic</th>
+</tr>
+<?php }
+while ($i < $num) {
+$ForumID=mysql_result($result,$i,"id");
+$ForumName=mysql_result($result,$i,"Name");
+$ForumShow=mysql_result($result,$i,"ShowForum");
+$ForumType=mysql_result($result,$i,"ForumType");
+$NumTopics=mysql_result($result,$i,"NumTopics");
+$NumPosts=mysql_result($result,$i,"NumPosts");
+$ForumDescription=mysql_result($result,$i,"Description");
+unset($LastTopic);
+$gltquery = query("select * from ".$Settings['sqltable']."topics where (CategoryID=%i and ForumID=%i) ORDER BY LastUpdate DESC", array($CategoryID,$ForumID));
+$gltresult=mysql_query($gltquery);
+$gltnum=mysql_num_rows($gltresult);
+if($gltnum>0){
+$TopicID=mysql_result($gltresult,0,"id");
+$TopicName=mysql_result($gltresult,0,"TopicName");
+$NumReplys=mysql_result($gltresult,0,"NumReply");
+$ShowReply = $NumReplys + 1;
+$TopicName1 = substr($TopicName,0,15);
+if (strlen($TopicName)>12) { $TopicName1 = $TopicName1."..."; }
+$UsersID=mysql_result($gltresult,0,"UserID");
+$GuestName=mysql_result($gltresult,0,"GuestName");
+$UsersName = GetUserName($UsersID,$Settings['sqltable']);
+if($UsersName=="Guest") { $UsersName=$GuestName;
+if($UsersName==null) { $UsersName="Guest"; } }
+$UsersName1 = substr($UsersName,0,18);
+if (strlen($UsersName)>15) { $UsersName1 = $UsersName1."...";
+$oldtopicname=$TopicName; $oldusername=$UsersName;
+$TopicName=$TopicName1; $UsersName=$UsersName1; } $lul = null;
+if($UsersID!="-1") {
+$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,$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic'])."#post".$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,$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic'])."#post".$ShowReply."\" title=\"".$oldtopicname."\">".$TopicName."</a>"; } }
+@mysql_free_result($gltresult);
+$ForumType = strtolower($ForumType);
+if ($ForumType=="forum") {
+       $PreForum=$ThemeSet['ForumIcon']; }
+if ($ForumType=="subforum") {
+       $PreForum=$ThemeSet['SubForumIcon']; }
+if ($ForumType=="subforum") {
+       $PreForum=$ThemeSet['SubForumIcon']; }
+if ($ForumType=="redirect") {
+       $PreForum=$ThemeSet['RedirectIcon']; }
+?>
+<tr class="TableRow3" id="Forum<?php echo $ForumID; ?>">
+<td class="TableRow3"><div class="forumicon">
+<?php echo $PreForum; ?></div></td>
+<td class="TableRow3"><div class="forumname"><a href="<?php echo url_maker($exfile[$ForumType],$Settings['file_ext'],"act=view&id=".$ForumID,$Settings['qstr'],$Settings['qsep'],$prexqstr[$ForumType],$exqstr[$ForumType]); ?>"><?php echo $ForumName; ?></a></div>
+<div class="forumescription"><?php echo $ForumDescription; ?></div></td>
+<td class="TableRow3" style="text-align: center;"><?php echo $NumTopics; ?></td>
+<td class="TableRow3" style="text-align: center;"><?php echo $NumPosts; ?></td>
+<td class="TableRow3"><?php echo $LastTopic; ?></td>
+</tr>
+<?php
+++$i; } @mysql_free_result($result);
+if($num>=1) { ?>
+<tr id="CatEnd<?php echo $CategoryID; ?>" class="TableRow4">
+<td class="TableRow4" colspan="5">&nbsp;</td>
+</tr>
+</table></div>
+<div>&nbsp;</div>
+<?php } ++$prei; }
+@mysql_free_result($preresult); ?>
index aefb24e..9b3510c 100644 (file)
-<?php\r
-/*\r
-    This program is free software; you can redistribute it and/or modify\r
-    it under the terms of the Revised BSD License.\r
-\r
-    This program is distributed in the hope that it will be useful,\r
-    but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-    Revised BSD License for more details.\r
-\r
-    Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/\r
-    Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/\r
-\r
-    $FileInfo: filename.php - Last Update: 05/28/2007 SVN 17 - Author: cooldude2k $\r
-*/\r
-$File3Name = basename($_SERVER['SCRIPT_NAME']);\r
-if ($File3Name=="filename.php"||$File3Name=="/filename.php") {\r
-       require('index.php');\r
-       exit(); }\r
-       $rssurlon = false;\r
-if(dirname($_SERVER['SCRIPT_NAME'])!=".") {\r
-$basedir = dirname($_SERVER['SCRIPT_NAME'])."/"; }\r
-if(dirname($_SERVER['SCRIPT_NAME'])==".") {\r
-$basedir = dirname($_SERVER['PHP_SELF'])."/"; }\r
-if($basedir=="\/") { $basedir="/"; }\r
-$basedir = str_replace("//", "/", $basedir);\r
-if($Settings['fixbasedir']!=null&&$Settings['fixbasedir']!="") {\r
-               $basedir = $Settings['fixbasedir']; }\r
-$BaseURL = $basedir;\r
-if($_SERVER['HTTPS']=="on") { $prehost = "https://"; }\r
-if($_SERVER['HTTPS']!="on") { $prehost = "http://"; }\r
-if($Settings['idburl']=="localhost"||$Settings['idburl']==null) {\r
-       $rssurl = $prehost.$_SERVER["HTTP_HOST"].$BaseURL; }\r
-if($Settings['idburl']!="localhost"&&$Settings['idburl']!=null) {\r
-       $rssurlon = "on"; $rssurl = $Settings['idburl']; }\r
-if($Settings['rssurl']!=null&&$Settings['rssurl']!="") {\r
-       $rssurlon = "on"; $rssurl = $Settings['rssurl']; }\r
-//Version info stuff. :P \r
-function version_info($proname,$subver,$ver,$supver,$reltype,$svnver,$showsvn) {\r
-       $return_var = $proname." ".$reltype." ".$subver.".".$ver.".".$supver;\r
-       if($showsvn==false) { $showsvn = null; }\r
-       if($showsvn==true) { $return_var .= " SVN ".$svnver; }\r
-       if($showsvn!=true&&$showsvn!=null) { $return_var .= " ".$showsvn." ".$svnver; }\r
-       return $return_var; }\r
-$VER1[0] = 0; $VER1[1] = 1; $VER1[2] = 5; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2];\r
-$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 17; $RName = "iDB"; $SFName = "IntDB";\r
-$SVNDay[0] = 5; $SVNDay[1] = 28; $SVNDay[2] = 2007; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2];\r
-$VerInfo['iDB_Ver'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[1],$SubVerN,false);\r
-$VerInfo['iDB_Ver_SVN'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[1],$SubVerN,true);\r
-$VerInfo['iDB_Full_Ver'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[0],$SubVerN,false);\r
-$VerInfo['iDB_Full_Ver_SVN'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[0],$SubVerN,true);\r
-$VerInfo['iDB_Ver_Show'] = $VerInfo['iDB_Ver_SVN']; $VerInfo['iDB_Full_Ver_Show'] = $VerInfo['iDB_Full_Ver_SVN'];\r
-if(isset($Settings['showverinfo'])) { $idbmisc['showverinfo'] = $Settings['showverinfo']; }\r
-if(!isset($Settings['showverinfo'])) { $idbmisc['showverinfo'] = false; }\r
-$CD2k = "Cool Dude 2k"; $GM2k = "Game Maker 2k";\r
-$iDB = "Internet Discussion Boards"; $iTB = "Internet Tag Boards"; $DF2k = "Discussion Forums 2k"; $TB2k = "Tag Boards 2k";\r
-$iDBURL1 = "<a href=\"http://intdb.sourceforge.net/\" onclick=\"window.open(this.href);return false;\">"; $iDBURL2 = $iDBURL1.$iDB."</a>";\r
-$DF2kURL1 = "<a href=\"http://df2k.berlios.de/\" onclick=\"window.open(this.href);return false;\">"; $DF2kURL2 = $DF2kURL1.$DF2k."</a>";\r
-$GM2kURL = "<a href=\"http://upload.idb.s1.jcink.com/\" title=\"".$GM2k."\" onclick=\"window.open(this.href);return false;\">".$GM2k."</a>";\r
-$iDBURL3 = "<a href=\"http://idb.berlios.de/\" title=\"".$iDB."\" onclick=\"window.open(this.href);return false;\">".$iDB."</a>";\r
-$PHPQA = "PHP-Quick-Arcade"; $PHPV1 = @phpversion(); $PHPV2 = "PHP ".$PHPV1; $OSType = PHP_OS;\r
-if($OSType=="WINNT") { $OSType="Windows NT"; } if($OSType=="WIN32") { $OSType="Windows 9x"; }\r
-$OSType2 = $PHPV2." / ".$OSType; $ZENDV1 = @zend_version(); $ZENDV2 = "Zend engine ".$ZENDV1;\r
-if($idbmisc['showverinfo']==true) {\r
-@header("X-iDB-Powered-By: ".$VerInfo['iDB_Ver_Show']);\r
-@header("Generator: ".$VerInfo['iDB_Ver_Show']); }\r
-if($idbmisc['showverinfo']!=true) {\r
-@header("X-iDB-Powered-By: iDB");\r
-//@header("X-Powered-By: PHP");\r
-@header("Generator: iDB"); }\r
-//File naming stuff. <_< \r
-$exfile = array(); $exfilerss = array();\r
-$exqstr = array(); $exqstrrss = array();\r
-$exfile['calendar'] = 'calendar';\r
-$prexqstr['calendar'] = null; $exqstr['calendar'] = null;\r
-$exfile['category'] = 'category';\r
-$prexqstr['category'] = null; $exqstr['category'] = null;\r
-$exfile['event'] = 'event';\r
-$prexqstr['event'] = null; $exqstr['event'] = null;\r
-$exfile['forum'] = 'forum';\r
-$prexqstr['forum'] = null; $exqstr['forum'] = null;\r
-$exfile['index'] = 'index';\r
-$prexqstr['index'] = null; $exqstr['index'] = null;\r
-$exfile['member'] = 'member';\r
-$prexqstr['member'] = null; $exqstr['member'] = null;\r
-$exfile['messenger'] = 'messenger';\r
-$prexqstr['messenger'] = null; $exqstr['messenger'] = null;\r
-$exfile['profile'] = 'profile';\r
-$prexqstr['profile'] = null; $exqstr['profile'] = null;\r
-$exfile['rss'] = 'rss';\r
-$prexqstr['rss'] = null; $exqstr['rss'] = null;\r
-$exfile['search'] = 'search';\r
-$prexqstr['search'] = null; $exqstr['search'] = null;\r
-$exfile['subforum'] = 'subforum';\r
-$prexqstr['subforum'] = null; $exqstr['subforum'] = null;\r
-$exfile['subcategory'] = 'subcategory';\r
-$prexqstr['subcategory'] = null; $exqstr['subcategory'] = null;\r
-$exfile['topic'] = 'topic';\r
-$prexqstr['topic'] = null; $exqstr['topic'] = null;\r
-$exfile['redirect'] = 'forum';\r
-$prexqstr['redirect'] = null; $exqstr['redirect'] = null;\r
-$exfilejs['javascript'] = 'javascript';\r
-$prexqstrjs['javascript'] = null; $exqstrjs['javascript'] = null;\r
-$exfilerss['forum'] = 'forum'; \r
-$prexqstrrss['forum'] = null; $exqstrrss['forum'] = null;\r
-$exfilerss['subforum'] = "subforum";\r
-$prexqstrrss['subforum'] = null; $exqstrrss['subforum'] = null;\r
-$exfilerss['subcategory'] = "subcategory";\r
-$prexqstrrss['subcategory'] = null; $exqstrrss['subcategory'] = null;\r
-$exfilerss['redirect'] = 'forum';\r
-$prexqstrrss['redirect'] = null; $exqstrrss['redirect'] = null;\r
-$exfilerss['topic'] = "topic";\r
-$prexqstrrss['topic'] = null; $exqstrrss['topic'] = null;\r
-$exfilerss['category'] = 'category';\r
-$prexqstrrss['category'] = null; $exqstrrss['category'] = null;\r
-$exfilerss['event'] = 'event';\r
-$prexqstrrss['event'] = null; $exqstrrss['event'] = null;\r
+<?php
+/*
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the Revised BSD License.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    Revised BSD License for more details.
+
+    Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/
+
+    $FileInfo: filename.php - Last Update: 06/04/2007 SVN 18 - Author: cooldude2k $
+*/
+$File3Name = basename($_SERVER['SCRIPT_NAME']);
+if ($File3Name=="filename.php"||$File3Name=="/filename.php") {
+       require('index.php');
+       exit(); }
+       $rssurlon = false;
+if(dirname($_SERVER['SCRIPT_NAME'])!=".") {
+$basedir = dirname($_SERVER['SCRIPT_NAME'])."/"; }
+if(dirname($_SERVER['SCRIPT_NAME'])==".") {
+$basedir = dirname($_SERVER['PHP_SELF'])."/"; }
+if($basedir=="\/") { $basedir="/"; }
+$basedir = str_replace("//", "/", $basedir);
+if($Settings['fixbasedir']!=null&&$Settings['fixbasedir']!="") {
+               $basedir = $Settings['fixbasedir']; }
+$BaseURL = $basedir;
+if($_SERVER['HTTPS']=="on") { $prehost = "https://"; }
+if($_SERVER['HTTPS']!="on") { $prehost = "http://"; }
+if($Settings['idburl']=="localhost"||$Settings['idburl']==null) {
+       $rssurl = $prehost.$_SERVER["HTTP_HOST"].$BaseURL; }
+if($Settings['idburl']!="localhost"&&$Settings['idburl']!=null) {
+       $rssurlon = "on"; $rssurl = $Settings['idburl']; }
+if($Settings['rssurl']!=null&&$Settings['rssurl']!="") {
+       $rssurlon = "on"; $rssurl = $Settings['rssurl']; }
+//Version info stuff. :P 
+function version_info($proname,$subver,$ver,$supver,$reltype,$svnver,$showsvn) {
+       $return_var = $proname." ".$reltype." ".$subver.".".$ver.".".$supver;
+       if($showsvn==false) { $showsvn = null; }
+       if($showsvn==true) { $return_var .= " SVN ".$svnver; }
+       if($showsvn!=true&&$showsvn!=null) { $return_var .= " ".$showsvn." ".$svnver; }
+       return $return_var; }
+$VER1[0] = 0; $VER1[1] = 1; $VER1[2] = 5; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2];
+$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 18; $RName = "iDB"; $SFName = "IntDB";
+$SVNDay[0] = 6; $SVNDay[1] = 04; $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);
+$VerInfo['iDB_Full_Ver_SVN'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[0],$SubVerN,true);
+$VerInfo['iDB_Ver_Show'] = $VerInfo['iDB_Ver_SVN']; $VerInfo['iDB_Full_Ver_Show'] = $VerInfo['iDB_Full_Ver_SVN'];
+if(isset($Settings['showverinfo'])) { $idbmisc['showverinfo'] = $Settings['showverinfo']; }
+if(!isset($Settings['showverinfo'])) { $idbmisc['showverinfo'] = false; }
+$CD2k = "Cool Dude 2k"; $GM2k = "Game Maker 2k";
+$iDB = "Internet Discussion Boards"; $iTB = "Internet Tag Boards"; $DF2k = "Discussion Forums 2k"; $TB2k = "Tag Boards 2k";
+$iDBURL1 = "<a href=\"http://intdb.sourceforge.net/\" onclick=\"window.open(this.href);return false;\">"; $iDBURL2 = $iDBURL1.$iDB."</a>";
+$DF2kURL1 = "<a href=\"http://df2k.berlios.de/\" onclick=\"window.open(this.href);return false;\">"; $DF2kURL2 = $DF2kURL1.$DF2k."</a>";
+$GM2kURL = "<a href=\"http://upload.idb.s1.jcink.com/\" title=\"".$GM2k."\" onclick=\"window.open(this.href);return false;\">".$GM2k."</a>";
+$iDBURL3 = "<a href=\"http://idb.berlios.de/\" title=\"".$iDB."\" onclick=\"window.open(this.href);return false;\">".$iDB."</a>";
+$PHPQA = "PHP-Quick-Arcade"; $PHPV1 = @phpversion(); $PHPV2 = "PHP ".$PHPV1; $OSType = PHP_OS;
+if($OSType=="WINNT") { $OSType="Windows NT"; } if($OSType=="WIN32") { $OSType="Windows 9x"; }
+$OSType2 = $PHPV2." / ".$OSType; $ZENDV1 = @zend_version(); $ZENDV2 = "Zend engine ".$ZENDV1;
+if($idbmisc['showverinfo']==true) {
+@header("X-iDB-Powered-By: ".$VerInfo['iDB_Ver_Show']);
+@header("Generator: ".$VerInfo['iDB_Ver_Show']); }
+if($idbmisc['showverinfo']!=true) {
+@header("X-iDB-Powered-By: iDB");
+//@header("X-Powered-By: PHP");
+@header("Generator: iDB"); }
+//File naming stuff. <_< 
+$exfile = array(); $exfilerss = array();
+$exqstr = array(); $exqstrrss = array();
+$exfile['calendar'] = 'calendar';
+$prexqstr['calendar'] = null; $exqstr['calendar'] = null;
+$exfile['category'] = 'category';
+$prexqstr['category'] = null; $exqstr['category'] = null;
+$exfile['event'] = 'event';
+$prexqstr['event'] = null; $exqstr['event'] = null;
+$exfile['forum'] = 'forum';
+$prexqstr['forum'] = null; $exqstr['forum'] = null;
+$exfile['index'] = 'index';
+$prexqstr['index'] = null; $exqstr['index'] = null;
+$exfile['member'] = 'member';
+$prexqstr['member'] = null; $exqstr['member'] = null;
+$exfile['messenger'] = 'messenger';
+$prexqstr['messenger'] = null; $exqstr['messenger'] = null;
+$exfile['profile'] = 'profile';
+$prexqstr['profile'] = null; $exqstr['profile'] = null;
+$exfile['rss'] = 'rss';
+$prexqstr['rss'] = null; $exqstr['rss'] = null;
+$exfile['search'] = 'search';
+$prexqstr['search'] = null; $exqstr['search'] = null;
+$exfile['subforum'] = 'subforum';
+$prexqstr['subforum'] = null; $exqstr['subforum'] = null;
+$exfile['subcategory'] = 'subcategory';
+$prexqstr['subcategory'] = null; $exqstr['subcategory'] = null;
+$exfile['topic'] = 'topic';
+$prexqstr['topic'] = null; $exqstr['topic'] = null;
+$exfile['redirect'] = 'forum';
+$prexqstr['redirect'] = null; $exqstr['redirect'] = null;
+$exfilejs['javascript'] = 'javascript';
+$prexqstrjs['javascript'] = null; $exqstrjs['javascript'] = null;
+$exfilerss['forum'] = 'forum'; 
+$prexqstrrss['forum'] = null; $exqstrrss['forum'] = null;
+$exfilerss['subforum'] = "subforum";
+$prexqstrrss['subforum'] = null; $exqstrrss['subforum'] = null;
+$exfilerss['subcategory'] = "subcategory";
+$prexqstrrss['subcategory'] = null; $exqstrrss['subcategory'] = null;
+$exfilerss['redirect'] = 'forum';
+$prexqstrrss['redirect'] = null; $exqstrrss['redirect'] = null;
+$exfilerss['topic'] = "topic";
+$prexqstrrss['topic'] = null; $exqstrrss['topic'] = null;
+$exfilerss['category'] = 'category';
+$prexqstrrss['category'] = null; $exqstrrss['category'] = null;
+$exfilerss['event'] = 'event';
+$prexqstrrss['event'] = null; $exqstrrss['event'] = null;
 ?>
\ No newline at end of file
index 2dd89de..5e67fcd 100644 (file)
@@ -1,77 +1,77 @@
-<?php\r
-/*\r
-    This program is free software; you can redistribute it and/or modify\r
-    it under the terms of the Revised BSD License.\r
-\r
-    This program is distributed in the hope that it will be useful,\r
-    but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-    Revised BSD License for more details.\r
-\r
-    Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/\r
-    Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/\r
-    GZip and Zlib by Jean-loup Gailly (compression) and Mark Adler (decompression) http://www.zlib.net/\r
-       BZip2 and libbzip2 by Julian Seward http://www.bzip.org/\r
-\r
-    $FileInfo: compression.php - Last Update: 05/26/2007 SVN 15 - Author: cooldude2k $\r
-*/\r
-$File3Name = basename($_SERVER['SCRIPT_NAME']);\r
-if ($File3Name=="compression.php"||$File3Name=="/compression.php") {\r
-       require('index.php');\r
-       exit(); }\r
-\r
-if(@extension_loaded("zlib")) {\r
-function gunzip($infile, $outfile) {\r
-  $zp = gzopen($infile, "r");\r
-  while(!gzeof($zp))\r
-       $string .= gzread($zp, 4096);\r
-  gzclose($zp);\r
-  $fp = fopen($outfile, "w");\r
-  fwrite($fp, $string, strlen($string));\r
-  fclose($fp);\r
-}\r
-\r
-function gunzip2($infile, $outfile) {\r
- $string = implode("", gzfile($infile));\r
- $fp = fopen($outfile, "w");\r
- fwrite($fp, $string, strlen($string));\r
- fclose($fp);\r
-}\r
-function gzip($infile, $outfile, $param = 5)\r
-{\r
- $fp = fopen($infile, "r");\r
- $data = fread ($fp, filesize($infile));\r
- fclose($fp);\r
- $zp = gzopen($outfile, "w".$param);\r
- gzwrite($zp, $data);\r
- gzclose($zp);\r
-} }\r
-\r
-if(@extension_loaded("bz2")) {\r
-function bzip($infile, $outfile)\r
-{\r
- $fp = fopen($infile, "r");\r
- $data = fread($fp, filesize($infile));\r
- fclose($fp);\r
- $zp = bzopen($outfile, "w");\r
- bzwrite($zp, $data);\r
- bzclose($zp);\r
-}\r
-\r
-function bunzip($infile, $outfile) {\r
-  $zp = bzopen($infile, "r");\r
-  while(!feof($zp))\r
-       $string .= bzread($zp, 4096);\r
-  bzclose($zp);\r
-  $fp = fopen($outfile, "w");\r
-  fwrite($fp, $string, strlen($string));\r
-  fclose($fp);\r
-} }\r
-\r
-if(@extension_loaded("zip")) {\r
-/* Nothing for now... :P */ }\r
-\r
-if(@extension_loaded("rar")) {\r
-/* Nothing for now... :P */ }\r
-\r
-?>\r
+<?php
+/*
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the Revised BSD License.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    Revised BSD License for more details.
+
+    Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/
+    GZip and Zlib by Jean-loup Gailly (compression) and Mark Adler (decompression) http://www.zlib.net/
+       BZip2 and libbzip2 by Julian Seward http://www.bzip.org/
+
+    $FileInfo: compression.php - Last Update: 06/04/2007 SVN 18 - Author: cooldude2k $
+*/
+$File3Name = basename($_SERVER['SCRIPT_NAME']);
+if ($File3Name=="compression.php"||$File3Name=="/compression.php") {
+       require('index.php');
+       exit(); }
+
+if(@extension_loaded("zlib")) {
+function gunzip($infile, $outfile) {
+  $zp = gzopen($infile, "r");
+  while(!gzeof($zp))
+       $string .= gzread($zp, 4096);
+  gzclose($zp);
+  $fp = fopen($outfile, "w");
+  fwrite($fp, $string, strlen($string));
+  fclose($fp);
+}
+
+function gunzip2($infile, $outfile) {
+ $string = implode("", gzfile($infile));
+ $fp = fopen($outfile, "w");
+ fwrite($fp, $string, strlen($string));
+ fclose($fp);
+}
+function gzip($infile, $outfile, $param = 5)
+{
+ $fp = fopen($infile, "r");
+ $data = fread ($fp, filesize($infile));
+ fclose($fp);
+ $zp = gzopen($outfile, "w".$param);
+ gzwrite($zp, $data);
+ gzclose($zp);
+} }
+
+if(@extension_loaded("bz2")) {
+function bzip($infile, $outfile)
+{
+ $fp = fopen($infile, "r");
+ $data = fread($fp, filesize($infile));
+ fclose($fp);
+ $zp = bzopen($outfile, "w");
+ bzwrite($zp, $data);
+ bzclose($zp);
+}
+
+function bunzip($infile, $outfile) {
+  $zp = bzopen($infile, "r");
+  while(!feof($zp))
+       $string .= bzread($zp, 4096);
+  bzclose($zp);
+  $fp = fopen($outfile, "w");
+  fwrite($fp, $string, strlen($string));
+  fclose($fp);
+} }
+
+if(@extension_loaded("zip")) {
+/* Nothing for now... :P */ }
+
+if(@extension_loaded("rar")) {
+/* Nothing for now... :P */ }
+
+?>
index c6ef521..8d3ed06 100644 (file)
-<?php\r
-/*\r
-    This program is free software; you can redistribute it and/or modify\r
-    it under the terms of the Revised BSD License.\r
-\r
-    This program is distributed in the hope that it will be useful,\r
-    but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-    Revised BSD License for more details.\r
-\r
-    Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/\r
-    Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/\r
-\r
-    $FileInfo: functions.php - Last Update: 05/28/2007 SVN 17 - Author: cooldude2k $\r
-*/\r
-$File3Name = basename($_SERVER['SCRIPT_NAME']);\r
-if ($File3Name=="functions.php"||$File3Name=="/functions.php") {\r
-       require('index.php');\r
-       exit(); }\r
-function CheckFile($FileName) {\r
-$File3Name = basename($_SERVER['SCRIPT_NAME']);\r
-if ($File3Name==$FileName||$File3Name=="/".$FileName) {\r
-       require('index.php');\r
-       exit(); }\r
-return null; }\r
-function CheckFiles($FileName) {\r
-$File3Name = basename($_SERVER['SCRIPT_NAME']);\r
-if ($File3Name==$FileName||$File3Name=="/".$FileName) {\r
-       return true; } }\r
-CheckFile("functions.php");\r
-require($SettDir['misc']."compression.php");\r
-if ($_GET['act']=="DeleteSession") {\r
-       @session_destroy(); }\r
-if ($_GET['act']=="ResetSession") {\r
-       @session_unset(); }\r
-if ($_GET['act']=="NewSessionID") {\r
-       @session_regenerate_id(); }\r
-if ($_GET['act']=="PHPInfo") {\r
-       @phpinfo(); exit(); }\r
-if ($_GET['act']=="phpinfo") {\r
-       @phpinfo(); exit(); }\r
-if ($_GET['act']=="PHPCredits") {\r
-       @phpcredits(); exit(); }\r
-if ($_GET['act']=="phpcredits") {\r
-       @phpcredits(); exit(); }\r
-function ConnectMysql($sqlhost,$sqluser,$sqlpass,$sqldb) {\r
-$StatSQL = @mysql_connect($sqlhost,$sqluser,$sqlpass);\r
-$StatBase = @mysql_select_db($sqldb);\r
-if (!$StatSQL) { return false; }\r
-if (!$StatBase) { return false; }\r
-return true; }\r
-       $Names['RS'] = "Renee Sabonis";\r
-define("_renee_", $Names['RS']);\r
-function change_title($new_title,$use_gzip="off",$gzip_type="gzip") {\r
-global $Settings;\r
-if($gzip_type!="gzip") { if($gzip_type!="deflate") { $gzip_type = "gzip"; } }\r
-$output = @ob_get_clean();\r
-$output = preg_replace("/<title>(.*?)<\/title>/i", "<title>".$new_title."</title>", $output);\r
-/* Change Some PHP Settings Fix the &PHPSESSID to &amp;PHPSESSID */\r
-$SessName = @session_name();\r
-$output = preg_replace("/&PHPSESSID/", "&amp;PHPSESSID", $output);\r
-$qstrcode = htmlentities($Settings['qstr']);\r
-$output = str_replace($Settings['qstr'].$SessName, $qstrcode.$SessName, $output);\r
-if($use_gzip!="on") {\r
-       echo $output; }\r
-if($use_gzip=="on") {\r
-       if($gzip_type=="gzip") {\r
-       $goutput = gzencode($output); }\r
-       if($gzip_type=="deflate") {\r
-       $goutput = gzcompress($output); }\r
-       echo $goutput; } }\r
-function fix_amp($use_gzip="off",$gzip_type="gzip") {\r
-global $Settings;\r
-if($gzip_type!="gzip") { if($gzip_type!="deflate") { $gzip_type = "gzip"; } }\r
-$output = @ob_get_clean();\r
-/* Change Some PHP Settings Fix the &PHPSESSID to &amp;PHPSESSID */\r
-$SessName = @session_name();\r
-$output = preg_replace("/&PHPSESSID/", "&amp;PHPSESSID", $output);\r
-$qstrcode = htmlentities($Settings['qstr']);\r
-$output = str_replace($Settings['qstr'].$SessName, $qstrcode.$SessName, $output);\r
-if($use_gzip!="on") {\r
-       echo $output; }\r
-if($use_gzip=="on") {\r
-       if($gzip_type=="gzip") {\r
-       $goutput = gzencode($output); }\r
-       if($gzip_type=="deflate") {\r
-       $goutput = gzcompress($output); }\r
-       echo $goutput; } }\r
-function gzip_page($use_gzip="off",$gzip_type="gzip") {\r
-global $Settings;\r
-if($gzip_type!="gzip") { if($gzip_type!="deflate") { $gzip_type = "gzip"; } }\r
-$output = @ob_get_clean();\r
-       $Names['RJ'] = "René Johnson";\r
-define("_rene_", $Names['RJ']);\r
-if($use_gzip!="on") {\r
-       echo $output; }\r
-if($use_gzip=="on") {\r
-       if($gzip_type=="gzip") {\r
-       $goutput = gzencode($output); }\r
-       if($gzip_type=="deflate") {\r
-       $goutput = gzcompress($output); }\r
-       echo $goutput; } }\r
-$foo="bar"; $$foo="foo";\r
-// SafeSQL Lite Source Code by Cool Dude 2k\r
-function query($query_string,$query_vars) {\r
-   $query_array = array(array("%i","%I","%F","%S"),array("%d","%d","%f","%s"));\r
-   $query_string = str_replace($query_array[0], $query_array[1], $query_string);\r
-   if (get_magic_quotes_gpc()) {\r
-       $query_vars  = array_map("stripslashes", $query_vars); }\r
-   $query_vars = array_map("mysql_real_escape_string", $query_vars);\r
-   $query_val = $query_vars;\r
-$query_num = count($query_val);\r
-$query_i = 0;\r
-while ($query_i < $query_num) {\r
-$query_is = $query_i+1;\r
-$query_val[$query_is] = $query_vars[$query_i];\r
-++$query_i; }\r
-   $query_val[0] = $query_string;\r
-   return call_user_func_array("sprintf",$query_val); }\r
-function killbadvars($varname) {\r
-$badphp1 = array('$'); $badphp2 = array(null);\r
-$varname = str_replace($badphp1, $badphp2, $varname);\r
-$varname = preg_replace("/(_SERVER|_ENV|_COOKIE|_SESSION)/i", null, $varname);\r
-$varname = preg_replace("/(_GET|_POST|_FILES|_REQUEST|GLOBALS)/i", null, $varname);\r
-$varname = preg_replace("/(HTTP_SERVER_VARS|HTTP_ENV_VARS)/i", null, $varname);\r
-$varname = preg_replace("/(HTTP_COOKIE_VARS|HTTP_SESSION_VARS)/i", null, $varname);\r
-$varname = preg_replace("/(HTTP_GET_VARS|HTTP_POST_VARS|HTTP_POST_FILES)/i", null, $varname);\r
-       return $varname; }\r
-function text2icons($Text,$sqlt) {\r
-global $Settings;\r
-$reneequery="SELECT * FROM ".$sqlt."smileys";\r
-$reneeresult=mysql_query($reneequery);\r
-$reneenum=mysql_num_rows($reneeresult);\r
-$renees=0;\r
-while ($renees < $reneenum) {\r
-$FileName=mysql_result($reneeresult,$renees,"FileName");\r
-$SmileName=mysql_result($reneeresult,$renees,"SmileName");\r
-$SmileText=mysql_result($reneeresult,$renees,"SmileText");\r
-$SmileDirectory=mysql_result($reneeresult,$renees,"Directory");\r
-$ShowSmile=mysql_result($reneeresult,$renees,"Show");\r
-$ReplaceType=mysql_result($reneeresult,$renees,"ReplaceCI");\r
-if($ReplaceType=="on") { $ReplaceType = "yes"; }\r
-if($ReplaceType=="off") { $ReplaceType = "no"; }\r
-if($ReplaceType!="yes"||$ReplaceType!="no") { $ReplaceType = "no"; }\r
-$Smile1 = $SmileText;\r
-$Smile2 = '<img src="'.$SmileDirectory.''.$FileName.'" style="vertical-align: middle; border: 0px;" title="'.$SmileName.'" alt="'.$SmileName.'" />';\r
-if($ReplaceType=="no") {\r
-$Text = str_replace($Smile1, $Smile2, $Text); }\r
-if($ReplaceType=="yes") {\r
-       $Smile1 = preg_quote($SmileText,"/");\r
-$Text = preg_replace("/".$Smile1."/i",$Smile2,$Text); }\r
-++$renees; } return $Text; }\r
-function remove_spaces($Text) {\r
-$Text = preg_replace("/(^\t+|\t+$)/","",$Text);\r
-$Text = preg_replace("/(^\n+|\n+$)/","",$Text);\r
-$Text = preg_replace("/(^\r+|\r+$)/","",$Text);\r
-$Text = preg_replace("/(\r|\n|\t)+/"," ",$Text);\r
-$Text = preg_replace("/\s\s+/"," ",$Text);\r
-$Text = preg_replace("/(^\s+|\s+$)/","",$Text);\r
-return $Text; }\r
-function fixbamps($text) {\r
-$fixamps1 = array("&amp;copy;","&amp;reg;","&amp;trade;","&amp;quot;","&amp;amp;","&amp;lt;","&amp;gt;","&amp;(a|e|i|o|u|y)acute;","&amp;(a|e|i|o|u)grave;","&amp;(a|e|i|o|u)circ;","&amp;(a|e|i|o|u|y)uml;","&amp;(a|o|n)tilde;","&amp;aring;","&amp;aelig;","&amp;ccedil;","&amp;eth;","&amp;oslash;","&amp;szlig;","&amp;thorn;");\r
-$fixamps2 = array("&copy;","&reg;","&trade;","&quot;","&amp;","&lt;","&gt;","&\\1acute;","&\\1grave;","&\\1circ;","&\\1uml;","&\\1tilde;","&aring;","&aelig;","&ccedil;","&eth;","&oslash;","&szlig;","&thorn;");\r
-$ampnum = count($fixamps1); $ampi=0;\r
-while ($ampi < $ampnum) {\r
-$text = preg_replace("/".$fixamps1[$ampi]."/i", $fixamps2[$ampi], $text);\r
-++$ampi; }\r
-$text = preg_replace("/&amp;#(x[a-f0-9]+|[0-9]+);/i", "&#$1;", $text);\r
-return $text; }\r
-function getnextid($tablepre,$table) {\r
-   $getnextidq = query("SHOW TABLE STATUS LIKE '".$tablepre.$table."'", array());\r
-   $getnextidr = mysql_query($getnextidq);\r
-   $getnextid = mysql_fetch_assoc($getnextidr);\r
-   return $getnextid['Auto_increment'];\r
-   @mysql_free_result($getnextidr); }\r
-       $Names['RSA'] = "Rachel Sabonis";\r
-define("_rachel_", $Names['RSA']);\r
-function redirects($type,$url,$time=0) {\r
-if($type!="location"&&\r
-       $type!="refresh") {\r
-       $type=="location"; }\r
-if($type=="refresh") {\r
-header("Refresh: ".$time."; URL=".$url); }\r
-if($type=="location") {\r
-header("Location: ".$url); }\r
-return true; }\r
-function xml_doc_start($ver,$encode,$retval=false) {\r
-       if($retval!=false&&$retval!=true) { $retval=false; }\r
-       if($retval==false) {\r
-       echo '<?xml version="'.$ver.'" encoding="'.$encode.'"?>'."\n"; }\r
-       if($retval==true) {\r
-       return '<?xml version="'.$ver.'" encoding="'.$encode.'"?>'."\n"; } }\r
-function GMTimeChange($format,$timestamp,$offset,$minoffset=null,$dst=null) {\r
-$TCHour = date("H",$timestamp);\r
-$TCMinute = date("i",$timestamp);\r
-$TCSecond = date("s",$timestamp);\r
-$TCMonth = date("n",$timestamp);\r
-$TCDay = date("d",$timestamp);\r
-$TCYear = date("Y",$timestamp);\r
-unset($dstake); $dstake = null;\r
-if(!is_numeric($offset)) { $offset = 0; }\r
-if(!is_numeric($minoffset)) { $minoffset = 0; }\r
-if($dst!="on"&&$dst!="off") { $dst = "off"; }\r
-if($dst=="on") { \r
-if($dstake!="done") {\r
-if($offset>=0) { $dstake = "done";\r
-       $offset = $offset-1; } }\r
-if($dstake!="done") {\r
-if($offset<0) { $dstake = "done";\r
-       $offset = $offset+1; } } }\r
-$TCHour = $TCHour + $offset;\r
-$TCMinute = $TCMinute + $minoffset;\r
-return date($format,mktime($TCHour,$TCMinute,$TCSecond,$TCMonth,$TCDay,$TCYear)); }\r
-function TimeChange($format,$timestamp,$offset,$minoffset=null,$dst=null) {\r
-return GMTimeChange($format,$timestamp,$offset,$minoffset,$dst); }\r
-function GMTimeStamp() {\r
-$GMTHour = gmdate("H");\r
-$GMTMinute = gmdate("i");\r
-$GMTSecond = gmdate("s");\r
-$GMTMonth = gmdate("n");\r
-$GMTDay = gmdate("d");\r
-$GMTYear = gmdate("Y");\r
-return mktime($GMTHour,$GMTMinute,$GMTSecond,$GMTMonth,$GMTDay,$GMTYear); }\r
-function GMTimeStampS() { return time() - date('Z', time()); }\r
-function GMTimeGet($format,$offset,$minoffset=null,$dst=null) { \r
-       return GMTimeChange($format,GMTimeStamp(),$offset,$minoffset,$dst); }\r
-function GMTimeGetS($format,$offset,$minoffset=null,$dst=null) {\r
-unset($dstake); $dstake = null;\r
-if(!is_numeric($offset)) { $offset = 0; }\r
-if(!is_numeric($minoffset)) { $minoffset = 0; }\r
-if($dst!="on"&&$dst!="off") { $dst = "off"; }\r
-if($dst=="on") { \r
-if($dstake!="done") {\r
-if($offset>=0) { $dstake = "done";\r
-       $offset = $offset-1; } }\r
-if($dstake!="done") {\r
-if($offset<0) { $dstake = "done";\r
-       $offset = $offset+1; } } }\r
-return date($format,mktime(gmdate('h')+$offset,gmdate('i')+$minoffset,gmdate('s'),gmdate('n'),gmdate('j'),gmdate('Y'))); }\r
-function GetSeverZone() {\r
-$TestHour1 = date("H");\r
-@putenv("OTZ=".@getenv("TZ"));\r
-@putenv("TZ=GMT");\r
-$TestHour2 = date("H");\r
-@putenv("TZ=".@getenv("OTZ"));\r
-$TestHour3 = $TestHour1-$TestHour2;\r
-return $TestHour3; }\r
-function SeverOffSet() {\r
-$TestHour1 = date("H");\r
-$TestHour2 = gmdate("H");\r
-$TestHour3 = $TestHour1-$TestHour2;\r
-return $TestHour3; }\r
-function SeverOffSetNew() {\r
-return gmdate("g",mktime(0,date("Z"))); }\r
-function gmtime() { return time() - (int) date('Z'); }\r
-function file_get_source($filename,$return = FALSE) {\r
-// Acts like highlight_file();\r
-$phpsrc = file_get_contents($filename);\r
-$phpsrcs = highlight_string($phpsrc,$return);\r
-return $phpsrcs; }\r
-function valid_get_source($filename) {\r
-$phpsrcs = file_get_source($filename,TRUE);\r
-// Change font tag to span tag for valid xhtml\r
-$phpsrcs = preg_replace("/\<font color=\"(.*?)\"\>/i", "<span style=\"color: \\1;\">", $phpsrcs);\r
-$phpsrcs = preg_replace("/\<\/font>/i", "</span>", $phpsrcs);\r
-return $phpsrcs; }\r
-function GetUserName($idu,$sqlt) {\r
-$gunquery = query("select * from ".$sqlt."members where id=%i", array($idu));\r
-$gunresult=mysql_query($gunquery);\r
-$gunnum=mysql_num_rows($gunresult);\r
-if($gunnum>0){\r
-$UsersName=mysql_result($gunresult,$gunnum-1,"Name"); }\r
-@mysql_free_result($gunresult);\r
-return $UsersName; }\r
-function hmac($data,$key,$hash='sha1',$blocksize=64) {\r
-  if (strlen($key)>$blocksize) {\r
-  $key=pack('H*',$hash($key)); }\r
-  $key=str_pad($key, $blocksize, chr(0x00));\r
-  $ipad=str_repeat(chr(0x36),$blocksize);\r
-  $opad=str_repeat(chr(0x5c),$blocksize);\r
-  return $hash(($key^$opad).pack('H*',$hash(($key^$ipad).$data))); }\r
-function b64e_hmac($data,$key,$extdata,$hash='sha1',$blocksize=64) {\r
-       $extdata2 = hexdec($extdata); $key = $key.$extdata2;\r
-  return base64_encode(hmac($data,$key,$hash,$blocksize).$extdata); }\r
-function salt_hmac($size1=4,$size2=6) {\r
-$hprand = rand(4,6); $i = 0; $hpass = "";\r
-while ($i < $hprand) {\r
-$hspsrand = rand(1,2);\r
-if($hspsrand!=1&&$hspsrand!=2) { $hspsrand=1; }\r
-if($hspsrand==1) { $hpass .= chr(rand(48,57)); }\r
-if($hspsrand==2) { $hpass .= chr(rand(65,70)); }\r
-++$i; } return $hpass; }\r
-/* is_empty by M at http://us2.php.net/manual/en/function.empty.php#74093 */\r
-function is_empty($var) {\r
-    if (((is_null($var) || rtrim($var) == "") &&\r
-               $var !== false) || (is_array($var) && empty($var))) {\r
-        return true; } else {\r
-        return false; } }\r
-function PassHash2x($Text) {\r
-$Text = md5($Text);\r
-$Text = sha1($Text);\r
-return $Text; }\r
-function PassHash2x2($data,$key,$extdata,$blocksize=64) {\r
-$extdata2 = hexdec($extdata); $key = $key.$extdata2;\r
-$Text = hmac($data,$key,"md5").$extdata; \r
-$Text = hmac($Text,$key,"sha1").$extdata;\r
-return base64_encode($Text); }\r
-function cp($infile,$outfile,$mode="w") { \r
-   $contents = file_get_contents($infile);\r
-   $cpfp = fopen($outfile,$mode);\r
-   fwrite($cpfp, $contents);\r
-   fclose($cpfp);\r
-   return true; }\r
-/* str_ireplace for PHP below ver. 5 updated // \r
-//       by René Johnson - Cool Dude 2k      //\r
-//      and upaded by René Johnson again     */\r
-if(!function_exists('str_ireplace')) {\r
-function str_ireplace($search,$replace,$subject) {\r
-if(!is_array($search)&&is_array($replace)) {\r
-       $search = array($search); }\r
-if(is_array($search)&&!is_array($replace)) {\r
-       $replace = array($replace); }\r
-if(is_array($search)&&is_array($replace)) {\r
-       $sc=count($search); $rc=count($replace); $sn=0;\r
-       if($sc!=$rc) { return false; }\r
-while ($sc > $sn) {\r
-       $search[$sn] = preg_quote($search[$sn], "/");\r
-       $subject = preg_replace("/".$search[$sn]."/i", $replace[$sn], $subject);\r
-       ++$sn; } }\r
-if(!is_array($search)&&!is_array($replace)) {\r
-$search = preg_quote($search, "/");\r
-$subject = preg_replace("/".$search."/i", $replace, $subject); }\r
-return $subject; } }\r
-$foobar="fubar"; $$foobar="foobar";\r
-function dump_included_files() {       return var_dump(get_included_files()); }\r
-function count_included_files() {      return count(get_included_files()); }\r
-function dump_extensions() {   return var_dump(get_loaded_extensions()); }\r
-function count_extensions() {  return count(get_loaded_extensions()); }\r
-?>\r
+<?php
+/*
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the Revised BSD License.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    Revised BSD License for more details.
+
+    Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/
+
+    $FileInfo: functions.php - Last Update: 06/04/2007 SVN 18 - Author: cooldude2k $
+*/
+$File3Name = basename($_SERVER['SCRIPT_NAME']);
+if ($File3Name=="functions.php"||$File3Name=="/functions.php") {
+       require('index.php');
+       exit(); }
+function CheckFile($FileName) {
+$File3Name = basename($_SERVER['SCRIPT_NAME']);
+if ($File3Name==$FileName||$File3Name=="/".$FileName) {
+       require('index.php');
+       exit(); }
+return null; }
+function CheckFiles($FileName) {
+$File3Name = basename($_SERVER['SCRIPT_NAME']);
+if ($File3Name==$FileName||$File3Name=="/".$FileName) {
+       return true; } }
+CheckFile("functions.php");
+require($SettDir['misc']."compression.php");
+if ($_GET['act']=="DeleteSession") {
+       @session_destroy(); }
+if ($_GET['act']=="ResetSession") {
+       @session_unset(); }
+if ($_GET['act']=="NewSessionID") {
+       @session_regenerate_id(); }
+if ($_GET['act']=="PHPInfo") {
+       @phpinfo(); exit(); }
+if ($_GET['act']=="phpinfo") {
+       @phpinfo(); exit(); }
+if ($_GET['act']=="PHPCredits") {
+       @phpcredits(); exit(); }
+if ($_GET['act']=="phpcredits") {
+       @phpcredits(); exit(); }
+function ConnectMysql($sqlhost,$sqluser,$sqlpass,$sqldb) {
+$StatSQL = @mysql_connect($sqlhost,$sqluser,$sqlpass);
+$StatBase = @mysql_select_db($sqldb);
+if (!$StatSQL) { return false; }
+if (!$StatBase) { return false; }
+return true; }
+       $Names['RS'] = "Renee Sabonis";
+define("_renee_", $Names['RS']);
+function change_title($new_title,$use_gzip="off",$gzip_type="gzip") {
+global $Settings;
+if($gzip_type!="gzip") { if($gzip_type!="deflate") { $gzip_type = "gzip"; } }
+$output = @ob_get_clean();
+$output = preg_replace("/<title>(.*?)<\/title>/i", "<title>".$new_title."</title>", $output);
+/* Change Some PHP Settings Fix the &PHPSESSID to &amp;PHPSESSID */
+$SessName = @session_name();
+$output = preg_replace("/&PHPSESSID/", "&amp;PHPSESSID", $output);
+$qstrcode = htmlentities($Settings['qstr']);
+$output = str_replace($Settings['qstr'].$SessName, $qstrcode.$SessName, $output);
+if($use_gzip!="on") {
+       echo $output; }
+if($use_gzip=="on") {
+       if($gzip_type=="gzip") {
+       $goutput = gzencode($output); }
+       if($gzip_type=="deflate") {
+       $goutput = gzcompress($output); }
+       echo $goutput; } }
+function fix_amp($use_gzip="off",$gzip_type="gzip") {
+global $Settings;
+if($gzip_type!="gzip") { if($gzip_type!="deflate") { $gzip_type = "gzip"; } }
+$output = @ob_get_clean();
+/* Change Some PHP Settings Fix the &PHPSESSID to &amp;PHPSESSID */
+$SessName = @session_name();
+$output = preg_replace("/&PHPSESSID/", "&amp;PHPSESSID", $output);
+$qstrcode = htmlentities($Settings['qstr']);
+$output = str_replace($Settings['qstr'].$SessName, $qstrcode.$SessName, $output);
+if($use_gzip!="on") {
+       echo $output; }
+if($use_gzip=="on") {
+       if($gzip_type=="gzip") {
+       $goutput = gzencode($output); }
+       if($gzip_type=="deflate") {
+       $goutput = gzcompress($output); }
+       echo $goutput; } }
+function gzip_page($use_gzip="off",$gzip_type="gzip") {
+global $Settings;
+if($gzip_type!="gzip") { if($gzip_type!="deflate") { $gzip_type = "gzip"; } }
+$output = @ob_get_clean();
+       $Names['RJ'] = "René Johnson";
+define("_rene_", $Names['RJ']);
+if($use_gzip!="on") {
+       echo $output; }
+if($use_gzip=="on") {
+       if($gzip_type=="gzip") {
+       $goutput = gzencode($output); }
+       if($gzip_type=="deflate") {
+       $goutput = gzcompress($output); }
+       echo $goutput; } }
+$foo="bar"; $$foo="foo";
+// SafeSQL Lite Source Code by Cool Dude 2k
+function query($query_string,$query_vars) {
+   $query_array = array(array("%i","%I","%F","%S"),array("%d","%d","%f","%s"));
+   $query_string = str_replace($query_array[0], $query_array[1], $query_string);
+   if (get_magic_quotes_gpc()) {
+       $query_vars  = array_map("stripslashes", $query_vars); }
+   $query_vars = array_map("mysql_real_escape_string", $query_vars);
+   $query_val = $query_vars;
+$query_num = count($query_val);
+$query_i = 0;
+while ($query_i < $query_num) {
+$query_is = $query_i+1;
+$query_val[$query_is] = $query_vars[$query_i];
+++$query_i; }
+   $query_val[0] = $query_string;
+   return call_user_func_array("sprintf",$query_val); }
+function killbadvars($varname) {
+$badphp1 = array('$'); $badphp2 = array(null);
+$varname = str_replace($badphp1, $badphp2, $varname);
+$varname = preg_replace("/(_SERVER|_ENV|_COOKIE|_SESSION)/i", null, $varname);
+$varname = preg_replace("/(_GET|_POST|_FILES|_REQUEST|GLOBALS)/i", null, $varname);
+$varname = preg_replace("/(HTTP_SERVER_VARS|HTTP_ENV_VARS)/i", null, $varname);
+$varname = preg_replace("/(HTTP_COOKIE_VARS|HTTP_SESSION_VARS)/i", null, $varname);
+$varname = preg_replace("/(HTTP_GET_VARS|HTTP_POST_VARS|HTTP_POST_FILES)/i", null, $varname);
+       return $varname; }
+function text2icons($Text,$sqlt) {
+global $Settings;
+$reneequery="SELECT * FROM ".$sqlt."smileys";
+$reneeresult=mysql_query($reneequery);
+$reneenum=mysql_num_rows($reneeresult);
+$renees=0;
+while ($renees < $reneenum) {
+$FileName=mysql_result($reneeresult,$renees,"FileName");
+$SmileName=mysql_result($reneeresult,$renees,"SmileName");
+$SmileText=mysql_result($reneeresult,$renees,"SmileText");
+$SmileDirectory=mysql_result($reneeresult,$renees,"Directory");
+$ShowSmile=mysql_result($reneeresult,$renees,"Show");
+$ReplaceType=mysql_result($reneeresult,$renees,"ReplaceCI");
+if($ReplaceType=="on") { $ReplaceType = "yes"; }
+if($ReplaceType=="off") { $ReplaceType = "no"; }
+if($ReplaceType!="yes"||$ReplaceType!="no") { $ReplaceType = "no"; }
+$Smile1 = $SmileText;
+$Smile2 = '<img src="'.$SmileDirectory.''.$FileName.'" style="vertical-align: middle; border: 0px;" title="'.$SmileName.'" alt="'.$SmileName.'" />';
+if($ReplaceType=="no") {
+$Text = str_replace($Smile1, $Smile2, $Text); }
+if($ReplaceType=="yes") {
+       $Smile1 = preg_quote($SmileText,"/");
+$Text = preg_replace("/".$Smile1."/i",$Smile2,$Text); }
+++$renees; } return $Text; }
+function remove_spaces($Text) {
+$Text = preg_replace("/(^\t+|\t+$)/","",$Text);
+$Text = preg_replace("/(^\n+|\n+$)/","",$Text);
+$Text = preg_replace("/(^\r+|\r+$)/","",$Text);
+$Text = preg_replace("/(\r|\n|\t)+/"," ",$Text);
+$Text = preg_replace("/\s\s+/"," ",$Text);
+$Text = preg_replace("/(^\s+|\s+$)/","",$Text);
+return $Text; }
+function fixbamps($text) {
+$fixamps1 = array("&amp;copy;","&amp;reg;","&amp;trade;","&amp;quot;","&amp;amp;","&amp;lt;","&amp;gt;","&amp;(a|e|i|o|u|y)acute;","&amp;(a|e|i|o|u)grave;","&amp;(a|e|i|o|u)circ;","&amp;(a|e|i|o|u|y)uml;","&amp;(a|o|n)tilde;","&amp;aring;","&amp;aelig;","&amp;ccedil;","&amp;eth;","&amp;oslash;","&amp;szlig;","&amp;thorn;");
+$fixamps2 = array("&copy;","&reg;","&trade;","&quot;","&amp;","&lt;","&gt;","&\\1acute;","&\\1grave;","&\\1circ;","&\\1uml;","&\\1tilde;","&aring;","&aelig;","&ccedil;","&eth;","&oslash;","&szlig;","&thorn;");
+$ampnum = count($fixamps1); $ampi=0;
+while ($ampi < $ampnum) {
+$text = preg_replace("/".$fixamps1[$ampi]."/i", $fixamps2[$ampi], $text);
+++$ampi; }
+$text = preg_replace("/&amp;#(x[a-f0-9]+|[0-9]+);/i", "&#$1;", $text);
+return $text; }
+function getnextid($tablepre,$table) {
+   $getnextidq = query("SHOW TABLE STATUS LIKE '".$tablepre.$table."'", array());
+   $getnextidr = mysql_query($getnextidq);
+   $getnextid = mysql_fetch_assoc($getnextidr);
+   return $getnextid['Auto_increment'];
+   @mysql_free_result($getnextidr); }
+       $Names['RSA'] = "Rachel Sabonis";
+define("_rachel_", $Names['RSA']);
+function redirects($type,$url,$time=0) {
+if($type!="location"&&
+       $type!="refresh") {
+       $type=="location"; }
+if($type=="refresh") {
+header("Refresh: ".$time."; URL=".$url); }
+if($type=="location") {
+header("Location: ".$url); }
+return true; }
+function xml_doc_start($ver,$encode,$retval=false) {
+       if($retval!=false&&$retval!=true) { $retval=false; }
+       if($retval==false) {
+       echo '<?xml version="'.$ver.'" encoding="'.$encode.'"?>'."\n"; }
+       if($retval==true) {
+       return '<?xml version="'.$ver.'" encoding="'.$encode.'"?>'."\n"; } }
+function GMTimeChange($format,$timestamp,$offset,$minoffset=null,$dst=null) {
+$TCHour = date("H",$timestamp);
+$TCMinute = date("i",$timestamp);
+$TCSecond = date("s",$timestamp);
+$TCMonth = date("n",$timestamp);
+$TCDay = date("d",$timestamp);
+$TCYear = date("Y",$timestamp);
+unset($dstake); $dstake = null;
+if(!is_numeric($offset)) { $offset = 0; }
+if(!is_numeric($minoffset)) { $minoffset = 0; }
+if($dst!="on"&&$dst!="off") { $dst = "off"; }
+if($dst=="on") { 
+if($dstake!="done") {
+if($offset>=0) { $dstake = "done";
+       $offset = $offset-1; } }
+if($dstake!="done") {
+if($offset<0) { $dstake = "done";
+       $offset = $offset+1; } } }
+$TCHour = $TCHour + $offset;
+$TCMinute = $TCMinute + $minoffset;
+return date($format,mktime($TCHour,$TCMinute,$TCSecond,$TCMonth,$TCDay,$TCYear)); }
+function TimeChange($format,$timestamp,$offset,$minoffset=null,$dst=null) {
+return GMTimeChange($format,$timestamp,$offset,$minoffset,$dst); }
+function GMTimeStamp() {
+$GMTHour = gmdate("H");
+$GMTMinute = gmdate("i");
+$GMTSecond = gmdate("s");
+$GMTMonth = gmdate("n");
+$GMTDay = gmdate("d");
+$GMTYear = gmdate("Y");
+return mktime($GMTHour,$GMTMinute,$GMTSecond,$GMTMonth,$GMTDay,$GMTYear); }
+function GMTimeStampS() { return time() - date('Z', time()); }
+function GMTimeGet($format,$offset,$minoffset=null,$dst=null) { 
+       return GMTimeChange($format,GMTimeStamp(),$offset,$minoffset,$dst); }
+function GMTimeGetS($format,$offset,$minoffset=null,$dst=null) {
+unset($dstake); $dstake = null;
+if(!is_numeric($offset)) { $offset = 0; }
+if(!is_numeric($minoffset)) { $minoffset = 0; }
+if($dst!="on"&&$dst!="off") { $dst = "off"; }
+if($dst=="on") { 
+if($dstake!="done") {
+if($offset>=0) { $dstake = "done";
+       $offset = $offset-1; } }
+if($dstake!="done") {
+if($offset<0) { $dstake = "done";
+       $offset = $offset+1; } } }
+return date($format,mktime(gmdate('h')+$offset,gmdate('i')+$minoffset,gmdate('s'),gmdate('n'),gmdate('j'),gmdate('Y'))); }
+function GetSeverZone() {
+$TestHour1 = date("H");
+@putenv("OTZ=".@getenv("TZ"));
+@putenv("TZ=GMT");
+$TestHour2 = date("H");
+@putenv("TZ=".@getenv("OTZ"));
+$TestHour3 = $TestHour1-$TestHour2;
+return $TestHour3; }
+function SeverOffSet() {
+$TestHour1 = date("H");
+$TestHour2 = gmdate("H");
+$TestHour3 = $TestHour1-$TestHour2;
+return $TestHour3; }
+function SeverOffSetNew() {
+return gmdate("g",mktime(0,date("Z"))); }
+function gmtime() { return time() - (int) date('Z'); }
+function file_get_source($filename,$return = FALSE) {
+// Acts like highlight_file();
+$phpsrc = file_get_contents($filename);
+$phpsrcs = highlight_string($phpsrc,$return);
+return $phpsrcs; }
+function valid_get_source($filename) {
+$phpsrcs = file_get_source($filename,TRUE);
+// Change font tag to span tag for valid xhtml
+$phpsrcs = preg_replace("/\<font color=\"(.*?)\"\>/i", "<span style=\"color: \\1;\">", $phpsrcs);
+$phpsrcs = preg_replace("/\<\/font>/i", "</span>", $phpsrcs);
+return $phpsrcs; }
+function GetUserName($idu,$sqlt) {
+$gunquery = query("select * from ".$sqlt."members where id=%i", array($idu));
+$gunresult=mysql_query($gunquery);
+$gunnum=mysql_num_rows($gunresult);
+if($gunnum>0){
+$UsersName=mysql_result($gunresult,$gunnum-1,"Name"); }
+@mysql_free_result($gunresult);
+return $UsersName; }
+function hmac($data,$key,$hash='sha1',$blocksize=64) {
+  if (strlen($key)>$blocksize) {
+  $key=pack('H*',$hash($key)); }
+  $key=str_pad($key, $blocksize, chr(0x00));
+  $ipad=str_repeat(chr(0x36),$blocksize);
+  $opad=str_repeat(chr(0x5c),$blocksize);
+  return $hash(($key^$opad).pack('H*',$hash(($key^$ipad).$data))); }
+function b64e_hmac($data,$key,$extdata,$hash='sha1',$blocksize=64) {
+       $extdata2 = hexdec($extdata); $key = $key.$extdata2;
+  return base64_encode(hmac($data,$key,$hash,$blocksize).$extdata); }
+function salt_hmac($size1=4,$size2=6) {
+$hprand = rand(4,6); $i = 0; $hpass = "";
+while ($i < $hprand) {
+$hspsrand = rand(1,2);
+if($hspsrand!=1&&$hspsrand!=2) { $hspsrand=1; }
+if($hspsrand==1) { $hpass .= chr(rand(48,57)); }
+if($hspsrand==2) { $hpass .= chr(rand(65,70)); }
+++$i; } return $hpass; }
+/* is_empty by M at http://us2.php.net/manual/en/function.empty.php#74093 */
+function is_empty($var) {
+    if (((is_null($var) || rtrim($var) == "") &&
+               $var !== false) || (is_array($var) && empty($var))) {
+        return true; } else {
+        return false; } }
+function PassHash2x($Text) {
+$Text = md5($Text);
+$Text = sha1($Text);
+return $Text; }
+function PassHash2x2($data,$key,$extdata,$blocksize=64) {
+$extdata2 = hexdec($extdata); $key = $key.$extdata2;
+$Text = hmac($data,$key,"md5").$extdata; 
+$Text = hmac($Text,$key,"sha1").$extdata;
+return base64_encode($Text); }
+function cp($infile,$outfile,$mode="w") { 
+   $contents = file_get_contents($infile);
+   $cpfp = fopen($outfile,$mode);
+   fwrite($cpfp, $contents);
+   fclose($cpfp);
+   return true; }
+/* str_ireplace for PHP below ver. 5 updated // 
+//       by René Johnson - Cool Dude 2k      //
+//      and upaded by René Johnson again     */
+if(!function_exists('str_ireplace')) {
+function str_ireplace($search,$replace,$subject) {
+if(!is_array($search)&&is_array($replace)) {
+       $search = array($search); }
+if(is_array($search)&&!is_array($replace)) {
+       $replace = array($replace); }
+if(is_array($search)&&is_array($replace)) {
+       $sc=count($search); $rc=count($replace); $sn=0;
+       if($sc!=$rc) { return false; }
+while ($sc > $sn) {
+       $search[$sn] = preg_quote($search[$sn], "/");
+       $subject = preg_replace("/".$search[$sn]."/i", $replace[$sn], $subject);
+       ++$sn; } }
+if(!is_array($search)&&!is_array($replace)) {
+$search = preg_quote($search, "/");
+$subject = preg_replace("/".$search."/i", $replace, $subject); }
+return $subject; } }
+$foobar="fubar"; $$foobar="foobar";
+function dump_included_files() {       return var_dump(get_included_files()); }
+function count_included_files() {      return count(get_included_files()); }
+function dump_extensions() {   return var_dump(get_loaded_extensions()); }
+function count_extensions() {  return count(get_loaded_extensions()); }
+?>
index a4e0f7e..42e3418 100644 (file)
-<?php\r
-/*\r
-    This program is free software; you can redistribute it and/or modify\r
-    it under the terms of the Revised BSD License.\r
-\r
-    This program is distributed in the hope that it will be useful,\r
-    but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-    Revised BSD License for more details.\r
-\r
-    Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/\r
-    Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/\r
-\r
-    $FileInfo: subcategories.php - Last Update: 05/27/2007 SVN 16 - Author: cooldude2k $\r
-*/\r
-$File3Name = basename($_SERVER['SCRIPT_NAME']);\r
-if ($File3Name=="subcategories.php"||$File3Name=="/subcategories.php") {\r
-       require('index.php');\r
-       exit(); }\r
-$checkquery = query("select * from ".$Settings['sqltable']."categories where ID=%s", array($_GET['id']));\r
-$checkresult=mysql_query($checkquery);\r
-$checknum=mysql_num_rows($checkresult);\r
-$checki=0;\r
-if($checknum===0) { redirect("location",$basedir.url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index'],false)); }\r
-$CategoryID=mysql_result($checkresult,$checki,"id");\r
-$CategoryName=mysql_result($checkresult,$checki,"Name");\r
-$CategoryShow=mysql_result($checkresult,$checki,"ShowCategory");\r
-$CategoryType=mysql_result($checkresult,$checki,"CategoryType");\r
-$SubShowForums=mysql_result($checkresult,$checki,"SubShowForums");\r
-$CategoryType = strtolower($CategoryType); $SubShowForums = strtolower($SubShowForums);\r
-$SCategoryName = $CategoryName;\r
-if($CategoryType=="category") {\r
-redirect("location",$basedir.url_maker($exfile['category'],$Settings['file_ext'],"act=".$_GET['act']."&id=".$_GET['id'],$Settings['qstr'],$Settings['qsep'],$prexqstr['category'],$exqstr['category'],FALSE)); }\r
-@mysql_free_result($checkresult);\r
-$prequery = query("select * from ".$Settings['sqltable']."categories where ShowCategory='yes' and InSubCategory=%i", array($_GET['id']));\r
-$preresult=mysql_query($prequery);\r
-$prenum=mysql_num_rows($preresult);\r
-$prei=0;\r
-while ($prei < $prenum) {\r
-$CategoryID=mysql_result($preresult,$prei,"id");\r
-$CategoryName=mysql_result($preresult,$prei,"Name");\r
-$CategoryShow=mysql_result($preresult,$prei,"ShowCategory");\r
-$CategoryType=mysql_result($preresult,$prei,"CategoryType");\r
-$SSubShowForums=mysql_result($preresult,$prei,"SubShowForums");\r
-$CategoryDescription=mysql_result($preresult,$prei,"Description");\r
-$CategoryType = strtolower($CategoryType); $SubShowForums = strtolower($SubShowForums);\r
-$query = query("select * from ".$Settings['sqltable']."forums where ShowForum='yes' and CategoryID=%i and InSubForum=0 ORDER BY ID", array($CategoryID));\r
-$result=mysql_query($query);\r
-$num=mysql_num_rows($result);\r
-$i=0;\r
-if($num>=1) {\r
-?>\r
-<div class="Table1Border">\r
-<table class="Table1" id="SubCat<?php echo $CategoryID; ?>">\r
-<tr id="SubCatStart<?php echo $CategoryID; ?>" class="TableRow1">\r
-<td class="TableRow1" colspan="5"><span style="float: left;">\r
-<?php echo $ThemeSet['TitleIcon'] ?><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></span>\r
-<?php echo "<span style=\"float: right;\">&nbsp;</span>"; ?></td>\r
-</tr>\r
-<tr id="ForumStatRow<?php echo $CategoryID; ?>" class="TableRow2">\r
-<th class="TableRow2" style="width: 4%;">&nbsp;</th>\r
-<th class="TableRow2" style="width: 58%;">Forum</th>\r
-<th class="TableRow2" style="width: 7%;">Topics</th>\r
-<th class="TableRow2" style="width: 7%;">Posts</th>\r
-<th class="TableRow2" style="width: 24%;">Last Topic</th>\r
-</tr>\r
-<?php }\r
-while ($i < $num) {\r
-$ForumID=mysql_result($result,$i,"id");\r
-$ForumName=mysql_result($result,$i,"Name");\r
-$ForumShow=mysql_result($result,$i,"ShowForum");\r
-$ForumType=mysql_result($result,$i,"ForumType");\r
-$NumTopics=mysql_result($result,$i,"NumTopics");\r
-$NumPosts=mysql_result($result,$i,"NumPosts");\r
-$ForumDescription=mysql_result($result,$i,"Description");\r
-$ForumType = strtolower($ForumType);\r
-unset($LastTopic);\r
-$gltquery = query("select * from ".$Settings['sqltable']."topics where CategoryID=%i and ForumID=%i ORDER BY LastUpdate DESC", array($CategoryID,$ForumID));\r
-$gltresult=mysql_query($gltquery);\r
-$gltnum=mysql_num_rows($gltresult);\r
-if($gltnum>0){\r
-$TopicID=mysql_result($gltresult,0,"id");\r
-$TopicName=mysql_result($gltresult,0,"TopicName");\r
-$NumReplys=mysql_result($gltresult,0,"NumReply");\r
-$ShowReply = $NumReplys + 1;\r
-$TopicName1 = substr($TopicName,0,12);\r
-if (strlen($TopicName)>12) { $TopicName1 = $TopicName1."..."; }\r
-$UsersID=mysql_result($gltresult,0,"UserID");\r
-$GuestName=mysql_result($gltresult,0,"GuestName");\r
-$UsersName = GetUserName($UsersID,$Settings['sqltable']);\r
-$UsersName1 = substr($UsersName,0,18);\r
-if($UsersName=="Guest") { $UsersName=$GuestName;\r
-if($UsersName==null) { $UsersName="Guest"; } }\r
-if (strlen($UsersName)>15) { $UsersName1 = $UsersName1."...";\r
-$oldtopicname=$TopicName; $oldusername=$UsersName;\r
-$TopicName=$TopicName1; $UsersName=$UsersName1; } $lul = null;\r
-if($UsersID!="-1") {\r
-$lul = url_maker($exfile['member'],$Settings['file_ext'],"act=view&id=".$UsersID,$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']);\r
-$LastTopic = "User: <a href=\"".$lul."\" title=\"".$oldusername."\">".$UsersName."</a><br />\nTopic: <a href=\"".url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TopicID,$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic'])."#post".$ShowReply."\" title=\"".$oldtopicname."\">".$TopicName."</a>"; }\r
-if($UsersID=="-1") {\r
-$LastTopic = "User: <span title=\"".$oldusername."\">".$UsersName."</span><br />\nTopic: <a href=\"".url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TopicID,$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic'])."#post".$ShowReply."\" title=\"".$oldtopicname."\">".$TopicName."</a>"; } }\r
-if($LastTopic==null) { $LastTopic="&nbsp;<br />&nbsp;"; }\r
-$ForumType = strtolower($ForumType);\r
-$PreForum = $ThemeSet['ForumIcon'];\r
-if ($ForumType=="forum") {\r
-       $PreForum=$ThemeSet['ForumIcon']; }\r
-if ($ForumType=="subforum") {\r
-       $PreForum=$ThemeSet['SubForumIcon']; }\r
-if ($ForumType=="redirect") {\r
-       $PreForum=$ThemeSet['RedirectIcon']; }\r
-?>\r
-<tr class="TableRow3" id="Forum<?php echo $ForumID; ?>">\r
-<td class="TableRow3"><div class="forumicon">\r
-<?php echo $PreForum; ?></div></td>\r
-<td class="TableRow3"><div class="forumname"><a href="<?php echo url_maker($exfile[$ForumType],$Settings['file_ext'],"act=view&id=".$ForumID,$Settings['qstr'],$Settings['qsep'],$prexqstr[$ForumType],$exqstr[$ForumType]); ?>"><?php echo $ForumName; ?></a></div>\r
-<div class="forumdescription"><?php echo $ForumDescription; ?></div></td>\r
-<td class="TableRow3" style="text-align: center;"><?php echo $NumTopics; ?></td>\r
-<td class="TableRow3" style="text-align: center;"><?php echo $NumPosts; ?></td>\r
-<td class="TableRow3"><?php echo $LastTopic; ?></td>\r
-</tr>\r
-<?php\r
-++$i; } @mysql_free_result($result);\r
-if($num>=1) {\r
-?>\r
-<tr id="SubCatEnd<?php echo $CategoryID; ?>" class="TableRow4">\r
-<td class="TableRow4" colspan="5">&nbsp;</td>\r
-</tr>\r
-</table></div>\r
-<div>&nbsp;</div>\r
-<?php } ++$prei; }\r
-@mysql_free_result($preresult);\r
-$CatCheck = "skip";\r
-if($SubShowForums!="yes") { \r
-       $CategoryName = $SCategoryName; }\r
-if($SubShowForums!="no") {\r
-require($SettDir['inc'].'categories.php'); }\r
-?>\r
+<?php
+/*
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the Revised BSD License.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    Revised BSD License for more details.
+
+    Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/
+
+    $FileInfo: subcategories.php - Last Update: 06/04/2007 SVN 18 - Author: cooldude2k $
+*/
+$File3Name = basename($_SERVER['SCRIPT_NAME']);
+if ($File3Name=="subcategories.php"||$File3Name=="/subcategories.php") {
+       require('index.php');
+       exit(); }
+$checkquery = query("select * from ".$Settings['sqltable']."categories where ID=%s", array($_GET['id']));
+$checkresult=mysql_query($checkquery);
+$checknum=mysql_num_rows($checkresult);
+$checki=0;
+if($checknum===0) { redirect("location",$basedir.url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index'],false)); }
+$CategoryID=mysql_result($checkresult,$checki,"id");
+$CategoryName=mysql_result($checkresult,$checki,"Name");
+$CategoryShow=mysql_result($checkresult,$checki,"ShowCategory");
+$CategoryType=mysql_result($checkresult,$checki,"CategoryType");
+$SubShowForums=mysql_result($checkresult,$checki,"SubShowForums");
+$CategoryType = strtolower($CategoryType); $SubShowForums = strtolower($SubShowForums);
+$SCategoryName = $CategoryName;
+if($CategoryType=="category") {
+redirect("location",$basedir.url_maker($exfile['category'],$Settings['file_ext'],"act=".$_GET['act']."&id=".$_GET['id'],$Settings['qstr'],$Settings['qsep'],$prexqstr['category'],$exqstr['category'],FALSE)); }
+@mysql_free_result($checkresult);
+$prequery = query("select * from ".$Settings['sqltable']."categories where ShowCategory='yes' and InSubCategory=%i", array($_GET['id']));
+$preresult=mysql_query($prequery);
+$prenum=mysql_num_rows($preresult);
+$prei=0;
+while ($prei < $prenum) {
+$CategoryID=mysql_result($preresult,$prei,"id");
+$CategoryName=mysql_result($preresult,$prei,"Name");
+$CategoryShow=mysql_result($preresult,$prei,"ShowCategory");
+$CategoryType=mysql_result($preresult,$prei,"CategoryType");
+$SSubShowForums=mysql_result($preresult,$prei,"SubShowForums");
+$CategoryDescription=mysql_result($preresult,$prei,"Description");
+$CategoryType = strtolower($CategoryType); $SubShowForums = strtolower($SubShowForums);
+$query = query("select * from ".$Settings['sqltable']."forums where ShowForum='yes' and CategoryID=%i and InSubForum=0 ORDER BY ID", array($CategoryID));
+$result=mysql_query($query);
+$num=mysql_num_rows($result);
+$i=0;
+if($num>=1) {
+?>
+<div class="Table1Border">
+<table class="Table1" id="SubCat<?php echo $CategoryID; ?>">
+<tr id="SubCatStart<?php echo $CategoryID; ?>" class="TableRow1">
+<td class="TableRow1" colspan="5"><span style="float: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><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></span>
+<?php echo "<span style=\"float: right;\">&nbsp;</span>"; ?></td>
+</tr>
+<tr id="ForumStatRow<?php echo $CategoryID; ?>" class="TableRow2">
+<th class="TableRow2" style="width: 4%;">&nbsp;</th>
+<th class="TableRow2" style="width: 58%;">Forum</th>
+<th class="TableRow2" style="width: 7%;">Topics</th>
+<th class="TableRow2" style="width: 7%;">Posts</th>
+<th class="TableRow2" style="width: 24%;">Last Topic</th>
+</tr>
+<?php }
+while ($i < $num) {
+$ForumID=mysql_result($result,$i,"id");
+$ForumName=mysql_result($result,$i,"Name");
+$ForumShow=mysql_result($result,$i,"ShowForum");
+$ForumType=mysql_result($result,$i,"ForumType");
+$NumTopics=mysql_result($result,$i,"NumTopics");
+$NumPosts=mysql_result($result,$i,"NumPosts");
+$ForumDescription=mysql_result($result,$i,"Description");
+$ForumType = strtolower($ForumType);
+unset($LastTopic);
+$gltquery = query("select * from ".$Settings['sqltable']."topics where CategoryID=%i and ForumID=%i ORDER BY LastUpdate DESC", array($CategoryID,$ForumID));
+$gltresult=mysql_query($gltquery);
+$gltnum=mysql_num_rows($gltresult);
+if($gltnum>0){
+$TopicID=mysql_result($gltresult,0,"id");
+$TopicName=mysql_result($gltresult,0,"TopicName");
+$NumReplys=mysql_result($gltresult,0,"NumReply");
+$ShowReply = $NumReplys + 1;
+$TopicName1 = substr($TopicName,0,12);
+if (strlen($TopicName)>12) { $TopicName1 = $TopicName1."..."; }
+$UsersID=mysql_result($gltresult,0,"UserID");
+$GuestName=mysql_result($gltresult,0,"GuestName");
+$UsersName = GetUserName($UsersID,$Settings['sqltable']);
+$UsersName1 = substr($UsersName,0,18);
+if($UsersName=="Guest") { $UsersName=$GuestName;
+if($UsersName==null) { $UsersName="Guest"; } }
+if (strlen($UsersName)>15) { $UsersName1 = $UsersName1."...";
+$oldtopicname=$TopicName; $oldusername=$UsersName;
+$TopicName=$TopicName1; $UsersName=$UsersName1; } $lul = null;
+if($UsersID!="-1") {
+$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,$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic'])."#post".$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,$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic'])."#post".$ShowReply."\" title=\"".$oldtopicname."\">".$TopicName."</a>"; } }
+if($LastTopic==null) { $LastTopic="&nbsp;<br />&nbsp;"; }
+$ForumType = strtolower($ForumType);
+$PreForum = $ThemeSet['ForumIcon'];
+if ($ForumType=="forum") {
+       $PreForum=$ThemeSet['ForumIcon']; }
+if ($ForumType=="subforum") {
+       $PreForum=$ThemeSet['SubForumIcon']; }
+if ($ForumType=="redirect") {
+       $PreForum=$ThemeSet['RedirectIcon']; }
+?>
+<tr class="TableRow3" id="Forum<?php echo $ForumID; ?>">
+<td class="TableRow3"><div class="forumicon">
+<?php echo $PreForum; ?></div></td>
+<td class="TableRow3"><div class="forumname"><a href="<?php echo url_maker($exfile[$ForumType],$Settings['file_ext'],"act=view&id=".$ForumID,$Settings['qstr'],$Settings['qsep'],$prexqstr[$ForumType],$exqstr[$ForumType]); ?>"><?php echo $ForumName; ?></a></div>
+<div class="forumdescription"><?php echo $ForumDescription; ?></div></td>
+<td class="TableRow3" style="text-align: center;"><?php echo $NumTopics; ?></td>
+<td class="TableRow3" style="text-align: center;"><?php echo $NumPosts; ?></td>
+<td class="TableRow3"><?php echo $LastTopic; ?></td>
+</tr>
+<?php
+++$i; } @mysql_free_result($result);
+if($num>=1) {
+?>
+<tr id="SubCatEnd<?php echo $CategoryID; ?>" class="TableRow4">
+<td class="TableRow4" colspan="5">&nbsp;</td>
+</tr>
+</table></div>
+<div>&nbsp;</div>
+<?php } ++$prei; }
+@mysql_free_result($preresult);
+$CatCheck = "skip";
+if($SubShowForums!="yes") { 
+       $CategoryName = $SCategoryName; }
+if($SubShowForums!="no") {
+require($SettDir['inc'].'categories.php'); }
+?>
index 2f19ef9..7313e0a 100644 (file)
-<?php\r
-/*\r
-    This program is free software; you can redistribute it and/or modify\r
-    it under the terms of the Revised BSD License.\r
-\r
-    This program is distributed in the hope that it will be useful,\r
-    but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-    Revised BSD License for more details.\r
-\r
-    Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/\r
-    Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/\r
-\r
-    $FileInfo: subforums.php - Last Update: 05/26/2007 SVN 15 - Author: cooldude2k $\r
-*/\r
-$File3Name = basename($_SERVER['SCRIPT_NAME']);\r
-if ($File3Name=="subforums.php"||$File3Name=="/subforums.php") {\r
-       require('index.php');\r
-       exit(); }\r
-$checkquery = query("select * from ".$Settings['sqltable']."forums where ID=%s", array($_GET['id']));\r
-$checkresult=mysql_query($checkquery);\r
-$checknum=mysql_num_rows($checkresult);\r
-$checki=0;\r
-$ForumName=mysql_result($checkresult,$checki,"Name");\r
-$ForumType=mysql_result($checkresult,$checki,"ForumType");\r
-$CategoryID=mysql_result($checkresult,$checki,"CategoryID");\r
-$RedirectURL=mysql_result($checkresult,$checki,"RedirectURL");\r
-$RedirectTimes=mysql_result($checkresult,$checki,"Redirects");\r
-$CanHaveTopics=mysql_result($checkresult,$checki,"CanHaveTopics");\r
-$NumberViews=mysql_result($checkresult,$checki,"NumViews");\r
-$SForumName = $ForumName;\r
-$ForumType = strtolower($ForumType); $CanHaveTopics = strtolower($CanHaveTopics);\r
-if($CanHaveTopics!="yes"&&$ForumType!="redirect") {\r
-if($NumberViews==0||$NumberViews==null) { $NewNumberViews = 1; }\r
-if($NumberViews!=0&&$NumberViews!=null) { $NewNumberViews = $NumberViews + 1; }\r
-$viewup = query("update ".$Settings['sqltable']."forums set NumViews='%s' WHERE id=%i", array($NewNumberViews,$_GET['id']));\r
-mysql_query($viewup); }\r
-if($ForumType=="redirect") {\r
-if($RedirectTimes==0||$RedirectTimes==null) { $NewRedirTime = 1; }\r
-if($RedirectTimes!=0&&$RedirectTimes!=null) { $NewRedirTime = $RedirectTimes + 1; }\r
-$redirup = query("update ".$Settings['sqltable']."forums set Redirects='%s' WHERE id=%i", array($NewRedirTime,$_GET['id']));\r
-mysql_query($redirup);\r
-if($RedirectURL!="http://"&&$RedirectURL!="") {\r
-redirect("location",$RedirectURL,0,null,false); }\r
-if($RedirectURL=="http://"||$RedirectURL=="") {\r
-redirect("location",url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index'],false)); } }\r
-if($ForumType=="forum") {\r
-redirect("location",$basedir.url_maker($exfile['forum'],$Settings['file_ext'],"act=".$_GET['act']."&id=".$_GET['id'],$Settings['qstr'],$Settings['qsep'],$prexqstr['forum'],$exqstr['forum'],FALSE)); }\r
-@mysql_free_result($checkresult);\r
-$prequery = query("select * from ".$Settings['sqltable']."categories where ShowCategory='yes' and id=%i ORDER BY id", array($CategoryID));\r
-$preresult=mysql_query($prequery);\r
-$prenum=mysql_num_rows($preresult);\r
-$prei=0;\r
-while ($prei < $prenum) {\r
-$CategoryID=mysql_result($preresult,$prei,"id");\r
-$CategoryName=mysql_result($preresult,$prei,"Name");\r
-$CategoryShow=mysql_result($preresult,$prei,"ShowCategory");\r
-$CategoryDescription=mysql_result($preresult,$prei,"Description");\r
-$query = query("select * from ".$Settings['sqltable']."forums where (ShowForum='yes' and CategoryID=%i and InSubForum=%i) ORDER BY ID", array($CategoryID,$_GET['id']));\r
-$result=mysql_query($query);\r
-$num=mysql_num_rows($result);\r
-$i=0;\r
-?>\r
-<div class="Table1Border">\r
-<table class="Table1" id="Cat<?php echo $CategoryID; ?>">\r
-<tr class="TableRow1" id="CatStart<?php echo $CategoryID; ?>">\r
-<td class="TableRow1" colspan="5"><span style="float: left;">\r
-<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['category'],$Settings['file_ext'],"act=view&id=".$CategoryID,$Settings['qstr'],$Settings['qsep'],$prexqstr['category'],$exqstr['category']); ?>"><?php echo $CategoryName; ?></a></span>\r
-<?php echo "<span style=\"float: right;\">&nbsp;</span>"; ?></td>\r
-</tr>\r
-<tr id="ForumStatRow<?php echo $CategoryID; ?>" class="TableRow2">\r
-<th class="TableRow2" style="width: 4%;">&nbsp;</th>\r
-<th class="TableRow2" style="width: 58%;">Forum</th>\r
-<th class="TableRow2" style="width: 7%;">Topics</th>\r
-<th class="TableRow2" style="width: 7%;">Posts</th>\r
-<th class="TableRow2" style="width: 24%;">Last Topic</th>\r
-</tr>\r
-<?php\r
-while ($i < $num) {\r
-$ForumID=mysql_result($result,$i,"id");\r
-$ForumName=mysql_result($result,$i,"Name");\r
-$ForumShow=mysql_result($result,$i,"ShowForum");\r
-$ForumType=mysql_result($result,$i,"ForumType");\r
-$NumTopics=mysql_result($result,$i,"NumTopics");\r
-$NumPosts=mysql_result($result,$i,"NumPosts");\r
-$ForumDescription=mysql_result($result,$i,"Description");\r
-unset($LastTopic);\r
-$gltquery = query("select * from ".$Settings['sqltable']."topics where ForumID=%i ORDER BY LastUpdate DESC", array($ForumID));\r
-$gltresult=mysql_query($gltquery);\r
-$gltnum=mysql_num_rows($gltresult);\r
-if($gltnum>0){\r
-$TopicID=mysql_result($gltresult,0,"id");\r
-$TopicName=mysql_result($gltresult,0,"TopicName");\r
-$NumReplys=mysql_result($gltresult,0,"NumReply");\r
-$ShowReply = $NumReplys + 1;\r
-$TopicName1 = substr($TopicName,0,15);\r
-if (strlen($TopicName)>12) { $TopicName1 = $TopicName1."..."; }\r
-$UsersID=mysql_result($gltresult,0,"UserID");\r
-$GuestName=mysql_result($gltresult,0,"GuestName");\r
-$UsersName = GetUserName($UsersID,$Settings['sqltable']);\r
-$UsersName1 = substr($UsersName,0,18);\r
-if($UsersName=="Guest") { $UsersName=$GuestName;\r
-if($UsersName==null) { $UsersName="Guest"; } }\r
-if (strlen($UsersName)>15) { $UsersName1 = $UsersName1."...";\r
-$oldtopicname=$TopicName; $oldusername=$UsersName;\r
-$TopicName=$TopicName1; $UsersName=$UsersName1; }\r
-$LastTopic = "User: <a href=\"".url_maker($exfile['member'],$Settings['file_ext'],"act=view&id=".$UsersID,$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member'])."\" title=\"".$oldusername."\">".$UsersName."</a><br />\nTopic: <a href=\"".url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TopicID,$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic'])."#post".$ShowReply."\" title=\"".$oldtopicname."\">".$TopicName."</a>"; }\r
-@mysql_free_result($gltresult);\r
-$ForumType = strtolower($ForumType);\r
-$PreForum = $ThemeSet['ForumIcon'];\r
-if ($ForumType=="forum") {\r
-       $PreForum=$ThemeSet['ForumIcon']; }\r
-if ($ForumType=="subforum") {\r
-       $PreForum=$ThemeSet['SubForumIcon']; }\r
-if ($ForumType=="redirect") {\r
-       $PreForum=$ThemeSet['RedirectIcon']; }\r
-?>\r
-<tr class="TableRow3" id="SubForum<?php echo $ForumID; ?>">\r
-<td class="TableRow3"><div class="forumicon">\r
-<?php echo $PreForum; ?></div></td>\r
-<td class="TableRow3"><div class="forumname"><a href="<?php echo url_maker($exfile[$ForumType],$Settings['file_ext'],"act=view&id=".$ForumID,$Settings['qstr'],$Settings['qsep'],$prexqstr[$ForumType],$exqstr[$ForumType]); ?>"><?php echo $ForumName; ?></a></div>\r
-<div class="forumdescription"><?php echo $ForumDescription; ?></div></td>\r
-<td class="TableRow3" style="text-align: center;"><?php echo $NumTopics; ?></td>\r
-<td class="TableRow3" style="text-align: center;"><?php echo $NumPosts; ?></td>\r
-<td class="TableRow3"><?php echo $LastTopic; ?></td>\r
-</tr>\r
-<?php\r
-++$i; } @mysql_free_result($result);\r
-?>\r
-<tr id="CatEnd<?php echo $CategoryID; ?>" class="TableRow4">\r
-<td class="TableRow4" colspan="5">&nbsp;</td>\r
-</tr>\r
-</table></div>\r
-<div>&nbsp;</div>\r
-<?php\r
-++$prei; } @mysql_free_result($preresult);\r
-$ForumCheck = "skip";\r
-if($CanHaveTopics!="yes") { \r
-       $ForumName = $SForumName; }\r
-if($CanHaveTopics!="no") {\r
-require($SettDir['inc'].'topics.php'); }\r
-?>\r
+<?php
+/*
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the Revised BSD License.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    Revised BSD License for more details.
+
+    Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/
+
+    $FileInfo: subforums.php - Last Update: 06/04/2007 SVN 18 - Author: cooldude2k $
+*/
+$File3Name = basename($_SERVER['SCRIPT_NAME']);
+if ($File3Name=="subforums.php"||$File3Name=="/subforums.php") {
+       require('index.php');
+       exit(); }
+$checkquery = query("select * from ".$Settings['sqltable']."forums where ID=%s", array($_GET['id']));
+$checkresult=mysql_query($checkquery);
+$checknum=mysql_num_rows($checkresult);
+$checki=0;
+$ForumName=mysql_result($checkresult,$checki,"Name");
+$ForumType=mysql_result($checkresult,$checki,"ForumType");
+$CategoryID=mysql_result($checkresult,$checki,"CategoryID");
+$RedirectURL=mysql_result($checkresult,$checki,"RedirectURL");
+$RedirectTimes=mysql_result($checkresult,$checki,"Redirects");
+$CanHaveTopics=mysql_result($checkresult,$checki,"CanHaveTopics");
+$NumberViews=mysql_result($checkresult,$checki,"NumViews");
+$SForumName = $ForumName;
+$ForumType = strtolower($ForumType); $CanHaveTopics = strtolower($CanHaveTopics);
+if($CanHaveTopics!="yes"&&$ForumType!="redirect") {
+if($NumberViews==0||$NumberViews==null) { $NewNumberViews = 1; }
+if($NumberViews!=0&&$NumberViews!=null) { $NewNumberViews = $NumberViews + 1; }
+$viewup = query("update ".$Settings['sqltable']."forums set NumViews='%s' WHERE id=%i", array($NewNumberViews,$_GET['id']));
+mysql_query($viewup); }
+if($ForumType=="redirect") {
+if($RedirectTimes==0||$RedirectTimes==null) { $NewRedirTime = 1; }
+if($RedirectTimes!=0&&$RedirectTimes!=null) { $NewRedirTime = $RedirectTimes + 1; }
+$redirup = query("update ".$Settings['sqltable']."forums set Redirects='%s' WHERE id=%i", array($NewRedirTime,$_GET['id']));
+mysql_query($redirup);
+if($RedirectURL!="http://"&&$RedirectURL!="") {
+redirect("location",$RedirectURL,0,null,false); }
+if($RedirectURL=="http://"||$RedirectURL=="") {
+redirect("location",url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index'],false)); } }
+if($ForumType=="forum") {
+redirect("location",$basedir.url_maker($exfile['forum'],$Settings['file_ext'],"act=".$_GET['act']."&id=".$_GET['id'],$Settings['qstr'],$Settings['qsep'],$prexqstr['forum'],$exqstr['forum'],FALSE)); }
+@mysql_free_result($checkresult);
+$prequery = query("select * from ".$Settings['sqltable']."categories where ShowCategory='yes' and id=%i ORDER BY id", array($CategoryID));
+$preresult=mysql_query($prequery);
+$prenum=mysql_num_rows($preresult);
+$prei=0;
+while ($prei < $prenum) {
+$CategoryID=mysql_result($preresult,$prei,"id");
+$CategoryName=mysql_result($preresult,$prei,"Name");
+$CategoryShow=mysql_result($preresult,$prei,"ShowCategory");
+$CategoryDescription=mysql_result($preresult,$prei,"Description");
+$query = query("select * from ".$Settings['sqltable']."forums where (ShowForum='yes' and CategoryID=%i and InSubForum=%i) ORDER BY ID", array($CategoryID,$_GET['id']));
+$result=mysql_query($query);
+$num=mysql_num_rows($result);
+$i=0;
+?>
+<div class="Table1Border">
+<table class="Table1" id="Cat<?php echo $CategoryID; ?>">
+<tr class="TableRow1" id="CatStart<?php echo $CategoryID; ?>">
+<td class="TableRow1" colspan="5"><span style="float: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['category'],$Settings['file_ext'],"act=view&id=".$CategoryID,$Settings['qstr'],$Settings['qsep'],$prexqstr['category'],$exqstr['category']); ?>"><?php echo $CategoryName; ?></a></span>
+<?php echo "<span style=\"float: right;\">&nbsp;</span>"; ?></td>
+</tr>
+<tr id="ForumStatRow<?php echo $CategoryID; ?>" class="TableRow2">
+<th class="TableRow2" style="width: 4%;">&nbsp;</th>
+<th class="TableRow2" style="width: 58%;">Forum</th>
+<th class="TableRow2" style="width: 7%;">Topics</th>
+<th class="TableRow2" style="width: 7%;">Posts</th>
+<th class="TableRow2" style="width: 24%;">Last Topic</th>
+</tr>
+<?php
+while ($i < $num) {
+$ForumID=mysql_result($result,$i,"id");
+$ForumName=mysql_result($result,$i,"Name");
+$ForumShow=mysql_result($result,$i,"ShowForum");
+$ForumType=mysql_result($result,$i,"ForumType");
+$NumTopics=mysql_result($result,$i,"NumTopics");
+$NumPosts=mysql_result($result,$i,"NumPosts");
+$ForumDescription=mysql_result($result,$i,"Description");
+unset($LastTopic);
+$gltquery = query("select * from ".$Settings['sqltable']."topics where ForumID=%i ORDER BY LastUpdate DESC", array($ForumID));
+$gltresult=mysql_query($gltquery);
+$gltnum=mysql_num_rows($gltresult);
+if($gltnum>0){
+$TopicID=mysql_result($gltresult,0,"id");
+$TopicName=mysql_result($gltresult,0,"TopicName");
+$NumReplys=mysql_result($gltresult,0,"NumReply");
+$ShowReply = $NumReplys + 1;
+$TopicName1 = substr($TopicName,0,15);
+if (strlen($TopicName)>12) { $TopicName1 = $TopicName1."..."; }
+$UsersID=mysql_result($gltresult,0,"UserID");
+$GuestName=mysql_result($gltresult,0,"GuestName");
+$UsersName = GetUserName($UsersID,$Settings['sqltable']);
+$UsersName1 = substr($UsersName,0,18);
+if($UsersName=="Guest") { $UsersName=$GuestName;
+if($UsersName==null) { $UsersName="Guest"; } }
+if (strlen($UsersName)>15) { $UsersName1 = $UsersName1."...";
+$oldtopicname=$TopicName; $oldusername=$UsersName;
+$TopicName=$TopicName1; $UsersName=$UsersName1; }
+$LastTopic = "User: <a href=\"".url_maker($exfile['member'],$Settings['file_ext'],"act=view&id=".$UsersID,$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member'])."\" title=\"".$oldusername."\">".$UsersName."</a><br />\nTopic: <a href=\"".url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TopicID,$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic'])."#post".$ShowReply."\" title=\"".$oldtopicname."\">".$TopicName."</a>"; }
+@mysql_free_result($gltresult);
+$ForumType = strtolower($ForumType);
+$PreForum = $ThemeSet['ForumIcon'];
+if ($ForumType=="forum") {
+       $PreForum=$ThemeSet['ForumIcon']; }
+if ($ForumType=="subforum") {
+       $PreForum=$ThemeSet['SubForumIcon']; }
+if ($ForumType=="redirect") {
+       $PreForum=$ThemeSet['RedirectIcon']; }
+?>
+<tr class="TableRow3" id="SubForum<?php echo $ForumID; ?>">
+<td class="TableRow3"><div class="forumicon">
+<?php echo $PreForum; ?></div></td>
+<td class="TableRow3"><div class="forumname"><a href="<?php echo url_maker($exfile[$ForumType],$Settings['file_ext'],"act=view&id=".$ForumID,$Settings['qstr'],$Settings['qsep'],$prexqstr[$ForumType],$exqstr[$ForumType]); ?>"><?php echo $ForumName; ?></a></div>
+<div class="forumdescription"><?php echo $ForumDescription; ?></div></td>
+<td class="TableRow3" style="text-align: center;"><?php echo $NumTopics; ?></td>
+<td class="TableRow3" style="text-align: center;"><?php echo $NumPosts; ?></td>
+<td class="TableRow3"><?php echo $LastTopic; ?></td>
+</tr>
+<?php
+++$i; } @mysql_free_result($result);
+?>
+<tr id="CatEnd<?php echo $CategoryID; ?>" class="TableRow4">
+<td class="TableRow4" colspan="5">&nbsp;</td>
+</tr>
+</table></div>
+<div>&nbsp;</div>
+<?php
+++$prei; } @mysql_free_result($preresult);
+$ForumCheck = "skip";
+if($CanHaveTopics!="yes") { 
+       $ForumName = $SForumName; }
+if($CanHaveTopics!="no") {
+require($SettDir['inc'].'topics.php'); }
+?>
index 34c6e99..ae05b59 100644 (file)
-/*\r
-    This program is free software; you can redistribute it and/or modify\r
-    it under the terms of the Revised BSD License.\r
-\r
-    This program is distributed in the hope that it will be useful,\r
-    but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-    Revised BSD License for more details.\r
-\r
-    Copyright 2004-2006 Cool Dude 2k - http://intdb.sourceforge.net/\r
-    Copyright 2004-2006 Game Maker 2k - http://upload.idb.s1.jcink.com/\r
-    $ThemeInfo - Name: iDB Gray - Author: cooldude2k $\r
-    $FileInfo: css.css - Last Update: 05/28/2007 SVN 17 - Author: cooldude2k $\r
-*/\r
-html {\r
-       font-family: verdana, arial, sans-serif;\r
-       font-size: 11px;\r
-       width: 100%;\r
-       color: #FFFFFF;\r
-       background-color: #000000;\r
-}\r
-body {\r
-       font-family: verdana, arial, sans-serif;\r
-       font-size: 11px;\r
-       margin: 5px 30px 5px 30px; \r
-       color: #FFFFFF;\r
-       background-color: #000000;\r
-}\r
-a:link, a:visited, a:active { \r
-text-decoration: none; \r
-color: #404040; \r
-}\r
-a:hover { \r
-color: #606060;  \r
-text-decoration: none; \r
-}\r
-.NavBar2 a:link, .NavBar2 a:visited, .NavBar2 a:active, .NavBar2 a:hover { \r
-text-decoration: none; \r
-color: #000000;\r
-font-family: verdana, arial, sans-serif;\r
-font-size: 40px;\r
-}\r
-.copyright { \r
-text-align: center;\r
-font-family: Sans-Serif; \r
-font-size: 12px; \r
-line-height: 11px; \r
-color: #FFFFFF; \r
-}\r
-.copyright a:link, .copyright a:visited, .copyright a:active { \r
-color: #DFDFDF; \r
-text-decoration: none; \r
-}\r
-.copyright a:hover { \r
-color: #FDFDFD; \r
-text-decoration: none; \r
-}\r
-.noborder { \r
-border: 0px;\r
-}\r
-img {\r
-   border: 0px;\r
-   vertical-align: middle;\r
-   display: inline;\r
-}\r
-.NavBar1 { \r
-background-color: #B0B0B0; \r
-font-size: 11px;\r
-font-family: verdana, arial, sans-serif;\r
-color: #000000; \r
-width: 100%;\r
-border: 1px solid #606060;\r
-border-collapse: collapse; \r
-}\r
-.NavBar2 { \r
-background-color: #D8D8D8;\r
-font-size: 11px;\r
-text-align: center;\r
-border: 1px solid #606060;\r
-}\r
-.NavBar3 { \r
-background-color: #C8C8C8;\r
-font-size: 11px;\r
-text-align: left;\r
-border: 1px solid #606060;\r
-}\r
-.Table1 { \r
-background-color: #B0B0B0; \r
-font-size: 11px;\r
-font-family: verdana, arial, sans-serif;  \r
-color: #000000; \r
-width: 100%;\r
-border: 1px solid #606060;\r
-border-collapse: collapse; \r
-}\r
-.Table2 { \r
-background-color: #000000;\r
-font-size: 11px;\r
-font-family: verdana, arial, sans-serif;\r
-color: #000000;\r
-width: 100%;\r
-}\r
-.Table2 a:link, .Table2 a:visited, .Table2 a:active { \r
-text-decoration: none; \r
-color: #7675B4;\r
-}\r
-.Table2 a:hover { \r
-color: #9695C4; \r
-text-decoration: none; \r
-}\r
-.Table3 { \r
-font-size: 11px;\r
-font-family: verdana, arial, sans-serif;  \r
-color: #000000; \r
-width: 100%;\r
-}\r
-.TableRow1 { \r
-background-color: #D8D8D8; \r
-border: 1px solid #606060;\r
-}\r
-.TableRow2 { \r
-background-color: #C8C8C8; \r
-border: 1px solid #606060;\r
-}\r
-.TableRow3 { \r
-background-color: #B0B0B0; \r
-border: 1px solid #606060;\r
-}\r
-.TableRow4 { \r
-background-color: #D8D8D8; \r
-border: 1px solid #606060;\r
-}\r
-.CalTableRow1, .CalTableRow2 { \r
-background-color: #B0B0B0; \r
-border: 1px solid #606060;\r
-}\r
-.TextBox { \r
-background-color: #D8D8D8; \r
-font-size: 13px; \r
-font-family: Courier, Courier New, Verdana, Arial;   \r
-color: #000000; \r
-border: 1px solid #606060;\r
-border-collapse: collapse; \r
-}\r
-.HiddenTextBox {\r
-display: none;\r
-}\r
-.QuoteTop { \r
-font-family: Verdana, Tahoma, Arial, sans-serif;\r
-font-size: 10px; \r
-color: #A0A0A0; \r
-}\r
-.QuoteBottom { \r
-font-family: Courier, Courier New, Verdana, Arial, serif; \r
-font-size: 12px; \r
-color: #C0C0C0; \r
-background-color: #000000; \r
-border: 1px solid #000; \r
-border-color: #808080;\r
-padding-top: 2px; \r
-padding-right: 2px; \r
-padding-bottom: 2px; \r
-padding-left: 2px \r
-}\r
-.CodeTop  { \r
-font-family: Verdana, Tahoma, Arial, sans-serif; \r
-font-size: 10px; \r
-color: #A0A0A0; \r
-}\r
-.CodeBottom { \r
-font-family: Courier, Courier New, Verdana, Arial;  \r
-font-size: 12px; \r
-color: #C0C0C0; \r
-background-color: #000000; \r
-border: 1px solid #000; \r
-border-color: #808080;\r
-padding-top: 2px; \r
-padding-right: 2px; \r
-padding-bottom: 2px; \r
-padding-left: 2px \r
-}\r
-.CodeBox { \r
-width:500px; \r
-height:100px; \r
-white-space:pre; \r
-overflow:auto; \r
-border:3px outset #000000; \r
-font-family: Courier, Courier New, Verdana, Arial, serif; \r
-font-size: 15px; \r
-}\r
-.Button { \r
-background-color: #D8D8D8; \r
-font-size: 13px; \r
-font-family: Courier, Courier New, Verdana, Arial;   \r
-color: #000000; \r
-border: 1px solid #606060;\r
-border-collapse: collapse; \r
-}\r
-.TextBoxLabel, label {\r
-color: #000000;\r
-font-weight: bold; \r
-cursor: pointer;\r
-font-size: 10px;\r
-}\r
-.EditReply {\r
-color: #000000;\r
-font-size: 9px; \r
-}\r
-.TableMessage {\r
-color: #000000;\r
-font-weight: bold; \r
-font-size: 10px;\r
+/*
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the Revised BSD License.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    Revised BSD License for more details.
+
+    Copyright 2004-2006 Cool Dude 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2006 Game Maker 2k - http://upload.idb.s1.jcink.com/
+    $ThemeInfo - Name: iDB Gray - Author: cooldude2k $
+    $FileInfo: css.css - Last Update: 06/04/2007 SVN 18 - Author: cooldude2k $
+*/
+html {
+       font-family: verdana, arial, sans-serif;
+       font-size: 11px;
+       width: 100%;
+       color: #FFFFFF;
+       background-color: #000000;
+}
+body {
+       font-family: verdana, arial, sans-serif;
+       font-size: 11px;
+       margin: 5px 30px 5px 30px; 
+       color: #FFFFFF;
+       background-color: #000000;
+}
+a:link, a:visited, a:active { 
+text-decoration: none; 
+color: #404040; 
+}
+a:hover { 
+color: #606060;  
+text-decoration: none; 
+}
+.NavBar2 a:link, .NavBar2 a:visited, .NavBar2 a:active, .NavBar2 a:hover { 
+text-decoration: none; 
+color: #000000;
+font-family: verdana, arial, sans-serif;
+font-size: 40px;
+}
+.copyright { 
+text-align: center;
+font-family: Sans-Serif; 
+font-size: 12px; 
+line-height: 11px; 
+color: #FFFFFF; 
+}
+.copyright a:link, .copyright a:visited, .copyright a:active { 
+color: #DFDFDF; 
+text-decoration: none; 
+}
+.copyright a:hover { 
+color: #FDFDFD; 
+text-decoration: none; 
+}
+.noborder { 
+border: 0px;
+}
+img {
+   border: 0px;
+   vertical-align: middle;
+   display: inline;
+}
+.NavBar1 { 
+background-color: #B0B0B0; 
+font-size: 11px;
+font-family: verdana, arial, sans-serif;
+color: #000000; 
+width: 100%;
+border: 1px solid #606060;
+border-collapse: collapse; 
+}
+.NavBar2 { 
+background-color: #D8D8D8;
+font-size: 11px;
+text-align: center;
+border: 1px solid #606060;
+}
+.NavBar3 { 
+background-color: #C8C8C8;
+font-size: 11px;
+text-align: left;
+border: 1px solid #606060;
+}
+.Table1 { 
+background-color: #B0B0B0; 
+font-size: 11px;
+font-family: verdana, arial, sans-serif;  
+color: #000000; 
+width: 100%;
+border: 1px solid #606060;
+border-collapse: collapse; 
+}
+.Table2 { 
+background-color: #000000;
+font-size: 11px;
+font-family: verdana, arial, sans-serif;
+color: #000000;
+width: 100%;
+}
+.Table2 a:link, .Table2 a:visited, .Table2 a:active { 
+text-decoration: none; 
+color: #7675B4;
+}
+.Table2 a:hover { 
+color: #9695C4; 
+text-decoration: none; 
+}
+.Table3 { 
+font-size: 11px;
+font-family: verdana, arial, sans-serif;  
+color: #000000; 
+width: 100%;
+}
+.TableRow1 { 
+background-color: #D8D8D8; 
+border: 1px solid #606060;
+}
+.TableRow2 { 
+background-color: #C8C8C8; 
+border: 1px solid #606060;
+}
+.TableRow3 { 
+background-color: #B0B0B0; 
+border: 1px solid #606060;
+}
+.TableRow4 { 
+background-color: #D8D8D8; 
+border: 1px solid #606060;
+}
+.CalTableRow1, .CalTableRow2 { 
+background-color: #B0B0B0; 
+border: 1px solid #606060;
+}
+.TextBox { 
+background-color: #D8D8D8; 
+font-size: 13px; 
+font-family: Courier, Courier New, Verdana, Arial;   
+color: #000000; 
+border: 1px solid #606060;
+border-collapse: collapse; 
+}
+.HiddenTextBox {
+display: none;
+}
+.QuoteTop { 
+font-family: Verdana, Tahoma, Arial, sans-serif;
+font-size: 10px; 
+color: #A0A0A0; 
+}
+.QuoteBottom { 
+font-family: Courier, Courier New, Verdana, Arial, serif; 
+font-size: 12px; 
+color: #C0C0C0; 
+background-color: #000000; 
+border: 1px solid #000; 
+border-color: #808080;
+padding-top: 2px; 
+padding-right: 2px; 
+padding-bottom: 2px; 
+padding-left: 2px 
+}
+.CodeTop  { 
+font-family: Verdana, Tahoma, Arial, sans-serif; 
+font-size: 10px; 
+color: #A0A0A0; 
+}
+.CodeBottom { 
+font-family: Courier, Courier New, Verdana, Arial;  
+font-size: 12px; 
+color: #C0C0C0; 
+background-color: #000000; 
+border: 1px solid #000; 
+border-color: #808080;
+padding-top: 2px; 
+padding-right: 2px; 
+padding-bottom: 2px; 
+padding-left: 2px 
+}
+.CodeBox { 
+width:500px; 
+height:100px; 
+white-space:pre; 
+overflow:auto; 
+border:3px outset #000000; 
+font-family: Courier, Courier New, Verdana, Arial, serif; 
+font-size: 15px; 
+}
+.Button { 
+background-color: #D8D8D8; 
+font-size: 13px; 
+font-family: Courier, Courier New, Verdana, Arial;   
+color: #000000; 
+border: 1px solid #606060;
+border-collapse: collapse; 
+}
+.TextBoxLabel, label {
+color: #000000;
+font-weight: bold; 
+cursor: pointer;
+font-size: 10px;
+}
+.EditReply {
+color: #000000;
+font-size: 9px; 
+}
+.TableMessage {
+color: #000000;
+font-weight: bold; 
+font-size: 10px;
 }
\ No newline at end of file
index 09ee715..2afbe10 100644 (file)
@@ -1,24 +1,24 @@
-<?php\r
-/*\r
-    This program is free software; you can redistribute it and/or modify\r
-    it under the terms of the Revised BSD License.\r
-\r
-    This program is distributed in the hope that it will be useful,\r
-    but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-    Revised BSD License for more details.\r
-\r
-    Copyright 2004-2006 Cool Dude 2k - http://intdb.sourceforge.net/\r
-    Copyright 2004-2006 Game Maker 2k - http://upload.idb.s1.jcink.com/\r
-    $ThemeInfo - Name: iDB Gray - Author: cooldude2k $\r
-    $FileInfo: info.php - Last Update: 05/28/2007 SVN 17 - Author: cooldude2k $\r
-*/\r
-$ThemeInfo = array();\r
-$ThemeInfo['ThemeName'] = "iDB Gray Theme";\r
-$ThemeInfo['ThemeMaker'] = "Cool Dude 2k";\r
-$ThemeInfo['ThemeVersion'] = "0.1.5";\r
-$ThemeInfo['ThemeVersionType'] = "Pre-Alpha";\r
-$ThemeInfo['ThemeSubVersion'] = "SVN 17";\r
-$ThemeInfo['MakerURL'] = "http://upload.idb.s1.jcink.com/";\r
-$ThemeInfo['CopyRight'] = $ThemeInfo['ThemeName']." was made by <a href=\"".$ThemeInfo['MakerURL']."\" title=\"".$ThemeInfo['ThemeMaker']."\">".$ThemeInfo['ThemeMaker']."</a>";\r
+<?php
+/*
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the Revised BSD License.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    Revised BSD License for more details.
+
+    Copyright 2004-2006 Cool Dude 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2006 Game Maker 2k - http://upload.idb.s1.jcink.com/
+    $ThemeInfo - Name: iDB Gray - Author: cooldude2k $
+    $FileInfo: info.php - Last Update: 06/04/2007 SVN 18 - Author: cooldude2k $
+*/
+$ThemeInfo = array();
+$ThemeInfo['ThemeName'] = "iDB Gray Theme";
+$ThemeInfo['ThemeMaker'] = "Cool Dude 2k";
+$ThemeInfo['ThemeVersion'] = "0.1.5";
+$ThemeInfo['ThemeVersionType'] = "Pre-Alpha";
+$ThemeInfo['ThemeSubVersion'] = "SVN 17";
+$ThemeInfo['MakerURL'] = "http://upload.idb.s1.jcink.com/";
+$ThemeInfo['CopyRight'] = $ThemeInfo['ThemeName']." was made by <a href=\"".$ThemeInfo['MakerURL']."\" title=\"".$ThemeInfo['ThemeMaker']."\">".$ThemeInfo['ThemeMaker']."</a>";
 ?>
\ No newline at end of file
index cece4d8..356a0b5 100644 (file)
@@ -1,61 +1,61 @@
-<?php\r
-/*\r
-    This program is free software; you can redistribute it and/or modify\r
-    it under the terms of the Revised BSD License.\r
-\r
-    This program is distributed in the hope that it will be useful,\r
-    but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-    Revised BSD License for more details.\r
-\r
-    Copyright 2004-2006 Cool Dude 2k - http://intdb.sourceforge.net/\r
-    Copyright 2004-2006 Game Maker 2k - http://upload.idb.s1.jcink.com/\r
-    $ThemeInfo - Name: iDB Gray - Author: cooldude2k $\r
-    $FileInfo: settings.php - Last Update: 05/28/2007 SVN 17 - Author: cooldude2k $\r
-*/\r
-$ThemeSet = array();\r
-$ThemeSet['ThemeName'] = "iDB Gray Theme";\r
-$ThemeSet['ThemeMaker'] = "Cool Dude 2k";\r
-$ThemeSet['ThemeVersion'] = "0.1.5";\r
-$ThemeSet['ThemeVersionType'] = "Pre-Alpha";\r
-$ThemeSet['ThemeSubVersion'] = "SVN 17";\r
-$ThemeSet['MakerURL'] = "http://upload.idb.s1.jcink.com/";\r
-$ThemeSet['CopyRight'] = $ThemeSet['ThemeName']." was made by <a href=\"".$ThemeSet['MakerURL']."\" title=\"".$ThemeSet['ThemeMaker']."\">".$ThemeSet['ThemeMaker']."</a>";\r
-$ThemeSet['CSS'] = "themes/Gray/css.css";\r
-$ThemeSet['CSSType'] = "include";\r
-$ThemeSet['FavIcon'] = "themes/Gray/favicon.ico";\r
-$ThemeSet['PreLogo'] = "<div style=\"text-align: center;\">";\r
-$ThemeSet['Logo'] = $Settings['board_name'];\r
-$ThemeSet['LogoStyle'] = "font-size: 40px; font-family: verdana, arial, sans-serif; color: black;";\r
-$ThemeSet['SubLogo'] = "</div>";\r
-$ThemeSet['TopicIcon'] = "<div style=\"text-align: center; font-size: 11px;\" title=\"Topic!\">&nbsp;(T)&nbsp;</div>";\r
-$ThemeSet['HotTopic'] = "<div style=\"text-align: center; font-size: 11px; font-weight: bold;\" title=\"Hot Topic!\">&nbsp;(T)&nbsp;</div>";\r
-$ThemeSet['PinTopic'] = "<div style=\"text-align: center; font-size: 11px;\" title=\"Pinned Topic!\">&nbsp;{P}&nbsp;</div>";\r
-$ThemeSet['HotPinTopic'] = "<div style=\"text-align: center; font-size: 11px; font-weight: bold;\" title=\"Hot Pinned Topic!\">&nbsp;{P}&nbsp;</div>";\r
-$ThemeSet['ClosedTopic'] = "<div style=\"text-align: center; font-size: 11px; text-decoration: line-through;\" title=\"Closed Topic!\">&nbsp;[T]&nbsp;</div>";\r
-$ThemeSet['HotClosedTopic'] = "<div style=\"text-align: center; font-size: 11px; text-decoration: line-through; font-weight: bold;\" title=\"Hot Closed Topic!\">&nbsp;[T]&nbsp;</div>";\r
-$ThemeSet['PinClosedTopic'] = "<div style=\"text-align: center; font-size: 11px; text-decoration: line-through;\" title=\"Closed Pinned Topic!\">&nbsp;[P]&nbsp;</div>";\r
-$ThemeSet['HotPinClosedTopic'] = "<div style=\"text-align: center; font-size: 11px; text-decoration: line-through; font-weight: bold;\" title=\"Hot Closed Pinned Topic!\">&nbsp;[P]&nbsp;</div>";\r
-$ThemeSet['MessageRead'] = "<div style=\"text-align: center; font-size: 11px;\" title=\"Message!\">&nbsp;[M]&nbsp;</div>";\r
-$ThemeSet['MessageUnread'] = "<div style=\"text-align: center; font-size: 11px; font-weight: bold;\" title=\"New Message!\">&nbsp;(M)&nbsp;</div>";\r
-$ThemeSet['Profile'] = "Profile";\r
-$ThemeSet['WWW'] = "WWW";\r
-$ThemeSet['PM'] = "PM";\r
-$ThemeSet['TopicLayout'] = "Type 1";\r
-$ThemeSet['AddReply'] = "<span style=\"color: white; font-size: 25px;\" title=\"Add Reply\">Add Reply</span>";\r
-$ThemeSet['FastReply'] = "<span style=\"color: white; font-size: 25px;\" title=\"Fast Reply\">Fast Reply</span>";\r
-$ThemeSet['NewTopic'] = "<span style=\"color: white; font-size: 25px;\" title=\"New Topic\">New Topic</span>";\r
-$ThemeSet['QuoteReply'] = "Quote Reply";\r
-$ThemeSet['Report'] = "Report";\r
-$ThemeSet['LineDivider'] = "&nbsp;|&nbsp;";\r
-$ThemeSet['ButtonDivider'] = "&nbsp;&nbsp;&nbsp;";\r
-$ThemeSet['LineDividerTopic'] = "&nbsp;|&nbsp;";\r
-$ThemeSet['TitleDivider'] = "-&gt;";\r
-$ThemeSet['ForumIcon'] = "<div style=\"text-align: center; font-size: 11px;\" title=\"Forum\">&nbsp;(F)&nbsp;</div>";\r
-$ThemeSet['SubForumIcon'] = "<div style=\"text-align: center; font-size: 11px;\" title=\"SubForum\">&nbsp;{SF}&nbsp;</div>";\r
-$ThemeSet['RedirectIcon'] = "<div style=\"text-align: center; font-size: 11px;\" title=\"Redirect Forum\">&nbsp;[RF]&nbsp;</div>";\r
-$ThemeSet['TitleIcon'] = null;\r
-$ThemeSet['StatsIcon'] = "<div style=\"text-align: center; font-size: 11px;\" title=\"Board Stats\"><br />(S)<br /></div>";\r
-$ThemeSet['NoAvatar'] = "themes/Gray/noavatar.png";\r
-$ThemeSet['NoAvatarSize'] = "100x100";\r
+<?php
+/*
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the Revised BSD License.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    Revised BSD License for more details.
+
+    Copyright 2004-2006 Cool Dude 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2006 Game Maker 2k - http://upload.idb.s1.jcink.com/
+    $ThemeInfo - Name: iDB Gray - Author: cooldude2k $
+    $FileInfo: settings.php - Last Update: 06/04/2007 SVN 18 - Author: cooldude2k $
+*/
+$ThemeSet = array();
+$ThemeSet['ThemeName'] = "iDB Gray Theme";
+$ThemeSet['ThemeMaker'] = "Cool Dude 2k";
+$ThemeSet['ThemeVersion'] = "0.1.5";
+$ThemeSet['ThemeVersionType'] = "Pre-Alpha";
+$ThemeSet['ThemeSubVersion'] = "SVN 17";
+$ThemeSet['MakerURL'] = "http://upload.idb.s1.jcink.com/";
+$ThemeSet['CopyRight'] = $ThemeSet['ThemeName']." was made by <a href=\"".$ThemeSet['MakerURL']."\" title=\"".$ThemeSet['ThemeMaker']."\">".$ThemeSet['ThemeMaker']."</a>";
+$ThemeSet['CSS'] = "themes/Gray/css.css";
+$ThemeSet['CSSType'] = "include";
+$ThemeSet['FavIcon'] = "themes/Gray/favicon.ico";
+$ThemeSet['PreLogo'] = "<div style=\"text-align: center;\">";
+$ThemeSet['Logo'] = $Settings['board_name'];
+$ThemeSet['LogoStyle'] = "font-size: 40px; font-family: verdana, arial, sans-serif; color: black;";
+$ThemeSet['SubLogo'] = "</div>";
+$ThemeSet['TopicIcon'] = "<div style=\"text-align: center; font-size: 11px;\" title=\"Topic!\">&nbsp;(T)&nbsp;</div>";
+$ThemeSet['HotTopic'] = "<div style=\"text-align: center; font-size: 11px; font-weight: bold;\" title=\"Hot Topic!\">&nbsp;(T)&nbsp;</div>";
+$ThemeSet['PinTopic'] = "<div style=\"text-align: center; font-size: 11px;\" title=\"Pinned Topic!\">&nbsp;{P}&nbsp;</div>";
+$ThemeSet['HotPinTopic'] = "<div style=\"text-align: center; font-size: 11px; font-weight: bold;\" title=\"Hot Pinned Topic!\">&nbsp;{P}&nbsp;</div>";
+$ThemeSet['ClosedTopic'] = "<div style=\"text-align: center; font-size: 11px; text-decoration: line-through;\" title=\"Closed Topic!\">&nbsp;[T]&nbsp;</div>";
+$ThemeSet['HotClosedTopic'] = "<div style=\"text-align: center; font-size: 11px; text-decoration: line-through; font-weight: bold;\" title=\"Hot Closed Topic!\">&nbsp;[T]&nbsp;</div>";
+$ThemeSet['PinClosedTopic'] = "<div style=\"text-align: center; font-size: 11px; text-decoration: line-through;\" title=\"Closed Pinned Topic!\">&nbsp;[P]&nbsp;</div>";
+$ThemeSet['HotPinClosedTopic'] = "<div style=\"text-align: center; font-size: 11px; text-decoration: line-through; font-weight: bold;\" title=\"Hot Closed Pinned Topic!\">&nbsp;[P]&nbsp;</div>";
+$ThemeSet['MessageRead'] = "<div style=\"text-align: center; font-size: 11px;\" title=\"Message!\">&nbsp;[M]&nbsp;</div>";
+$ThemeSet['MessageUnread'] = "<div style=\"text-align: center; font-size: 11px; font-weight: bold;\" title=\"New Message!\">&nbsp;(M)&nbsp;</div>";
+$ThemeSet['Profile'] = "Profile";
+$ThemeSet['WWW'] = "WWW";
+$ThemeSet['PM'] = "PM";
+$ThemeSet['TopicLayout'] = "Type 1";
+$ThemeSet['AddReply'] = "<span style=\"color: white; font-size: 25px;\" title=\"Add Reply\">Add Reply</span>";
+$ThemeSet['FastReply'] = "<span style=\"color: white; font-size: 25px;\" title=\"Fast Reply\">Fast Reply</span>";
+$ThemeSet['NewTopic'] = "<span style=\"color: white; font-size: 25px;\" title=\"New Topic\">New Topic</span>";
+$ThemeSet['QuoteReply'] = "Quote Reply";
+$ThemeSet['Report'] = "Report";
+$ThemeSet['LineDivider'] = "&nbsp;|&nbsp;";
+$ThemeSet['ButtonDivider'] = "&nbsp;&nbsp;&nbsp;";
+$ThemeSet['LineDividerTopic'] = "&nbsp;|&nbsp;";
+$ThemeSet['TitleDivider'] = "-&gt;";
+$ThemeSet['ForumIcon'] = "<div style=\"text-align: center; font-size: 11px;\" title=\"Forum\">&nbsp;(F)&nbsp;</div>";
+$ThemeSet['SubForumIcon'] = "<div style=\"text-align: center; font-size: 11px;\" title=\"SubForum\">&nbsp;{SF}&nbsp;</div>";
+$ThemeSet['RedirectIcon'] = "<div style=\"text-align: center; font-size: 11px;\" title=\"Redirect Forum\">&nbsp;[RF]&nbsp;</div>";
+$ThemeSet['TitleIcon'] = null;
+$ThemeSet['StatsIcon'] = "<div style=\"text-align: center; font-size: 11px;\" title=\"Board Stats\"><br />(S)<br /></div>";
+$ThemeSet['NoAvatar'] = "themes/Gray/noavatar.png";
+$ThemeSet['NoAvatarSize'] = "100x100";
 ?>
\ No newline at end of file
index 42d777c..d0d08bb 100644 (file)
-/*\r
-    This program is free software; you can redistribute it and/or modify\r
-    it under the terms of the Revised BSD License.\r
-\r
-    This program is distributed in the hope that it will be useful,\r
-    but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-    Revised BSD License for more details.\r
-\r
-    Copyright 2004-2006 Cool Dude 2k - http://intdb.sourceforge.net/\r
-    Copyright 2004-2006 Game Maker 2k - http://upload.idb.s1.jcink.com/\r
-    $ThemeInfo - Name: iDB Theme - Author: cooldude2k $\r
-    $FileInfo: css.css - Last Update: 05/28/2007 SVN 17 - Author: cooldude2k $\r
-*/\r
-html {\r
-       font-family: verdana, arial, sans-serif;\r
-       font-size: 11px;\r
-       width: 100%;\r
-       color: #FFFFFF;\r
-       background-color: #000000;\r
-}\r
-body {\r
-       font-family: verdana, arial, sans-serif;\r
-       font-size: 11px;\r
-       margin: 5px 30px 5px 30px; \r
-       color: #FFFFFF;\r
-       background-color: #000000;\r
-}\r
-a:link, a:visited, a:active { \r
-text-decoration: none; \r
-color: #465584; \r
-}\r
-a:hover { \r
-color: #6665A4; \r
-text-decoration: none; \r
-}\r
-.NavBar2 a:link, .NavBar2 a:visited, .NavBar2 a:active, .NavBar2 a:hover { \r
-text-decoration: none; \r
-color: #000000;\r
-font-family: verdana, arial, sans-serif;\r
-font-size: 40px;\r
-}\r
-.copyright { \r
-text-align: center;\r
-font-family: Sans-Serif; \r
-font-size: 12px; \r
-line-height: 11px; \r
-color: #FFFFFF; \r
-}\r
-.copyright a:link, .copyright a:visited, .copyright a:active { \r
-color: #DFDFDF; \r
-text-decoration: none; \r
-}\r
-.copyright a:hover { \r
-color: #FDFDFD; \r
-text-decoration: none; \r
-}\r
-.noborder { \r
-border: 0px;\r
-}\r
-img {\r
-   border: 0px;\r
-   vertical-align: middle;\r
-   display: inline;\r
-}\r
-.NavBar1 { \r
-background-color: #a7b1bd; \r
-font-size: 11px;\r
-font-family: verdana, arial, sans-serif;\r
-color: #000000; \r
-width: 100%;\r
-border: 1px solid #506070;\r
-border-collapse: collapse; \r
-}\r
-.NavBar2 { \r
-background-color: #c7d1dd;\r
-font-size: 11px;\r
-text-align: center;\r
-border: 1px solid #506070;\r
-}\r
-.NavBar3 { \r
-background-color: #d7e1ed;\r
-font-size: 11px;\r
-text-align: left;\r
-border: 1px solid #506070;\r
-}\r
-.Table1 { \r
-background-color: #a7b1bd; \r
-font-size: 11px;\r
-font-family: verdana, arial, sans-serif;  \r
-color: #000000; \r
-width: 100%;\r
-border: 1px solid #506070;\r
-border-collapse: collapse; \r
-}\r
-.Table2 { \r
-background-color: #000000;\r
-font-size: 11px;\r
-font-family: verdana, arial, sans-serif;\r
-color: #000000;\r
-width: 100%;\r
-}\r
-.Table2 a:link, .Table2 a:visited, .Table2 a:active { \r
-text-decoration: none; \r
-color: #7675B4;\r
-}\r
-.Table2 a:hover { \r
-color: #9695C4; \r
-text-decoration: none; \r
-}\r
-.Table3 { \r
-font-size: 11px;\r
-font-family: verdana, arial, sans-serif;  \r
-color: #000000; \r
-width: 100%;\r
-}\r
-.TableRow1 { \r
-background-color: #c7d1dd; \r
-background-image: url(grad.png);\r
-border: 1px solid #506070;\r
-}\r
-.TableRow2 { \r
-background-color: #d7e1ed; \r
-border: 1px solid #506070;\r
-}\r
-.TableRow3 { \r
-background-color: #a7b1bd; \r
-border: 1px solid #506070;\r
-}\r
-.TableRow4 { \r
-background-color: #c7d1dd; \r
-border: 1px solid #506070;\r
-}\r
-.CalTableRow1, .CalTableRow2 { \r
-background-color: #a7b1bd; \r
-border: 1px solid #506070;\r
-}\r
-.TextBox { \r
-background-color: #c7d1dd; \r
-font-size: 13px; \r
-font-family: Courier, Courier New, Verdana, Arial;   \r
-color: #000000; \r
-border: 1px solid #506070;\r
-border-collapse: collapse; \r
-}\r
-.HiddenTextBox {\r
-display: none;\r
-}\r
-.QuoteTop { \r
-font-family: Verdana, Tahoma, Arial, sans-serif;\r
-font-size: 10px; \r
-color: #A0A0A0; \r
-}\r
-.QuoteBottom { \r
-font-family: Courier, Courier New, Verdana, Arial, serif; \r
-font-size: 12px; \r
-color: #C0C0C0; \r
-background-color: #000000; \r
-border: 1px solid #000; \r
-border-color: #808080;\r
-padding-top: 2px; \r
-padding-right: 2px; \r
-padding-bottom: 2px; \r
-padding-left: 2px \r
-}\r
-.CodeTop  { \r
-font-family: Verdana, Tahoma, Arial, sans-serif; \r
-font-size: 10px; \r
-color: #A0A0A0; \r
-}\r
-.CodeBottom { \r
-font-family: Courier, Courier New, Verdana, Arial;  \r
-font-size: 12px; \r
-color: #C0C0C0; \r
-background-color: #000000; \r
-border: 1px solid #000; \r
-border-color: #808080;\r
-padding-top: 2px; \r
-padding-right: 2px; \r
-padding-bottom: 2px; \r
-padding-left: 2px \r
-}\r
-.CodeBox { \r
-width:500px; \r
-height:100px; \r
-white-space:pre; \r
-overflow:auto; \r
-border:3px outset #000000; \r
-font-family: Courier, Courier New, Verdana, Arial, serif; \r
-font-size: 15px; \r
-}\r
-.Button { \r
-background-color: #c7d1dd; \r
-font-size: 13px; \r
-font-family: Courier, Courier New, Verdana, Arial;   \r
-color: #000000; \r
-border: 1px solid #506070;\r
-border-collapse: collapse; \r
-}\r
-.TextBoxLabel, label {\r
-color: #000000;\r
-font-weight: bold; \r
-cursor: pointer;\r
-font-size: 10px;\r
-}\r
-.EditReply {\r
-color: #000000;\r
-font-size: 9px; \r
-}\r
-.TableMessage {\r
-color: #000000;\r
-font-weight: bold; \r
-font-size: 10px;\r
+/*
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the Revised BSD License.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    Revised BSD License for more details.
+
+    Copyright 2004-2006 Cool Dude 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2006 Game Maker 2k - http://upload.idb.s1.jcink.com/
+    $ThemeInfo - Name: iDB Theme - Author: cooldude2k $
+    $FileInfo: css.css - Last Update: 06/04/2007 SVN 18 - Author: cooldude2k $
+*/
+html {
+       font-family: verdana, arial, sans-serif;
+       font-size: 11px;
+       width: 100%;
+       color: #FFFFFF;
+       background-color: #000000;
+}
+body {
+       font-family: verdana, arial, sans-serif;
+       font-size: 11px;
+       margin: 5px 30px 5px 30px; 
+       color: #FFFFFF;
+       background-color: #000000;
+}
+a:link, a:visited, a:active { 
+text-decoration: none; 
+color: #465584; 
+}
+a:hover { 
+color: #6665A4; 
+text-decoration: none; 
+}
+.NavBar2 a:link, .NavBar2 a:visited, .NavBar2 a:active, .NavBar2 a:hover { 
+text-decoration: none; 
+color: #000000;
+font-family: verdana, arial, sans-serif;
+font-size: 40px;
+}
+.copyright { 
+text-align: center;
+font-family: Sans-Serif; 
+font-size: 12px; 
+line-height: 11px; 
+color: #FFFFFF; 
+}
+.copyright a:link, .copyright a:visited, .copyright a:active { 
+color: #DFDFDF; 
+text-decoration: none; 
+}
+.copyright a:hover { 
+color: #FDFDFD; 
+text-decoration: none; 
+}
+.noborder { 
+border: 0px;
+}
+img {
+   border: 0px;
+   vertical-align: middle;
+   display: inline;
+}
+.NavBar1 { 
+background-color: #a7b1bd; 
+font-size: 11px;
+font-family: verdana, arial, sans-serif;
+color: #000000; 
+width: 100%;
+border: 1px solid #506070;
+border-collapse: collapse; 
+}
+.NavBar2 { 
+background-color: #c7d1dd;
+font-size: 11px;
+text-align: center;
+border: 1px solid #506070;
+}
+.NavBar3 { 
+background-color: #d7e1ed;
+font-size: 11px;
+text-align: left;
+border: 1px solid #506070;
+}
+.Table1 { 
+background-color: #a7b1bd; 
+font-size: 11px;
+font-family: verdana, arial, sans-serif;  
+color: #000000; 
+width: 100%;
+border: 1px solid #506070;
+border-collapse: collapse; 
+}
+.Table2 { 
+background-color: #000000;
+font-size: 11px;
+font-family: verdana, arial, sans-serif;
+color: #000000;
+width: 100%;
+}
+.Table2 a:link, .Table2 a:visited, .Table2 a:active { 
+text-decoration: none; 
+color: #7675B4;
+}
+.Table2 a:hover { 
+color: #9695C4; 
+text-decoration: none; 
+}
+.Table3 { 
+font-size: 11px;
+font-family: verdana, arial, sans-serif;  
+color: #000000; 
+width: 100%;
+}
+.TableRow1 { 
+background-color: #c7d1dd; 
+background-image: url(grad.png);
+border: 1px solid #506070;
+}
+.TableRow2 { 
+background-color: #d7e1ed; 
+border: 1px solid #506070;
+}
+.TableRow3 { 
+background-color: #a7b1bd; 
+border: 1px solid #506070;
+}
+.TableRow4 { 
+background-color: #c7d1dd; 
+border: 1px solid #506070;
+}
+.CalTableRow1, .CalTableRow2 { 
+background-color: #a7b1bd; 
+border: 1px solid #506070;
+}
+.TextBox { 
+background-color: #c7d1dd; 
+font-size: 13px; 
+font-family: Courier, Courier New, Verdana, Arial;   
+color: #000000; 
+border: 1px solid #506070;
+border-collapse: collapse; 
+}
+.HiddenTextBox {
+display: none;
+}
+.QuoteTop { 
+font-family: Verdana, Tahoma, Arial, sans-serif;
+font-size: 10px; 
+color: #A0A0A0; 
+}
+.QuoteBottom { 
+font-family: Courier, Courier New, Verdana, Arial, serif; 
+font-size: 12px; 
+color: #C0C0C0; 
+background-color: #000000; 
+border: 1px solid #000; 
+border-color: #808080;
+padding-top: 2px; 
+padding-right: 2px; 
+padding-bottom: 2px; 
+padding-left: 2px 
+}
+.CodeTop  { 
+font-family: Verdana, Tahoma, Arial, sans-serif; 
+font-size: 10px; 
+color: #A0A0A0; 
+}
+.CodeBottom { 
+font-family: Courier, Courier New, Verdana, Arial;  
+font-size: 12px; 
+color: #C0C0C0; 
+background-color: #000000; 
+border: 1px solid #000; 
+border-color: #808080;
+padding-top: 2px; 
+padding-right: 2px; 
+padding-bottom: 2px; 
+padding-left: 2px 
+}
+.CodeBox { 
+width:500px; 
+height:100px; 
+white-space:pre; 
+overflow:auto; 
+border:3px outset #000000; 
+font-family: Courier, Courier New, Verdana, Arial, serif; 
+font-size: 15px; 
+}
+.Button { 
+background-color: #c7d1dd; 
+font-size: 13px; 
+font-family: Courier, Courier New, Verdana, Arial;   
+color: #000000; 
+border: 1px solid #506070;
+border-collapse: collapse; 
+}
+.TextBoxLabel, label {
+color: #000000;
+font-weight: bold; 
+cursor: pointer;
+font-size: 10px;
+}
+.EditReply {
+color: #000000;
+font-size: 9px; 
+}
+.TableMessage {
+color: #000000;
+font-weight: bold; 
+font-size: 10px;
 }
\ No newline at end of file
index e06c339..ef53dd1 100644 (file)
@@ -1,24 +1,24 @@
-<?php\r
-/*\r
-    This program is free software; you can redistribute it and/or modify\r
-    it under the terms of the Revised BSD License.\r
-\r
-    This program is distributed in the hope that it will be useful,\r
-    but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-    Revised BSD License for more details.\r
-\r
-    Copyright 2004-2006 Cool Dude 2k - http://intdb.sourceforge.net/\r
-    Copyright 2004-2006 Game Maker 2k - http://upload.idb.s1.jcink.com/\r
-    $ThemeInfo - Name: iDB Theme - Author: cooldude2k $\r
-    $FileInfo: info.php - Last Update: 05/28/2007 SVN 17 - Author: cooldude2k $\r
-*/\r
-$ThemeInfo = array();\r
-$ThemeInfo['ThemeName'] = "iDB Theme";\r
-$ThemeInfo['ThemeMaker'] = "Cool Dude 2k";\r
-$ThemeInfo['ThemeVersion'] = "0.1.5";\r
-$ThemeInfo['ThemeVersionType'] = "Pre-Alpha";\r
-$ThemeInfo['ThemeSubVersion'] = "SVN 17";\r
-$ThemeInfo['MakerURL'] = "http://upload.idb.s1.jcink.com/";\r
-$ThemeInfo['CopyRight'] = $ThemeInfo['ThemeName']." was made by <a href=\"".$ThemeInfo['MakerURL']."\" title=\"".$ThemeInfo['ThemeMaker']."\">".$ThemeInfo['ThemeMaker']."</a>";\r
+<?php
+/*
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the Revised BSD License.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    Revised BSD License for more details.
+
+    Copyright 2004-2006 Cool Dude 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2006 Game Maker 2k - http://upload.idb.s1.jcink.com/
+    $ThemeInfo - Name: iDB Theme - Author: cooldude2k $
+    $FileInfo: info.php - Last Update: 06/04/2007 SVN 18 - Author: cooldude2k $
+*/
+$ThemeInfo = array();
+$ThemeInfo['ThemeName'] = "iDB Theme";
+$ThemeInfo['ThemeMaker'] = "Cool Dude 2k";
+$ThemeInfo['ThemeVersion'] = "0.1.5";
+$ThemeInfo['ThemeVersionType'] = "Pre-Alpha";
+$ThemeInfo['ThemeSubVersion'] = "SVN 17";
+$ThemeInfo['MakerURL'] = "http://upload.idb.s1.jcink.com/";
+$ThemeInfo['CopyRight'] = $ThemeInfo['ThemeName']." was made by <a href=\"".$ThemeInfo['MakerURL']."\" title=\"".$ThemeInfo['ThemeMaker']."\">".$ThemeInfo['ThemeMaker']."</a>";
 ?>
\ No newline at end of file
index 5abc2f1..c1cd157 100644 (file)
@@ -1,61 +1,61 @@
-<?php\r
-/*\r
-    This program is free software; you can redistribute it and/or modify\r
-    it under the terms of the Revised BSD License.\r
-\r
-    This program is distributed in the hope that it will be useful,\r
-    but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-    Revised BSD License for more details.\r
-\r
-    Copyright 2004-2006 Cool Dude 2k - http://intdb.sourceforge.net/\r
-    Copyright 2004-2006 Game Maker 2k - http://upload.idb.s1.jcink.com/\r
-    $ThemeInfo - Name: iDB Theme - Author: cooldude2k $\r
-    $FileInfo: settings.php - Last Update: 05/28/2007 SVN 17 - Author: cooldude2k $\r
-*/\r
-$ThemeSet = array();\r
-$ThemeSet['ThemeName'] = "iDB Theme";\r
-$ThemeSet['ThemeMaker'] = "Cool Dude 2k";\r
-$ThemeSet['ThemeVersion'] = "0.1.5";\r
-$ThemeSet['ThemeVersionType'] = "Pre-Alpha";\r
-$ThemeSet['ThemeSubVersion'] = "SVN 17";\r
-$ThemeSet['MakerURL'] = "http://upload.idb.s1.jcink.com/";\r
-$ThemeSet['CopyRight'] = $ThemeSet['ThemeName']." was made by <a href=\"".$ThemeSet['MakerURL']."\" title=\"".$ThemeSet['ThemeMaker']."\">".$ThemeSet['ThemeMaker']."</a>";\r
-$ThemeSet['CSS'] = "themes/iDB/css.css";\r
-$ThemeSet['CSSType'] = "include";\r
-$ThemeSet['FavIcon'] = "themes/iDB/favicon.ico";\r
-$ThemeSet['PreLogo'] = "<div style=\"text-align: center;\">";\r
-$ThemeSet['Logo'] = $Settings['board_name'];\r
-$ThemeSet['LogoStyle'] = "font-size: 40px; font-family: verdana, arial, sans-serif; color: black;";\r
-$ThemeSet['SubLogo'] = "</div>";\r
-$ThemeSet['TopicIcon'] = "<div style=\"text-align: center; font-size: 11px;\" title=\"Topic!\">&nbsp;(T)&nbsp;</div>";\r
-$ThemeSet['HotTopic'] = "<div style=\"text-align: center; font-size: 11px; font-weight: bold;\" title=\"Hot Topic!\">&nbsp;(T)&nbsp;</div>";\r
-$ThemeSet['PinTopic'] = "<div style=\"text-align: center; font-size: 11px;\" title=\"Pinned Topic!\">&nbsp;{P}&nbsp;</div>";\r
-$ThemeSet['HotPinTopic'] = "<div style=\"text-align: center; font-size: 11px; font-weight: bold;\" title=\"Hot Pinned Topic!\">&nbsp;{P}&nbsp;</div>";\r
-$ThemeSet['ClosedTopic'] = "<div style=\"text-align: center; font-size: 11px; text-decoration: line-through;\" title=\"Closed Topic!\">&nbsp;[T]&nbsp;</div>";\r
-$ThemeSet['HotClosedTopic'] = "<div style=\"text-align: center; font-size: 11px; text-decoration: line-through; font-weight: bold;\" title=\"Hot Closed Topic!\">&nbsp;[T]&nbsp;</div>";\r
-$ThemeSet['PinClosedTopic'] = "<div style=\"text-align: center; font-size: 11px; text-decoration: line-through;\" title=\"Closed Pinned Topic!\">&nbsp;[P]&nbsp;</div>";\r
-$ThemeSet['HotPinClosedTopic'] = "<div style=\"text-align: center; font-size: 11px; text-decoration: line-through; font-weight: bold;\" title=\"Hot Closed Pinned Topic!\">&nbsp;[P]&nbsp;</div>";\r
-$ThemeSet['MessageRead'] = "<div style=\"text-align: center; font-size: 11px;\" title=\"Message!\">&nbsp;[M]&nbsp;</div>";\r
-$ThemeSet['MessageUnread'] = "<div style=\"text-align: center; font-size: 11px; font-weight: bold;\" title=\"New Message!\">&nbsp;(M)&nbsp;</div>";\r
-$ThemeSet['Profile'] = "Profile";\r
-$ThemeSet['WWW'] = "WWW";\r
-$ThemeSet['PM'] = "PM";\r
-$ThemeSet['TopicLayout'] = "Type 1";\r
-$ThemeSet['AddReply'] = "<span style=\"color: white; font-size: 25px;\" title=\"Add Reply\">Add Reply</span>";\r
-$ThemeSet['FastReply'] = "<span style=\"color: white; font-size: 25px;\" title=\"Fast Reply\">Fast Reply</span>";\r
-$ThemeSet['NewTopic'] = "<span style=\"color: white; font-size: 25px;\" title=\"New Topic\">New Topic</span>";\r
-$ThemeSet['QuoteReply'] = "Quote Reply";\r
-$ThemeSet['Report'] = "Report";\r
-$ThemeSet['LineDivider'] = "&nbsp;|&nbsp;";\r
-$ThemeSet['ButtonDivider'] = "&nbsp;&nbsp;&nbsp;";\r
-$ThemeSet['LineDividerTopic'] = "&nbsp;|&nbsp;";\r
-$ThemeSet['TitleDivider'] = "-&gt;";\r
-$ThemeSet['ForumIcon'] = "<div style=\"text-align: center; font-size: 11px;\" title=\"Forum\">&nbsp;(F)&nbsp;</div>";\r
-$ThemeSet['SubForumIcon'] = "<div style=\"text-align: center; font-size: 11px;\" title=\"SubForum\">&nbsp;{SF}&nbsp;</div>";\r
-$ThemeSet['RedirectIcon'] = "<div style=\"text-align: center; font-size: 11px;\" title=\"Redirect Forum\">&nbsp;[RF]&nbsp;</div>";\r
-$ThemeSet['TitleIcon'] = null;\r
-$ThemeSet['StatsIcon'] = "<div style=\"text-align: center; font-size: 11px;\" title=\"Board Stats\"><br />(S)<br /></div>";\r
-$ThemeSet['NoAvatar'] = "themes/iDB/noavatar.png";\r
-$ThemeSet['NoAvatarSize'] = "100x100";\r
+<?php
+/*
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the Revised BSD License.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    Revised BSD License for more details.
+
+    Copyright 2004-2006 Cool Dude 2k - http://intdb.sourceforge.net/
+    Copyright 2004-2006 Game Maker 2k - http://upload.idb.s1.jcink.com/
+    $ThemeInfo - Name: iDB Theme - Author: cooldude2k $
+    $FileInfo: settings.php - Last Update: 06/04/2007 SVN 18 - Author: cooldude2k $
+*/
+$ThemeSet = array();
+$ThemeSet['ThemeName'] = "iDB Theme";
+$ThemeSet['ThemeMaker'] = "Cool Dude 2k";
+$ThemeSet['ThemeVersion'] = "0.1.5";
+$ThemeSet['ThemeVersionType'] = "Pre-Alpha";
+$ThemeSet['ThemeSubVersion'] = "SVN 17";
+$ThemeSet['MakerURL'] = "http://upload.idb.s1.jcink.com/";
+$ThemeSet['CopyRight'] = $ThemeSet['ThemeName']." was made by <a href=\"".$ThemeSet['MakerURL']."\" title=\"".$ThemeSet['ThemeMaker']."\">".$ThemeSet['ThemeMaker']."</a>";
+$ThemeSet['CSS'] = "themes/iDB/css.css";
+$ThemeSet['CSSType'] = "include";
+$ThemeSet['FavIcon'] = "themes/iDB/favicon.ico";
+$ThemeSet['PreLogo'] = "<div style=\"text-align: center;\">";
+$ThemeSet['Logo'] = $Settings['board_name'];
+$ThemeSet['LogoStyle'] = "font-size: 40px; font-family: verdana, arial, sans-serif; color: black;";
+$ThemeSet['SubLogo'] = "</div>";
+$ThemeSet['TopicIcon'] = "<div style=\"text-align: center; font-size: 11px;\" title=\"Topic!\">&nbsp;(T)&nbsp;</div>";
+$ThemeSet['HotTopic'] = "<div style=\"text-align: center; font-size: 11px; font-weight: bold;\" title=\"Hot Topic!\">&nbsp;(T)&nbsp;</div>";
+$ThemeSet['PinTopic'] = "<div style=\"text-align: center; font-size: 11px;\" title=\"Pinned Topic!\">&nbsp;{P}&nbsp;</div>";
+$ThemeSet['HotPinTopic'] = "<div style=\"text-align: center; font-size: 11px; font-weight: bold;\" title=\"Hot Pinned Topic!\">&nbsp;{P}&nbsp;</div>";
+$ThemeSet['ClosedTopic'] = "<div style=\"text-align: center; font-size: 11px; text-decoration: line-through;\" title=\"Closed Topic!\">&nbsp;[T]&nbsp;</div>";
+$ThemeSet['HotClosedTopic'] = "<div style=\"text-align: center; font-size: 11px; text-decoration: line-through; font-weight: bold;\" title=\"Hot Closed Topic!\">&nbsp;[T]&nbsp;</div>";
+$ThemeSet['PinClosedTopic'] = "<div style=\"text-align: center; font-size: 11px; text-decoration: line-through;\" title=\"Closed Pinned Topic!\">&nbsp;[P]&nbsp;</div>";
+$ThemeSet['HotPinClosedTopic'] = "<div style=\"text-align: center; font-size: 11px; text-decoration: line-through; font-weight: bold;\" title=\"Hot Closed Pinned Topic!\">&nbsp;[P]&nbsp;</div>";
+$ThemeSet['MessageRead'] = "<div style=\"text-align: center; font-size: 11px;\" title=\"Message!\">&nbsp;[M]&nbsp;</div>";
+$ThemeSet['MessageUnread'] = "<div style=\"text-align: center; font-size: 11px; font-weight: bold;\" title=\"New Message!\">&nbsp;(M)&nbsp;</div>";
+$ThemeSet['Profile'] = "Profile";
+$ThemeSet['WWW'] = "WWW";
+$ThemeSet['PM'] = "PM";
+$ThemeSet['TopicLayout'] = "Type 1";
+$ThemeSet['AddReply'] = "<span style=\"color: white; font-size: 25px;\" title=\"Add Reply\">Add Reply</span>";
+$ThemeSet['FastReply'] = "<span style=\"color: white; font-size: 25px;\" title=\"Fast Reply\">Fast Reply</span>";
+$ThemeSet['NewTopic'] = "<span style=\"color: white; font-size: 25px;\" title=\"New Topic\">New Topic</span>";
+$ThemeSet['QuoteReply'] = "Quote Reply";
+$ThemeSet['Report'] = "Report";
+$ThemeSet['LineDivider'] = "&nbsp;|&nbsp;";
+$ThemeSet['ButtonDivider'] = "&nbsp;&nbsp;&nbsp;";
+$ThemeSet['LineDividerTopic'] = "&nbsp;|&nbsp;";
+$ThemeSet['TitleDivider'] = "-&gt;";
+$ThemeSet['ForumIcon'] = "<div style=\"text-align: center; font-size: 11px;\" title=\"Forum\">&nbsp;(F)&nbsp;</div>";
+$ThemeSet['SubForumIcon'] = "<div style=\"text-align: center; font-size: 11px;\" title=\"SubForum\">&nbsp;{SF}&nbsp;</div>";
+$ThemeSet['RedirectIcon'] = "<div style=\"text-align: center; font-size: 11px;\" title=\"Redirect Forum\">&nbsp;[RF]&nbsp;</div>";
+$ThemeSet['TitleIcon'] = null;
+$ThemeSet['StatsIcon'] = "<div style=\"text-align: center; font-size: 11px;\" title=\"Board Stats\"><br />(S)<br /></div>";
+$ThemeSet['NoAvatar'] = "themes/iDB/noavatar.png";
+$ThemeSet['NoAvatarSize'] = "100x100";
 ?>
\ No newline at end of file