$totalfiles: $files
 $totalcategories: $cats
 $totaldownloads: $total_hits
 "._NSSENT.": $mysizes

"; $content = ""; $content .= " "; $content .= " "; $content .= " "; $content .= " "; $content .= "
";// Latest added if ($useimages == 1) { $content .= "



"; } else { $content .= "
$recent:
"; } $a = 1; $result = sql_query("select cid, lid, title, hits from ".$prefix."_downloads_downloads where ns_disable='0' order by date DESC limit 0,$downloadstoshow", $dbi); while(list($cid, $lid, $title, $hits) = sql_fetch_row($result, $dbi)) { $title2 = ereg_replace("_", " ", $title); $content .= "$a: $title2 [$hitstext: $hits]
"; $a++; } $content .="
";// Most downloaded if ($useimages == 1) { $content .= "



"; } else { $content .= "
$popular:
"; } $a = 1; $result = sql_query("select cid, lid, title, hits from ".$prefix."_downloads_downloads where ns_disable='0' order by hits DESC limit 0,$downloadstoshow", $dbi); while(list($cid, $lid, $title, $hits) = sql_fetch_row($result, $dbi)) { $title2 = ereg_replace("_", " ", $title); $content .= "$a: $title2 [$hitstext: $hits]
"; $a++; } $content .="
"; ?>