2
Not sure if I have misunderstood.
If I have understood you correctly then you wish to have banners which change randomly - this feature is buit into XOOPS already.
Goto the admin menu and then go to the general preferences. In there you will see an option to turn on banner ads.
Now as long as your theme has the relevent info then banner adverts will start appearing on your site.
If I have misunderstood, can you please give a little more info.
This is the code to 'call' the banner which is usually already in most standard themes that are available for xoops:
<{$xoops_banner}>
If it's not there already then add it to the theme.html file, go back to general preferences and change the option to update templates to yes save the changes, check your changes have been saved and then go back to general preferences and change the option to update templates back to no
Let me know if you need more info here or if I have completely misunderstood your question.
Dave