[eluser]jedd[/eluser]
[quote author="Choo" date="1239559376"]About the database calls. May be I don't understand you correct. To get all banners I can make only one request to fill an array.[/quote]
Ah, yes, of course. You're right. banner() makes a call each time, doesn't it, to the db.
Best approach would be to identify which banners you're going to use for the page view, in MY_Controller, and only load the banners you need. If you don't have many more than you are likely to be displaying, though, the overhead might not be worth it.