CMS = Content Management System
THey went to the web, searched for code, and implemented it.
These things are not too hard to program. So I'd say.. Have a read in the manualk, and give it a good old boys try!
To get you started:
For the online thing, you want to create a table in which you keep track of the pageload moments of registered users. Basically you store their session_id and the time of the last pageload. Use this table to see who have been active in the past * minutes.
The last registered.. you have a table in which you keep userinfo. Store the moment at which they registered, and search this for the last.
THe featured.. Sort your table by a random() function, and retrieve the first record that pops up.