= $new ORDER BY uid"); $l_cnt = mysqli_num_rows($sc_onl); $onlci = mysqli_query($conx, "SELECT timestamp FROM mail WHERE uqid='$cv_uqid' ORDER BY id DESC LIMIT 1"); $cironl = mysqli_fetch_assoc($onlci); $chatac = $cironl['timestamp']; $HUAHHH = time() - $chatac; $mens = round($HUAHHH / 60); if($mens <= 1) { echo " $l_cnt online.
"; } elseif($mens <= 2) { echo " $l_cnt online.
"; } elseif($mens < 5) { echo " $l_cnt online.
"; } else { echo " $l_cnt online.
"; } ?> "; } else { $verif_check = ""; } } // math stuff for time ago function $differ = time() - $online_time; $mins = round($differ / 60); // if active, display them if ($mins < .30) { echo $separator; echo "$online_username $verif_check"; if (!$separator) $separator = ', '; } } ?>