This is neither tested nor complete but it can inspire you:
First you need to add "include("./global.php");" (with correct path) at the begining of all your external php files.
Then you need to set $userinfo[activity] variable for external page visits and finally you need to edit online.php and create relevant "CASE"s in "function show" for your activities you set.
This is basically how you should handle it, but it would require at least moderate knowledge of PHP.
Hope this helps..
Regards,
Logician
Ps. Remember that this practise will increase the load in your server..
|