@@ -1,9 +1,9 @@ discard block |
||
| 1 | 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' ); |
|
| 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 | 7 | ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
| 8 | 8 | "http://www.w3.org/TR/html4/strict.dtd"> |
| 9 | 9 | <html> |
@@ -44,47 +44,47 @@ discard block |
||
| 44 | 44 | <script type="text/javascript" charset="utf-8"> |
| 45 | 45 | var gaoTest = [ |
| 46 | 46 | <?php |
| 47 | - function fnReadDir( &$aReturn, $path ) |
|
| 48 | - { |
|
| 49 | - $rDir = opendir( $path ); |
|
| 50 | - while ( ($file = readdir($rDir)) !== false ) |
|
| 51 | - { |
|
| 52 | - if ( $file == "." || $file == ".." || $file == ".DS_Store" ) |
|
| 53 | - { |
|
| 54 | - continue; |
|
| 55 | - } |
|
| 56 | - else if ( is_dir( $path.'/'.$file ) ) |
|
| 57 | - { |
|
| 58 | - fnReadDir( $aReturn, $path.'/'.$file ); |
|
| 59 | - } |
|
| 60 | - else |
|
| 61 | - { |
|
| 62 | - array_push( $aReturn, $path.'/'.$file ); |
|
| 63 | - } |
|
| 64 | - } |
|
| 65 | - closedir($rDir); |
|
| 66 | - } |
|
| 47 | + function fnReadDir( &$aReturn, $path ) |
|
| 48 | + { |
|
| 49 | + $rDir = opendir( $path ); |
|
| 50 | + while ( ($file = readdir($rDir)) !== false ) |
|
| 51 | + { |
|
| 52 | + if ( $file == "." || $file == ".." || $file == ".DS_Store" ) |
|
| 53 | + { |
|
| 54 | + continue; |
|
| 55 | + } |
|
| 56 | + else if ( is_dir( $path.'/'.$file ) ) |
|
| 57 | + { |
|
| 58 | + fnReadDir( $aReturn, $path.'/'.$file ); |
|
| 59 | + } |
|
| 60 | + else |
|
| 61 | + { |
|
| 62 | + array_push( $aReturn, $path.'/'.$file ); |
|
| 63 | + } |
|
| 64 | + } |
|
| 65 | + closedir($rDir); |
|
| 66 | + } |
|
| 67 | 67 | |
| 68 | - /* Get the tests dynamically from the 'tests' directory, and their templates */ |
|
| 69 | - $aFiles = array(); |
|
| 70 | - fnReadDir( $aFiles, "tests" ); |
|
| 68 | + /* Get the tests dynamically from the 'tests' directory, and their templates */ |
|
| 69 | + $aFiles = array(); |
|
| 70 | + fnReadDir( $aFiles, "tests" ); |
|
| 71 | 71 | |
| 72 | - for ( $i=0 ; $i<count($aFiles) ; $i++ ) |
|
| 73 | - { |
|
| 74 | - $sTemplate; |
|
| 75 | - $fp = fopen( $aFiles[$i], "r" ); |
|
| 76 | - fscanf( $fp, "// DATA_TEMPLATE: %s", $sTemplate ); |
|
| 77 | - fclose( $fp ); |
|
| 72 | + for ( $i=0 ; $i<count($aFiles) ; $i++ ) |
|
| 73 | + { |
|
| 74 | + $sTemplate; |
|
| 75 | + $fp = fopen( $aFiles[$i], "r" ); |
|
| 76 | + fscanf( $fp, "// DATA_TEMPLATE: %s", $sTemplate ); |
|
| 77 | + fclose( $fp ); |
|
| 78 | 78 | |
| 79 | - $aPath = explode('/', $aFiles[$i]); |
|
| 79 | + $aPath = explode('/', $aFiles[$i]); |
|
| 80 | 80 | |
| 81 | - echo '{ '. |
|
| 82 | - '"sTemplate": "'.$sTemplate.'", '. |
|
| 83 | - '"sTest": "'.$aFiles[$i].'", '. |
|
| 84 | - '"sGroup": "'.$aPath[1].'"},'."\n"; |
|
| 85 | - } |
|
| 81 | + echo '{ '. |
|
| 82 | + '"sTemplate": "'.$sTemplate.'", '. |
|
| 83 | + '"sTest": "'.$aFiles[$i].'", '. |
|
| 84 | + '"sGroup": "'.$aPath[1].'"},'."\n"; |
|
| 85 | + } |
|
| 86 | 86 | |
| 87 | - ?> |
|
| 87 | + ?> |
|
| 88 | 88 | null ]; |
| 89 | 89 | gaoTest.pop(); /* No interest in the null */ |
| 90 | 90 | </script> |
@@ -1,9 +1,9 @@ discard block |
||
| 1 | 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' ); |
|
| 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 | 7 | ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
| 8 | 8 | <html> |
| 9 | 9 | <head> |
@@ -19,12 +19,12 @@ discard block |
||
| 19 | 19 | <script type="text/javascript" src="../../js/jquery.dataTables.js"></script> |
| 20 | 20 | <script type="text/javascript" src="../unit_test.js"></script> |
| 21 | 21 | <?php |
| 22 | - $aScripts = explode( ":", $_GET['scripts'] ); |
|
| 23 | - for ( $i=0 ; $i<count($aScripts) ; $i++ ) |
|
| 24 | - { |
|
| 25 | - echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n"; |
|
| 26 | - } |
|
| 27 | - ?> |
|
| 22 | + $aScripts = explode( ":", $_GET['scripts'] ); |
|
| 23 | + for ( $i=0 ; $i<count($aScripts) ; $i++ ) |
|
| 24 | + { |
|
| 25 | + echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n"; |
|
| 26 | + } |
|
| 27 | + ?> |
|
| 28 | 28 | </head> |
| 29 | 29 | <body id="dt_example"> |
| 30 | 30 | <div id="container"> |
@@ -1,9 +1,9 @@ discard block |
||
| 1 | 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' ); |
|
| 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 | 7 | ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
| 8 | 8 | <html> |
| 9 | 9 | <head> |
@@ -19,12 +19,12 @@ discard block |
||
| 19 | 19 | <script type="text/javascript" src="../../js/jquery.dataTables.js"></script> |
| 20 | 20 | <script type="text/javascript" src="../unit_test.js"></script> |
| 21 | 21 | <?php |
| 22 | - $aScripts = explode( ":", $_GET['scripts'] ); |
|
| 23 | - for ( $i=0 ; $i<count($aScripts) ; $i++ ) |
|
| 24 | - { |
|
| 25 | - echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n"; |
|
| 26 | - } |
|
| 27 | - ?> |
|
| 22 | + $aScripts = explode( ":", $_GET['scripts'] ); |
|
| 23 | + for ( $i=0 ; $i<count($aScripts) ; $i++ ) |
|
| 24 | + { |
|
| 25 | + echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n"; |
|
| 26 | + } |
|
| 27 | + ?> |
|
| 28 | 28 | </head> |
| 29 | 29 | <body id="dt_example"> |
| 30 | 30 | <div id="container"> |
@@ -1,9 +1,9 @@ discard block |
||
| 1 | 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' ); |
|
| 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 | 7 | ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
| 8 | 8 | <html> |
| 9 | 9 | <head> |
@@ -19,12 +19,12 @@ discard block |
||
| 19 | 19 | <script type="text/javascript" src="../../js/jquery.dataTables.js"></script> |
| 20 | 20 | <script type="text/javascript" src="../unit_test.js"></script> |
| 21 | 21 | <?php |
| 22 | - $aScripts = explode( ":", $_GET['scripts'] ); |
|
| 23 | - for ( $i=0 ; $i<count($aScripts) ; $i++ ) |
|
| 24 | - { |
|
| 25 | - echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n"; |
|
| 26 | - } |
|
| 27 | - ?> |
|
| 22 | + $aScripts = explode( ":", $_GET['scripts'] ); |
|
| 23 | + for ( $i=0 ; $i<count($aScripts) ; $i++ ) |
|
| 24 | + { |
|
| 25 | + echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n"; |
|
| 26 | + } |
|
| 27 | + ?> |
|
| 28 | 28 | </head> |
| 29 | 29 | <body id="dt_example"> |
| 30 | 30 | <div id="container"> |
@@ -1,9 +1,9 @@ discard block |
||
| 1 | 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' ); |
|
| 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 | 7 | ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
| 8 | 8 | <html> |
| 9 | 9 | <head> |
@@ -19,12 +19,12 @@ discard block |
||
| 19 | 19 | <script type="text/javascript" src="../../js/jquery.dataTables.js"></script> |
| 20 | 20 | <script type="text/javascript" src="../unit_test.js"></script> |
| 21 | 21 | <?php |
| 22 | - $aScripts = explode( ":", $_GET['scripts'] ); |
|
| 23 | - for ( $i=0 ; $i<count($aScripts) ; $i++ ) |
|
| 24 | - { |
|
| 25 | - echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n"; |
|
| 26 | - } |
|
| 27 | - ?> |
|
| 22 | + $aScripts = explode( ":", $_GET['scripts'] ); |
|
| 23 | + for ( $i=0 ; $i<count($aScripts) ; $i++ ) |
|
| 24 | + { |
|
| 25 | + echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n"; |
|
| 26 | + } |
|
| 27 | + ?> |
|
| 28 | 28 | </head> |
| 29 | 29 | <body id="dt_example"> |
| 30 | 30 | <div id="container"> |
@@ -1,9 +1,9 @@ discard block |
||
| 1 | 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' ); |
|
| 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 | 7 | ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
| 8 | 8 | <html> |
| 9 | 9 | <head> |
@@ -19,12 +19,12 @@ discard block |
||
| 19 | 19 | <script type="text/javascript" src="../../js/jquery.dataTables.js"></script> |
| 20 | 20 | <script type="text/javascript" src="../unit_test.js"></script> |
| 21 | 21 | <?php |
| 22 | - $aScripts = explode( ":", $_GET['scripts'] ); |
|
| 23 | - for ( $i=0 ; $i<count($aScripts) ; $i++ ) |
|
| 24 | - { |
|
| 25 | - echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n"; |
|
| 26 | - } |
|
| 27 | - ?> |
|
| 22 | + $aScripts = explode( ":", $_GET['scripts'] ); |
|
| 23 | + for ( $i=0 ; $i<count($aScripts) ; $i++ ) |
|
| 24 | + { |
|
| 25 | + echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n"; |
|
| 26 | + } |
|
| 27 | + ?> |
|
| 28 | 28 | </head> |
| 29 | 29 | <body id="dt_example"> |
| 30 | 30 | <div id="container"> |
@@ -1,9 +1,9 @@ discard block |
||
| 1 | 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' ); |
|
| 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 | 7 | ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
| 8 | 8 | <html> |
| 9 | 9 | <head> |
@@ -81,12 +81,12 @@ discard block |
||
| 81 | 81 | ]; |
| 82 | 82 | </script> |
| 83 | 83 | <?php |
| 84 | - $aScripts = explode( ":", $_GET['scripts'] ); |
|
| 85 | - for ( $i=0 ; $i<count($aScripts) ; $i++ ) |
|
| 86 | - { |
|
| 87 | - echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n"; |
|
| 88 | - } |
|
| 89 | - ?> |
|
| 84 | + $aScripts = explode( ":", $_GET['scripts'] ); |
|
| 85 | + for ( $i=0 ; $i<count($aScripts) ; $i++ ) |
|
| 86 | + { |
|
| 87 | + echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n"; |
|
| 88 | + } |
|
| 89 | + ?> |
|
| 90 | 90 | </head> |
| 91 | 91 | <body id="dt_example"> |
| 92 | 92 | <div id="container"> |
@@ -1,9 +1,9 @@ discard block |
||
| 1 | 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' ); |
|
| 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 | 7 | ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
| 8 | 8 | <html> |
| 9 | 9 | <head> |
@@ -19,12 +19,12 @@ discard block |
||
| 19 | 19 | <script type="text/javascript" src="../../js/jquery.dataTables.js"></script> |
| 20 | 20 | <script type="text/javascript" src="../unit_test.js"></script> |
| 21 | 21 | <?php |
| 22 | - $aScripts = explode( ":", $_GET['scripts'] ); |
|
| 23 | - for ( $i=0 ; $i<count($aScripts) ; $i++ ) |
|
| 24 | - { |
|
| 25 | - echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n"; |
|
| 26 | - } |
|
| 27 | - ?> |
|
| 22 | + $aScripts = explode( ":", $_GET['scripts'] ); |
|
| 23 | + for ( $i=0 ; $i<count($aScripts) ; $i++ ) |
|
| 24 | + { |
|
| 25 | + echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n"; |
|
| 26 | + } |
|
| 27 | + ?> |
|
| 28 | 28 | </head> |
| 29 | 29 | <body id="dt_example"> |
| 30 | 30 | <div id="container"> |
@@ -1,9 +1,9 @@ discard block |
||
| 1 | 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' ); |
|
| 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 | 7 | ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
| 8 | 8 | <html> |
| 9 | 9 | <head> |
@@ -24,12 +24,12 @@ discard block |
||
| 24 | 24 | } ); |
| 25 | 25 | </script> |
| 26 | 26 | <?php |
| 27 | - $aScripts = explode( ":", $_GET['scripts'] ); |
|
| 28 | - for ( $i=0 ; $i<count($aScripts) ; $i++ ) |
|
| 29 | - { |
|
| 30 | - echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n"; |
|
| 31 | - } |
|
| 32 | - ?> |
|
| 27 | + $aScripts = explode( ":", $_GET['scripts'] ); |
|
| 28 | + for ( $i=0 ; $i<count($aScripts) ; $i++ ) |
|
| 29 | + { |
|
| 30 | + echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n"; |
|
| 31 | + } |
|
| 32 | + ?> |
|
| 33 | 33 | </head> |
| 34 | 34 | <body id="dt_example"> |
| 35 | 35 | <div id="container"> |