OSDN Git Service

Added TableStyle to iDB Theme System.
authorKazuki Przyborowski <kazuki.przyborowski@gmail.com>
Sat, 29 Nov 2008 06:11:00 +0000 (06:11 +0000)
committerKazuki Przyborowski <kazuki.przyborowski@gmail.com>
Sat, 29 Nov 2008 06:11:00 +0000 (06:11 +0000)
git-svn-id: svn://svn.code.sf.net/p/intdb/svn/trunk@193 2b68903e-0b30-0410-9a39-a2e4f3c5be39

16 files changed:
inc/calendars.php
inc/categories.php
inc/events.php
inc/forums.php
inc/members.php
inc/navbar.php
inc/pm.php
inc/profilemain.php
inc/replys.php
inc/searchs.php
inc/stats.php
inc/subcategories.php
inc/subforums.php
inc/topics.php
inc/versioninfo.php
mysql.php

index c05d01b..f10495d 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
     Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: calendars.php - Last Update: 11/18/2008 SVN 191 - Author: cooldude2k $
+    $FileInfo: calendars.php - Last Update: 11/29/2008 SVN 193 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="calendars.php"||$File3Name=="/calendars.php") {
@@ -105,12 +105,12 @@ $MyDays[] = "Friday";
 $MyDays[] = "Saturday";
 $DayNames = "";
 foreach ($MyDays as $x => $y) {
-    $DayNames .= '<th class="TableRow2" style="width: 12%;">' . $y . '</th>'."\r\n";
+    $DayNames .= '<th class="TableColumn2" style="width: 12%;">' . $y . '</th>'."\r\n";
 }
 $WeekDays = "";
 $i = $FirstDayThisMonth + 1;
 if ($FirstDayThisMonth != "0") {
-    $WeekDays .= '<td class="TableRow3" style="height: 90px; text-align: center;" colspan="' . $FirstDayThisMonth . '">&nbsp;</td>'."\r\n";
+    $WeekDays .= '<td class="TableColumn3" style="height: 90px; text-align: center;" colspan="' . $FirstDayThisMonth . '">&nbsp;</td>'."\r\n";
 }
 $Day_i = "1";
 $ii = $i;
@@ -119,9 +119,9 @@ if ($ii == 8) {
 $WeekDays .= "</tr><tr class=\"TableRow3\">"."\r\n";
 $ii = 1; }
  if ($MyDay == $Day_i) {
-$Extra = 'CalTableRow1'; }
+$Extra = 'CalTableColumn1'; }
 else {
-$Extra = 'CalTableRow2'; }
+$Extra = 'CalTableColumn2'; }
 if ($Day_i != $_GET['HighligtDay']) {
 if(!isset($EventsName[$Day_i])) { $EventsName[$Day_i] = null; }
 if($EventsName[$Day_i]!=null) { $EventsName[$Day_i] = "&nbsp;( ".$EventsName[$Day_i]." )"; }
@@ -133,22 +133,30 @@ $Day_i++;
 $ii++;
 }
 if ((8 - $ii) >= "1") {
-$WeekDays .= '<td class="TableRow3" style="height: 90px; text-align: center;" colspan="' . (8 - $ii) . '">&nbsp;</td>'."\r\n"; } ?>
+$WeekDays .= '<td class="TableColumn3" style="height: 90px; text-align: center;" colspan="' . (8 - $ii) . '">&nbsp;</td>'."\r\n"; } ?>
 <div class="NavLinks"><a href="<?php echo url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index']); ?>"><?php echo $ThemeSet['NavLinkIcon']; ?>Board index</a><?php echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile['calendar'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['calendar'],$exqstr['calendar']); ?>">Calendar</a></div>
 <div>&nbsp;</div>
 <div class="Table1Border">
-<table class="Table1"><tr class="TableRow1">
-<th class="TableRow1" colspan="7">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1" style="font-weight: bold;">
+<span style="float: left;"><?php echo $ThemeSet['TitleIcon']; ?><?php echo "Today is ".$MyDayName." the ".$MyDay2." of ".$MyMonthName.", ".$MyYear; ?></span>
+<span style="float: right;"><?php echo "The time is ".GMTimeGet('g:i a',$_SESSION['UserTimeZone'],0,$_SESSION['UserDST']); ?>&nbsp;</span>&nbsp;</div>
+<?php } ?>
+<table class="Table1">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
+<tr class="TableRow1">
+<th class="TableColumn1" colspan="7">
 <span style="float: left;"><?php echo $ThemeSet['TitleIcon']; ?><?php echo "Today is ".$MyDayName." the ".$MyDay2." of ".$MyMonthName.", ".$MyYear; ?></span>
 <span style="float: right;"><?php echo "The time is ".GMTimeGet('g:i a',$_SESSION['UserTimeZone'],0,$_SESSION['UserDST']); ?>&nbsp;</span>
-</th>
-</tr><tr class="TableRow2">
+&nbsp;</th>
+</tr><?php } ?>
+<tr class="TableRow2">
 <?php echo $DayNames; ?>
 </tr><tr class="TableRow3">
 <?php echo $WeekDays; ?>
 </tr>
 <tr class="TableRow4">
-<td class="TableRow4" colspan="7">&nbsp;</td>
+<td class="TableColumn4" colspan="7">&nbsp;</td>
 </tr>
 </table></div>
 <div>&nbsp;</div>
index 672c27c..8298381 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
     Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: categories.php - Last Update: 11/18/2008 SVN 191 - Author: cooldude2k $
+    $FileInfo: categories.php - Last Update: 11/29/2008 SVN 193 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="categories.php"||$File3Name=="/categories.php") {
@@ -66,18 +66,24 @@ $i=0;
 if($num>=1) {
 ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: 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></div>
+<?php } ?>
 <table id="Cat<?php echo $CategoryID; ?>" class="Table1">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr id="CatStart<?php echo $CategoryID; ?>" class="TableRow1">
-<td class="TableRow1" colspan="5"><span style="float: left;">
+<td class="TableColumn1" colspan="5"><span style="text-align: 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>
+</td>
+</tr><?php } ?>
 <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>
+<th class="TableColumn2" style="width: 4%;">&nbsp;</th>
+<th class="TableColumn2" style="width: 58%;">Forum</th>
+<th class="TableColumn2" style="width: 7%;">Topics</th>
+<th class="TableColumn2" style="width: 7%;">Posts</th>
+<th class="TableColumn2" style="width: 24%;">Last Topic</th>
 </tr>
 <?php }
 while ($i < $num) {
@@ -170,18 +176,18 @@ $ExStr = ""; if ($ForumType!="redirect"&&
        $ForumShowTopics!="no") { $ExStr = "&page=1"; }
 ?>
 <tr class="TableRow3" id="Forum<?php echo $ForumID; ?>">
-<td class="TableRow3"><div class="forumicon">
+<td class="TableColumn3"><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.$ExStr,$Settings['qstr'],$Settings['qsep'],$prexqstr[$ForumType],$exqstr[$ForumType]); ?>"<?php if($ForumType=="redirect") { echo " onclick=\"window.open(this.href);return false;\""; } ?>><?php echo $ForumName; ?></a></div>
+<td class="TableColumn3"><div class="forumname"><a href="<?php echo url_maker($exfile[$ForumType],$Settings['file_ext'],"act=view&id=".$ForumID.$ExStr,$Settings['qstr'],$Settings['qsep'],$prexqstr[$ForumType],$exqstr[$ForumType]); ?>"<?php if($ForumType=="redirect") { echo " onclick=\"window.open(this.href);return false;\""; } ?>><?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>
+<td class="TableColumn3" style="text-align: center;"><?php echo $NumTopics; ?></td>
+<td class="TableColumn3" style="text-align: center;"><?php echo $NumPosts; ?></td>
+<td class="TableColumn3"><?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>
+<td class="TableColumn4" colspan="5">&nbsp;</td>
 </tr>
 </table></div>
 <div>&nbsp;</div>
index 25e65cf..d5c4412 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
     Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: events.php - Last Update: 11/18/2008 SVN 191 - Author: cooldude2k $
+    $FileInfo: events.php - Last Update: 11/29/2008 SVN 193 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="events.php"||$File3Name=="/events.php") {
@@ -30,7 +30,6 @@ gzip_page($Settings['use_gzip'],$GZipEncode['Type']); @mysql_close(); die(); }
 <div class="NavLinks"><a href="<?php echo url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index']); ?>"><?php echo $ThemeSet['NavLinkIcon']; ?>Board index</a><?php echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile['event'],$Settings['file_ext'],"act=view&id=".$_GET['id'],$Settings['qstr'],$Settings['qsep'],$prexqstr['event'],$exqstr['event']); ?>">Viewing Event</a></div>
 <div>&nbsp;</div>
 <div class="Table1Border">
-<table class="Table1">
 <?php
 while ($is < $num) {
 $EventID=mysql_result($result,$is,"id");
@@ -79,12 +78,18 @@ if($User1Name==null) { $User1Name="Guest"; } }
 $EventText = text2icons($EventText,$Settings['sqltable']); 
 $User1Signature = text2icons($User1Signature,$Settings['sqltable']);
 ?>
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="font-weight: bold; text-align: left;"><?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['event'],$Settings['file_ext'],"act=view&id=".$_GET['id'],$Settings['qstr'],$Settings['qsep'],$prexqstr['event'],$exqstr['event']); ?>"><?php echo $EventName; ?></a></span></div>
+<?php } ?>
+<table class="Table1">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1">
-<td class="TableRow1" colspan="2"><span style="font-weight: bold; float: left;"><?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['event'],$Settings['file_ext'],"act=view&id=".$_GET['id'],$Settings['qstr'],$Settings['qsep'],$prexqstr['event'],$exqstr['event']); ?>"><?php echo $EventName; ?></a></span>
-<span style="float: right;">&nbsp;</span></td>
-</tr>
+<td class="TableColumn1" colspan="2"><span style="font-weight: bold; text-align: left;"><?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['event'],$Settings['file_ext'],"act=view&id=".$_GET['id'],$Settings['qstr'],$Settings['qsep'],$prexqstr['event'],$exqstr['event']); ?>"><?php echo $EventName; ?></a></span>
+</td>
+</tr><?php } ?>
 <tr class="TableRow2">
-<td class="TableRow2" style="vertical-align: middle; width: 160px;">
+<td class="TableColumn2" style="vertical-align: middle; width: 160px;">
 &nbsp;<?php
 if($User1ID!="-1") {
 echo "<a href=\"";
@@ -93,15 +98,15 @@ echo "\">".$User1Name."</a>"; }
 if($User1ID=="-1") {
 echo "<span>".$User1Name."</span>"; }
 ?></td>
-<td class="TableRow2" style="vertical-align: middle;">
-<div style="text-align: left; float: left;">
+<td class="TableColumn2" style="vertical-align: middle;">
+<div style="text-align: left; text-align: left;">
 <span style="font-weight: bold;">Event Start: </span><?php echo $EventStart; ?><?php echo $ThemeSet['LineDividerTopic']; ?><span style="font-weight: bold;">Event End: </span><?php echo $EventEnd; ?>
 </div>
 <div style="text-align: right;">&nbsp;</div>
 </td>
 </tr>
 <tr>
-<td class="TableRow3" style="vertical-align: top; width: 180px;">
+<td class="TableColumn3" style="vertical-align: top; width: 180px;">
  <?php  /* Avatar Table Thanks For SeanJ's Help at http://seanj.jcink.com/ */  ?>
  <table class="AvatarTable" style="width: 100px; height: 100px; text-align: center;">
        <tr class="AvatarRow" style="width: 100%; height: 100%;">
@@ -119,15 +124,15 @@ if($User1ID=="-1") { echo 0; }
 Posts: <?php echo $User1PostCount; ?><br />
 Joined: <?php echo $User1Joined; ?><br /><br />
 </td>
-<td class="TableRow3" style="vertical-align: middle;">
+<td class="TableColumn3" style="vertical-align: middle;">
 <div class="eventpost"><?php echo $EventText; ?></div>
 <?php if(isset($User1Signature)) { ?> <br />--------------------
 <div class="signature"><?php echo $User1Signature; ?></div><?php } ?>
 </td>
 </tr>
 <tr class="TableRow4">
-<td class="TableRow4" colspan="2">
-<span style="float: left;">&nbsp;<a href="<?php
+<td class="TableColumn4" colspan="2">
+<span style="text-align: left;">&nbsp;<a href="<?php
 if($User1ID!="-1") {
 echo url_maker($exfile['member'],$Settings['file_ext'],"act=view&id=".$User1ID,$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']); }
 if($User1ID=="-1") {
@@ -138,7 +143,7 @@ echo url_maker($exfile['messenger'],$Settings['file_ext'],"act=create&id=".$User
 if($User1ID=="-1") {
 echo url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index']); }
 ?>"><?php echo $ThemeSet['PM']; ?></a></span>
-<span style="float: right;">&nbsp;</span></td>
+</td>
 </tr>
 </table></div>
 <?php } if($_GET['act']=="create") { 
@@ -149,17 +154,23 @@ gzip_page($Settings['use_gzip'],$GZipEncode['Type']); @mysql_close(); die(); }
 <div class="NavLinks"><a href="<?php echo url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index']); ?>"><?php echo $ThemeSet['NavLinkIcon']; ?>Board index</a><?php echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile['event'],$Settings['file_ext'],"act=create",$Settings['qstr'],$Settings['qsep'],$prexqstr['event'],$exqstr['event']); ?>">Making a Event</a></div>
 <div>&nbsp;</div>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['calendar'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['calendar'],$exqstr['calendar']); ?>">Making a Event</a></span></div>
+<?php } ?>
 <table class="Table1" id="MakeEvent">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1" id="EventStart">
-<td class="TableRow1" colspan="2"><span style="float: left;">
+<td class="TableColumn1" colspan="2"><span style="text-align: left;">
 <?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['calendar'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['calendar'],$exqstr['calendar']); ?>">Making a Event</a></span>
-<?php echo "<span style=\"float: right;\">&nbsp;</span>"; ?></td>
-</tr>
+</td>
+</tr><?php } ?>
 <tr id="MakeEventRow" class="TableRow2">
-<td class="TableRow2" colspan="2" style="width: 100%;">Making a Event</td>
+<td class="TableColumn2" colspan="2" style="width: 100%;">Making a Event</td>
 </tr>
 <tr class="TableRow3" id="MkEvent">
-<td class="TableRow3" style="width: 15%; vertical-align: middle; text-align: center;">
+<td class="TableColumn3" style="width: 15%; vertical-align: middle; text-align: center;">
 <div style="width: 100%; height: 160px; overflow: auto;">
 <table style="width: 100%; text-align: center;"><?php
 $renee_query=query("SELECT * FROM `".$Settings['sqltable']."smileys` WHERE `Show`='yes'", array(null));
@@ -186,7 +197,7 @@ echo "<td colspan=\"".$SmileCRowL."\">&nbsp;</td></tr>"; }
 echo "</table>";
 @mysql_free_result($renee_result);
 ?></div></td>
