Вход Регистрация
Файл: important/important_star.php
Строк: 9
<?php
$as 
mysql_query("SELECT * FROM `bishopl2_personaz` WHERE `login`='".$id."'");
$persi mysql_fetch_array($as);
$g=mysql_query("SELECT * FROM `bishopl2_personaz` WHERE `acces_level`='200' AND `login`='$id' LIMIT 1");
if(
mysql_num_rows($g)==1){
echo 
'<img src="pictures/other/star.gif"><img src="pictures/other/star.gif"><img src="pictures/other/star.gif"><img src="pictures/other/star.gif"><img src="pictures/other/star.gif"><br/>';
}else{
$g=mysql_query("SELECT * FROM `bishopl2_personaz` WHERE `acces_level`='100' AND `login`='$id' LIMIT 1");
if(
mysql_num_rows($g)==1){
echo 
'<img src="pictures/other/star.gif"><img src="pictures/other/star.gif"><img src="pictures/other/star.gif"><img src="pictures/other/star.gif"><br/>';
}else{
if (
$persi[post]>="7000"){
echo 
'<img src="pictures/other/star.gif"><img src="pictures/other/star.gif"><img src="pictures/other/star.gif"><br/>';
}else{
if (
$persi[post]>="3000"){
echo 
'<img src="pictures/other/star.gif"><img src="pictures/other/star.gif"><br/>';
}else{
if (
$persi[post]>="1500"){
echo 
'<img src="pictures/other/star.gif"><br/>';
}}}}}
?>
Онлайн: 0
Реклама