here it the quiz_question template
PHP Code:
<html>
<head>
<title>$bbtitle - Quizzes - $quiz[quiztitle] - $quiz_header</title>
$headinclude
<script language="JavaScript">
function checkanswer(answerform) {
var temp;
for (var i = 0; i < $answer_count; i++) {
temp = answerform.user_answer[i];
if (temp.checked == true) {
return true;
}
}
alert("You must select an answer.");
return false;
}
</script>
</head>
<body>
$header
<!-- breadcrumb -->
<table cellpadding="2" cellspacing="0" border="0" width="95%" align="center">
<tr>
<td width="100%"><normalfont color="white"><b><a href="index.php?s=$session[sessionhash]">$bbtitle</a> $joiner <a href="quiz.php?s=$session[sessionhash]">Quizzes</a> $joiner <a href="quiz.php?s=$session[sessionhash]&quizid=$quiz[quizid]">$quiz[quiztitle]</a> $joiner Question $question_number</b></normalfont></td>
</tr>
</table>
<!-- /breadcrumb -->
<form action="$bburl/quiz.php?quizid=$quiz[quizid]&taking=1" method="post" onsubmit="return checkanswer(this);">
<input type="hidden" name="question" value="$num">
<input type="hidden" name="timecheck" value="$timecheck">
<table cellpadding="4" cellspacing="0" border="0" width="95%" align="center">
<tr>
<td width="100%" bgcolor="#1D6AA0" valign="middle" colspan="4"><normalfont color="#EEEEFF"><b>Quizzes - $quiz[quiztitle] - Question $question_number</b></normalfont></td>
</tr>
</table>
<table cellpadding="8" cellspacing="2" border="0" width="95%" align="center">
<tr>
<td width="100%" bgcolor="#1C5780" valign="top"><normalfont>$question[questiontext]</normalfont><hr/>
<table cellpadding="0 cellspacing="0" border="0" width="95%" align="center" bgcolor="#13486D"><tr><td width="100%">
<table cellpadding="2" cellspacing="1 border="0" width="100%" align="center">
$answerbits
</table>
</td></tr></table>
</td></tr></table>
<br/>
<table cellpadding="2" cellspacing="0" border="0" width="95%" align="center">
<tr>
<td width="100%" valign="middle" align="center"><input type="submit" name="questionsubmit" value="$button_text" class="black"></td>
</tr>
</table>
</form>
$footer
</body>
</html>