I got this warning:
PHP Warning: date() expects parameter 2 to be long, string given in /home/xxxx/public_html/init.php on line 98
and the code:
$stats['statTodaysLinks'] = $db->GetOne("SELECT COUNT(*) FROM `{$tables['link']['name']}` WHERE `DATE_ADDED` LIKE '".date ('Y-m-d', TIMENOW)."%'");