Create Ryzom application that will be available out the game (with the browser) and in game.
Check if the user is a valid one. If it's ok, the function setup globally these variables:
- $ig: true if the user is in the game. false if the user is out of the game (browser)
- $user: an array that contains information of the user (lang, cid, shard, shardid, name)
Render the $content depending of if the user is in game or out game.
Return a human and translated readable time, for example "3 days ago".
Always use this function to get param because in game, the param can be pass by _GET or by _POST