<?php
/* Code based on http://www.phpcodester.com/2011/04/drupal-7-block-for-whos-online-with-… */
if (user_access('access content')) {
$spiders = array('google', 'fatlens', 'yahoo', 'altavista', 'yandex', 'baidu', 'bing', 'thefind', 'bot', 'spider', 'crawl');
$now = $_SERVER['REQUEST_TIME'];