$threshold = TIME_NOW-(60*60*24); $query = $db->simple_select("users", "COUNT(uid) AS users", "lastactive > '{$threshold}'"); $todaycount = $db->fetch_field($query, "users");
|
$threshold = TIME_NOW-(60*60*24); $query = $db->simple_select("users", "COUNT(uid) AS users", "lastactive > '{$threshold}'"); $todaycount = $db->fetch_field($query, "users");
|
$query = $db->simple_select("users", "*", "lastactive > '{$threshold}'", array("order_by" => "lastactive", "order_dir" => "desc", "limit" => $perpage, "limit_start" => $start));
$todayrows = '';
|
$query = $db->simple_select("users", "*", "lastactive > '{$threshold}'", array("order_by" => "lastactive", "order_dir" => "desc", "limit" => $perpage, "limit_start" => $start));
$todayrows = '';
|