Thread: Userdetails
View Single Post
  #1  
Old 29th May 2008, 13:28
Tarix22 Tarix22 is offline
Member
 
Join Date: Feb 2008
Posts: 9
Post Userdetails
See if the user is in the network !

Open userdetails.php and find

Code:
?>
<tr><td class=rowhead>Uploaded</td><td align=left><?=mksize($user["uploaded"])?></td></tr>
<tr><td class=rowhead>Downloaded</td><td align=left><?=mksize($user["downloaded"])?></td></tr>
<?
adding that before:

Code:
//mod online by Tarix22
$dt = gmtime() - 180;
$dt = sqlesc(get_date_time($dt));
print("<tr><td class=\"rowhead\" width=1%>Network</td><td class=\"row1\" align=\"left\" width=\"99%\">" . ("'".$user['last_access']."'">$dt?"<font color=green>Yes</font> / <font color=gray>No</font>" : "<font color=gray>Yes</font> / <font color=red>No</font>" ) . "</td></tr>");
Enjoy

Click image for larger version

Name:	networkfu6.png
Views:	406
Size:	221.4 KB
ID:	1320
Reply With Quote
The Following 3 Users Say Thank You to Tarix22 For This Useful Post:
KingPing (27th February 2010), look (26th March 2012), wxlg1117 (4th September 2009)