sponsored links
Hi people.
Since there are plenty of banner extraction tools,
you can choose one and call it in libs/search_function.php.
At the end of this file there is a banners() function in order to show sponsored links as well.
Banners() calls another function called adbanner(). You should
define adbanners() in libs/adbanners.php.
adbanner() calls your banner extraction tool in order to
select banners. adbanner() returns
a html chunk ready to be displayed.
Your template have to contain this tag
<phpdig:adbanner/> to show banners.
You can turn on this feature using a constant defined in config.php.
The submitted files contain comments in order to fully understand my little modifications.
Best regards.
Gius
|