staff.php ori's new script

Started on the old forum in June 2009 · view the original in the archive · old links redirect here

4 replies · 721 views · started 17 years ago · 1 min read

2 participants
brand Senior · 391 posts #1

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

$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/>";
}
}

thanks in advance to any one who helps with this problem

i need it to work on this site

HELP THEM WHO HELPS YOU

External image (may be gone)

i only work on wapdesire v_2 coding only

crazybrumi Super moderator Principal · 1,064 posts #2

from just reading it quickly notest u declared hosts but are instead using host?

while($hosts=mysql_fetch_array($query)){

replace with

while($host=mysql_fetch_array($query)){

Want something coded email me at sales@webnwaphost.com for a prices.

http://flagcounter.com/more/W80q

brand Senior · 391 posts #5

crazybrumi wrote: well have you put the level 2 6 and gave urself admin tools ?

i have tryed every way possable i got owner tools at min but dont show up on staff list that i am host

HELP THEM WHO HELPS YOU

External image (may be gone)

i only work on wapdesire v_2 coding only

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close