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