diff --git a/images/events/pro-league/celestial-guardians.png b/images/events/pro-league/celestial-guardians.png new file mode 100644 index 00000000..0f876f4b Binary files /dev/null and b/images/events/pro-league/celestial-guardians.png differ diff --git a/images/events/pro-league/red-stari.png b/images/events/pro-league/red-stari.png new file mode 100644 index 00000000..5f6ac272 Binary files /dev/null and b/images/events/pro-league/red-stari.png differ diff --git a/images/events/pro-league/senko-nation.png b/images/events/pro-league/senko-nation.png new file mode 100644 index 00000000..56fcf57f Binary files /dev/null and b/images/events/pro-league/senko-nation.png differ diff --git a/index.php b/index.php index 9ca2f458..78578289 100644 --- a/index.php +++ b/index.php @@ -20,6 +20,7 @@ function startsWith($haystack, $needle) { ?> + @@ -670,6 +671,58 @@ function display_sidebar($title,$link=null) { ?> +
+ +

+
+ + + + + + + 'Celestial Guardians', + 'icon' => 'celestial-guardians.png', + 'score' => 10 + ), + array( + 'name' => 'Senko Nation', + 'icon' => 'senko-nation.png', + 'score' => 5 + ), + array( + 'name' => 'Red Stari FC', + 'icon' => 'red-stari.png', + 'score' => 7 + ), + ); + usort($plRanking, function($team1, $team2) { + return $team2['score'] - $team1['score']; + }); + foreach ($plRanking as $i=>$team) { + ?> + + + + + + +
Score
+
+ <?php echo $team['name']; ?> + +
+
+
+ +
div { + margin: 0.25em; + display: flex; + align-items: center; + justify-content: center; + gap: 1em; +} +#pro-league tr:nth-child(2n+2) { + background-color: #3D4351; +} +#pro-league tr:nth-child(2n+3) { + background-color: #23262E; +} +#pro-league tr a { + text-decoration: none; + display: block; + padding: 8px 0; +} +#pro-league tr a:hover { + opacity: 0.6; +} +#pro-league + .link-extra { + margin-left: auto; + margin-right: auto; + text-align: center; + margin-top: 7px; +} +#pro-league + .link-extra a { + color: #6AF; +} +#pro-league + .link-extra a:hover { + color: #09F; +} \ No newline at end of file