Parašė robert· 2008 Gru. 31 17:12:10
#61
echo "<tr><td><a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' class='side'>".$data['user_name']."</a></td></tr>\n";
$lastseen = time() - $data['user_lastvisit'];
if($lastseen < 60) {
$lastseen = "<tr><td><img src='".BASEDIR."forum/images/online.gif' style='vertical-align:absMiddle;' title='User is Online' alt='User is Online'></td></tr>";
} else {
$lastseen = "<tr><td><img src='".BASEDIR."forum/images/offline.gif' style='vertical-align:absMiddle;' title='User is Offline' alt='User is Offline'></td></tr>";
}
echo "$lastseen";
echo "<tr><td><img src='".IMAGES."avatars/".$data['user_avatar']."' alt='".$locale['567']."'><td></tr>";