Free Adult Tube-Video Script Forum
Simple banner rotator :) - Printable Version

+- Free Adult Tube-Video Script Forum (http://freeadultscript.com/forum)
+-- Forum: My Category (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Simple banner rotator :) (/showthread.php?tid=2925)



Simple banner rotator :) - Role-Model - 23-05-2012 01:33 PM

I use this php file :

<?php
$number = rand(1,4);

switch ($number){
case 1:
echo '<a target="_blank" href="http://www.yoursite.net"><img src="http://yoursite.com/image.gif" border="0" alt=""/></a>';
break;
case 2:
echo '<a target="_blank" href="http://www.yoursite.net"><img src="http://yoursite.com/image.gif" border="0" alt=""/></a>';
break;
case 3:
echo '<a target="_blank" href="http://www.yoursite.net"><img src="http://yoursite.com/image.gif" border="0" alt=""/></a>';
break;
case 4:
echo '<a target="_blank" href="http://www.yoursite.net"><img src="http://yoursite.com/image.gif" border="0" alt=""/></a>';
break;
}
?>

Regards
Svetoslav