find
PHP Code:
if ($row["lastlogin"] == "0000-00-00 00:00:00")
$lastseen = "never";
else
{
$lastseen = get_elapsed_time(sql_timestamp_to_unix_timestamp($row["lastlogin"])) ;
}
and remove it
now find
PHP Code:
while ($row = $db->sql_fetchrow($res)) {
and add after
PHP Code:
if ($row["lastlogin"] == "0000-00-00 00:00:00")
$lastseen = "last Login: never";
else
{
$lastseen = "last Login: ".get_formatted_timediff(sql_timestamp_to_unix_timestamp($row["lastlogin"]))." "._btago."" ;
}
Now find
PHP Code:
"last Login".": ".get_elapsed_time(sql_timestamp_to_unix_timestamp($row["lastlogin"]))." "._btago."";
and replace with
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in
BT.Manager™ forum
My Current Demo is here
http://demo.btmanager.org/