AND user.lastvisit >= '" . iif($vbulletin->options['gxbl_user_timeout'] == '0', '0', (TIMENOW - ($vbulletin->options['gxbl_user_timeout'] * 86400)) ) . "' AND (gxboxlive.updated IS NULL OR DATE_FORMAT( FROM_UNIXTIME( gxboxlive.updated ), '%Y-%m-%d' ) != '" . date("Y-m-d", TIMENOW) . "')