|
|
(17 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) |
Zeile 1: |
Zeile 1: |
− | <html>
| + | [[file:001z.jpg]] |
− | <?php
| |
− | $allqts = array
| |
− | ("The Black Knight Always Triumphs!", "Monty Python",
| |
− | "Halleluja!", "God"
| |
− | );
| |
| | | |
− | $totalqts = (count($allqts)/2);
| + | test |
| | | |
− | $nmbr = (rand(0,($totalqts-1)));
| + | [[category:Zitate]] |
− | $nmbr = $nmbr*2;
| |
− | | |
− | $quote = $allqts[$nmbr];
| |
− | $nmbr = $nmbr+1;
| |
− | $author = $allqts[$nmbr];
| |
− | | |
− | $space = ".";
| |
− | $comments = "<br><center><font size='-2'><i><a href='quotes.php'>Random Quote Script by Dave</a></i></font></center>";
| |
− | | |
− | echo "$quote<br>";
| |
− | echo "$space $author";
| |
− | echo "$comments";
| |
− | ?>
| |
− | </html>
| |