$sourcecode=getsourcecode("http://www.sogou.com/web?query=".$q);
//echo ":".$sourcecode;
if($sourcecode){
$sourcecode=iconv('gb2312','utf-8',$sourcecode);
preg_match('/搜狗评级:(.*?) /', $sourcecode, $cmatche);
if($cmatche[1]){
echo ''." ";
}else{
echo ''." ";
}
}