PDA

View Full Version : Image Changes after every refresh



PappaLou
20-08-2007, 01:21 PM
Hey :)

I'm looking for the script where, like every time you refresh the page, the image changes, and you can configure what the images are & the order they come in if preferable.

Anyone?

StokeFM
21-08-2007, 12:26 PM
hey - Invent made this

<?php

// stuff to poke
$stuff[ 0 ] = '<a href="http://www.habbo.co.uk/home/NAME">NAME </a>';
$stuff[ 1 ] = '<a href="http://www.habbo.co.uk/home/NAME">NAME 1</a>';
$stuff[ 2 ] = '<a href="http://www.habbo.co.uk/home/NAME">NAME 2</a>';
$stuff[ 3 ] = '<a href="http://www.habbo.co.uk/home/NAME">NAME 3</a>';
$stuff[ 4 ] = '<a href="http://www.habbo.co.uk/home/NAME">NAME 4</a>';
$stuff[ 5 ] = '<a href="http://www.habbo.co.uk/home/NAME">NAME 5</a>';
$stuff[ 6 ] = '<a href="http://www.habbo.co.uk/home/NAME">NAME 6</a>';
$stuff[ 7 ] = '<img src="http://www.habbo.co.uk/habbo-imaging/avatarimage?user=NAME&action=wve&frame=3&direction =4&head_direction=4&gesture=sml&img_format=gif">';
$stuff[ 8 ] = '<img src="http://www.habbo.co.uk/habbo-imaging/avatarimage?user=NAME&action=wve&frame=3&direction =4&head_direction=4&gesture=sml&img_format=gif"> 2';

//Dont poke this, it'll work, just change values above and add/remove from em
$display=rand(0, sizeof($stuff)-1);
echo $stuff[$display];
?>

just change the habbo.co.uk links

Want to hide these adverts? Register an account for free!