2
That does not a module make...
If you want to use a PHP file, create a custom block, set it for PHP and copy the entire contents of the file into the custom block.
If you just want to show who's online, activate the Who's online block which is part of the XOOPS core.