Вот html код, по-прежнему нерабочий:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html><head>
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
</head>
<script type=text/javascript>
$(document).ready(function(){
$.getJSON("http://site.ru/like_result.php?siteid=0&url="+window.location.path,function(data){
var json = $.parseJSON(data);
$("#l").html("Лайков: "+json.like+", дислайков: "+json.dislike);
});
});
</script>
<p id='l'></p>
</html>