$value) { if (is_dir($dir . DIRECTORY_SEPARATOR . $value)) { $result[$value] = dirToArray($dir . DIRECTORY_SEPARATOR . $value); } else { if (substr($value, -3) == '.js') { $result[] = $value; } } } return $result; } $state = false; if (isset($_GET['f'])) { $js = $_GET['d'] . '/' . $_GET['f']; $ts = substr($js, 0, -2) . 'ts'; $state = substr($_GET['f'], 0, -3); } $mobile = false; if (isset($_GET['m'])) { $mobile = true; } ?>
You'll learn best from these Tests by viewing the source code.
Use the arrow keys / mouse to move around most of them.