-<td class="TableRow3" style="width: 85%;">
+<td class="TableColumn3" style="width: 85%;">
 <form style="display: inline;" method="post" id="MkEventForm" action="<?php echo url_maker($exfile['event'],$Settings['file_ext'],"act=makeevent",$Settings['qstr'],$Settings['qsep'],$prexqstr['event'],$exqstr['event']); ?>">
 <table style="text-align: left;">
 <tr style="text-align: left;">
@@ -224,7 +235,7 @@ echo "</table>";
 </td></tr></table>
 </form></td></tr>
 <tr id="MkEventEnd" class="TableRow4">
-<td class="TableRow4" colspan="2">&nbsp;</td>
+<td class="TableColumn4" colspan="2">&nbsp;</td>
 </tr>
 </table></div>
 <?php }  if($_GET['act']=="makeevent"&&$_POST['act']=="makeevents") {
@@ -248,17 +259,23 @@ if($_SESSION['UserGroup']==$Settings['GuestGroup']&&
 require($SettDir['inc']."captcha.php"); }
 ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['calendar'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['calendar'],$exqstr['calendar']); ?>">Making a Event</a></span></div>
+<?php } ?>
 <table class="Table1">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1">
-<td class="TableRow1"><span style="float: left;">
+<td class="TableColumn1"><span style="text-align: left;">
 <?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['calendar'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['calendar'],$exqstr['calendar']); ?>">Making a Event</a></span>
-<?php echo "<span style=\"float: right;\">&nbsp;</span>"; ?></td>
-</tr>
+</td>
+</tr><?php } ?>
 <tr class="TableRow2">
-<th class="TableRow2" style="width: 100%; text-align: left;">&nbsp;Make Event Message: </th>
+<th class="TableColumn2" style="width: 100%; text-align: left;">&nbsp;Make Event Message: </th>
 </tr>
 <tr class="TableRow3">
-<td class="TableRow3">
+<td class="TableColumn3">
 <table style="width: 100%; height: 25%; text-align: center;">
 <?php if (pre_strlen($_POST['EventName'])>="30") { $Error="Yes";  ?>
 <tr>
@@ -587,7 +604,7 @@ mysql_query($query);
 </table>
 </td></tr>
 <tr class="TableRow4">
-<td class="TableRow4">&nbsp;</td>
+<td class="TableColumn4">&nbsp;</td>
 </tr>
 </table></div>
 <?php } ?>
index 896fc4a..76171a6 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
     Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: forums.php - Last Update: 11/18/2008 SVN 191 - Author: cooldude2k $
+    $FileInfo: forums.php - Last Update: 11/29/2008 SVN 193 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="forums.php"||$File3Name=="/forums.php") {
@@ -51,18 +51,24 @@ $i=0;
 if($num>=1) {
 ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: 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></div>
+<?php } ?>
 <table class="Table1" id="Cat<?php echo $CategoryID; ?>">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1" id="CatStart<?php echo $CategoryID; ?>">
-<td class="TableRow1" colspan="5"><span style="float: left;">
+<td class="TableColumn1" colspan="5"><span style="text-align: 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>
+</td>
+</tr><?php } ?>
 <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>
+<th class="TableColumn2" style="width: 4%;">&nbsp;</th>
+<th class="TableColumn2" style="width: 58%;">Forum</th>
+<th class="TableColumn2" style="width: 7%;">Topics</th>
+<th class="TableColumn2" style="width: 7%;">Posts</th>
+<th class="TableColumn2" style="width: 24%;">Last Topic</th>
 </tr>
 <?php }
 while ($i < $num) {
@@ -155,19 +161,19 @@ $ExStr = ""; if ($ForumType!="redirect"&&
        $ForumShowTopics!="no") { $ExStr = "&page=1"; }
 ?>
 <tr class="TableRow3" id="Forum<?php echo $ForumID; ?>">
-<td class="TableRow3"><div class="forumicon">
+<td class="TableColumn3"><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.$ExStr,$Settings['qstr'],$Settings['qsep'],$prexqstr[$ForumType],$exqstr[$ForumType]); ?>"<?php if($ForumType=="redirect") { echo " onclick=\"window.open(this.href);return false;\""; } ?>><?php echo $ForumName; ?></a></div>
+<td class="TableColumn3"><div class="forumname"><a href="<?php echo url_maker($exfile[$ForumType],$Settings['file_ext'],"act=view&id=".$ForumID.$ExStr,$Settings['qstr'],$Settings['qsep'],$prexqstr[$ForumType],$exqstr[$ForumType]); ?>"<?php if($ForumType=="redirect") { echo " onclick=\"window.open(this.href);return false;\""; } ?>><?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>
+<td class="TableColumn3" style="text-align: center;"><?php echo $NumTopics; ?></td>
+<td class="TableColumn3" style="text-align: center;"><?php echo $NumPosts; ?></td>
+<td class="TableColumn3"><?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>
+<td class="TableColumn4" colspan="5">&nbsp;</td>
 </tr>
 </table></div>
 <div>&nbsp;</div>
index a13a3f5..bd3323e 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
     Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: members.php - Last Update: 11/18/2008 SVN 191 - Author: cooldude2k $
+    $FileInfo: members.php - Last Update: 11/29/2008 SVN 193 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="members.php"||$File3Name=="/members.php") {
@@ -148,21 +148,28 @@ echo $pstring;
 //List Page Number Code end
 ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['member'],$Settings['file_ext'],"act=list&orderby=".$_GET['orderby']."&ordertype=".$_GET['ordertype']."&page=".$_GET['page'],$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']); ?>">Member List</a>
+</span></div>
+<?php } ?>
 <table class="Table1">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1">
-<td class="TableRow1" colspan="8"><span style="float: left;">
+<td class="TableColumn1" colspan="8"><span style="text-align: left;">
 <?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['member'],$Settings['file_ext'],"act=list&orderby=".$_GET['orderby']."&ordertype=".$_GET['ordertype']."&page=".$_GET['page'],$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']); ?>">Member List</a>
-</span><span style="float: right;">&nbsp;</span></td>
-</tr>
+</span></td>
+</tr><?php } ?>
 <tr id="Member" class="TableRow2">
-<th class="TableRow2" style="width: 5%;">ID</th>
-<th class="TableRow2" style="width: 28%;">Name</th>
-<th class="TableRow2" style="width: 10%;">Group</th>
-<th class="TableRow2" style="width: 5%;">Posts</th>
-<th class="TableRow2" style="width: 5%;">Karma</th>
-<th class="TableRow2" style="width: 20%;">Joined</th>
-<th class="TableRow2" style="width: 20%;">Last Active</th>
-<th class="TableRow2" style="width: 7%;">Website</th>
+<th class="TableColumn2" style="width: 5%;">ID</th>
+<th class="TableColumn2" style="width: 28%;">Name</th>
+<th class="TableColumn2" style="width: 10%;">Group</th>
+<th class="TableColumn2" style="width: 5%;">Posts</th>
+<th class="TableColumn2" style="width: 5%;">Karma</th>
+<th class="TableColumn2" style="width: 20%;">Joined</th>
+<th class="TableColumn2" style="width: 20%;">Last Active</th>
+<th class="TableColumn2" style="width: 7%;">Website</th>
 </tr>
 <?php
 while ($i < $num) {
@@ -192,20 +199,20 @@ $membertitle = " ".$ThemeSet['TitleDivider']." Member List";
 if($MemList['Group']!=$Settings['GuestGroup']) {
 ?>
 <tr class="TableRow3" id="Member<?php echo $MemList['ID']; ?>">
-<td class="TableRow3" style="text-align: center;"><?php echo $MemList['ID']; ?></td>
-<td class="TableRow3">&nbsp;<a href="<?php echo url_maker($exfile['member'],$Settings['file_ext'],"act=view&id=".$MemList['ID'],$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']); ?>"><?php echo $MemList['Name']; ?></a></td>
-<td class="TableRow3" style="text-align: center;"><a href="<?php echo url_maker($exfile['member'],$Settings['file_ext'],"act=list&gid=".$MemList['GroupID']."&page=".$_GET['page'],$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']); ?>"><?php echo $MemList['Group']; ?></a></td>
-<td class="TableRow3" style="text-align: center;"><?php echo $MemList['PostCount']; ?></td>
-<td class="TableRow3" style="text-align: center;"><?php echo $MemList['Karma']; ?></td>
-<td class="TableRow3" style="text-align: center;"><?php echo $MemList['Joined']; ?></td>
-<td class="TableRow3" style="text-align: center;"><?php echo $MemList['LastActive']; ?></td>
-<td class="TableRow3" style="text-align: center;"><a href="<?php echo $MemList['Website']; ?>" onclick="window.open(this.href);return false;">Website</a></td>
+<td class="TableColumn3" style="text-align: center;"><?php echo $MemList['ID']; ?></td>
+<td class="TableColumn3">&nbsp;<a href="<?php echo url_maker($exfile['member'],$Settings['file_ext'],"act=view&id=".$MemList['ID'],$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']); ?>"><?php echo $MemList['Name']; ?></a></td>
+<td class="TableColumn3" style="text-align: center;"><a href="<?php echo url_maker($exfile['member'],$Settings['file_ext'],"act=list&gid=".$MemList['GroupID']."&page=".$_GET['page'],$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']); ?>"><?php echo $MemList['Group']; ?></a></td>
+<td class="TableColumn3" style="text-align: center;"><?php echo $MemList['PostCount']; ?></td>
+<td class="TableColumn3" style="text-align: center;"><?php echo $MemList['Karma']; ?></td>
+<td class="TableColumn3" style="text-align: center;"><?php echo $MemList['Joined']; ?></td>
+<td class="TableColumn3" style="text-align: center;"><?php echo $MemList['LastActive']; ?></td>
+<td class="TableColumn3" style="text-align: center;"><a href="<?php echo $MemList['Website']; ?>" onclick="window.open(this.href);return false;">Website</a></td>
 </tr>
 <?php }
 ++$i; } @mysql_free_result($result);
 ?>
 <tr id="MemEnd" class="TableRow4">
-<td class="TableRow4" colspan="8">&nbsp;</td>
+<td class="TableColumn4" colspan="8">&nbsp;</td>
 </tr>
 </table></div>
 <?php }
@@ -268,18 +275,25 @@ if($_GET['view']=="website"||$_GET['view']=="homepage") {
 <div class="NavLinks"><a href="<?php echo url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index']); ?>"><?php echo $ThemeSet['NavLinkIcon']; ?>Board index</a><?php echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile['member'],$Settings['file_ext'],"act=view&id=".$_GET['id'],$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']); ?>">Viewing profile</a></div>
 <div>&nbsp;</div>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['member'],$Settings['file_ext'],"act=view&id=".$_GET['id'],$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']); ?>">Viewing profile<?php echo $ThemeSet['NavLinkDivider']; ?><?php echo $ViewMem['Name']; ?></a>
+</span></div>
+<?php } ?>
 <table class="Table1">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1">
-<td class="TableRow1" colspan="2"><span style="float: left;">
+<td class="TableColumn1" colspan="2"><span style="text-align: left;">
 <?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['member'],$Settings['file_ext'],"act=view&id=".$_GET['id'],$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']); ?>">Viewing profile<?php echo $ThemeSet['NavLinkDivider']; ?><?php echo $ViewMem['Name']; ?></a>
-</span><span style="float: right;">&nbsp;</span></td>
-</tr>
+</span></td>
+</tr><?php } ?>
 <tr id="Member" class="TableRow2">
-<th class="TableRow2" style="width: 50%;">Avatar</th>
-<th class="TableRow2" style="width: 50%;">User Info</th>
+<th class="TableColumn2" style="width: 50%;">Avatar</th>
+<th class="TableColumn2" style="width: 50%;">User Info</th>
 </tr>
 <tr class="TableRow3" id="MemberProfile">
-<td class="TableRow3">
+<td class="TableColumn3">
 <?php  /* Avatar Table Thanks For SeanJ's Help at http://seanj.jcink.com/ */  ?>
  <table class="AvatarTable" style="width: 100%; height: 100px; text-align: center;">
        <tr class="AvatarRow" style="width: 100px; height: 100px;">
@@ -292,7 +306,7 @@ if($_GET['view']=="website"||$_GET['view']=="homepage") {
 Name: <?php echo $ViewMem['Name']; ?><br />
 Title: <?php echo $ViewMem['Title']; ?></div>
 </td>
-<td class="TableRow3">
+<td class="TableColumn3">
 &nbsp;User Name: <?php echo $ViewMem['Name']; ?><br />
 &nbsp;User Title: <?php echo $ViewMem['Title']; ?><br />
 &nbsp;User Group: <?php echo $ViewMem['Group']; ?><br />
@@ -306,7 +320,7 @@ Title: <?php echo $ViewMem['Title']; ?></div>
 </td>
 </tr>
 <tr class="TableRow4">
-<td class="TableRow4" colspan="2">&nbsp;</td>
+<td class="TableColumn4" colspan="2">&nbsp;</td>
 </tr>
 </table></div>
 <?php } @mysql_free_result($result);
@@ -346,17 +360,24 @@ $membertitle = " ".$ThemeSet['TitleDivider']." Login";
 <div class="NavLinks"><a href="<?php echo url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index']); ?>"><?php echo $ThemeSet['NavLinkIcon']; ?>Board index</a><?php echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile['member'],$Settings['file_ext'],"act=login",$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']); ?>">Login</a></div>
 <div>&nbsp;</div>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['member'],$Settings['file_ext'],"act=login",$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']); ?>">Log in</a>
+</span></div>
+<?php } ?>
 <table class="Table1">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1">
-<td class="TableRow1"><span style="float: left;">
+<td class="TableColumn1"><span style="text-align: left;">
 <?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['member'],$Settings['file_ext'],"act=login",$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']); ?>">Log in</a>
-</span><span style="float: right;">&nbsp;</span></td>
-</tr>
+</span></td>
+</tr><?php } ?>
 <tr class="TableRow2">
-<th class="TableRow2" style="width: 100%; text-align: left;">&nbsp;Inert your login info: </th>
+<th class="TableColumn2" style="width: 100%; text-align: left;">&nbsp;Inert your login info: </th>
 </tr>
 <tr class="TableRow3">
-<td class="TableRow3">
+<td class="TableColumn3">
 <form style="display: inline;" method="post" action="<?php echo url_maker($exfile['member'],$Settings['file_ext'],"act=login_now",$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']); ?>">
 <table style="text-align: left;">
 <tr style="text-align: left;">
@@ -382,7 +403,7 @@ $membertitle = " ".$ThemeSet['TitleDivider']." Login";
 </td>
 </tr>
 <tr class="TableRow4">
-<td class="TableRow4">&nbsp;</td>
+<td class="TableColumn4">&nbsp;</td>
 </tr>
 </table></div>
 <?php } } if($_POST['act']=="loginmember"&&$_GET['act']=="login_now") {
@@ -400,17 +421,23 @@ $REFERERurl = null;
 <div class="NavLinks"><a href="<?php echo url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index']); ?>"><?php echo $ThemeSet['NavLinkIcon']; ?>Board index</a><?php echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile['member'],$Settings['file_ext'],"act=login",$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']); ?>">Login</a></div>
 <div>&nbsp;</div>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: left;">&nbsp;<a href="<?php echo url_maker($exfile['member'],$Settings['file_ext'],"act=login",$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']); ?>">Log in</a></span>
+</div>
+<?php } ?>
 <table class="Table1">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1">
-<td class="TableRow1">
-<span style="float: left;">&nbsp;<a href="<?php echo url_maker($exfile['member'],$Settings['file_ext'],"act=login",$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']); ?>">Log in</a></span>
-<span style="float: right;">&nbsp;</span></td>
-</tr>
+<td class="TableColumn1">
+<span style="text-align: left;">&nbsp;<a href="<?php echo url_maker($exfile['member'],$Settings['file_ext'],"act=login",$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']); ?>">Log in</a></span>
+</td>
+</tr><?php } ?>
 <tr class="TableRow2">
