[GEZOCHT] Random banner

Gestart doorRickdj1 reacties37 weergaven

2 berichten · pagina 1 van 1

Rickdj

Lid · Topicstarter

Berichten
88
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik zoek een random banner systeem zeg de prijs maar
0
Berichten
474
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Deze zijn gratis te verkrijgen hoor. Eerste hit op google:

[COLOR= #0000BB]<?php 
$banner[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]1[/COLOR][COLOR= #007700]][[/COLOR][COLOR= #DD0000]link[/COLOR][COLOR= #007700]] =[/COLOR] [COLOR= #DD0000]"http://www.sitemasters.be"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$banner[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]1[/COLOR][COLOR= #007700]][[/COLOR][COLOR= #DD0000]img[/COLOR][COLOR= #007700]] =[/COLOR] [COLOR= #DD0000]"sitemasters.jpg"[/COLOR][COLOR= #007700];[/COLOR]

[COLOR= #0000BB]$banner[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]2[/COLOR][COLOR= #007700]][[/COLOR][COLOR= #DD0000]link[/COLOR][COLOR= #007700]] =[/COLOR] [COLOR= #DD0000]"http://www.google.be"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$banner[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]2[/COLOR][COLOR= #007700]][[/COLOR][COLOR= #DD0000]img[/COLOR][COLOR= #007700]] =[/COLOR] [COLOR= #DD0000]"google.jpg"[/COLOR][COLOR= #007700];[/COLOR]

[COLOR= #0000BB]$banner[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]3[/COLOR][COLOR= #007700]][[/COLOR][COLOR= #DD0000]link[/COLOR][COLOR= #007700]] =[/COLOR] [COLOR= #DD0000]"http://www.google.nl"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$banner[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]3[/COLOR][COLOR= #007700]][[/COLOR][COLOR= #DD0000]img[/COLOR][COLOR= #007700]] =[/COLOR] [COLOR= #DD0000]"google.jpg"[/COLOR][COLOR= #007700];[/COLOR]

[COLOR= #FF8000]//nu geven we aan hoeveel keuzes er zijn zodat we er een random cijfer kunnen uitnemen 
//en dan het resultaat kunnen geven van dat cijfer [/COLOR]
[COLOR= #0000BB]$banners[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #0000BB]3[/COLOR][COLOR= #007700];[/COLOR] 

[URL="http://www.php.net/srand"]srand[/URL][COLOR= #007700]((double)[/COLOR][URL="http://www.php.net/microtime"]microtime[/URL][COLOR= #007700]()*[/COLOR][COLOR= #0000BB]1000000[/COLOR][COLOR= #007700]);[/COLOR]     

[COLOR= #0000BB]$random[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/rand"]rand[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]1[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]$banners[/COLOR][COLOR= #007700]);[/COLOR]     

[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"<a href=""[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$banner[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]$random[/COLOR][COLOR= #007700]][[/COLOR][COLOR= #DD0000]link[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]""><img src=""[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$banner[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]$random[/COLOR][COLOR= #007700]][[/COLOR][COLOR= #DD0000]img[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]"" border="0"></a>"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #FF8000]//nu geven we het resultaat van een random nummer [/COLOR]
?>
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren