Mercurial > repos > saskia-hiltemann > ireport
comparison DataTables-1.9.4/media/unit_testing/templates/dymanic_table.php @ 0:ac5f9272033b draft
first upload
author | saskia-hiltemann |
---|---|
date | Tue, 01 Jul 2014 11:42:23 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:ac5f9272033b |
---|---|
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 <script type="text/javascript" charset="utf-8"> | |
22 $(document).ready( function () { | |
23 $('#demo').html( '<table cellpadding="0" cellspacing="0" border="0" class="display" id="example"></table>' ); | |
24 } ); | |
25 </script> | |
26 <?php | |
27 $aScripts = explode( ":", $_GET['scripts'] ); | |
28 for ( $i=0 ; $i<count($aScripts) ; $i++ ) | |
29 { | |
30 echo '<script type="text/javascript" language="javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n"; | |
31 } | |
32 ?> | |
33 </head> | |
34 <body id="dt_example"> | |
35 <div id="container"> | |
36 <div class="full_width big"> | |
37 <i>DataTables</i> dynamic table template | |
38 </div> | |
39 | |
40 <h1>Live example</h1> | |
41 <div id="demo"></div> | |
42 <div class="spacer"></div> | |
43 </div> | |
44 </body> | |
45 </html> |