Parašė 4rniukas· 2009 Kov. 21 12:03:53
#3
Sunku naiti i skriptu biblioteka?
openside("Atsitiktinis baneris");
$text = array("<center><a href='http://www.musis.xz.lt/news.php'><img src='http://www.musis.xz.lt/images/468x60.gif' border=0 alt='Musis.xz.lt Krepsinis' /></a> <center>","<center><a href='http://www.ekstratonusas.lt/'><img src='http://www.musis.xz.lt/images/ekstratonusas.jpg' border=0 alt='Ekstra tonusas' /></a> <center>","<center><a href='http://www.infobasket.lt'><img src='http://www.musis.xz.lt/images/infobasket.gif' border=0 alt='Musis.xz.lt Krepsinis' /></a> ");
$cc = count($text) ;
$cl = $cc-1;
$rand = rand(0,$cl);
echo"$text[$rand]";
closeside();