query($DB, $sSQL); $rec=$q->getrow(); if($rec["folder"]==0){ header("Location: $forum_url/$list_page.$ext?f=$rec[id]$GetVars"); exit(); } } $title = $lForumList; if(file_exists("$include_path/header_$ForumConfigSuffix.php")){ include "$include_path/header_$ForumConfigSuffix.php"; } else{ include "$include_path/header.php"; } if($f!=0){ $level=''; if($ForumParent!=0){ $level="f=$ForumParent"; } $table_width=$ForumTableWidth; $table_header_color=$ForumTableHeaderColor; $table_header_font_color=$ForumTableHeaderFontColor; $table_body_color_1=$ForumTableBodyColor1; $table_body_font_color_1=$ForumTableBodyFontColor1; $nav_color=$ForumNavColor; $nav_font_color=$ForumNavFontColor; ?>
valign="TOP" nowrap> |
> | |
";
echo " ";
if($rec["folder"]){
echo " $name | ";
/* Whoever added this did a bad job.
$sSQL="SELECT id,name FROM ".$pho_main." WHERE parent=$rec[id] AND active=1";
$aq=new query($DB, $sSQL);
$aq->query($DB, $sSQL);
while ($anchor=$aq->getrow()) {
echo " ";
echo "";
echo $anchor["name"];
echo ", ";
}
*/
echo "$lForumFolder | $lNumPosts: $num_posts $lLastPostDate: $last_post_date | "; } echo "
";
echo "
| |
> |