Ajuda php erro!
Bem, construi este bloco para phpnuke mas não tou a conseguir por a funcionar, queria saber se alguem percebe o que esta mal!
<?php
if (eregi("block-Fading.php",$_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}
//Amount of time image is displayed
mt_srand(doubleval(microtime()) * 100000000);
//Choose Banner
switch(mt_rand(1,11))
{
case 1:
$bannerURL = "http://www.topwizard.w3bsphere.net/in.php?id=cenourinha";
$bannerImage = "http://www.topwizard.w3bsphere.net/images/1.png";
break;
case 2:
$bannerURL = "http://www.killerz-tech.net/forum/index.php?act=toplist&code=hitin&site=16";
$bannerImage = "http://www.killerz-tech.net/images/topsites.gif";
break;
case 3:
$bannerURL = "http://topsites.webathigh.com/in.php?id=8";
$bannerImage = "http://img351.imageshack.us/img351/2127/untitled15oi.gif";
break;
case 4:
$bannerURL = "http://widescreenxp.net/topsites/in.php?id=25";
$bannerImage = "http://widescreenxp.net/topsites/images/button.png";
break;
case 5:
$bannerURL = "http://www.7maker.clubedohost.com/topsite/in.php?id=cenourinha";
$bannerImage = "http://www.7maker.clubedohost.com/topsite/images/button.jpg";
break;
case 6:
$bannerURL = "http://www.tutorialselect.com/topsites/in.php?id=35";
$bannerImage = "http://www.tutorialselect.com/images/ourbutton.gif";
break;
case 7:
$bannerURL = "http://www.khmerwebmaster.com/topsite/in-27.html";
$bannerImage = "http://www.khmerwebmaster.com/topsite/images/button.png";
break;
case 8:
$bannerURL = "http://www.090graphics.com/topsites/in.php?id=230";
$bannerImage = "http://www.090graphics.com/topsites/images/button.png";
break;
case 9:
$bannerURL = "http://www.pimpmycom.com/topsite/in.php?id=179";
$bannerImage = "http://www.pimpmycom.com/topsite/images/button.jpg";
break;
case 10:
$bannerURL = "http://free-toplist.de/script/count.php?liste=17579&id=214710";
$bannerImage = "http://users.skynet.be/fa853369/vote/vote2.gif";
break;
case 11:
$bannerURL = "http://www.neowin.net/forum/index.php?act=toplist&code=hitin&site=4";
$bannerImage = "http://www.neowin.net/images/buttons/neowin/neowin%207.jpg";
break;
}
echo("<a href="$bannerURL">");
echo("<img src="$bannerImage" ");
echo("width="88" height="31" border="0">");
echo("</a>");
?>