empty_table.php 1.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?php
  2. header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' );
  3. header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
  4. header( 'Cache-Control: no-store, no-cache, must-revalidate' );
  5. header( 'Cache-Control: post-check=0, pre-check=0', false );
  6. header( 'Pragma: no-cache' );
  7. ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  8. <html>
  9. <head>
  10. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  11. <link rel="shortcut icon" type="image/ico" href="http://www.sprymedia.co.uk/media/images/favicon.ico" />
  12. <title>DataTables unit testing</title>
  13. <style type="text/css" title="currentStyle">
  14. @import "../../css/demo_page.css";
  15. @import "../../css/demo_table.css";
  16. </style>
  17. <script type="text/javascript" src="../../js/jquery.js"></script>
  18. <script type="text/javascript" src="../../js/jquery.dataTables.js"></script>
  19. <script type="text/javascript" src="../unit_test.js"></script>
  20. <?php
  21. $aScripts = explode( ":", $_GET['scripts'] );
  22. for ( $i=0 ; $i<count($aScripts) ; $i++ )
  23. {
  24. echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
  25. }
  26. ?>
  27. </head>
  28. <body id="dt_example">
  29. <div id="container">
  30. <div class="full_width big">
  31. <i>DataTables</i> empty table template
  32. </div>
  33. <h1>Live example</h1>
  34. <div id="demo">
  35. <table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
  36. <thead>
  37. <tr>
  38. <th>Rendering engine</th>
  39. <th>Browser</th>
  40. <th>Platform(s)</th>
  41. <th>Engine version</th>
  42. <th>CSS grade</th>
  43. </tr>
  44. </thead>
  45. <tbody>
  46. </tbody>
  47. </table>
  48. </div>
  49. <div class="spacer"></div>
  50. </div>
  51. </body>
  52. </html>