Hello friends, I would like the qualifications of the staff were owner admin moderator as a normal user, how can you change?
thanks for the help..
PHP Code:
/////////////////////////////////////////get status
function getstatus($uid)
{
$info = mysql_fetch_array(mysql_query("SELECT perm, plusses FROM ibwf_users WHERE id='".$uid."'"));
$shopssid = mysql_fetch_array(mysql_query("SELECT shopssid FROM ibwf_users WHERE id='".$uid."'"));
if(isbanned($uid))
{
return "Banned!";
}
if($shopssid[0]=='4')
{
return "Ferrari Enzo!";
}else
if($shopssid[0]=='5')
{
return "Porsche Carrera!";
}else
if($shopssid[0]=='6')
{
return "Bugatti!";
}else
if($shopssid[0]=='7')
{
return "McLaren F1!";
}else
if($shopssid[0]=='8')
{
return "Jaguar XJ220!";
}else
if($shopssid[0]=='9')
{
return "Lamborghini Murcielago!";
}else
if($shopssid[0]=='10')
{
return "McLaren Mercedes SLR!";
}else
if($shopssid[0]=='28')
{
return "Vibrator!";
}else
if($shopssid[0]=='29*')
{
return "Bratz!";
}else
if($shopssid[0]=='30')
{
return "Beyonce!";
}else
if($shopssid[0]=='31')
{
return "Britney!";
}else
if($shopssid[0]=='32')
{
return "Sexy Biatch!";
}else
if($info[0]=='5')
{
return "Coder!";
} if($info[0]=='4')
{
return "HeadAdmin!";
} if($info[0]=='3')
{
return "Owner!";
}
if($info[0]=='2')
{
return "Admin!";
}else if($info[0]=='1')
{
return "Moderator!";
}else if($info[0]=='3')
{
return "Owner!";
}else{
if($info[1]<10)
{
return "N00b";
}else if($info[1]<25)
{
return "SpaRkl3";
}else if($info[1]<50)
{
return "flaR3";
}else if($info[1]<75)
{
return "flaM3";
}else if($info[1]<250)
{
return "buRst";
}else if($info[1]<500)
{
return "ViTa1";
}else if($info[1]<750)
{
return "Unplugged";
}else if($info[1]<1000)
{
return "GuRu";
}else if($info[1]<1500)
{
return "V.I.P";
}else if($info[1]<2000)
{
return "FaNatic";
}else if($info[1]<2500)
{
return "KNight";
}else if($info[1]<3000)
{
return "VeteRaN";
}else if($info[1]<4000)
{
return "eXpelleR";
}else if($info[1]<5000)
{
return "MasteR";
}else if($info[1]<10000)
{
return "ic0N";
}else
{
return "Unstopable";
}
}
}
Comment