Parašė nuken· 2009 Rugs. 19 21:09:54
#1
Kodel man nedirba? :O
openside("Reklama");
$arr = array("cd-key.lt","flashmu.lt",
"cs.taip.us","www.4phone.info","cs-masters.lt","lectrofm.nkk.lt");
$bnr = array
"<img src='http://cd-key.lt/images/banner.gif' style='margin:5px; align='left'>",
"<img src='http://img84.imageshack.us/img84/7929/53324123.gif' style='margin:5px; align='left'>",
"<img src='http://cs.taip.us/images/468x60.png' style='margin:5px; align='left'>",
"<img src='http://www.4phone.info/Failai/bannseras.png' style='margin:5px; align='left'>",
"<img src='http://cs-masters.lt/468x60_2.gif' style='margin:5px; align='left'>",
"<img src='http://www.ipix.lt/images/76470585.gif' style='margin:5px; align='left'>");
$cc = count($arr);
$cl = $cc-1;
$rand = rand(0,$cl);
echo"<center><a href=\"http://$arr[$rand]\">$bnr[$rand]</a></center>";
closeside();
Prasau pataisykit.