index.php 564 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. include_once 'Database.php';
  3. include_once 'WebFunctions.php';
  4. ?>
  5. <!DOCTYPE html>
  6. <html lang="en">
  7. <head>
  8. <meta charset='utf-8'>
  9. <meta http-equiv='X-UA-Compatible'>
  10. <title>Odds webspace</title>
  11. <meta name='viewport' content='width=device-width, initial-scale=1'>
  12. <link rel='stylesheet' type='text/css' media='screen' href='styles.css'>
  13. </head>
  14. <body>
  15. <h1> Odds better </h1>
  16. <?php
  17. $database = new Database();
  18. $matches = $database->getTodaysPrioMatches();
  19. $wf = new WebFunctions();
  20. $wf->createMatchTable($matches);
  21. ?>
  22. </body>
  23. </html>