can some one tell me why this not showing staff online for host's please i'm trying to get it to work on a wapdesire v2 script
thanks in advance to any one who helps with this problem
i need it to work on this site
Code:
$count=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM users WHERE level='6'")); if($count[0]!=0){$main.="<b>host(s):</b><br/>";} while($hosts=mysql_fetch_array($query)){ if(!ghosts(getuid_sid($sid))&&($host[3]==1)){$style="style=\"font-size:10px;color:#FF0000\"";$status="offline!";} else if(isonline($host[0])){$style="style=\"font-size:10px;color:#009900\"";$status="online cheaking site ok!";} else{$style="style=\"font-size:10px;color:#FF0000\"";$status="offline working on site!";} if($host[4]=="M"){$sex="style=\"color:#0000FF;\"";} else if($host[4]=="F"){$sex="style=\"color:#FF0066;\"";} if($host[2]==6){ $main.=$onl."°<a href=\"./profile.php?who=$host[0]&sid=$sid\"$sex>$host[1]</a> <span $style>$status</span><br/>"; } }
i need it to work on this site
Comment