Quote:
Originally Posted by Paul M
Sorry but I don't see what else I can tell you - the hackclearly tells you to uncomment a line to switch to the rolling 24 hours- I don't see how I could make it any plainer than it alreadyis.
|
see i haev add i dont understand like most people i dont no if i shoulduncomment the line before and after and which line im sorry
do i take out this line .? please highlite in quote in ur post what line i shold take out im sorry im stupid llol
PHP Code:
$now = TIMENOW ;
require_once('./includes/functions_misc.php');
$cutoff = vbmktime(0, 0, 0, vbdate('m', $now, false, false), vbdate('d', $now, false, false), vbdate('Y', $now, false, false));
//$cutoff = $now - 86400 ; // Uncomment this line if you want a rolling 24 hours display.
$todaysusers = $DB_site->query("SELECT userid, lastactivity, options, username, opentag, closetag
FROM " . TABLE_PREFIX . "user as user
LEFT JOIN " . TABLE_PREFIX . "usergroup as usergroup ON(user.usergroupid = usergroup.usergroupid)
WHERE lastactivity > " .$cutoff. " ORDER BY username" );