6776.php 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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" language="javascript" src="../../js/jquery.js"></script>
  18. <script type="text/javascript" language="javascript" src="../../js/jquery.dataTables.js"></script>
  19. <script type="text/javascript" language="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" language="javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
  25. }
  26. ?>
  27. </head>
  28. <body id="dt_example">
  29. <div id="container">
  30. <div id="demo">
  31. <h1>Live example</h1>
  32. <table>
  33. <thead/>
  34. <tbody>
  35. <tr>
  36. <td>
  37. <div>
  38. <table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
  39. <thead>
  40. <tr>
  41. <th>Rendering engine</th>
  42. <th width="25%">Browser</th>
  43. <th>Platform(s)</th>
  44. <th>Engine version</th>
  45. <th>CSS grade</th>
  46. </tr>
  47. </thead>
  48. <tbody>
  49. <tr class="odd gradeX">
  50. <td>Trident</td>
  51. <td>Internet Explorer 4.0</td>
  52. <td>Win 95+</td>
  53. <td class="center"> 4</td>
  54. <td class="center">X</td>
  55. </tr>
  56. <tr class="odd gradeX">
  57. <td>Trident</td>
  58. <td>Internet Explorer 4.0</td>
  59. <td>Win 95+</td>
  60. <td class="center"> 4</td>
  61. <td class="center">X</td>
  62. </tr>
  63. <tr class="odd gradeX">
  64. <td>Trident</td>
  65. <td>Internet Explorer 4.0</td>
  66. <td>Win 95+</td>
  67. <td class="center"> 4</td>
  68. <td class="center">X</td>
  69. </tr>
  70. <tr class="odd gradeX">
  71. <td>Trident</td>
  72. <td>Internet Explorer 4.0</td>
  73. <td>Win 95+</td>
  74. <td class="center"> 4</td>
  75. <td class="center">X</td>
  76. </tr>
  77. <tr class="odd gradeX">
  78. <td>Trident</td>
  79. <td>Internet Explorer 4.0</td>
  80. <td>Win 95+</td>
  81. <td class="center"> 4</td>
  82. <td class="center">X</td>
  83. </tr>
  84. <tr class="odd gradeX">
  85. <td>Trident</td>
  86. <td>Internet Explorer 4.0</td>
  87. <td>Win 95+</td>
  88. <td class="center"> 4</td>
  89. <td class="center">X</td>
  90. </tr>
  91. <tr class="odd gradeX">
  92. <td>Trident</td>
  93. <td>Internet Explorer 4.0</td>
  94. <td>Win 95+</td>
  95. <td class="center"> 4</td>
  96. <td class="center">X</td>
  97. </tr>
  98. <tr class="odd gradeX">
  99. <td>Trident</td>
  100. <td>Internet Explorer 4.0</td>
  101. <td>Win 95+</td>
  102. <td class="center"> 4</td>
  103. <td class="center">X</td>
  104. </tr>
  105. </tbody>
  106. </table>
  107. </div>
  108. </td>
  109. </tr>
  110. </tbody>
  111. </table>
  112. </div>
  113. </div>
  114. </body>
  115. </html>