-<th class="TableRow2" style="width: 100%; text-align: left;">&nbsp;Login Message: </th>
+<th class="TableColumn2" style="width: 100%; text-align: left;">&nbsp;Login Message: </th>
 </tr>
 <tr class="TableRow3">
-<td class="TableRow3">
+<td class="TableColumn3">
 <table style="width: 100%; height: 25%; text-align: center;">
 <?php
 if (pre_strlen($_POST['userpass'])>="30") { $Error="Yes";  ?>
@@ -525,7 +552,7 @@ if($cookieSecure===false) {
 </table>
 </td></tr>
 <tr class="TableRow4">
-<td class="TableRow4">&nbsp;</td>
+<td class="TableColumn4">&nbsp;</td>
 </tr>
 </table></div>
 <?php } } if($_GET['act']=="signup") { 
@@ -539,17 +566,24 @@ if($_SESSION['UserID']==0||$_SESSION['UserID']==null) {
 <div class="NavLinks"><a href="<?php echo url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index']); ?>"><?php echo $ThemeSet['NavLinkIcon']; ?>Board index</a><?php echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile['member'],$Settings['file_ext'],"act=signup",$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']); ?>">Signup</a></div>
 <div>&nbsp;</div>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['member'],$Settings['file_ext'],"act=signup",$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']); ?>">Register</a>
+</span></div>
+<?php } ?>
 <table class="Table1">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1">
-<td class="TableRow1"><span style="float: left;">
+<td class="TableColumn1"><span style="text-align: left;">
 <?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['member'],$Settings['file_ext'],"act=signup",$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']); ?>">Register</a>
-</span><span style="float: right;">&nbsp;</span></td>
-</tr>
+</span></td>
+</tr><?php } ?>
 <tr class="TableRow2">
-<th class="TableRow2" style="width: 100%; text-align: left;">&nbsp;Inert your user info: </th>
+<th class="TableColumn2" style="width: 100%; text-align: left;">&nbsp;Inert your user info: </th>
 </tr>
 <tr class="TableRow3">
-<td class="TableRow3">
+<td class="TableColumn3">
 <form style="display: inline;" method="post" action="<?php echo url_maker($exfile['member'],$Settings['file_ext'],"act=makemember",$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']); ?>">
 <table style="text-align: left;">
 <tr style="text-align: left;">
@@ -657,7 +691,7 @@ echo "<option value=\"".$showmin."\">0:".$showmin." minutes</option>\n"; }
 </td>
 </tr>
 <tr class="TableRow4">
-<td class="TableRow4">&nbsp;</td>
+<td class="TableColumn4">&nbsp;</td>
 </tr>
 </table></div>
 <?php } } if($_GET['act']=="makemember") {
@@ -680,16 +714,22 @@ require($SettDir['inc']."captcha.php"); }
 <div class="NavLinks"><a href="<?php echo url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index']); ?>"><?php echo $ThemeSet['NavLinkIcon']; ?>Board index</a><?php echo $ThemeSet['NavLinkDivider']; ?><a href="<?php echo url_maker($exfile['member'],$Settings['file_ext'],"act=signup",$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']); ?>">Signup</a></div>
 <div>&nbsp;</div>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: left;">
+&nbsp;<a href="<?php echo url_maker($exfile['messenger'],$Settings['file_ext'],"act=signup",$Settings['qstr'],$Settings['qsep'],$prexqstr['messenger'],$exqstr['messenger']); ?>">Register</a></span></div>
+<?php } ?>
 <table class="Table1">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1">
-<td class="TableRow1"><span style="float: right;">&nbsp;</span>
-&nbsp;<a href="<?php echo url_maker($exfile['messenger'],$Settings['file_ext'],"act=signup",$Settings['qstr'],$Settings['qsep'],$prexqstr['messenger'],$exqstr['messenger']); ?>">Register</a></td>
-</tr>
+<td class="TableColumn1"><span style="text-align: left;">
+&nbsp;<a href="<?php echo url_maker($exfile['messenger'],$Settings['file_ext'],"act=signup",$Settings['qstr'],$Settings['qsep'],$prexqstr['messenger'],$exqstr['messenger']); ?>">Register</a></span></td>
+</tr><?php } ?>
 <tr class="TableRow2">
-<th class="TableRow2" style="width: 100%; text-align: left;">&nbsp;Signup Message: </th>
+<th class="TableColumn2" style="width: 100%; text-align: left;">&nbsp;Signup Message: </th>
 </tr>
 <tr class="TableRow3">
-<td class="TableRow3">
+<td class="TableColumn3">
 <table style="width: 100%; height: 25%; text-align: center;">
 <?php if (pre_strlen($_POST['Password'])>="30") { $Error="Yes";  ?>
 <tr>
@@ -923,7 +963,7 @@ $query = query("INSERT INTO `".$Settings['sqltable']."messenger` VALUES (null,%i
 </table>
 </td></tr>
 <tr class="TableRow4">
-<td class="TableRow4">&nbsp;</td>
+<td class="TableColumn4">&nbsp;</td>
 </tr>
 </table></div>
 <?php } } } ?>
index c4f596b..bd86ab6 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
     Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: navbar.php - Last Update: 07/20/2008 SVN 169 - Author: cooldude2k $
+    $FileInfo: navbar.php - Last Update: 11/29/2008 SVN 193 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="navbar.php"||$File3Name=="/navbar.php") {
@@ -30,15 +30,15 @@ if($ThemeSet['LogoStyle']==null) { $logostyle = ""; }
 if($ThemeSet['LogoStyle']!=null) { $logostyle = "style=\"".$ThemeSet['LogoStyle']."\" "; }
 ?>
 <div class="NavBorder">
-<table id="NavBarTable" class="NavBar1">
-<tr class="NavBar2">
-<td id="NavBarLogo" class="NavBar2"><?php echo $ThemeSet['PreLogo']; ?>
+<table id="NavBarTable" class="NavBar">
+<tr class="NavBarRow1">
+<td id="NavBarLogo" class="NavBarColumn1"><?php echo $ThemeSet['PreLogo']; ?>
 <a <?php echo $logostyle; ?>title="<?php echo $Settings['board_name'].$idbpowertitle; ?>" href="<?php echo url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index']); ?>">
 <?php echo $ThemeSet['Logo']; ?></a>
 <?php echo $ThemeSet['SubLogo']; ?></td>
 </tr>
-<tr class="NavBar3">
-<td id="NavBarLinks" class="NavBar3">
+<tr class="NavBarRow2">
+<td id="NavBarLinks" class="NavBarColumn2">
 <span style="float: left;">&nbsp;<?php if($_SESSION['UserGroup']==$Settings['GuestGroup']) {?>Welcome Guest ( <a href="<?php echo url_maker($exfile['member'],$Settings['file_ext'],"act=login",$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']); ?>">Log in</a><?php echo $ThemeSet['LineDivider']; ?><a href="<?php echo url_maker($exfile['member'],$Settings['file_ext'],"act=signup",$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']); ?>">Register</a> )
 <?php } if($_SESSION['UserGroup']!=$Settings['GuestGroup']) { ?>Logged as: <a href="<?php echo url_maker($exfile['member'],$Settings['file_ext'],"act=view&id=".$_SESSION['UserID'],$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']); ?>"><?php echo $_SESSION['MemberName']; ?></a> ( <a href="<?php echo url_maker($exfile['member'],$Settings['file_ext'],"act=logout",$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']); ?>">Log out</a><?php if($GroupInfo['HasAdminCP']=="yes") { ?><?php echo $ThemeSet['LineDivider']; ?><a href="<?php echo url_maker($exfile['admin'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['admin'],$exqstr['admin']); ?>">Admin CP</a><?php } ?> )<?php } ?></span>
 <span style="float: right;">
index f3e0125..3cdcb1c 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
     Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: pm.php - Last Update: 11/18/2008 SVN 191 - Author: cooldude2k $
+    $FileInfo: pm.php - Last Update: 11/29/2008 SVN 193 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="pm.php"||$File3Name=="/pm.php") {
@@ -32,19 +32,19 @@ if($_GET['act']=="view"||$_GET['act']=="viewsent"||$_GET['act']=="read") {
 <tr style="width: 100%; vertical-align: top;">
        <td style="width: 15%; vertical-align: top;">
        <div class="Table1Border">
-       <table id="MessengerLinks" class="Table1" style="width: 100%; float: left; vertical-align: top;">
+       <table id="MessengerLinks" class="Table1" style="width: 100%; text-align: left; vertical-align: top;">
 <tr class="TableRow1">
-<td class="TableRow1"><?php echo $ThemeSet['TitleIcon']; ?>Messenger</td>
+<td class="TableColumn1"><?php echo $ThemeSet['TitleIcon']; ?>Messenger</td>
 </tr><tr class="TableRow2">
-<td class="TableRow2">&nbsp;</td>
+<td class="TableColumn2">&nbsp;</td>
 </tr><tr class="TableRow3">
-<td class="TableRow3"><a href="<?php echo url_maker($exfile['messenger'],$Settings['file_ext'],"act=view&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['messenger'],$exqstr['messenger']); ?>">View MailBox</a></td>
+<td class="TableColumn3"><a href="<?php echo url_maker($exfile['messenger'],$Settings['file_ext'],"act=view&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['messenger'],$exqstr['messenger']); ?>">View MailBox</a></td>
 </tr><tr class="TableRow3">
-<td class="TableRow3"><a href="<?php echo url_maker($exfile['messenger'],$Settings['file_ext'],"act=viewsent&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['messenger'],$exqstr['messenger']); ?>">View SentBox</a></td>
+<td class="TableColumn3"><a href="<?php echo url_maker($exfile['messenger'],$Settings['file_ext'],"act=viewsent&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['messenger'],$exqstr['messenger']); ?>">View SentBox</a></td>
 </tr><tr class="TableRow3">
-<td class="TableRow3"><a href="<?php echo url_maker($exfile['messenger'],$Settings['file_ext'],"act=create",$Settings['qstr'],$Settings['qsep'],$prexqstr['messenger'],$exqstr['messenger']); ?>">Send Message</a></td>
+<td class="TableColumn3"><a href="<?php echo url_maker($exfile['messenger'],$Settings['file_ext'],"act=create",$Settings['qstr'],$Settings['qsep'],$prexqstr['messenger'],$exqstr['messenger']); ?>">Send Message</a></td>
 </tr><tr class="TableRow4">
-<td class="TableRow4">&nbsp;</td>
+<td class="TableColumn4">&nbsp;</td>
 </tr></table></div>
 </td>
        <td style="width: 85%; vertical-align: top;">
@@ -132,17 +132,24 @@ $pstring = $pstring."... <a href=\"".url_maker($exfile['messenger'],$Settings['f
 //List Page Number Code end
 ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="float: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['messenger'],$Settings['file_ext'],"act=view&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['messenger'],$exqstr['messenger']); ?>">MailBox&nbsp;(<?php echo $PMNumber; ?>)</a>
+</span><span style="float: right;"><?php echo $pstring; ?></span>&nbsp;</div>
+<?php } ?>
 <table class="Table1" style="width: 100%;">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1">
-<td class="TableRow1" colspan="4"><span style="float: left;">
+<td class="TableColumn1" colspan="4"><span style="float: left;">
 <?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['messenger'],$Settings['file_ext'],"act=view&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['messenger'],$exqstr['messenger']); ?>">MailBox&nbsp;(<?php echo $PMNumber; ?>)</a>
-</span><span style="float: right;"><?php echo $pstring; ?></span></td>
-</tr>
+</span><span style="float: right;"><?php echo $pstring; ?></span>&nbsp;</td>
+</tr><?php } ?>
 <tr id="Messenger" class="TableRow2">
-<th class="TableRow2" style="width: 4%;">State</th>
-<th class="TableRow2" style="width: 46%;">Message Name</th>
-<th class="TableRow2" style="width: 25%;">Sender</th>
-<th class="TableRow2" style="width: 25%;">Time</th>
+<th class="TableColumn2" style="width: 4%;">State</th>
+<th class="TableColumn2" style="width: 46%;">Message Name</th>
+<th class="TableColumn2" style="width: 25%;">Sender</th>
+<th class="TableColumn2" style="width: 25%;">Time</th>
 </tr>
 <?php
 while ($i < $num) {
@@ -166,12 +173,12 @@ if ($MessageStat==1) {
        $PreMessage=$ThemeSet['MessageRead']; }
 ?>
 <tr class="TableRow3" id="Message<?php echo $PMID; ?>">
-<td class="TableRow3"><div class="messagestate">
+<td class="TableColumn3"><div class="messagestate">
 <?php echo $PreMessage; ?></div></td>
-<td class="TableRow3"><div class="messagename">
+<td class="TableColumn3"><div class="messagename">
 <a href="<?php echo url_maker($exfile['messenger'],$Settings['file_ext'],"act=read&id=".$PMID,$Settings['qstr'],$Settings['qsep'],$prexqstr['messenger'],$exqstr['messenger']); ?>"><?php echo $MessageName; ?></a></div>
 <div class="messagedesc"><?php echo $MessageDesc; ?></div></td>
-<td class="TableRow3" style="text-align: center;"><?php
+<td class="TableColumn3" style="text-align: center;"><?php
 if($SenderID!="-1") {
 echo "<a href=\"";
 echo url_maker($exfile['member'],$Settings['file_ext'],"act=view&id=".$SenderID,$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']);
@@ -179,11 +186,11 @@ echo "\">".$SenderName."</a>"; }
 if($SenderID=="-1") {
 echo "<span>".$SenderName."</span>"; }
 ?></td>
-<td class="TableRow3" style="text-align: center;"><?php echo $DateSend; ?></td>
+<td class="TableColumn3" style="text-align: center;"><?php echo $DateSend; ?></td>
 </tr>
 <?php ++$i; } @mysql_free_result($result); ?>
 <tr id="MessengerEnd" class="TableRow4">
-<td class="TableRow4" colspan="4">&nbsp;</td>
+<td class="TableColumn4" colspan="4">&nbsp;</td>
 </tr>
 <?php } 
 if($_GET['act']=="viewsent") {
@@ -268,17 +275,24 @@ $pstring = $pstring."... <a href=\"".url_maker($exfile['messenger'],$Settings['f
 //List Page Number Code end
 ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="float: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['messenger'],$Settings['file_ext'],"act=viewsent&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['messenger'],$exqstr['messenger']); ?>">MailBox&nbsp;(<?php echo $PMNumber; ?>)</a>
+</span><span style="float: right;"><?php echo $pstring; ?></span>&nbsp;</div>
+<?php } ?>
 <table class="Table1" style="width: 100%;">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1">
-<td class="TableRow1" colspan="4"><span style="float: left;">
+<td class="TableColumn1" colspan="4"><span style="float: left;">
 <?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['messenger'],$Settings['file_ext'],"act=viewsent&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['messenger'],$exqstr['messenger']); ?>">MailBox&nbsp;(<?php echo $PMNumber; ?>)</a>
-</span><span style="float: right;"><?php echo $pstring; ?></span></td>
-</tr>
+</span><span style="float: right;"><?php echo $pstring; ?></span>&nbsp;</td>
+</tr><?php } ?>
 <tr id="Messenger" class="TableRow2">
