Code: Alles auswählen
<?php
$banner = array("<a href='http://www.banner1.de'><img src ='http://anna.cat-proof.de/images/nav2/phpbb_logo.gif' border='0'></a>","<a href='http://www.banner2.de'><img src ='http://www.shortnews.de/bilder/stern/sternshortnews.gif' border='0'></a>","<a href='http://www.banner3.de'><img src ='http://k-jjacu.milten.lima-city.de/phpBB2/templates/subBlack/images/banner.gif' border='0'></a>",);
mt_srand((double)microtime()*1000000);
$zufallszahl = mt_rand(0,count($banner)-1);
echo $banner[$zufallszahl];
?>
Code: Alles auswählen
<?php include("http://k-jjacu.milten.lima-city.de/phpBB2/bannerrot.php"); ?>
