Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $teams = array(
- 'Funny memers',
- 'Chrząszczyżewoszyce',
- 'Suicide Squad',
- 'Demo slept on his match cause he thought it was Sunday',
- 'One Miss Syndrome',
- 'Coke team',
- 'StephenLeBest',
- 'Green Tea',
- '1 miss gods',
- 'diuleiloumou',
- 'U N D E R R A T E D G G',
- 'K.O.R.Y',
- 'Dr. Peppy',
- 'Me Sedap',
- 'Roerbakeiers',
- 'Spell Moon',
- 'Nervous Fruitdown',
- 'Multicultural Fruit Catchers',
- 'EsDawet',
- 'Brothers',
- 'Blood-Stained Apples',
- 'My Portuguese biches',
- 'Can\'t Catch The Beat',
- 'A Country Under the Sunlight',
- 'Eat my Nacho<3',
- 'Random Players',
- 'KiwiBeatZ',
- 'Ærfuglene på Årøysund'
- );
- $iCounter = 1;
- echo "<table><tr><td><h3>Not randomized teams: </h3>";
- foreach($teams as $team)
- {
- if($iCounter <= 9)
- {
- echo ' ';
- }
- echo $iCounter . ": " . $team . "<br />";
- $iCounter ++;
- }
- echo "</td>";
- shuffle($teams);
- $iCounter = 1;
- echo "<td style = 'padding-left: 50px;'><h3>Randomized teams: </h3>";
- foreach($teams as $team)
- {
- if($iCounter <= 9)
- {
- echo ' ';
- }
- if($iCounter == 1 || $iCounter == 2 || $iCounter == 3 || $iCounter == 4)
- {
- echo "<span style = 'background-color: red;'>" . $iCounter . ": " . $team . "<br /></span>";
- }
- else
- {
- echo $iCounter . ": " . $team . "<br />";
- }
- $iCounter ++;
- }
- echo "</td></tr></table>";
- echo "<br> Timestamp: " . date("d/m/Y G:i:s");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement