| 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="../'.htmlentities($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> empty table template |
| 33 |
</div> |
| 34 |
|
| 35 |
<h1>Live example</h1> |
| 36 |
<div id="demo"> |
| 37 |
<table id="example" class="display" cellspacing="0" width="100%"> |
| 38 |
<thead> |
| 39 |
<tr> |
| 40 |
<th>Name</th> |
| 41 |
<th>Position</th> |
| 42 |
<th>Office</th> |
| 43 |
<th>Extn.</th> |
| 44 |
<th>Start date</th> |
| 45 |
<th>Salary</th> |
| 46 |
</tr> |
| 47 |
</thead> |
| 48 |
</table> |
| 49 |
</div> |
| 50 |
<div class="spacer"></div> |
| 51 |
</div> |
| 52 |
</body> |
| 53 |
</html> |