-<th class="TableRow2" style="width: 4%;">State</th>
-<th class="TableRow2" style="width: 46%;">Message Name</th>
-<th class="TableRow2" style="width: 25%;">Sent To</th>
-<th class="TableRow2" style="width: 25%;">Time</th>
+<th class="TableColumn2" style="width: 4%;">State</th>
+<th class="TableColumn2" style="width: 46%;">Message Name</th>
+<th class="TableColumn2" style="width: 25%;">Sent To</th>
+<th class="TableColumn2" style="width: 25%;">Time</th>
 </tr>
 <?php
 while ($i < $num) {
@@ -302,12 +316,12 @@ if ($MessageStat==1) {
        $PreMessage=$ThemeSet['MessageRead']; }
 ?>
 <tr class="TableRow3" id="Message<?php echo $PMID; ?>">
-<td class="TableRow3"><div class="messagestate">
+<td class="TableColumn3"><div class="messagestate">
 <?php echo $PreMessage; ?></div></td>
-<td class="TableRow3"><div class="messagename">
+<td class="TableColumn3"><div class="messagename">
 <a href="<?php echo url_maker($exfile['messenger'],$Settings['file_ext'],"act=read&id=".$PMID,$Settings['qstr'],$Settings['qsep'],$prexqstr['messenger'],$exqstr['messenger']); ?>"><?php echo $MessageName; ?></a></div>
 <div class="messagedesc"><?php echo $MessageDesc; ?></div></td>
-<td class="TableRow3" style="text-align: center;"><?php
+<td class="TableColumn3" style="text-align: center;"><?php
 if($SentToID!="-1") {
 echo "<a href=\"";
 echo url_maker($exfile['member'],$Settings['file_ext'],"act=view&id=".$SentToID,$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']);
@@ -315,11 +329,11 @@ echo "\">".$SentToName."</a>"; }
 if($SentToID=="-1") {
 echo "<span>".$SentToName."</span>"; }
 ?></td>
-<td class="TableRow3" style="text-align: center;"><?php echo $DateSend; ?></td>
+<td class="TableColumn3" style="text-align: center;"><?php echo $DateSend; ?></td>
 </tr>
 <?php ++$i; } ?>
 <tr id="MessengerEnd" class="TableRow4">
-<td class="TableRow4" colspan="4">&nbsp;</td>
+<td class="TableColumn4" colspan="4">&nbsp;</td>
 </tr>
 <?php } @mysql_free_result($result);
 if($_GET['act']=="read") {
@@ -389,13 +403,19 @@ $User1Signature = preg_replace("/\<br\>/", "<br />\n", nl2br($User1Signature));
 $User1Signature = text2icons($User1Signature,$Settings['sqltable']);
 ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="font-weight: bold; text-align: left;"><?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['messenger'],$Settings['file_ext'],"act=view&id=".$_GET['id'],$Settings['qstr'],$Settings['qsep'],$prexqstr['messenger'],$exqstr['messenger']); ?>"><?php echo $MessageName; ?></a> ( <?php echo $MessageDesc; ?> )</span>
+</div>
+<?php } ?>
 <table class="Table1" style="width: 100%;">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1">
-<td class="TableRow1" colspan="2"><span style="font-weight: bold; float: left;"><?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['messenger'],$Settings['file_ext'],"act=view&id=".$_GET['id'],$Settings['qstr'],$Settings['qsep'],$prexqstr['messenger'],$exqstr['messenger']); ?>"><?php echo $MessageName; ?></a> ( <?php echo $MessageDesc; ?> )</span>
-<span style="float: right;">&nbsp;</span></td>
-</tr>
+<td class="TableColumn1" colspan="2"><span style="font-weight: bold; text-align: left;"><?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['messenger'],$Settings['file_ext'],"act=view&id=".$_GET['id'],$Settings['qstr'],$Settings['qsep'],$prexqstr['messenger'],$exqstr['messenger']); ?>"><?php echo $MessageName; ?></a> ( <?php echo $MessageDesc; ?> )</span>
+</td>
+</tr><?php } ?>
 <tr class="TableRow2">
-<td class="TableRow2" style="vertical-align: middle; width: 160px;">
+<td class="TableColumn2" style="vertical-align: middle; width: 160px;">
 &nbsp;<?php
 if($User1ID!="-1") {
 echo "<a href=\"";
@@ -404,15 +424,15 @@ echo "\">".$User1Name."</a>"; }
 if($User1ID=="-1") {
 echo "<span>".$User1Name."</span>"; }
 ?></td>
-<td class="TableRow2" style="vertical-align: middle;">
-<div style="text-align: left; float: left;">
+<td class="TableColumn2" style="vertical-align: middle;">
+<div style="text-align: left; text-align: left;">
 <span style="font-weight: bold;">Time Sent: </span><?php echo $DateSend; ?>
 </div>
 <div style="text-align: right;">&nbsp;</div>
 </td>
 </tr>
 <tr>
-<td class="TableRow3" style="vertical-align: top; width: 180px;">
+<td class="TableColumn3" style="vertical-align: top; width: 180px;">
  <?php  /* Avatar Table Thanks For SeanJ's Help at http://seanj.jcink.com/ */  ?>
  <table class="AvatarTable" style="width: 100px; height: 100px; text-align: center;">
        <tr class="AvatarRow" style="width: 100%; height: 100%;">
@@ -431,15 +451,15 @@ Posts: <?php echo $User1PostCount; ?><br />
 Karma: <?php echo $User1Karma; ?><br />
 Joined: <?php echo $User1Joined; ?><br /><br />
 </td>
-<td class="TableRow3" style="vertical-align: middle;">
+<td class="TableColumn3" style="vertical-align: middle;">
 <div class="pmpost"><?php echo $MessageText; ?></div>
 <?php if(isset($User1Signature)) { ?> <br />--------------------
 <div class="signature"><?php echo $User1Signature; ?></div><?php } ?>
 </td>
 </tr>
 <tr class="TableRow4">
-<td class="TableRow4" colspan="2">
-<span style="float: left;">&nbsp;<a href="<?php
+<td class="TableColumn4" colspan="2">
+<span style="text-align: left;">&nbsp;<a href="<?php
 if($User1ID!="-1") {
 echo url_maker($exfile['member'],$Settings['file_ext'],"act=view&id=".$User1ID,$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']); }
 if($User1ID=="-1") {
@@ -450,7 +470,7 @@ echo url_maker($exfile['messenger'],$Settings['file_ext'],"act=create&id=".$User
 if($User1ID=="-1") {
 echo url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index']); }
 ?>"><?php echo $ThemeSet['PM']; ?></a></span>
-<span style="float: right;">&nbsp;</span></td></tr>
+</td></tr>
 <?php } ?>
 </table></div>
 </td></tr>
@@ -471,17 +491,23 @@ if(!isset($renum)) { $renum = 0; }
 if($renum==0) { $SendMessageTo = null; }
 ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['messenger'],$Settings['file_ext'],"act=create",$Settings['qstr'],$Settings['qsep'],$prexqstr['messenger'],$exqstr['messenger']); ?>">Seanding a Message</a></span></div>
+<?php } ?>
 <table class="Table1" id="MakeMessage">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1" id="MessageStart">
-<td class="TableRow1" colspan="2"><span style="float: left;">
+<td class="TableColumn1" colspan="2"><span style="text-align: left;">
 <?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['messenger'],$Settings['file_ext'],"act=create",$Settings['qstr'],$Settings['qsep'],$prexqstr['messenger'],$exqstr['messenger']); ?>">Seanding a Message</a></span>
-<?php echo "<span style=\"float: right;\">&nbsp;</span>"; ?></td>
-</tr>
+</td>
+</tr><?php } ?>
 <tr id="MakeMessageRow" class="TableRow2">
-<td class="TableRow2" colspan="2" style="width: 100%;">Making a Message</td>
+<td class="TableColumn2" colspan="2" style="width: 100%;">Making a Message</td>
 </tr>
 <tr class="TableRow3" id="MkMessage">
-<td class="TableRow3" style="width: 15%; vertical-align: middle; text-align: center;">
+<td class="TableColumn3" style="width: 15%; vertical-align: middle; text-align: center;">
 <div style="width: 100%; height: 160px; overflow: auto;">
 <table style="width: 100%; text-align: center;"><?php
 $renee_query=query("SELECT * FROM `".$Settings['sqltable']."smileys` WHERE `Show`='yes'", array(null));
@@ -508,7 +534,7 @@ echo "<td colspan=\"".$SmileCRowL."\">&nbsp;</td></tr>"; }
 echo "</table>";
 @mysql_free_result($renee_result);
 ?></div></td>
-<td class="TableRow3" style="width: 85%;">
+<td class="TableColumn3" style="width: 85%;">
 <form style="display: inline;" method="post" id="MkReplyForm" action="<?php echo url_maker($exfile['messenger'],$Settings['file_ext'],"act=sendmessage",$Settings['qstr'],$Settings['qsep'],$prexqstr['messenger'],$exqstr['messenger']); ?>">
 <table style="text-align: left;">
 <tr style="text-align: left;">
@@ -546,7 +572,7 @@ echo "</table>";
 </td></tr></table>
 </form></td></tr>
 <tr id="MkReplyEnd" class="TableRow4">
-<td class="TableRow4" colspan="2">&nbsp;</td>
+<td class="TableColumn4" colspan="2">&nbsp;</td>
 </tr>
 </table></div>
 <?php } if($_GET['act']=="sendmessage"&&$_POST['act']=="sendmessages") {
@@ -564,17 +590,23 @@ if($_SESSION['UserGroup']==$Settings['GuestGroup']&&
 require($SettDir['inc']."captcha.php"); }
 ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['messenger'],$Settings['file_ext'],"act=sendmessage",$Settings['qstr'],$Settings['qsep'],$prexqstr['messenger'],$exqstr['messenger']); ?>">Making a Message</a></span></div>
+<?php } ?>
 <table class="Table1">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1">
-<td class="TableRow1"><span style="float: left;">
+<td class="TableColumn1"><span style="text-align: left;">
 <?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['messenger'],$Settings['file_ext'],"act=sendmessage",$Settings['qstr'],$Settings['qsep'],$prexqstr['messenger'],$exqstr['messenger']); ?>">Making a Message</a></span>
-<?php echo "<span style=\"float: right;\">&nbsp;</span>"; ?></td>
-</tr>
+</td>
+</tr><?php } ?>
 <tr class="TableRow2">
-<th class="TableRow2" style="width: 100%; text-align: left;">&nbsp;Make Message: </th>
+<th class="TableColumn2" style="width: 100%; text-align: left;">&nbsp;Make Message: </th>
 </tr>
 <tr class="TableRow3">
-<td class="TableRow3">
+<td class="TableColumn3">
 <table style="width: 100%; height: 25%; text-align: center;">
 <?php if (pre_strlen($_POST['SendMessageTo'])>="25") { $Error="Yes";  ?>
 <tr>
@@ -816,7 +848,7 @@ mysql_query($query);
 </table>
 </td></tr>
 <tr class="TableRow4">
-<td class="TableRow4">&nbsp;</td>
+<td class="TableColumn4">&nbsp;</td>
 </tr>
 </table></div>
 <?php } ?>
index f9cf3db..f5f8c90 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
     Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: profilemain.php - Last Update: 11/18/2008 SVN 191 - Author: cooldude2k $
+    $FileInfo: profilemain.php - Last Update: 11/29/2008 SVN 193 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="profilemain.php"||$File3Name=="/profilemain.php") {
@@ -30,34 +30,49 @@ if(!isset($_POST['update'])) { $_POST['update'] = null; }
 <table class="Table3">
 <tr style="width: 100%; vertical-align: top;">
        <td style="width: 15%; vertical-align: top;">
-       <table id="ProfileLinks" class="Table1" style="width: 100%; float: left; vertical-align: top;">
+       <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<?php echo $ThemeSet['TitleIcon'] ?>Profile Settings</div>
+<?php } ?>
+<table id="ProfileLinks" class="Table1" style="width: 100%; text-align: left; vertical-align: top;">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1">
-<td class="TableRow1"><?php echo $ThemeSet['TitleIcon'] ?>Profile Settings</td>
-</tr><tr class="TableRow2">
-<td class="TableRow2">&nbsp;</td>
+<td class="TableColumn1"><?php echo $ThemeSet['TitleIcon'] ?>Profile Settings</td>
+</tr><?php } ?>
+<tr class="TableRow2">
+<td class="TableColumn2">&nbsp;</td>
 </tr><tr class="TableRow3">
-<td class="TableRow3"><a href="<?php echo url_maker($exfile['profile'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['profile'],$exqstr['profile']); ?>">Edit NotePad</a></td>
+<td class="TableColumn3"><a href="<?php echo url_maker($exfile['profile'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['profile'],$exqstr['profile']); ?>">Edit NotePad</a></td>
 </tr><tr class="TableRow3">
-<td class="TableRow3"><a href="<?php echo url_maker($exfile['profile'],$Settings['file_ext'],"act=profile",$Settings['qstr'],$Settings['qsep'],$prexqstr['profile'],$exqstr['profile']); ?>">Edit Profile</a></td>
+<td class="TableColumn3"><a href="<?php echo url_maker($exfile['profile'],$Settings['file_ext'],"act=profile",$Settings['qstr'],$Settings['qsep'],$prexqstr['profile'],$exqstr['profile']); ?>">Edit Profile</a></td>
 </tr><tr class="TableRow3">
-<td class="TableRow3"><a href="<?php echo url_maker($exfile['profile'],$Settings['file_ext'],"act=signature",$Settings['qstr'],$Settings['qsep'],$prexqstr['profile'],$exqstr['profile']); ?>">Edit Signature</a></td>
+<td class="TableColumn3"><a href="<?php echo url_maker($exfile['profile'],$Settings['file_ext'],"act=signature",$Settings['qstr'],$Settings['qsep'],$prexqstr['profile'],$exqstr['profile']); ?>">Edit Signature</a></td>
 </tr><tr class="TableRow3">
-<td class="TableRow3"><a href="<?php echo url_maker($exfile['profile'],$Settings['file_ext'],"act=avatar",$Settings['qstr'],$Settings['qsep'],$prexqstr['profile'],$exqstr['profile']); ?>">Edit Avatar</a></td>
+<td class="TableColumn3"><a href="<?php echo url_maker($exfile['profile'],$Settings['file_ext'],"act=avatar",$Settings['qstr'],$Settings['qsep'],$prexqstr['profile'],$exqstr['profile']); ?>">Edit Avatar</a></td>
 </tr><tr class="TableRow4">
