probiers mal mit:

if (($bannercheck['lastbanner']+20) > time())