$lastvisit = $DB_site->query("SELECT lastactivity FROM user");
That could be the query being run in member.php
$lastvisit['lastactivity'] would be the variable I think.
You'd need to use code like this though:
$lastactive=intval($lastvisit['lastactivity']/86400)
So the variable to place in the template getinfo would be $lastactive.
Ok this is just my guess on what the code could be, don't use this until someone with more experience can confirm it.
|