$aantal = 9 ; $stop = 5 ; $formaction = "cijfers_typen.php"; $typecursus= "1234567890"; if ( isset($_GET['a'] ) ) {$a = $_GET['a'];} else {$a = null;} if ( isset($_GET['b'] ) ) {$b = $_GET['b'];} else {$b = null;} if ( isset($_GET['c'] ) ) {$c = $_GET['c'];} else {$c = null;} if ( isset($_GET['d'] ) ) {$d = $_GET['d'];} else {$d = null;} if ( isset($_GET['e'] ) ) {$e = $_GET['e'];} else {$e = null;} if ( isset($_GET['f'] ) ) {$f = $_GET['f'];} else {$f = null;} if ( isset($_GET['g'] ) ) {$g = $_GET['g'];} else {$g = null;} if ( isset($_GET['h'] ) ) {$h = $_GET['h'];} else {$h = null;} if ( isset($_GET['i'] ) ) {$i = $_GET['i'];} else {$i = null;} if ( isset($_GET['j'] ) ) {$j = $_GET['j'];} else {$j = null;} if ( isset($_GET['oudetekst'] ) ) {$oudetekst = $_GET['oudetekst'];} else {$oudetekst = null;} if ( isset($_GET['submit'] ) ) {$submit = $_GET['submit'];} else {$submit = null;} if ( isset($_GET['q'] ) ) {$q = $_GET['q'];} else {$q = null;} if ( isset($_GET['keer'] ) ) {$keer = $_GET['keer'];} else {$keer = null;} if ( isset($_GET['fout'] ) ) {$fout = $_GET['fout'];} else {$fout = null;} if ( isset($ads ) ) {$ads = $ads;} else {$ads = null;} if ( isset($_SERVER['HTTP_REFERER'] ) ) {$referercheck = $_SERVER['HTTP_REFERER']; } else { $referercheck = null; } if ( strlen ( $typecursus < 4 ) ) { $string = "$typecursus" . "$typecursus"; } else { $string = "$typecursus"; } $a = substr( $string , 0, 1); $string = substr( $string , 1); $b = substr( $string , 0, 1); $string = substr( $string , 1); $c = substr( $string , 0, 1); $string = substr( $string , 1); $d = substr( $string , 0, 1); $string = substr( $string , 1); $e = substr( $string , 0, 1); $string = substr( $string , 1); $f = substr( $string , 0, 1); $string = substr( $string , 1); $g = substr( $string , 0, 1); $string = substr( $string , 1); $h = substr( $string , 0, 1); $string = substr( $string , 1); $i = substr( $string , 0, 1); $string = substr( $string , 1); $j = substr( $string , 0, 1); $string = substr( $string , 1); ?>
"; echo $cookietekststart; } ?>
|
if ($adon == "ja") {
$ads = "
"; } echo "$ads"; ?> |
Online Typecursus Blind Typen Blind typen, oefeningen cijfers typen
if ($typecursus != "") {
echo "Je maakt nu een oefening met de toetsen: $a $b $c $d $e $f $g $h $i $j";
?>
function Kleurcode ($kleurtekst) {
$kleurtekst = preg_replace ('/[zaq\/;p]/','$0',$kleurtekst);
$kleurtekst = preg_replace ('/[frvbgtnhyujm]/','$0',$kleurtekst);
$kleurtekst = preg_replace ('/[cde\,ki]/','$0',$kleurtekst);
$kleurtekst = preg_replace ('/[xsw\.lo]/','$0',$kleurtekst);
return " $kleurtekst";
}
?>
function Oefening ($aantal, $a, $b, $c, $d, $e, $f, $g, $h, $i, $j) {
$opgave = "";
$random = 0;
$reeks = array (
1 => "$a",
2 => "$b",
3 => "$c",
4 => "$d",
5 => " ",
6 => "$e",
7 => "$f",
8 => "$g",
9 => "$h",
10 => "$i",
11 => "$j" ) ;
$i = 1;
if ($aantal > 3) { $aantal = $aantal + 2; } else { $aantal = $aantal + 1;}
while ($i < 18) {
$random = ( ( rand(1,144) ) % $aantal ) + 1;
$opgave .= $reeks[$random];
$i++;
}
return "$opgave";
}
?>
if (!$keer) {
$keer = 1;
}
if (!$fout) {
$fout = 0;
}
$tekst = Oefening ($aantal, $a, $b, $c, $d, $e, $f, $g, $h, $i, $j);
$tekst = preg_replace('/ +/', ' ', $tekst);
$tekst = trim ($tekst);
?>
$einde = $stop + 1;
if ($q && $q == "$oudetekst"){
echo " Vul in elk vakje een lettertoets in!";} echo " | "; ?>
if ($adon == "ja") { $ads = " "; } echo "$ads"; ?> | ||
|
|
| ||