View file system/counts/new_themes.php

File size: 276B
<?
 $allfield = mysql_result(mysql_query("SELECT COUNT(*) FROM `forum_them` WHERE `time` > ".(time()-86400).""),0);
 
 if($allfield > 0){
    $forum_list .= '<a href="forum/new.themes.php">'.$allfield.'</a>';
}else {
    $forum_list .= '0';
}

return $forum_list;
?>