if ($post['lastactivity'] > $datecut and !$post['invisible'] and $post['lastvisit'] != $post['lastactivity']) { eval("\$userinfo[onlinestatus] = \"".gettemplate("getinfo_online")."\";"); } else { eval("\$userinfo[onlinestatus] = \"".gettemplate("getinfo_offline")."\";"); }
Show Your Support
if ($userinfo['lastactivity'] > $datecut and !$userinfo['invisible'] and $userinfo['lastvisit'] != $userinfo['lastactivity']) { eval("\$userinfo[onlinestatus] = \"".gettemplate("getinfo_online")."\";"); } else { eval("\$userinfo[onlinestatus] = \"".gettemplate("getinfo_offline")."\";"); }
$userinfo['lastactivity'] > $datecut
$userinfo['lastactivity'] > time() - $cookietimeout