-<td class="TableRow4">&nbsp;</td>
-</tr></table><div>&nbsp;</div>
-<table class="Table1" style="width: 100%; float: left; vertical-align: top;">
+<td class="TableColumn4">&nbsp;</td>
+</tr></table><div>
+<div>&nbsp;</div>
+<div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<?php echo $ThemeSet['TitleIcon'] ?>Board Settings</div>
+<?php } ?>
+<table class="Table1" style="width: 100%; text-align: left; vertical-align: top;">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1">
-<td class="TableRow1"><?php echo $ThemeSet['TitleIcon'] ?>Board Settings</td>
-</tr><tr class="TableRow2">
-<td class="TableRow2">&nbsp;</td>
+<td class="TableColumn1"><?php echo $ThemeSet['TitleIcon'] ?>Board Settings</td>
+</tr><?php } ?>
+<tr class="TableRow2">
+<td class="TableColumn2">&nbsp;</td>
 </tr><tr class="TableRow3">
-<td class="TableRow3"><a href="<?php echo url_maker($exfile['profile'],$Settings['file_ext'],"act=settings",$Settings['qstr'],$Settings['qsep'],$prexqstr['profile'],$exqstr['profile']); ?>">Board Settings</a></td>
+<td class="TableColumn3"><a href="<?php echo url_maker($exfile['profile'],$Settings['file_ext'],"act=settings",$Settings['qstr'],$Settings['qsep'],$prexqstr['profile'],$exqstr['profile']); ?>">Board Settings</a></td>
 </tr><tr class="TableRow3">
-<td class="TableRow3"><a href="<?php echo url_maker($exfile['profile'],$Settings['file_ext'],"act=userinfo",$Settings['qstr'],$Settings['qsep'],$prexqstr['profile'],$exqstr['profile']); ?>">Change User Info</a></td>
+<td class="TableColumn3"><a href="<?php echo url_maker($exfile['profile'],$Settings['file_ext'],"act=userinfo",$Settings['qstr'],$Settings['qsep'],$prexqstr['profile'],$exqstr['profile']); ?>">Change User Info</a></td>
 </tr><tr class="TableRow4">
-<td class="TableRow4">&nbsp;</td>
-</tr></table>
+<td class="TableColumn4">&nbsp;</td>
+</tr></table></div>
 </td>
        <td style="width: 85%; vertical-align: top;">
 <?php if($_POST['update']=="now"&&$_GET['act']!=null) {
@@ -68,17 +83,24 @@ $noteact = url_maker($exfile['profile'],$Settings['file_ext'],"act=view",$Settin
 $profiletitle = " ".$ThemeSet['TitleDivider']." NotePad";
 ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo $updateact; ?>">Updating Settings</a>
+</span></div>
+<?php } ?>
 <table class="Table1" style="width: 100%;">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1">
-<td class="TableRow1"><span style="float: left;">
+<td class="TableColumn1"><span style="text-align: left;">
 <?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo $updateact; ?>">Updating Settings</a>
-</span><span style="float: right;">&nbsp;</span></td>
-</tr>
+</span></td>
+</tr><?php } ?>
 <tr id="ProfileTitle" class="TableRow2">
-<th class="TableRow2">Updating Settings</th>
+<th class="TableColumn2">Updating Settings</th>
 </tr>
 <tr class="TableRow3" id="ProfileUpdate">
-<td class="TableRow3">
+<td class="TableColumn3">
 <div style="text-align: center;">
 <br />Profile updated <a href="<?php echo $updateact; ?>">click here</a> to go back. ^_^<br />&nbsp;</div>
 <?php } if($_GET['act']=="view") {
@@ -93,17 +115,24 @@ $noteact = url_maker($exfile['profile'],$Settings['file_ext'],"act=view",$Settin
 $notepadact = $noteact; $profiletitle = " ".$ThemeSet['TitleDivider']." NotePad";
 ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo $noteact; ?>">NotePad</a>
+</span></div>
+<?php } ?>
 <table class="Table1" style="width: 100%;">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1">
-<td class="TableRow1"><span style="float: left;">
+<td class="TableColumn1"><span style="text-align: left;">
 <?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo $noteact; ?>">NotePad</a>
-</span><span style="float: right;">&nbsp;</span></td>
-</tr>
+</span></td>
+</tr><?php } ?>
 <tr id="ProfileTitle" class="TableRow2">
-<th class="TableRow2">NotePad</th>
+<th class="TableColumn2">NotePad</th>
 </tr>
 <tr class="TableRow3" id="NotePadRow">
-<td class="TableRow3">
+<td class="TableColumn3">
 <form style="display: inline;" method="post" action="<?php echo $notepadact; ?>"><div style="text-align: center;">
 <label class="TextBoxLabel" for="NotePad">Your NotePad</label><br />
 <textarea class="TextBox" name="NotePad" id="NotePad" style="width: 75%; height: 128px;" rows="10" cols="84"><?php echo $Notes; ?></textarea>
@@ -113,7 +142,7 @@ $notepadact = $noteact; $profiletitle = " ".$ThemeSet['TitleDivider']." NotePad"
 </div></form></td>
 </tr>
 <tr id="ProfileEnd" class="TableRow4">
-<td class="TableRow4">&nbsp;</td>
+<td class="TableColumn4">&nbsp;</td>
 </tr>
 </table>
 </div>
@@ -169,17 +198,24 @@ $signatureact = url_maker($exfile['profile'],$Settings['file_ext'],"act=signatur
 $profiletitle = " ".$ThemeSet['TitleDivider']." Signature Editor";
 ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo $signatureact; ?>">Signature Editer</a>
+</span></div>
+<?php } ?>
 <table class="Table1" style="width: 100%;">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1">
-<td class="TableRow1"><span style="float: left;">
+<td class="TableColumn1"><span style="text-align: left;">
 <?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo $signatureact; ?>">Signature Editer</a>
-</span><span style="float: right;">&nbsp;</span></td>
-</tr>
+</span></td>
+</tr><?php } ?>
 <tr id="ProfileTitle" class="TableRow2">
-<th class="TableRow2">Signature Editor</th>
+<th class="TableColumn2">Signature Editor</th>
 </tr>
 <tr class="TableRow3" id="SignatureRow">
-<td class="TableRow3">
+<td class="TableColumn3">
 <form style="display: inline;" method="post" action="<?php echo $signatureact; ?>"><div style="text-align: center;">
 <label class="TextBoxLabel" for="Signature">Your Signature</label><br />
 <textarea class="TextBox" name="Signature" id="Signature" style="width: 75%; height: 128px;" rows="10" cols="84"><?php echo $Signature; ?></textarea>
@@ -189,7 +225,7 @@ $profiletitle = " ".$ThemeSet['TitleDivider']." Signature Editor";
 </div></form></td>
 </tr>
 <tr id="ProfileEnd" class="TableRow4">
-<td class="TableRow4">&nbsp;</td>
+<td class="TableColumn4">&nbsp;</td>
 </tr>
 </table>
 </div>
@@ -253,17 +289,24 @@ $AvatarSize1=explode("x", $User1AvatarSize);
 $AvatarSize1W=$AvatarSize1[0]; $AvatarSize1H=$AvatarSize1[1];
 ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo $avataract; ?>">Avatar Editer</a>
+</span></div>
+<?php } ?>
 <table class="Table1" style="width: 100%;">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1">
-<td class="TableRow1"><span style="float: left;">
+<td class="TableColumn1"><span style="text-align: left;">
 <?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo $avataract; ?>">Avatar Editer</a>
-</span><span style="float: right;">&nbsp;</span></td>
-</tr>
+</span></td>
+</tr><?php } ?>
 <tr id="ProfileTitle" class="TableRow2">
-<th class="TableRow2">Avatar Editor</th>
+<th class="TableColumn2">Avatar Editor</th>
 </tr>
 <tr class="TableRow3" id="AvatarEditor">
-<td class="TableRow3">
+<td class="TableColumn3">
 <form style="display: inline;" method="post" action="<?php echo $avataract; ?>">
  <?php  /* Avatar Table Thanks For SeanJ's Help at http://seanj.jcink.com/ */  ?>
  <table class="AvatarTable" style="width: 100px; height: 100px; text-align: center;">
@@ -299,7 +342,7 @@ $AvatarSize1W=$AvatarSize1[0]; $AvatarSize1H=$AvatarSize1[1];
 </form></td>
 </tr>
 <tr id="ProfileEnd" class="TableRow4">
-<td class="TableRow4">&nbsp;</td>
+<td class="TableColumn4">&nbsp;</td>
 </tr>
 </table>
 </div>
@@ -332,17 +375,24 @@ $User1DST=mysql_result($result,$i,"DST");
 $settingsact = url_maker($exfile['profile'],$Settings['file_ext'],"act=settings",$Settings['qstr'],$Settings['qsep'],$prexqstr['profile'],$exqstr['profile']);
 $profiletitle = " ".$ThemeSet['TitleDivider']." Board Settings"; ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo $settingsact; ?>">Board Settings</a>
+</span></div>
+<?php } ?>
 <table class="Table1" style="width: 100%;">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1">
-<td class="TableRow1"><span style="float: left;">
+<td class="TableColumn1"><span style="text-align: left;">
 <?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo $settingsact; ?>">Board Settings</a>
-</span><span style="float: right;">&nbsp;</span></td>
-</tr>
+</span></td>
+</tr><?php } ?>
 <tr id="ProfileTitle" class="TableRow2">
-<th class="TableRow2">Board Settings</th>
+<th class="TableColumn2">Board Settings</th>
 </tr>
 <tr class="TableRow3" id="BoardSettings">
-<td class="TableRow3">
+<td class="TableColumn3">
 <form style="display: inline;" method="post" action="<?php echo $settingsact; ?>">
 <table style="text-align: left;">
 <tr style="text-align: left;">
@@ -446,7 +496,7 @@ if ($handle = opendir($skindir)) { $dirnum = null;
 </form></td>
 </tr>
 <tr id="ProfileEnd" class="TableRow4">
-<td class="TableRow4">&nbsp;</td>
+<td class="TableColumn4">&nbsp;</td>
 </tr>
 </table>
 </div>
@@ -503,17 +553,24 @@ $profileact = url_maker($exfile['profile'],$Settings['file_ext'],"act=profile",$
 $profiletitle = " ".$ThemeSet['TitleDivider']." Profile Editor";
 ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo $profileact; ?>">Profile Editer</a>
+</span></div>
+<?php } ?>
 <table class="Table1" style="width: 100%;">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1">
-<td class="TableRow1"><span style="float: left;">
+<td class="TableColumn1"><span style="text-align: left;">
 <?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo $profileact; ?>">Profile Editer</a>
-</span><span style="float: right;">&nbsp;</span></td>
-</tr>
+</span></td>
+</tr><?php } ?>
 <tr id="ProfileTitle" class="TableRow2">
-<th class="TableRow2">Profile Editor</th>
+<th class="TableColumn2">Profile Editor</th>
 </tr>
 <tr class="TableRow3" id="ProfileEditor">
-<td class="TableRow3">
+<td class="TableColumn3">
 <form style="display: inline;" method="post" action="<?php echo $profileact; ?>">
 <table style="text-align: left;">
 <tr style="text-align: left;">
@@ -618,7 +675,7 @@ echo "<option value=\"".$showmin."\">0:".$showmin." minutes</option>\n";
 </form></td>
 </tr>
 <tr id="ProfileEnd" class="TableRow4">
-<td class="TableRow4">&nbsp;</td>
+<td class="TableColumn4">&nbsp;</td>
 </tr>
 </table>
 </div>
@@ -720,17 +777,24 @@ $userinfoact = url_maker($exfile['profile'],$Settings['file_ext'],"act=userinfo"
 $profiletitle = " ".$ThemeSet['TitleDivider']." User Info Editer";
 ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo $userinfoact; ?>">User Info Editer</a>
+</span></div>
+<?php } ?>
 <table class="Table1" style="width: 100%;">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1">
-<td class="TableRow1"><span style="float: left;">
+<td class="TableColumn1"><span style="text-align: left;">
 <?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo $userinfoact; ?>">User Info Editer</a>
-</span><span style="float: right;">&nbsp;</span></td>
-</tr>
+</span></td>
+</tr><?php } ?>
 <tr id="ProfileTitle" class="TableRow2">
-<th class="TableRow2">User Info Editer</th>
+<th class="TableColumn2">User Info Editer</th>
 </tr>
 <tr class="TableRow3" id="UserInfoEditor">
-<td class="TableRow3">
+<td class="TableColumn3">
 <form style="display: inline;" method="post" action="<?php echo $userinfoact; ?>">
 <table style="text-align: left;">
 <tr style="text-align: left;">
@@ -757,7 +821,7 @@ $profiletitle = " ".$ThemeSet['TitleDivider']." User Info Editer";
 </form></td>
 </tr>
 <tr id="ProfileEnd" class="TableRow4">
-<td class="TableRow4">&nbsp;</td>
+<td class="TableColumn4">&nbsp;</td>
 </tr>
 </table>
 </div>
@@ -810,7 +874,7 @@ if($YourPassword!=$OldPassword) { $Error="Yes"; ?>
        $profiletitle = " ".$ThemeSet['TitleDivider']." Updating Settings"; ?>
 </td></tr>
 <tr id="ProfileTitleEnd" class="TableRow4">
-<td class="TableRow4">&nbsp;</td>
+<td class="TableColumn4">&nbsp;</td>
 </tr></table></div><?php } ?>
 </td></tr>
 </table>
index 9f9c24a..3dc45ee 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
     Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: replys.php - Last Update: 11/18/2008 SVN 191 - Author: cooldude2k $
+    $FileInfo: replys.php - Last Update: 11/29/2008 SVN 193 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="replys.php"||$File3Name=="/replys.php") {
@@ -267,13 +267,19 @@ if($_SESSION['UserID']==0) {
 $ReplyNum = $i + $PageLimit + 1;
 ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="font-weight: bold; text-align: left;"><?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$_GET['id']."&page=".$_GET['page'],$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic'])."&#35;reply".$ReplyNum; ?>"><?php echo $TopicName; ?></a> ( <?php echo $MyDescription; ?> )</span>
+</div>
+<?php } ?>
 <table class="Table1">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1">
-<td class="TableRow1" colspan="2"><span style="font-weight: bold; float: left;"><?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$_GET['id']."&page=".$_GET['page'],$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic'])."&#35;reply".$ReplyNum; ?>"><?php echo $TopicName; ?></a> ( <?php echo $MyDescription; ?> )</span>
-<span style="float: right;">&nbsp;</span></td>
-</tr>
+<td class="TableColumn1" colspan="2"><span style="font-weight: bold; text-align: left;"><?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$_GET['id']."&page=".$_GET['page'],$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic'])."&#35;reply".$ReplyNum; ?>"><?php echo $TopicName; ?></a> ( <?php echo $MyDescription; ?> )</span>
+</td>
+</tr><?php } ?>
 <tr class="TableRow2">
-<td class="TableRow2" style="vertical-align: middle; width: 160px;">
+<td class="TableColumn2" style="vertical-align: middle; width: 160px;">
 &nbsp;<?php
 if($User1ID!="-1") {
 echo "<a href=\"";
@@ -282,8 +288,8 @@ echo "\">".$User1Name."</a>"; }
 if($User1ID=="-1") {
 echo "<span>".$User1Name."</span>"; }
 ?></td>
