staff.php ori's new script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    staff.php ori's new script

    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
    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]&amp;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
    Last edited by brand; 08.06.09, 21:49.
    HELP THEM WHO HELPS YOU



    i only work on wapdesire v_2 coding only

    #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.




    Comment


      #3
      thanks bro i changed it but its srill not working
      HELP THEM WHO HELPS YOU



      i only work on wapdesire v_2 coding only

      Comment


        #4
        well have you put the level 2 6 and gave urself admin tools ?
        Want something coded email me at sales@webnwaphost.com for a prices.




        Comment


          #5
          Originally posted by crazybrumi View Post
          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



          i only work on wapdesire v_2 coding only

          Comment

          Working...
          X