Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   BT.Manager (phpMyBitTorrent) (http://www.bvlist.com/forumdisplay.php?f=23)
-   -   Time and date (http://www.bvlist.com/showthread.php?t=3213)

wMan 15th August 2009 04:47

Time and date
 
2 Attachment(s)
where can i set date or/and time for tracker or it's from hosting anyway wierd seeing (images atached)
Pay ATTENTION to last LOGIN

joeroberts 15th August 2009 06:28

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
PHP Code:

        $lastseen


wMan 15th August 2009 06:34

parfecto :friend::drink: THANK YOU


All times are GMT +2. The time now is 20:36.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.