-<td class="TableRow2" style="vertical-align: middle;">
-<div style="text-align: left; float: left;" id="post<?php echo $MyPostID; ?>">
+<td class="TableColumn2" style="vertical-align: middle;">
+<div style="text-align: left; text-align: left;" id="post<?php echo $MyPostID; ?>">
 <a style="vertical-align: middle;" id="reply<?php echo $ReplyNum; ?>">
 <span style="font-weight: bold;">Time Posted: </span><?php echo $MyTimeStamp; ?></a>
 </div>
@@ -291,7 +297,7 @@ echo "<span>".$User1Name."</span>"; }
 </td>
 </tr>
 <tr class="TableRow3">
-<td class="TableRow3" style="vertical-align: top; width: 180px;">
+<td class="TableColumn3" style="vertical-align: top; width: 180px;">
  <?php  /* Avatar Table Thanks For SeanJ's Help at http://seanj.jcink.com/ */  ?>
  <table class="AvatarTable" style="width: 100px; height: 100px; text-align: center;">
        <tr class="AvatarRow" style="width: 100%; height: 100%;">
@@ -310,15 +316,15 @@ Posts: <?php echo $User1PostCount; ?><br />
 Karma: <?php echo $User1Karma; ?><br />
 Joined: <?php echo $User1Joined; ?><br /><br />
 </td>
-<td class="TableRow3" style="vertical-align: middle;">
+<td class="TableColumn3" style="vertical-align: middle;">
 <div class="replypost"><?php echo $MyPost; ?></div>
 <?php if(isset($User1Signature)) { ?> <br />--------------------
 <div class="signature"><?php echo $User1Signature; ?></div><?php } ?>
 </td>
 </tr>
 <tr class="TableRow4">
-<td class="TableRow4" colspan="2">
-<span style="float: left;">&nbsp;<a href="<?php
+<td class="TableColumn4" colspan="2">
+<span style="text-align: left;">&nbsp;<a href="<?php
 if($User1ID!="-1") {
 echo url_maker($exfile['member'],$Settings['file_ext'],"act=view&id=".$User1ID,$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']); }
 if($User1ID=="-1") {
@@ -329,7 +335,7 @@ echo url_maker($exfile['messenger'],$Settings['file_ext'],"act=create&id=".$User
 if($User1ID=="-1") {
 echo url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index']); }
 ?>"><?php echo $ThemeSet['PM']; ?></a></span>
-<span style="float: right;">&nbsp;</span></td>
+</td>
 </tr>
 </table></div>
 <div>&nbsp;</div>
@@ -343,17 +349,23 @@ if($_GET['fastreply']!==true&&
 $QuoteReply = null; $QuoteDescription = null;
 ?>
 <div class="Table1Border"<?php echo $fps; ?>id="FastReply">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TopicID."&page=".$_GET['page'],$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic']); ?>#<?php echo $TopicID; ?>"><?php echo $TopicName; ?></a></span></div>
+<?php } ?>
 <table class="Table1" id="MakeReply<?php echo $TopicForumID; ?>">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1" id="ReplyStart<?php echo $TopicForumID; ?>">
-<td class="TableRow1" colspan="2"><span style="float: left;">
+<td class="TableColumn1" colspan="2"><span style="text-align: left;">
 <?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TopicID."&page=".$_GET['page'],$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic']); ?>#<?php echo $TopicID; ?>"><?php echo $TopicName; ?></a></span>
-<?php echo "<span style=\"float: right;\">&nbsp;</span>"; ?></td>
-</tr>
+</td>
+</tr><?php } ?>
 <tr id="MakeReplyRow<?php echo $TopicForumID; ?>" class="TableRow2">
-<td class="TableRow2" colspan="2" style="width: 100%;">Making a Reply in Topic <?php echo $TopicName; ?></td>
+<td class="TableColumn2" colspan="2" style="width: 100%;">Making a Reply in Topic <?php echo $TopicName; ?></td>
 </tr>
 <tr class="TableRow3" id="MkReply<?php echo $TopicForumID; ?>">
-<td class="TableRow3" style="width: 15%; vertical-align: middle; text-align: center;">
+<td class="TableColumn3" style="width: 15%; vertical-align: middle; text-align: center;">
 <div style="width: 100%; height: 160px; overflow: auto;">
 <table style="width: 100%; text-align: center;"><?php
 $renee_query=query("SELECT * FROM `".$Settings['sqltable']."smileys` WHERE `Show`='yes'", array(null));
@@ -380,7 +392,7 @@ echo "<td colspan=\"".$SmileCRowL."\">&nbsp;</td></tr>"; }
 echo "</table>";
 @mysql_free_result($renee_result);
 ?></div></td>
-<td class="TableRow3" style="width: 85%;">
+<td class="TableColumn3" style="width: 85%;">
 <form style="display: inline;" method="post" id="MkReplyForm" action="<?php echo url_maker($exfile['topic'],$Settings['file_ext'],"act=makereply&id=".$TopicID,$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic']); ?>">
 <table style="text-align: left;">
 <tr style="text-align: left;">
@@ -413,7 +425,7 @@ echo "</table>";
 </td></tr></table>
 </form></td></tr>
 <tr id="MkReplyEnd<?php echo $TopicForumID; ?>" class="TableRow4">
-<td class="TableRow4" colspan="2">&nbsp;</td>
+<td class="TableColumn4" colspan="2">&nbsp;</td>
 </tr>
 </table>
 <div>&nbsp;</div>
@@ -494,17 +506,23 @@ $QuoteReply = null; $QuoteDescription = null; } } }
 if($_GET['post']==null) { $QuoteReply = null; $QuoteDescription = null; }
 ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TopicID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic']); ?>#<?php echo $TopicID; ?>"><?php echo $TopicName; ?></a></span></div>
+<?php } ?>
 <table class="Table1" id="MakeReply<?php echo $TopicForumID; ?>">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1" id="ReplyStart<?php echo $TopicForumID; ?>">
-<td class="TableRow1" colspan="2"><span style="float: left;">
+<td class="TableColumn1" colspan="2"><span style="text-align: left;">
 <?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TopicID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic']); ?>#<?php echo $TopicID; ?>"><?php echo $TopicName; ?></a></span>
-<?php echo "<span style=\"float: right;\">&nbsp;</span>"; ?></td>
-</tr>
+</td>
+</tr><?php } ?>
 <tr id="MakeReplyRow<?php echo $TopicForumID; ?>" class="TableRow2">
-<td class="TableRow2" colspan="2" style="width: 100%;">Making a Reply in Topic <?php echo $TopicName; ?></td>
+<td class="TableColumn2" colspan="2" style="width: 100%;">Making a Reply in Topic <?php echo $TopicName; ?></td>
 </tr>
 <tr class="TableRow3" id="MkReply<?php echo $TopicForumID; ?>">
-<td class="TableRow3" style="width: 15%; vertical-align: middle; text-align: center;">
+<td class="TableColumn3" style="width: 15%; vertical-align: middle; text-align: center;">
 <div style="width: 100%; height: 160px; overflow: auto;">
 <table style="width: 100%; text-align: center;"><?php
 $renee_query=query("SELECT * FROM `".$Settings['sqltable']."smileys` WHERE `Show`='yes'", array(null));
@@ -531,7 +549,7 @@ echo "<td colspan=\"".$SmileCRowL."\">&nbsp;</td></tr>"; }
 echo "</table>";
 @mysql_free_result($renee_result);
 ?></div></td>
-<td class="TableRow3" style="width: 85%;">
+<td class="TableColumn3" style="width: 85%;">
 <form style="display: inline;" method="post" id="MkReplyForm" action="<?php echo url_maker($exfile['topic'],$Settings['file_ext'],"act=makereply&id=".$TopicID,$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic']); ?>">
 <table style="text-align: left;">
 <tr style="text-align: left;">
@@ -563,7 +581,7 @@ echo "</table>";
 </td></tr></table>
 </form></td></tr>
 <tr id="MkReplyEnd<?php echo $TopicForumID; ?>" class="TableRow4">
-<td class="TableRow4" colspan="2">&nbsp;</td>
+<td class="TableColumn4" colspan="2">&nbsp;</td>
 </tr>
 </table></div>
 <div>&nbsp;</div>
@@ -596,17 +614,23 @@ if($_SESSION['UserGroup']==$Settings['GuestGroup']&&
 require($SettDir['inc']."captcha.php"); }
 ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TopicID,$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic']); ?>#<?php echo $TopicID; ?>"><?php echo $TopicName; ?></a></span></div>
+<?php } ?>
 <table class="Table1">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1">
-<td class="TableRow1"><span style="float: left;">
+<td class="TableColumn1"><span style="text-align: left;">
 <?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TopicID,$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic']); ?>#<?php echo $TopicID; ?>"><?php echo $TopicName; ?></a></span>
-<?php echo "<span style=\"float: right;\">&nbsp;</span>"; ?></td>
-</tr>
+</td>
+</tr><?php } ?>
 <tr class="TableRow2">
-<th class="TableRow2" style="width: 100%; text-align: left;">&nbsp;Make Reply Message: </th>
+<th class="TableColumn2" style="width: 100%; text-align: left;">&nbsp;Make Reply Message: </th>
 </tr>
 <tr class="TableRow3">
-<td class="TableRow3">
+<td class="TableColumn3">
 <table style="width: 100%; height: 25%; text-align: center;">
 <?php if (pre_strlen($_POST['ReplyDesc'])>="45") { $Error="Yes";  ?>
 <tr>
@@ -778,7 +802,7 @@ $NumPages = 1; }
 </table>
 </td></tr>
 <tr class="TableRow4">
-<td class="TableRow4">&nbsp;</td>
+<td class="TableColumn4">&nbsp;</td>
 </tr>
 </table></div>
 <div>&nbsp;</div>
@@ -816,23 +840,29 @@ mysql_query($queryupd);
 @redirect("refresh",$basedir.url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TTopicID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic'],false)."&#35;post".$_GET['post'],"4");
 ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TTopicID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic']); ?>"><?php echo $TopicName; ?></a></span></div>
+<?php } ?>
 <table class="Table1">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1">
-<td class="TableRow1"><span style="float: left;">
+<td class="TableColumn1"><span style="text-align: left;">
 <?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TTopicID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic']); ?>"><?php echo $TopicName; ?></a></span>
-<?php echo "<span style=\"float: right;\">&nbsp;</span>"; ?></td>
-</tr>
+</td>
+</tr><?php } ?>
 <tr class="TableRow2">
-<th class="TableRow2" style="width: 100%; text-align: left;">&nbsp;Pin/Unpin Topic Message: </th>
+<th class="TableColumn2" style="width: 100%; text-align: left;">&nbsp;Pin/Unpin Topic Message: </th>
 </tr>
 <tr class="TableRow3" style="text-align: center;">
-       <td class="TableRow3" style="text-align: center;"><span class="TableMessage"><br />
+       <td class="TableColumn3" style="text-align: center;"><span class="TableMessage"><br />
        Topic was successfully unpinned/pinned.<br />
        Click <a href="<?php echo url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TTopicID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic']); ?>">here</a> to go back to topic.<br />&nbsp;
        </span><br /></td>
 </tr>
 <tr class="TableRow4">
-<td class="TableRow4">&nbsp;</td>
+<td class="TableColumn4">&nbsp;</td>
 </tr>
 </table></div>
 <?php } } if($_GET['act']=="open"||$_GET['act']=="close") {
@@ -867,23 +897,29 @@ mysql_query($queryupd);
 @redirect("refresh",$basedir.url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TTopicID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic'],false)."&#35;post".$_GET['post'],"4");
 ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TTopicID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic']); ?>"><?php echo $TopicName; ?></a></span></div>
+<?php } ?>
 <table class="Table1">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1">
-<td class="TableRow1"><span style="float: left;">
+<td class="TableColumn1"><span style="text-align: left;">
 <?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TTopicID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic']); ?>"><?php echo $TopicName; ?></a></span>
-<?php echo "<span style=\"float: right;\">&nbsp;</span>"; ?></td>
-</tr>
+</td>
+</tr><?php } ?>
 <tr class="TableRow2">
-<th class="TableRow2" style="width: 100%; text-align: left;">&nbsp;Open/Close Topic Message: </th>
+<th class="TableColumn2" style="width: 100%; text-align: left;">&nbsp;Open/Close Topic Message: </th>
 </tr>
 <tr class="TableRow3" style="text-align: center;">
-       <td class="TableRow3" style="text-align: center;"><span class="TableMessage"><br />
+       <td class="TableColumn3" style="text-align: center;"><span class="TableMessage"><br />
        Topic was successfully opened/closed.<br />
        Click <a href="<?php echo url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TTopicID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic']); ?>">here</a> to go back to topic.<br />&nbsp;
        </span><br /></td>
 </tr>
 <tr class="TableRow4">
-<td class="TableRow4">&nbsp;</td>
+<td class="TableColumn4">&nbsp;</td>
 </tr>
 </table></div>
 <?php } } if($_GET['act']=="delete") {
@@ -967,23 +1003,29 @@ mysql_query($queryupd); }
 @mysql_free_result($delresult);
 ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index']); ?>"><?php echo $TopicName; ?></a></span></div>
+<?php } ?>
 <table class="Table1">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1">
-<td class="TableRow1"><span style="float: left;">
+<td class="TableColumn1"><span style="text-align: left;">
 <?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index']); ?>"><?php echo $TopicName; ?></a></span>
-<?php echo "<span style=\"float: right;\">&nbsp;</span>"; ?></td>
-</tr>
+</td>
+</tr><?php } ?>
 <tr class="TableRow2">
-<th class="TableRow2" style="width: 100%; text-align: left;">&nbsp;Delete Reply Message: </th>
+<th class="TableColumn2" style="width: 100%; text-align: left;">&nbsp;Delete Reply Message: </th>
 </tr>
 <tr class="TableRow3" style="text-align: center;">
-       <td class="TableRow3" style="text-align: center;"><span class="TableMessage"><br />
+       <td class="TableColumn3" style="text-align: center;"><span class="TableMessage"><br />
        Reply was deleted successfully.<br />
        Click <a href="<?php echo url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index']); ?>">here</a> to go back to index.<br />&nbsp;
        </span><br /></td>
 </tr>
 <tr class="TableRow4">
-<td class="TableRow4">&nbsp;</td>
+<td class="TableColumn4">&nbsp;</td>
 </tr>
 </table></div>
 <?php } if($_GET['act']=="edit") {
@@ -1045,17 +1087,23 @@ $TopicName = @remove_spaces($TopicName);
 @mysql_free_result($gtsresult);
 ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TopicID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic']); ?>"><?php echo $TopicName; ?></a></span></div>
+<?php } ?>
 <table class="Table1" id="EditReply<?php echo $_GET['post']; ?>">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1" id="ReplyEdit<?php echo $_GET['post']; ?>">
-<td class="TableRow1" colspan="2"><span style="float: left;">
+<td class="TableColumn1" colspan="2"><span style="text-align: left;">
 <?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TopicID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic']); ?>"><?php echo $TopicName; ?></a></span>
