for newest member add this to phpinclude_start:
PHP Code:
// get newest member name and userid start
$getnewestmember=$DB_site->query_first("SELECT userid, username FROM user WHERE userid=$numbersmembers[max]");
$newusername = $getnewestmember['username'];
$newuserid = $getnewestmember['userid'];
// get newest member name and userid end
then in the header use:
HTML Code:
<a href="member.php?u=$newuserid">$newusername</a>