<?php
$ROBOT = array(
	'baidu' => '°Ù¶È',
	'google' => 'Google',
	'yahoo' => 'Yahoo',
	'bing' => 'Bing',
	'soso' => 'ËÑËÑ',
	'sogou' => 'ËÑ¹·',
	'other' => 'ÆäËû'
);
function get_robot() {
	if(is_robot()) {
		$agent = strtolower($_SERVER['HTTP_USER_AGENT']);
		foreach($ROBOT as $k=>$v) {
			if(strpos($agent, $k) !== false) return $k;
		}
		return 'other';
	}
	return '';
}
?>