|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
'; include 'no_question_table.inc'; print ' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
';
}
// write to log
if ($_GET['type'] != '')
{
$type = $_GET['type'];
}
else
{
if ($quizrow['text'] == '')
{
$type = 'regular';
}
else
{
$type = 'rc';
}
}
write_to_log ('take_sample_quiz', 'id='.$_GET['q'].',name='.$quizrow['QuizName'].',type='.$type.',num_questions='.mysql_num_rows($res).',version='.$quizrow['version']);
$_SESSION['OrderQnID'] = array(); // array to save order of questions
$nummatch = 0;
$ques_num = 1; // incremental question number for this quiz
include 'question_format_take.php'; // format the questions in a form understood by score
if (mysql_num_rows($res) != 0)
{
print '';
print '
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||