MyBB Community Forums

Full Version: Is there a mod for this?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
http://www.thefootballbase.co.uk/forum/


Everytime i refreshed a different player appears?
For example, the render of the player i have on my logo at the top.

Once i hit refresh, the render of the player changes to a different player.
This is a good example.

http://www.afootballforum.com/forum/
<?php
$Img1 = "http://www.(the source of the image)";
$Alt1 = "[advertisement] (place your alt text here)";
$Url1 = "http://www. (the url of the link)";

$Img2 ="http://www.pro-dezign.com/images/banner.jpg";
$Alt2 = "[advertisement] pro-dezign web development";
$Url2 = "http://www.pro-dezign.com/index.html";

$num = rand (1,2);

$Image = ${'Img'.$num};
$Alt = ${'Alt' .$num};
$URL = ${'Url'.$num};

Print "<a href=\"".$URL."\"><img src=\"".$Image."\" alt=\"".$Alt."\" /</a>"; ? >

This PHP banner rotator validates with W3C. Just place the PHP include on your page where you want the banner rotator.
<?php include ("banner-rotator.php"); ?>

Source: http://www.pro-dezign.com/how-to-php-ban...tator.html
http://www.google.ca/search?q=php+banner...utf-8&aq=t
Would them plugins work?

Im not actually using the logo.png as a logo. Im using header_bg as the logos as theyre alot bigger.