Файл: rating/skript.txt
Строк: 251
//////////////////////////////////////////
//////////////////////////////////////////
echo
"<div class='gmenu'> Рейтинг: ". $ank['rating']
."<br/>";
if ($ank['rating']>=5 &&
$ank['rating']<=10){echo "<img src='/rating/1.png'
alt='*'/>";
}else
if ($ank['rating']>=11 &&
$ank['rating']<=15){echo "<img src='/rating/2.png'
alt='*'/>";
}else
if ($ank['rating']>=16 &&
$ank['rating']<=20){echo "<img src='/rating/3.png'
alt='*'/>";
}else
if ($ank['rating']>=21 &&
$ank['rating']<=25){echo "<img src='/rating/4.png'
alt='*'/>";
}else
if ($ank['rating']>=26 &&
$ank['rating']<=30){echo "<img src='/rating/5.png'
alt='*'/>";
}else
if ($ank['rating']>=31 &&
$ank['rating']<=35){echo "<img src='/rating/6.png'
alt='*'/>";
}else
if ($ank['rating']>=36 &&
$ank['rating']<=40){echo "<img src='/rating/7.png'
alt='*'/>";
}else
if ($ank['rating']>=41 &&
$ank['rating']<=45){echo "<img src='/rating/8.png'
alt='*'/>";
}else
if ($ank['rating']>=46 &&
$ank['rating']<=50){echo "<img src='/rating/9.png'
alt='*'/>";
}else
if ($ank['rating']>=51 &&
$ank['rating']<=55){echo "<img src='/rating/10.png'
alt='*'/>";
}else
if ($ank['rating']>=56 &&
$ank['rating']<=60){echo "<img src='/rating/11.png'
alt='*'/>";
}else
if ($ank['rating']>=61 &&
$ank['rating']<=65){echo "<img src='/rating/12.png'
alt='*'/>";
}else
if ($ank['rating']>=66 &&
$ank['rating']<=70){echo "<img src='/rating/13.png'
alt='*'/>";
}else
if ($ank['rating']>=71 &&
$ank['rating']<=75){echo "<img src='/rating/14.png'
alt='*'/>";
}else
if ($ank['rating']>=76 &&
$ank['rating']<=80){echo "<img src='/rating/15.png'
alt='*'/>";
}else
if ($ank['rating']>=81 &&
$ank['rating']<=85){echo "<img src='/rating/16.png'
alt='*'/>";
}else
if ($ank['rating']>=86 &&
$ank['rating']<=90){echo "<img src='/rating/17.png'
alt='*'/>";
}else
if ($ank['rating']>=91 &&
$ank['rating']<=95){echo "<img src='/rating/18.png'
alt='*'/>";
}else
if ($ank['rating']>=96 &&
$ank['rating']<=105){echo "<img src='/rating/19.png'
alt='*'/>";
}else
if ($ank['rating']>=106 &&
$ank['rating']<=110){echo "<img src='/rating/20.png'
alt='*'/>";
}else
if ($ank['rating']>=111 &&
$ank['rating']<=115){echo "<img src='/rating/21.png'
alt='*'/>";
}else
if ($ank['rating']>=116 &&
$ank['rating']<=120){echo "<img src='/rating/22.png'
alt='*'/>";
}else
if ($ank['rating']>=121 &&
$ank['rating']<=125){echo "<img src='/rating/23.png'
alt='*'/>";
}else
if ($ank['rating']>=126 &&
$ank['rating']<=130){echo "<img src='/rating/24.png'
alt='*'/>";
}else
if ($ank['rating']>=131 &&
$ank['rating']<=135){echo "<img src='/rating/25.png'
alt='*'/>";
}else
if ($ank['rating']>=136 &&
$ank['rating']<=140){echo "<img src='/rating/26.png'
alt='*'/>";
}else
if ($ank['rating']>=141 &&
$ank['rating']<=145){echo "<img src='/rating/27.png'
alt='*'/>";
}else
if ($ank['rating']>=146 &&
$ank['rating']<=150){echo "<img src='/rating/28.png'
alt='*'/>";
}else
if ($ank['rating']>=151 &&
$ank['rating']<=155){echo "<img src='/rating/29.png'
alt='*'/>";
}else
if ($ank['rating']>=156 &&
$ank['rating']<=160){echo "<img src='/rating/30.png'
alt='*'/>";
}else
if ($ank['rating']>=161 &&
$ank['rating']<=165){echo "<img src='/rating/31.png'
alt='*'/>";
}else
if ($ank['rating']>=166 &&
$ank['rating']<=170){echo "<img src='/rating/32.png'
alt='*'/>";
}else
if ($ank['rating']>=171 &&
$ank['rating']<=175){echo "<img src='/rating/33.png'
alt='*'/>";
}else
if ($ank['rating']>=176 &&
$ank['rating']<=180){echo "<img src='/rating/34.png'
alt='*'/>";
}else
if ($ank['rating']>=181 &&
$ank['rating']<=185){echo "<img src='/rating/35.png'
alt='*'/>";
}else
if ($ank['rating']>=186 &&
$ank['rating']<=190){echo "<img src='/rating/36.png'
alt='*'/>";
}else
if ($ank['rating']>=191 &&
$ank['rating']<=195){echo "<img src='/rating/37.png'
alt='*'/>";
}else
if ($ank['rating']>=196 &&
$ank['rating']<=200){echo "<img src='/rating/38.png'
alt='*'/>";
}else
if ($ank['rating']>=201 &&
$ank['rating']<=205){echo "<img src='/rating/39.png'
alt='*'/>";
}else
if ($ank['rating']>=206 &&
$ank['rating']<=210){echo "<img src='/rating/40.png'
alt='*'/>";
}else
if ($ank['rating']>=211 &&
$ank['rating']<=99999){echo "<img src='/rating/41.png'
alt='*'/>";
}
echo "</div>\n";