strpos($_SERVER['HTTP_USER_AGENT'], 'Gaisbot/3.0') !== false ||
strpos($_SERVER['HTTP_USER_AGENT'], 'psbot/0.1') !== false ||
strpos($_SERVER['HTTP_USER_AGENT'], 'Ask Jeeves/Teoma') !== false ||
+ strpos($_SERVER['HTTP_USER_AGENT'], 'SapphireWebCrawler/Nutch') !== false ||
strpos($_SERVER['HTTP_USER_AGENT'], 'Cityreview Robot') !== false) {
if (isset($_SESSION['uid']))
$_SESSION['robot'] = true;