Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2005
    Location
    Manchester, UK
    Posts
    731
    Tokens
    0
    Habbo
    pappalou

    Default Image Changes after every refresh

    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?

  2. #2
    Join Date
    Jun 2007
    Posts
    56
    Tokens
    0

    Default made

    hey - Invent made this
    PHP Code:
    <?php

    // stuff to poke
    $stuff] = '<a href="http://www.habbo.co.uk/home/NAME">NAME </a>';
    $stuff] = '<a href="http://www.habbo.co.uk/home/NAME">NAME 1</a>';
    $stuff] = '<a href="http://www.habbo.co.uk/home/NAME">NAME 2</a>';
    $stuff] = '<a href="http://www.habbo.co.uk/home/NAME">NAME 3</a>';
    $stuff] = '<a href="http://www.habbo.co.uk/home/NAME">NAME 4</a>';
    $stuff] = '<a href="http://www.habbo.co.uk/home/NAME">NAME 5</a>';
    $stuff] = '<a href="http://www.habbo.co.uk/home/NAME">NAME 6</a>';
    $stuff] = '<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] = '<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(0sizeof($stuff)-1); 
    echo 
    $stuff[$display];
    ?>
    just change the habbo.co.uk links
    Visit The Worlds #1 Online Radio Station - http://www.stokefm.co.uk

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •