Jump to content

gaijin

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

gaijin's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. 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 CODE [quote]     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");     header5("$lang[Site_status]");       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>           <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>           </tr>";     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>           </tr>";     }         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>           </tr>";[/quote]
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.