Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Kaip įdeti?

Parašė AivarasZs· 2012 Kov. 6 15:03:14
#14

Bandyk taip.

echo "<div class='reklama'>";
$random_text = array('<script language=javascript src="http://www.468x60.lt/serve.php?11094,1,1"></script>',
 '<script language=javascript src="http://www.468x60.lt/serve.php?11094,1,1"></script>');
srand(time());
$sizeof = count($random_text);
$random = (rand()%$sizeof);
print("$random_text[$random]");
echo "<div>";