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