// parse headinclude, header & footer
$lastposts = $DB_site->query_first("SELECT COUNT(*) AS twentyfourhours FROM " . TABLE_PREFIX . "post WHERE dateline > " . (TIMENOW - 86400)); $lastposts['twentyfourhours'] = vb_number_format($lastposts['twentyfourhours']);