PHP
1
Вклад в тег
<?
if($kpid){
$xml = simplexml_load_file("http://www.kinopoisk.ru/rating/$kpid.xml");
foreach ($xml->xpath("/rating/kp_rating") as $kpr) {
echo $kpr;
}
foreach ($xml->xpath("/rating/imdb_rating") as $imdb){
echo $imdb;
}
}
?>