Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Sveiki rekia pagalbos

Parašė SofteriZ· 2012 Bal. 10 20:04:56
#2


opentable("Skelbimai");
 
$arr = array("mobshop.lt","mobshop.lt");
 
$bnr = array
 
("<br></a>Nokia 5230 galinis danktelis 10LT</a><br><img src='http://airfm.us.lt/images/1.jpg' align='center' width='200' height='200' style='margin:5px;",
 
"<br></a>Sony ericsson ausinėms adapteris 5LT<br></a><img src='http://airfm.us.lt/images/2.jpg' salign='center' width='200' height='200' tyle='margin:5px;");
 
$cc = count($arr);
 
$cl = $cc-1;
 
$rand = rand(0,$cl);
 
echo"<center><a href=\"http://$arr[$rand]\">$bnr[$rand]</a></center><br>";
 
$arr = array("mobshop.lt","mobshop.lt");
 
$bnr = array
 
("<br></a>Nokia 5230 galinis danktelis 10LT</a><br><img src='http://airfm.us.lt/images/1.jpg' align='center' width='200' height='200' style='margin:5px;",
 
"<br></a>Sony ericsson ausinėms adapteris 5LT<br></a><img src='http://airfm.us.lt/images/2.jpg' salign='center' width='200' height='200' tyle='margin:5px;");
 
$cc = count($arr);
 
$cl = $cc-1;
 
$rand = rand(0,$cl);
 
echo"<center><a href=\"http://$arr[$rand]\">$bnr[$rand]</a></center>";
 
closetable();


To reikėjo?