Sigx

We are the future in the past.
It is currently Sat Dec 14, 2019 3:29 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Random Skins Code
PostPosted: Tue Jan 27, 2004 2:18 pm 
Offline
Site Admin

Joined: Thu Jul 03, 2003 1:59 pm
Posts: 454
Location: Los Angeles
Are you not happy with just showing 1 sigx skin? would you like to rotate a few skins that you like from our large selection?

i have created a script that will randomly pick the skin you like.

With this you can create random skins from a list of skins i already have on my site.

Code:
<?
// Random Skins
// Version 1.0
// Date: Jan 27, 2004
// coder: Yuriy ([email protected])

$username = "myusername";

// list of skins you may like
$skins = array("Apples",
            "Bronze",
            "Dark Win in Blue 6",
            "Depressed",
            "Digital in Blue",
            "Digital in Light Blue",
            "Digital in Yellow",
            "DOS",
            "Eating Apples",
            "Dwelt",
            "Gemini in Light Blue",
            "Gray",
            "Green Neon",
            "Ligth Win in Blue 1",
            "MacOSX",
            "Red Neon",
            "Red",
            "River",
            "Simile XP Red",
            "Titanium",
            "WEB",
            "WEB2"
            );
            
// pick a random skin         
$x = rand(0,count($skins)-1);
$name = urlencode($skins[$x]);


header("location: http://sigx.yuriy.net/images/skin/$name/0/x$username.png");

?>



Preview:
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group