";
$str .= "Google PageRank for $url is: $r[pr] / 10 ";
$str .= "Alexa Ranking for $url is: $r[alexa] (Top rank is 1)
";
$str .= "Description ";
switch($r['pr'])
{
case "0":
$str .= "You have none or a poor Google rank. You need more websites to link to you to help build up the rank.";
break;
case 1:
case 2:
case 3:
case 4:
case 5:
case 6:
$str .= "You have an average Google rank. Your website seems steady and known by many users.";
break;
case 7:
case 8:
case 9:
case 10:
$str .= "You have an excellent Google rank. Your website is extremely popular to the web users.";
break;
}
echo $str;
}
?>