diff --git a/application/views/contestcalendar/index.php b/application/views/contestcalendar/index.php
index 17a8a21c8..15eb8ec33 100644
--- a/application/views/contestcalendar/index.php
+++ b/application/views/contestcalendar/index.php
@@ -4,68 +4,59 @@
This data is from https://www.contestcalendar.com/
';
- echo "{$contest['title']} | ";
- echo "{$contest['start']->format($custom_date_format)} | ";
- echo "{$contest['start']->format('H:i')} | ";
- echo "{$contest['end']->format($custom_date_format.' H:i')} | ";
- echo "Show Details | ";
- echo '';
- }
- }
- ?>
-
-
-
-
Today
-
-
+ function generateTableRows($contests, $custom_date_format) { ?>
+
+
+
+ | Contest |
+ Start |
+ End |
+ Link |
+
+
+
+
- | Contest |
- Date |
- Start |
- End |
- Link |
+ |
+ format('d M - H:i'); ?> |
+ format('d M - H:i'); ?> |
+ ' target='_blank'>Show Details |
-
-
+
+
+
+
+
+
+
+
-
Weekend
-
-
-
- | Contest |
- Date |
- Start |
- End |
- Link |
-
-
-
+
-
+
+
+
+
+
- Next Week
-
-
-
- | Contest |
- Date |
- Start |
- End |
- Link |
-
-
-
-
-
-
\ No newline at end of file