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