\n"); if ((showReport==1)&&(dhtmlEnabled==1)) { doc.writeln("
| Resultado do Quiz | \n"); doc.writeln("\n"); doc.writeln("IMPRIMIR | \n"); if (man_repeat) doc.writeln("REPETIR | \n"); if (topChartFile!='') doc.writeln("Top Chart | \n"); doc.writeln("FECHAR\n"); doc.writeln(" |
| ||||||||||||||||||||||
| \n"); } if ((k==half_index)&&((ncols_report==2)||(ncols_report==4))) { documento.writeln(" | "); } if (ncols_report==3) { if ((k==index13)||(k==index23)) { documento.writeln(" | "); } } if (ncols_report==4) { if ((k==index14)||(k==index34)) { documento.writeln(" | ");
}
}
i = ordineDomande[k];
if (valid[i]==4)
continue;
documento.writeln(""+n+" "+qstHead[i]+" "); n++; documento.writeln(""); if (valid[i]==1) documento.writeln("Resposta correcta "); else if (valid[i]==-1) documento.writeln("Resposta incorrecta "); else if (valid[i]==2) documento.writeln("Pergunta não validada "); else if (valid[i]==3) { if (typeOfQuest[i]==2) documento.writeln("Respostas correctas "+nScore[i]+" em "+maxScore[i]+" "); else if (typeOfQuest[i]==4) documento.writeln("descubra as palavras "+nScore[i]+" em "+maxScore[i]+" "); else if (typeOfQuest[i]==5) documento.writeln("Fazer a correspondência "+nScore[i]+" em "+maxScore[i]+" "); } else if (valid[i]==5) { documento.write("pontuações "+nScore[i]); if (groups[i]==0) documento.writeln(" (Pontuação "+maxScore[i]+") "); else if (groups[i]==1) documento.writeln(" Resultado adicionado à pontuação anterior "); else if (groups[i]==2) documento.writeln(" Pontuação (cálculos das respostas às perguntas seguintes): "+maxScore[i]+" "); } documento.writeln(""); if (valid[i]==2) { documento.write(" "+allAnsReport[i][0].choice+" "); continue; } documento.writeln(""); documento.writeln("
"); } documento.writeln(" |