\n
\n";
if ($theme_width == "100%") echo "".$locale['030']." | \n";
echo "".$locale['031']." |
".$locale['033']." |
".$locale['034']." |
\n";
while ($data = dbarray($result)) {
if ($i % 2 == 0) { $row_color = "tbl1"; } else { $row_color = "tbl2"; }
$result2 = dbquery("SELECT post_id FROM ".$db_prefix."posts WHERE thread_id='".$data['thread_id']."' ORDER BY post_id DESC");
echo "\n";
if ($theme_width == "100%") {
echo "".$data['forum_name']." |
".trimlink($data['thread_subject'], 30)." | \n";
} else {
echo "".trimlink($data['thread_subject'], 30)." | \n";
}
echo "".(dbrows($result2)-1)." |
".$data['user_name']." |
".showdate("forumdate", $data['thread_lastpost'])." |
\n";
$i++;
}
echo "\n";
closetable();
if ($rows > 20) echo "\n".makePageNav($rowstart,20,$rows,3)."\n
\n";
} else {
opentable($locale['026']);
echo "
\n".$locale['037']."
\n\n";
closetable();
}
require_once BASEDIR."side_right.php";
require_once BASEDIR."footer.php";
?>