-<?php echo "<span style=\"float: right;\">&nbsp;</span>"; ?></td>
-</tr>
+</td>
+</tr><?php } ?>
 <tr id="EditReplyRow<?php echo $_GET['post']; ?>" class="TableRow2">
-<td class="TableRow2" colspan="2" style="width: 100%;">Editing a Reply in Topic <?php echo $TopicName; ?></td>
+<td class="TableColumn2" colspan="2" style="width: 100%;">Editing a Reply in Topic <?php echo $TopicName; ?></td>
 </tr>
 <tr class="TableRow3" id="EditReplies<?php echo $_GET['post']; ?>">
-<td class="TableRow3" style="width: 15%; vertical-align: middle; text-align: center;">
+<td class="TableColumn3" style="width: 15%; vertical-align: middle; text-align: center;">
 <div style="width: 100%; height: 160px; overflow: auto;"><?php
 $renee_query=query("SELECT * FROM `".$Settings['sqltable']."smileys`", array(null));
 $renee_result=mysql_query($renee_query);
@@ -1076,7 +1124,7 @@ if($SmileRow<5) { ?>
 ++$renee_s; ++$SmileRow; }
 @mysql_free_result($renee_result);
 ?></div></td>
-<td class="TableRow3" style="width: 85%;">
+<td class="TableColumn3" style="width: 85%;">
 <form style="display: inline;" method="post" id="EditReplyForm" action="<?php echo url_maker($exfile['topic'],$Settings['file_ext'],"act=editreply&id=".$TopicID."&post=".$_GET['post'],$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic']); ?>">
 <table style="text-align: left;">
 <tr style="text-align: left;">
@@ -1108,7 +1156,7 @@ if($SmileRow<5) { ?>
 </td></tr></table>
 </form></td></tr>
 <tr id="EditReplyEnd<?php echo $_GET['post']; ?>" class="TableRow4">
-<td class="TableRow4" colspan="2">&nbsp;</td>
+<td class="TableColumn4" colspan="2">&nbsp;</td>
 </tr>
 </table></div>
 <div>&nbsp;</div>
@@ -1165,17 +1213,23 @@ if($PermissionInfo['CanEditTopicsClose'][$TopicForumID]=="no"&&$TopicClosed==1)
        $ShowEditTopic = null; } }
 ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TopicID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic']); ?>"><?php echo $TopicName; ?></a></span></div>
+<?php } ?>
 <table class="Table1">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1">
-<td class="TableRow1"><span style="float: left;">
+<td class="TableColumn1"><span style="text-align: left;">
 <?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TopicID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic']); ?>"><?php echo $TopicName; ?></a></span>
-<?php echo "<span style=\"float: right;\">&nbsp;</span>"; ?></td>
-</tr>
+</td>
+</tr><?php } ?>
 <tr class="TableRow2">
-<th class="TableRow2" style="width: 100%; text-align: left;">&nbsp;Edit Reply Message: </th>
+<th class="TableColumn2" style="width: 100%; text-align: left;">&nbsp;Edit Reply Message: </th>
 </tr>
 <tr class="TableRow3">
-<td class="TableRow3">
+<td class="TableColumn3">
 <table style="width: 100%; height: 25%; text-align: center;">
 <?php if (pre_strlen($_POST['ReplyDesc'])>="45") { $Error="Yes";  ?>
 <tr>
@@ -1396,7 +1450,7 @@ mysql_query($queryupd); } }
 </table>
 </td></tr>
 <tr class="TableRow4">
-<td class="TableRow4">&nbsp;</td>
+<td class="TableColumn4">&nbsp;</td>
 </tr>
 </table></div>
 <?php }
index 0125395..1bb6cfd 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
     Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: searchs.php - Last Update: 11/18/2008 SVN 191 - Author: cooldude2k $
+    $FileInfo: searchs.php - Last Update: 11/29/2008 SVN 193 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="searchs.php"||$File3Name=="/searchs.php") {
@@ -33,15 +33,15 @@ if($_GET['act']=="topics") {
 <div class="Table1Border">
 <table class="Table1">
 <tr class="TableRow1">
-<td class="TableRow1"><span style="float: left;">
+<td class="TableColumn1"><span style="text-align: left;">
 <?php echo $ThemeSet['TitleIcon']; ?><a href="<?php echo url_maker($exfile['search'],$Settings['file_ext'],"act=topics",$Settings['qstr'],$Settings['qsep'],$prexqstr['search'],$exqstr['search']); ?>">Topic Search</a>
-</span><span style="float: right;">&nbsp;</span></td>
+</span></td>
 </tr>
 <tr class="TableRow2">
-<th class="TableRow2" style="width: 100%; text-align: left;">&nbsp;Search for topic: </th>
+<th class="TableColumn2" style="width: 100%; text-align: left;">&nbsp;Search for topic: </th>
 </tr>
 <tr class="TableRow3">
-<td class="TableRow3">
+<td class="TableColumn3">
 <form style="display: inline;" method="post" action="<?php echo url_maker($exfile['search'],$Settings['file_ext'],"act=topics",$Settings['qstr'],$Settings['qsep'],$prexqstr['search'],$exqstr['search']); ?>">
 <table style="text-align: left;">
 <tr style="text-align: left;">
@@ -67,7 +67,7 @@ if($_GET['act']=="topics") {
 </td>
 </tr>
 <tr class="TableRow4">
-<td class="TableRow4">&nbsp;</td>
+<td class="TableColumn4">&nbsp;</td>
 </tr>
 </table></div>
 <?php } if($_GET['search']!=null&&$_GET['type']!=null) {
@@ -197,22 +197,22 @@ echo $pstring;
 <div class="Table1Border">
 <table class="Table1" id="Search">
 <tr id="SearchStart" class="TableRow1">
-<td class="TableRow1" colspan="6"><span style="float: left;">
+<td class="TableColumn1" colspan="6"><span style="text-align: left;">
 <?php echo $ThemeSet['TitleIcon'];
 if($_GET['msearch']==null) { ?>
 <a href="<?php echo url_maker($exfile['search'],$Settings['file_ext'],"act=topics&search=".$_GET['search']."&type=".$_GET['type']."&page=".$_GET['page'],$Settings['qstr'],$Settings['qsep'],$prexqstr['search'],$exqstr['search']); ?>">Searching for <?php echo $_GET['search']; ?></a>
 <?php } if($_GET['msearch']!=null) { ?>
 <a href="<?php echo url_maker($exfile['search'],$Settings['file_ext'],"act=topics&search=".$_GET['search']."&type=".$_GET['type']."&msearch=".$_GET['msearch']."&page=".$_GET['page'],$Settings['qstr'],$Settings['qsep'],$prexqstr['search'],$exqstr['search']); ?>">Searching for <?php echo $_GET['search']; ?> by <?php echo $_GET['msearch']; ?></a>
 <?php } ?></span>
-<?php echo "<span style=\"float: right;\">&nbsp;</span>"; ?></td>
+</td>
 </tr>
 <tr id="SearchStatRow" class="TableRow2">
-<th class="TableRow2" style="width: 4%;">State</th>
-<th class="TableRow2" style="width: 36%;">Topic Name</th>
-<th class="TableRow2" style="width: 15%;">Author</th>
-<th class="TableRow2" style="width: 15%;">Time</th>
-<th class="TableRow2" style="width: 5%;">Replys</th>
-<th class="TableRow2" style="width: 25%;">Last Reply</th>
+<th class="TableColumn2" style="width: 4%;">State</th>
+<th class="TableColumn2" style="width: 36%;">Topic Name</th>
+<th class="TableColumn2" style="width: 15%;">Author</th>
+<th class="TableColumn2" style="width: 15%;">Time</th>
+<th class="TableColumn2" style="width: 5%;">Replys</th>
+<th class="TableColumn2" style="width: 25%;">Last Reply</th>
 </tr>
 <?php
 while ($i < $num) {
@@ -307,12 +307,12 @@ if ($PinnedTopic==1&&$TopicStat==1) {
                        $PreTopic=$ThemeSet['PinClosedTopic']; } }
 ?>
 <tr class="TableRow3" id="Topic<?php echo $TopicID; ?>">
-<td class="TableRow3"><div class="topicstate">
+<td class="TableColumn3"><div class="topicstate">
 <?php echo $PreTopic; ?></div></td>
-<td class="TableRow3"><div class="topicname">
+<td class="TableColumn3"><div class="topicname">
 <a href="<?php echo url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TopicID,$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic']); ?>"><?php echo $TopicName; ?></a></div>
 <div class="topicdescription"><?php echo $TopicDescription; ?></div></td>
-<td class="TableRow3" style="text-align: center;"><?php
+<td class="TableColumn3" style="text-align: center;"><?php
 if($UsersID!="-1") {
 echo "<a href=\"";
 echo url_maker($exfile['member'],$Settings['file_ext'],"act=view&id=".$UsersID,$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']);
@@ -320,14 +320,14 @@ echo "\">".$UsersName."</a>"; }
 if($UsersID=="-1") {
 echo "<span>".$UsersName."</span>"; }
 ?></td>
-<td class="TableRow3" style="text-align: center;"><?php echo $TheTime; ?></td>
-<td class="TableRow3" style="text-align: center;"><?php echo $NumReply; ?></td>
-<td class="TableRow3"><?php echo $LastReply; ?></td>
+<td class="TableColumn3" style="text-align: center;"><?php echo $TheTime; ?></td>
+<td class="TableColumn3" style="text-align: center;"><?php echo $NumReply; ?></td>
+<td class="TableColumn3"><?php echo $LastReply; ?></td>
 </tr>
 <?php } ++$i; }
 ?>
 <tr id="SearchEnd" class="TableRow4">
-<td class="TableRow4" colspan="6">&nbsp;</td>
+<td class="TableColumn4" colspan="6">&nbsp;</td>
 </tr>
 </table></div>
 <?php
index da310f1..a52ff57 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
     Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: stats.php - Last Update: 06/07/2008 SVN 166 - Author: cooldude2k $
+    $FileInfo: stats.php - Last Update: 11/29/2008 SVN 193 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="stats.php"||$File3Name=="/stats.php") {
@@ -39,19 +39,25 @@ $NewestMem['Name']=mysql_result($nmresult,0,"Name");
 if($NewestMem['ID']=="-1") { $NewestMem['ID'] = "0"; $NewestMem['Name'] = "Cool Dude 2k"; }
 ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: left;">
+<?php echo $ThemeSet['TitleIcon']; ?><a id="bstats" href="<?php echo url_maker($exfile['index'],$Settings['file_ext'],"act=stats",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index']); ?>#bstats">Board Statistics</a></span></div>
+<?php } ?>
 <table class="Table1">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1">
-<td class="TableRow1" colspan="2"><span style="float: left;">
+<td class="TableColumn1" colspan="2"><span style="text-align: left;">
 <?php echo $ThemeSet['TitleIcon']; ?><a id="bstats" href="<?php echo url_maker($exfile['index'],$Settings['file_ext'],"act=stats",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index']); ?>#bstats">Board Statistics</a></span>
-<?php echo "<span style=\"float: right;\">&nbsp;</span>"; ?></td>
-</tr>
+</td>
+</tr><?php } ?>
 <tr id="Stats1" class="TableRow2">
-<td class="TableRow2" colspan="2" style="width: 100%; font-weight: bold;">Board Stats</td>
+<td class="TableColumn2" colspan="2" style="width: 100%; font-weight: bold;">Board Stats</td>
 </tr>
 <tr class="TableRow3" id="Stats2">
-<td style="width: 4%;" class="TableRow3"><div class="statsicon">
+<td style="width: 4%;" class="TableColumn3"><div class="statsicon">
 <?php echo $ThemeSet['StatsIcon']; ?></div></td>
-<td style="width: 96%;" class="TableRow3"><div class="statsinfo">
+<td style="width: 96%;" class="TableColumn3"><div class="statsinfo">
 &nbsp;Our members have made a total of <?php echo $numposts; ?> posts<br />
 &nbsp;We have a total of <?php echo $numtopics; ?> topics made<br />
 &nbsp;We have <?php echo $nummembers; ?> registered members<br />
@@ -59,7 +65,7 @@ if($NewestMem['ID']=="-1") { $NewestMem['ID'] = "0"; $NewestMem['Name'] = "Cool
 </div></td>
 </tr>
 <tr id="Stats3" class="TableRow4">
-<td class="TableRow4" colspan="2">&nbsp;</td>
+<td class="TableColumn4" colspan="2">&nbsp;</td>
 </tr>
 </table></div>
 <div>&nbsp;</div>
index a017698..5472fa8 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
     Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: subcategories.php - Last Update: 11/18/2008 SVN 191 - Author: cooldude2k $
+    $FileInfo: subcategories.php - Last Update: 11/29/2008 SVN 193 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="subcategories.php"||$File3Name=="/subcategories.php") {
@@ -70,18 +70,24 @@ $i=0;
 if($num>=1) {
 ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: 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></div>
+<?php } ?>
 <table class="Table1" id="SubCat<?php echo $CategoryID; ?>">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr id="SubCatStart<?php echo $CategoryID; ?>" class="TableRow1">
-<td class="TableRow1" colspan="5"><span style="float: left;">
+<td class="TableColumn1" colspan="5"><span style="text-align: 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>
+</td>
+</tr><?php } ?>
 <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>
+<th class="TableColumn2" style="width: 4%;">&nbsp;</th>
+<th class="TableColumn2" style="width: 58%;">Forum</th>
+<th class="TableColumn2" style="width: 7%;">Topics</th>
+<th class="TableColumn2" style="width: 7%;">Posts</th>
+<th class="TableColumn2" style="width: 24%;">Last Topic</th>
 </tr>
 <?php }
 while ($i < $num) {
@@ -168,19 +174,19 @@ $ExStr = ""; if ($ForumType!="redirect"&&
        $ForumShowTopics!="no") { $ExStr = "&page=1"; }
 ?>
 <tr class="TableRow3" id="Forum<?php echo $ForumID; ?>">
-<td class="TableRow3"><div class="forumicon">
+<td class="TableColumn3"><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.$ExStr,$Settings['qstr'],$Settings['qsep'],$prexqstr[$ForumType],$exqstr[$ForumType]); ?>"<?php if($ForumType=="redirect") { echo " onclick=\"window.open(this.href);return false;\""; } ?>><?php echo $ForumName; ?></a></div>
+<td class="TableColumn3"><div class="forumname"><a href="<?php echo url_maker($exfile[$ForumType],$Settings['file_ext'],"act=view&id=".$ForumID.$ExStr,$Settings['qstr'],$Settings['qsep'],$prexqstr[$ForumType],$exqstr[$ForumType]); ?>"<?php if($ForumType=="redirect") { echo " onclick=\"window.open(this.href);return false;\""; } ?>><?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>
+<td class="TableColumn3" style="text-align: center;"><?php echo $NumTopics; ?></td>
+<td class="TableColumn3" style="text-align: center;"><?php echo $NumPosts; ?></td>
+<td class="TableColumn3"><?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>
+<td class="TableColumn4" colspan="5">&nbsp;</td>
 </tr>
 </table></div>
 <div>&nbsp;</div>
index 2c02d0f..8269712 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
     Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: subforums.php - Last Update: 11/18/2008 SVN 191 - Author: cooldude2k $
