supported.php 868 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. require_once('luminous.php');
  3. ?><!DOCTYPE html>
  4. <html>
  5. <head>
  6. <style>
  7. body {
  8. font-family: sans-serif;
  9. }
  10. table {
  11. border-collapse: collapse;
  12. }
  13. td {
  14. border: 1px solid gray;
  15. padding: 0 1em;
  16. }
  17. th {
  18. border-bottom: 1px solid black;
  19. text-align:center;
  20. font-weight:bold;
  21. }
  22. </style>
  23. </head>
  24. <body>
  25. <table style='margin-left:auto; margin-right: auto;'>
  26. <thead>
  27. <tr>
  28. <th style='border: 0px'></th>
  29. <th>Language</th>
  30. <th>Valid Codes</th>
  31. </tr>
  32. </thead>
  33. <tbody>
  34. <?php
  35. $i = 0;
  36. foreach(luminous::scanners() as $l=>$codes) { ?>
  37. <tr>
  38. <td><?php echo ++$i; ?></td>
  39. <td><?php echo $l; ?></td>
  40. <td><?php echo join(', ', $codes); ?></td>
  41. </tr>
  42. <?php } ?>
  43. </tbody>
  44. </table>
  45. </body>
  46. </html>