$niveau = 3;
$tafel1 = 4;
$tafel2 = 5;
$vraag1 = "1 x 4 =";
$antw1 = 2;
$antw2 = 4;
$antw3 = 3;
$antw4 = 1;
$tafel1Lijst = "
1 x 4 = 4
2 x 4 = 8
3 x 4 = 12
4 x 4 = 16
5 x 4 = 20
6 x 4 = 24
7 x 4 = 28
8 x 4 = 32
9 x 4 = 36
10 x 4 = 40
";
$tafel2Lijst = "
1 x 5 = 5
2 x 5 = 10
3 x 5 = 15
4 x 5 = 20
5 x 5 = 25
6 x 5 = 30
7 x 5 = 35
8 x 5 = 40
9 x 5 = 45
10 x 5 = 50
";
$vragenJS = "
var nvaAr = new Array();
nvaAr[0] = new Array();
nvaAr[0][0] = \"1 x 4\";
nvaAr[0][1] = 4;
nvaAr[0][2] = 2;
nvaAr[0][3] = 4;
nvaAr[0][4] = 3;
nvaAr[0][5] = 1;
nvaAr[1] = new Array();
nvaAr[1][0] = \"2 x 4\";
nvaAr[1][1] = 8;
nvaAr[1][2] = 6;
nvaAr[1][3] = 8;
nvaAr[1][4] = 12;
nvaAr[1][5] = 16;
nvaAr[2] = new Array();
nvaAr[2][0] = \"3 x 4\";
nvaAr[2][1] = 12;
nvaAr[2][2] = 6;
nvaAr[2][3] = 7;
nvaAr[2][4] = 16;
nvaAr[2][5] = 12;
nvaAr[3] = new Array();
nvaAr[3][0] = \"1 x 4\";
nvaAr[3][1] = 4;
nvaAr[4] = new Array();
nvaAr[4][0] = \"3 x 4\";
nvaAr[4][1] = 12;
nvaAr[5] = new Array();
nvaAr[5][0] = \"2 x 4\";
nvaAr[5][1] = 8;
nvaAr[6] = new Array();
nvaAr[6][0] = \"4 x 4\";
nvaAr[6][1] = 16;
nvaAr[6][2] = 16;
nvaAr[6][3] = 8;
nvaAr[6][4] = 12;
nvaAr[6][5] = 24;
nvaAr[7] = new Array();
nvaAr[7][0] = \"10 x 4\";
nvaAr[7][1] = 40;
nvaAr[7][2] = 20;
nvaAr[7][3] = 14;
nvaAr[7][4] = 40;
nvaAr[7][5] = 30;
nvaAr[8] = new Array();
nvaAr[8][0] = \"5 x 4\";
nvaAr[8][1] = 20;
nvaAr[8][2] = 24;
nvaAr[8][3] = 16;
nvaAr[8][4] = 19;
nvaAr[8][5] = 20;
nvaAr[9] = new Array();
nvaAr[9][0] = \"6 x 4\";
nvaAr[9][1] = 24;
nvaAr[9][2] = 16;
nvaAr[9][3] = 10;
nvaAr[9][4] = 24;
nvaAr[9][5] = 20;
nvaAr[10] = new Array();
nvaAr[10][0] = \"5 x 4\";
nvaAr[10][1] = 20;
nvaAr[11] = new Array();
nvaAr[11][0] = \"4 x 4\";
nvaAr[11][1] = 16;
nvaAr[12] = new Array();
nvaAr[12][0] = \"10 x 4\";
nvaAr[12][1] = 40;
nvaAr[13] = new Array();
nvaAr[13][0] = \"6 x 4\";
nvaAr[13][1] = 24;
nvaAr[14] = new Array();
nvaAr[14][0] = \"3 x 4\";
nvaAr[14][1] = 12;
nvaAr[15] = new Array();
nvaAr[15][0] = \"9 x 4\";
nvaAr[15][1] = 36;
nvaAr[15][2] = 34;
nvaAr[15][3] = 35;
nvaAr[15][4] = 28;
nvaAr[15][5] = 36;
nvaAr[16] = new Array();
nvaAr[16][0] = \"7 x 4\";
nvaAr[16][1] = 28;
nvaAr[16][2] = 24;
nvaAr[16][3] = 21;
nvaAr[16][4] = 28;
nvaAr[16][5] = 18;
nvaAr[17] = new Array();
nvaAr[17][0] = \"8 x 4\";
nvaAr[17][1] = 32;
nvaAr[17][2] = 24;
nvaAr[17][3] = 34;
nvaAr[17][4] = 32;
nvaAr[17][5] = 30;
nvaAr[18] = new Array();
nvaAr[18][0] = \"1 x 5\";
nvaAr[18][1] = 5;
nvaAr[18][2] = 10;
nvaAr[18][3] = 15;
nvaAr[18][4] = 5;
nvaAr[18][5] = 6;
nvaAr[19] = new Array();
nvaAr[19][0] = \"8 x 4\";
nvaAr[19][1] = 32;
nvaAr[20] = new Array();
nvaAr[20][0] = \"7 x 4\";
nvaAr[20][1] = 28;
nvaAr[21] = new Array();
nvaAr[21][0] = \"9 x 4\";
nvaAr[21][1] = 36;
nvaAr[22] = new Array();
nvaAr[22][0] = \"6 x 4\";
nvaAr[22][1] = 24;
nvaAr[23] = new Array();
nvaAr[23][0] = \"1 x 5\";
nvaAr[23][1] = 5;
nvaAr[24] = new Array();
nvaAr[24][0] = \"2 x 5\";
nvaAr[24][1] = 10;
nvaAr[24][2] = 20;
nvaAr[24][3] = 10;
nvaAr[24][4] = 200;
nvaAr[24][5] = 12;
nvaAr[25] = new Array();
nvaAr[25][0] = \"3 x 5\";
nvaAr[25][1] = 15;
nvaAr[25][2] = 8;
nvaAr[25][3] = 30;
nvaAr[25][4] = 300;
nvaAr[25][5] = 15;
nvaAr[26] = new Array();
nvaAr[26][0] = \"5 x 5\";
nvaAr[26][1] = 25;
nvaAr[26][2] = 20;
nvaAr[26][3] = 30;
nvaAr[26][4] = 25;
nvaAr[26][5] = 35;
nvaAr[27] = new Array();
nvaAr[27][0] = \"4 x 5\";
nvaAr[27][1] = 20;
nvaAr[27][2] = 15;
nvaAr[27][3] = 14;
nvaAr[27][4] = 24;
nvaAr[27][5] = 20;
nvaAr[28] = new Array();
nvaAr[28][0] = \"5 x 5\";
nvaAr[28][1] = 25;
nvaAr[29] = new Array();
nvaAr[29][0] = \"2 x 5\";
nvaAr[29][1] = 10;
nvaAr[30] = new Array();
nvaAr[30][0] = \"4 x 5\";
nvaAr[30][1] = 20;
nvaAr[31] = new Array();
nvaAr[31][0] = \"3 x 5\";
nvaAr[31][1] = 15;
nvaAr[32] = new Array();
nvaAr[32][0] = \"6 x 5\";
nvaAr[32][1] = 30;
nvaAr[32][2] = 30;
nvaAr[32][3] = 15;
nvaAr[32][4] = 25;
nvaAr[32][5] = 20;
nvaAr[33] = new Array();
nvaAr[33][0] = \"7 x 5\";
nvaAr[33][1] = 35;
nvaAr[33][2] = 70;
nvaAr[33][3] = 60;
nvaAr[33][4] = 35;
nvaAr[33][5] = 30;
nvaAr[34] = new Array();
nvaAr[34][0] = \"8 x 5\";
nvaAr[34][1] = 40;
nvaAr[34][2] = 20;
nvaAr[34][3] = 40;
nvaAr[34][4] = 80;
nvaAr[34][5] = 60;
nvaAr[35] = new Array();
nvaAr[35][0] = \"10 x 5\";
nvaAr[35][1] = 50;
nvaAr[35][2] = 25;
nvaAr[35][3] = 75;
nvaAr[35][4] = 35;
nvaAr[35][5] = 50;
nvaAr[36] = new Array();
nvaAr[36][0] = \"9 x 5\";
nvaAr[36][1] = 45;
nvaAr[36][2] = 46;
nvaAr[36][3] = 48;
nvaAr[36][4] = 43;
nvaAr[36][5] = 45;
nvaAr[37] = new Array();
nvaAr[37][0] = \"6 x 5\";
nvaAr[37][1] = 30;
nvaAr[38] = new Array();
nvaAr[38][0] = \"7 x 5\";
nvaAr[38][1] = 35;
nvaAr[39] = new Array();
nvaAr[39][0] = \"9 x 5\";
nvaAr[39][1] = 45;
nvaAr[40] = new Array();
nvaAr[40][0] = \"8 x 5\";
nvaAr[40][1] = 40;
nvaAr[41] = new Array();
nvaAr[41][0] = \"10 x 5\";
nvaAr[41][1] = 50;
";
##instellingen##
//aantal vragen
$aantalV = 42;
//Welke Tafel(s)
$n = array(4,5);
$aantalTafels = count($n);
if($aantalTafels*10<$aantalV)
{
for($j=0;$j<=$aantalTafels;$j++)
{
$n[] = $n[$j];
}
}
require_once("niveautemplate.php");