Jump to content


show online hack

  • Please log in to reply
No replies to this topic

#1 gaijin

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 28 August 2006 - 12:15 PM

Hi, on a phpprobid install it shows users online, the code is below. However I need to change this so it doesnt show online members, but all online ips... member or no members.. i want to show all visitors totals


    if ($setts['h_counter']==1) {
      $nbUsers=getSqlNumber("SELECT id FROM probid_users WHERE active=1");
      $nbLiveAuctions=getSqlNumber("SELECT id FROM probid_auctions WHERE active=1 AND closed=0 AND deleted!=1");
    $nbLiveWantAds=getSqlNumber("SELECT id FROM probid_wanted_ads WHERE active=1 AND closed=0 AND deleted!=1");
      echo "
      <table width='100%' border='0' cellpadding='2' cellspacing='1' class='contentfont'>
          <tr class='c3'>
              <td width='20%' align='center'><b>".$nbUsers."</b></td>
              <td width='80%'>&nbsp;<font style='font-size: 10px;'>$lang[registered_users]</font></td>
          <tr class='c2'>
              <td width='20%' align='center'><b>".$nbLiveAuctions."</b></td>
              <td width='80%'>&nbsp;<font style='font-size: 10px;'>$lang[live_auctions]</font></td>
    if ($setts['enable_wantedads']=="Y") { 
        echo "<tr class='c3'>
              <td width='20%' align='center'><b>".$nbLiveWantAds."</b></td>
              <td width='80%'>&nbsp;<font style='font-size: 10px;'>$lang[live_wantads]</font></td>
        echo "<tr class=\"c2\">
              <td width=\"20%\" align=\"center\"><b>"; include("online.php");
        echo "</b></td>
              <td width=\"80%\">&nbsp;<font style=\"font-size: 10px;\">$lang[online_users]</font></td>

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users