+    $FileInfo: subforums.php - Last Update: 11/29/2008 SVN 193 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="subforums.php"||$File3Name=="/subforums.php") {
@@ -93,18 +93,24 @@ $num=mysql_num_rows($result);
 $i=0;
 ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: 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></div>
+<?php } ?>
 <table class="Table1" id="Cat<?php echo $CategoryID; ?>">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1" id="CatStart<?php echo $CategoryID; ?>">
-<td class="TableRow1" colspan="5"><span style="float: left;">
+<td class="TableColumn1" colspan="5"><span style="text-align: 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>
+</td>
+</tr><?php } ?>
 <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>
+<th class="TableColumn2" style="width: 4%;">&nbsp;</th>
+<th class="TableColumn2" style="width: 58%;">Forum</th>
+<th class="TableColumn2" style="width: 7%;">Topics</th>
+<th class="TableColumn2" style="width: 7%;">Posts</th>
+<th class="TableColumn2" style="width: 24%;">Last Topic</th>
 </tr>
 <?php
 while ($i < $num) {
@@ -187,18 +193,18 @@ $ExStr = ""; if ($ForumType!="redirect"&&
        $ForumShowTopics!="no") { $ExStr = "&page=1"; }
 ?>
 <tr class="TableRow3" id="SubForum<?php echo $ForumID; ?>">
-<td class="TableRow3"><div class="forumicon">
+<td class="TableColumn3"><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.$ExStr,$Settings['qstr'],$Settings['qsep'],$prexqstr[$ForumType],$exqstr[$ForumType]); ?>"<?php if($ForumType=="redirect") { echo " onclick=\"window.open(this.href);return false;\""; } ?>><?php echo $ForumName; ?></a></div>
+<td class="TableColumn3"><div class="forumname"><a href="<?php echo url_maker($exfile[$ForumType],$Settings['file_ext'],"act=view&id=".$ForumID.$ExStr,$Settings['qstr'],$Settings['qsep'],$prexqstr[$ForumType],$exqstr[$ForumType]); ?>"<?php if($ForumType=="redirect") { echo " onclick=\"window.open(this.href);return false;\""; } ?>><?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>
+<td class="TableColumn3" style="text-align: center;"><?php echo $NumTopics; ?></td>
+<td class="TableColumn3" style="text-align: center;"><?php echo $NumPosts; ?></td>
+<td class="TableColumn3"><?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>
+<td class="TableColumn4" colspan="5">&nbsp;</td>
 </tr>
 </table></div>
 <div>&nbsp;</div>
index 43670a0..0746a61 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
     Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: topics.php - Last Update: 11/18/2008 SVN 191 - Author: cooldude2k $
+    $FileInfo: topics.php - Last Update: 11/29/2008 SVN 193 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="topics.php"||$File3Name=="/topics.php") {
@@ -200,19 +200,25 @@ echo $pstring;
 //List Page Number Code end
 ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['forum'],$Settings['file_ext'],"act=view&id=".$ForumID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['forum'],$exqstr['forum']); ?>#<?php echo $ForumID; ?>"><?php echo $ForumName; ?></a></span></div>
+<?php } ?>
 <table class="Table1" id="Forum<?php echo $ForumID; ?>">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr id="ForumStart<?php echo $ForumID; ?>" class="TableRow1">
-<td class="TableRow1" colspan="6"><span style="float: left;">
+<td class="TableColumn1" colspan="6"><span style="text-align: left;">
 <?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['forum'],$Settings['file_ext'],"act=view&id=".$ForumID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['forum'],$exqstr['forum']); ?>#<?php echo $ForumID; ?>"><?php echo $ForumName; ?></a></span>
-<?php echo "<span style=\"float: right;\">&nbsp;</span>"; ?></td>
-</tr>
+</td>
+</tr><?php } ?>
 <tr id="TopicStatRow<?php echo $ForumID; ?>" class="TableRow2">
-<th class="TableRow2" style="width: 4%;">State</th>
-<th class="TableRow2" style="width: 36%;">Topic Name</th>
-<th class="TableRow2" style="width: 15%;">Author</th>
-<th class="TableRow2" style="width: 15%;">Time</th>
-<th class="TableRow2" style="width: 5%;">Replys</th>
-<th class="TableRow2" style="width: 25%;">Last Reply</th>
+<th class="TableColumn2" style="width: 4%;">State</th>
+<th class="TableColumn2" style="width: 36%;">Topic Name</th>
+<th class="TableColumn2" style="width: 15%;">Author</th>
+<th class="TableColumn2" style="width: 15%;">Time</th>
+<th class="TableColumn2" style="width: 5%;">Replys</th>
+<th class="TableColumn2" style="width: 25%;">Last Reply</th>
 </tr>
 <?php
 while ($i < $num) {
@@ -291,12 +297,12 @@ if ($PinnedTopic==1&&$TopicStat==1) {
                        $PreTopic=$ThemeSet['PinClosedTopic']; } }
 ?>
 <tr class="TableRow3" id="Topic<?php echo $TopicID; ?>">
-<td class="TableRow3"><div class="topicstate">
+<td class="TableColumn3"><div class="topicstate">
 <?php echo $PreTopic; ?></div></td>
-<td class="TableRow3"><div class="topicname">
+<td class="TableColumn3"><div class="topicname">
 <a href="<?php echo url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TopicID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic']); ?>"><?php echo $TopicName; ?></a></div>
 <div class="topicdescription"><?php echo $TopicDescription; ?></div></td>
-<td class="TableRow3" style="text-align: center;"><?php
+<td class="TableColumn3" style="text-align: center;"><?php
 if($UsersID!="-1") {
 echo "<a href=\"";
 echo url_maker($exfile['member'],$Settings['file_ext'],"act=view&id=".$UsersID,$Settings['qstr'],$Settings['qsep'],$prexqstr['member'],$exqstr['member']);
@@ -304,14 +310,14 @@ echo "\">".$UsersName."</a>"; }
 if($UsersID=="-1") {
 echo "<span>".$UsersName."</span>"; }
 ?></td>
-<td class="TableRow3" style="text-align: center;"><?php echo $TheTime; ?></td>
-<td class="TableRow3" style="text-align: center;"><?php echo $NumReply; ?></td>
-<td class="TableRow3"><?php echo $LastReply; ?></td>
+<td class="TableColumn3" style="text-align: center;"><?php echo $TheTime; ?></td>
+<td class="TableColumn3" style="text-align: center;"><?php echo $NumReply; ?></td>
+<td class="TableColumn3"><?php echo $LastReply; ?></td>
 </tr>
 <?php ++$i; } 
 ?>
 <tr id="ForumEnd<?php echo $ForumID; ?>" class="TableRow4">
-<td class="TableRow4" colspan="6">&nbsp;</td>
+<td class="TableColumn4" colspan="6">&nbsp;</td>
 </tr>
 </table></div>
 <div>&nbsp;</div>
@@ -332,17 +338,23 @@ ob_clean(); @header("Content-Type: text/plain; charset=".$Settings['charset']);
 gzip_page($Settings['use_gzip'],$GZipEncode['Type']); @mysql_close(); die(); }
 ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['forum'],$Settings['file_ext'],"act=view&id=".$ForumID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['forum'],$exqstr['forum']); ?>"><?php echo $ForumName; ?></a></span></div>
+<?php } ?>
 <table class="Table1" id="MakeTopic<?php echo $ForumID; ?>">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1" id="TopicStart<?php echo $ForumID; ?>">
-<td class="TableRow1" colspan="2"><span style="float: left;">
+<td class="TableColumn1" colspan="2"><span style="text-align: left;">
 <?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['forum'],$Settings['file_ext'],"act=view&id=".$ForumID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['forum'],$exqstr['forum']); ?>"><?php echo $ForumName; ?></a></span>
-<?php echo "<span style=\"float: right;\">&nbsp;</span>"; ?></td>
-</tr>
+</td>
+</tr><?php } ?>
 <tr id="MakeTopicRow<?php echo $ForumID; ?>" class="TableRow2">
-<td class="TableRow2" colspan="2" style="width: 100%;">Making a Topic in <?php echo $ForumName; ?></td>
+<td class="TableColumn2" colspan="2" style="width: 100%;">Making a Topic in <?php echo $ForumName; ?></td>
 </tr>
 <tr class="TableRow3" id="MkTopic<?php echo $ForumID; ?>">
-<td class="TableRow3" style="width: 15%; vertical-align: middle; text-align: center;">
+<td class="TableColumn3" style="width: 15%; vertical-align: middle; text-align: center;">
 <div style="width: 100%; height: 160px; overflow: auto;">
 <table style="width: 100%; text-align: center;"><?php
 $renee_query=query("SELECT * FROM `".$Settings['sqltable']."smileys` WHERE `Show`='yes'", array(null));
@@ -369,7 +381,7 @@ echo "<td colspan=\"".$SmileCRowL."\">&nbsp;</td></tr>"; }
 echo "</table>";
 @mysql_free_result($renee_result);
 ?></div></td>
-<td class="TableRow3" style="width: 85%;">
+<td class="TableColumn3" style="width: 85%;">
 <form style="display: inline;" method="post" id="MkTopicForm" action="<?php echo url_maker($exfile['forum'],$Settings['file_ext'],"act=maketopic&id=".$ForumID,$Settings['qstr'],$Settings['qsep'],$prexqstr['forum'],$exqstr['forum']); ?>">
 <table style="text-align: left;">
 <tr style="text-align: left;">
@@ -404,7 +416,7 @@ echo "</table>";
 </td></tr></table>
 </form></td></tr>
 <tr id="MkTopicEnd<?php echo $ForumID; ?>" class="TableRow4">
-<td class="TableRow4" colspan="2">&nbsp;</td>
+<td class="TableColumn4" colspan="2">&nbsp;</td>
 </tr>
 </table></div>
 <div>&nbsp;</div>
@@ -426,17 +438,23 @@ if($_SESSION['UserGroup']==$Settings['GuestGroup']&&
 require($SettDir['inc']."captcha.php"); }
 ?>
 <div class="Table1Border">
+<?php if($ThemeSet['TableStyle']=="div") { ?>
+<div class="TableRow1">
+<span style="text-align: left;">
+<?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['forum'],$Settings['file_ext'],"act=view&id=".$ForumID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['forum'],$exqstr['forum']); ?>"><?php echo $ForumName; ?></a></span></div>
+<?php } ?>
 <table class="Table1">
+<?php if($ThemeSet['TableStyle']=="table") { ?>
 <tr class="TableRow1">
-<td class="TableRow1"><span style="float: left;">
+<td class="TableColumn1"><span style="text-align: left;">
 <?php echo $ThemeSet['TitleIcon'] ?><a href="<?php echo url_maker($exfile['forum'],$Settings['file_ext'],"act=view&id=".$ForumID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['forum'],$exqstr['forum']); ?>"><?php echo $ForumName; ?></a></span>
-<?php echo "<span style=\"float: right;\">&nbsp;</span>"; ?></td>
-</tr>
+</td>
+</tr><?php } ?>
 <tr class="TableRow2">
-<th class="TableRow2" style="width: 100%; text-align: left;">&nbsp;Make Topic Message: </th>
+<th class="TableColumn2" style="width: 100%; text-align: left;">&nbsp;Make Topic Message: </th>
 </tr>
 <tr class="TableRow3">
-<td class="TableRow3">
+<td class="TableColumn3">
 <table style="width: 100%; height: 25%; text-align: center;">
 <?php if (pre_strlen($_POST['TopicName'])>="30") { $Error="Yes";  ?>
 <tr>
@@ -670,7 +688,7 @@ mysql_query($queryupd);
 </table>
 </td></tr>
 <tr class="TableRow4">
-<td class="TableRow4">&nbsp;</td>
+<td class="TableColumn4">&nbsp;</td>
 </tr>
 </table></div>
 <div>&nbsp;</div>
index abf75d7..ea4ee47 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
     Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: versioninfo.php - Last Update: 11/19/2008 SVN 192 - Author: cooldude2k $
+    $FileInfo: versioninfo.php - Last Update: 11/29/2008 SVN 193 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="versioninfo.php"||$File3Name=="/versioninfo.php") {
@@ -27,8 +27,8 @@ function version_info($proname,$subver,$ver,$supver,$reltype,$svnver,$showsvn) {
        return $return_var; }
 // Version number and date stuff. :P
 $VER1[0] = 0; $VER1[1] = 2; $VER1[2] = 3; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2];
-$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 192; $RName = "iDB"; $SFName = "IntDB";
-$SVNDay[0] = 11; $SVNDay[1] = 19; $SVNDay[2] = 2008; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2];
+$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 193; $RName = "iDB"; $SFName = "IntDB";
+$SVNDay[0] = 11; $SVNDay[1] = 29; $SVNDay[2] = 2008; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2];
 $VerInfo['iDB_Ver'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[1],$SubVerN,false);
 $VerInfo['iDB_Ver_SVN'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[1],$SubVerN,true);
 $VerInfo['iDB_Full_Ver'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[0],$SubVerN,false);
index 9ae291f..5640be6 100644 (file)
--- a/mysql.php
+++ b/mysql.php
@@ -11,7 +11,7 @@
     Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
     Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
 
-    $FileInfo: mysql.php - Last Update: 11/19/2008 SVN 192 - Author: cooldude2k $
+    $FileInfo: mysql.php - Last Update: 11/29/2008 SVN 193 - Author: cooldude2k $
 */
 //@ini_set("display_errors", true); 
 //@ini_set("display_startup_errors", true);
@@ -269,7 +269,6 @@ $_GET['theme']=preg_replace("/(.*?)\.\/(.*?)/", "iDB", $_GET['theme']);
 if($_GET['theme']=="../"||$_GET['theme']=="./") {
 $_GET['theme']="iDB"; $_SESSION['Theme']="iDB"; }
 if (file_exists($SettDir['themes'].$_GET['theme']."/settings.php")) {
-$_SESSION['Theme'] = $_GET['theme'];
 if($_SESSION['UserGroup']!=$Settings['GuestGroup']) {
 $NewDay=GMTimeStamp();
 $qnewskin = query("update `".$Settings['sqltable']."members` set `UseTheme`='%s',`LastActive`='%s' WHERE `id`=%i", array($_GET['theme'],$NewDay,$_SESSION['UserID']));
@@ -287,6 +286,13 @@ $_GET['theme']=$Settings['DefaultTheme']; } }
 $PreSkin['skindir1'] = $_SESSION['Theme'];
 $PreSkin['skindir2'] = $SettDir['themes'].$_SESSION['Theme'];
 require($SettDir['themes'].$_GET['theme']."/settings.php");
+$_SESSION['Theme'] = $_GET['theme'];
+if(!isset($ThemeSet['TableStyle'])) {
+       $ThemeSet['TableStyle'] = "table"; }
+if(isset($ThemeSet['TableStyle'])) {
+if($ThemeSet['TableStyle']!="div"&&
+       $ThemeSet['TableStyle']!="table") {
+       $ThemeSet['TableStyle'] = "table"; } }
 if(!isset($_SESSION['DBName'])) { $_SESSION['DBName'] = null; }
 if($_SESSION['DBName']==null) {
        $_SESSION['DBName'] = $Settings['sqldb']; }