Currently online updated

changed the currently online to use last visited rather than last
viewed. Also used php time, as the time wasn't being used in a query?
wasn't actually being sent in a debug session i used.