function useronline_page() { _deprecated_function(__FUNCTION__, '2.70', 'users_online_page()'); users_online_page(); }
function page_content() { echo users_online_page(); }
static function ajax() { $mode = trim($_POST['mode']); $page_title = strip_tags($_POST['page_title']); $page_url = str_replace(get_bloginfo('url'), '', $_POST['page_url']); if ($page_url != $_POST['page_url']) { self::record($page_url, $page_title); } switch ($mode) { case 'count': users_online(); break; case 'browsing-site': users_browsing_site(); break; case 'browsing-page': users_browsing_page($page_url); break; case 'details': echo users_online_page(); break; } die; }