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 class="full_width big">
|
|
32 <i>DataTables</i> table with HTML elements template
|
|
33 </div>
|
|
34
|
|
35 <h1>Live example</h1>
|
|
36 <div id="demo">
|
|
37 <table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
|
|
38 <thead>
|
|
39 <tr>
|
|
40 <th>Reflection</th>
|
|
41 <th>Link</th>
|
|
42 </tr>
|
|
43 </thead>
|
|
44 <tbody>
|
|
45 <tr>
|
|
46 <td>1</td>
|
|
47 <td><a href="http://www.sprymedia.co.uk/article/DataTables">DataTables</a></td>
|
|
48 </tr>
|
|
49 <tr>
|
|
50 <td>2</td>
|
|
51 <td><a href="http://www.sprymedia.co.uk/article/Integrity">A link to Integrity</a></td>
|
|
52 </tr>
|
|
53 <tr>
|
|
54 <td>3</td>
|
|
55 <td><a href="http://www.sprymedia.co.uk/article/Integrity">Integrity</a></td>
|
|
56 </tr>
|
|
57 <tr>
|
|
58 <td>4</td>
|
|
59 <td>EIntegrity</td>
|
|
60 </tr>
|
|
61 </table>
|
|
62 </div>
|
|
63 <div class="spacer"></div>
|
|
64 </div>
|
|
65 </body>
|
|
66 </html> |