function asacp_latest_version() { global $user, $config; $latest_version = antispam::version_check(); if ($latest_version === false) { $version = $user->lang['NOT_AVAILABLE']; $version .= '<br />' . sprintf($user->lang['CLICK_CHECK_NEW_VERSION'], '<a href="http://www.lithiumstudios.org/phpBB3/viewtopic.php?f=31&t=941">', '</a>'); } else { $version = $latest_version; if (version_compare(ASACP_VERSION, $latest_version, '<')) { $version .= '<br />' . sprintf($user->lang['CLICK_GET_NEW_VERSION'], '<a href="http://www.lithiumstudios.org/phpBB3/viewtopic.php?f=31&t=941">', '</a>'); } } return $version; }