Lines Matching refs:html

76       $html = "";
85 $html .= '<h1>'.$data['title'].'</h1>';
87 $html .= $data['intro'];
88 if (($question_num != 0) && ($this->highscore )) $html .= $this->print_highscore();
90 $html .= '<div class="quiz-block" id="quiz-form__'.$this->quizID.'">';
92 $html .= '<h1>'.$data['title'].' - '.$question_num.'/'.$count_a.'</h1>';
93 if ($this->showintro) $html .= $data['intro'];
94 $html .= '<div class="quiz-block" id="quiz-form__'.$this->quizID.'">';
95 $html .= '<div class="quiz-question">'.$a['question'].'</div>';
98 …$html .= '<form action="getform.php" method="post" onsubmit="plgQuiz_send(\''.$this->quizID.'\'); …
99 $html .= '<input type="hidden" name="quiz_id" value="' . $this->quizID. '">' . "\n";
100 $html .= '<input type="hidden" name="quiz_learning" value="' . $this->mode. '">' . "\n";
101 … $html .= '<input type="hidden" name="quiz_showintro" value="' . $this->showintro. '">' . "\n";
102 … $html .= '<input type="hidden" name="quiz_rndquest" value="' . $this->rndquest. '">' . "\n";
103 … $html .= '<input type="hidden" name="quiz_rndchoice" value="' . $this->rndchoice. '">' . "\n";
104 … $html .= '<input type="hidden" name="quiz_highscore" value="' . $this->highscore. '">' . "\n";
107 $html .= '<div class="quiz-button">';
108 …$html .= '<button class="button" type="submit" onClick="plgQuiz_send(\''.$this->quizID.'\',1); ret…
111 …$html .= '<button class="button" type="submit" onClick="plgQuiz_send(\''.$this->quizID.'\',-1); re…
114 $html .= '</div>';
115 $html .= '</form>';
116 $html .= '</div>';
120 $html .= '<div class="quiz-choice">';
133 … $html .= '<input type="hidden" name="answers[' . $key . ']" value="' . $value .'">' . "\n";
136 …$html .= '<input type="hidden" name="answers[' . $key . '][' . $literal_key .']" value="on">' . "\…
147 …$html .= '<input '.$state.' type="radio" name="answers[' . $question_num . ']" id="'.$n.'" value="…
152 $html .= '<input type="text" name="answers[' . $question_num .
159 …$html .='<input '.$state.' type="checkbox" id="answers[' . $question_num . '][' . $n . ']" name="a…
166 $html .= '</div>';
167 $html .= '<div class="quiz-button">';
169 …$html .= '<button class="button" name="next_question" value="'.($question_num-1).'" type="submit" …
171 …$html .= '<button class="button" name="next_question" value="'.($question_num+1).'" type="submit" …
172 $html .= '</form>';
173 $html .= '</div>';
174 $html .= '</div>';
190 $html .= '<h1>'.$data['title'].' - '.$this->quizobj->getLang('quiz_result').'</h1>';
191 if ($this->showintro) $html .= $data['intro'];
192 $html .= '<div class="quiz-block">';
193 $html .= '<div class="quiz-result">';
195 …$html .= sprintf($this->quizobj->getLang('quiz_resulttext'), $total_correct_answers, $total_answer…
196 $html .= '<br>';
197 $html .= $this->quizobj->getLang('quiz_score').$total_score . '<br>';
198 $html .= '</div>';
204 $html .= '<div class="quiz-report">';
205 $html .= $scores['text'];
206 $html .= '</div>';
211 $html .= '<div class="quiz-button">';
212 $html .= '<form action="" method="post">';
213 …$html .= '<BUTTON class="button" name="again" type="submit" > '.$this->quizobj->getLang('quiz_trya…
214 $html .= '</form>';
215 $html .= '</div>';
219 $html .= "<hr>";
221 $html .= $this->learning_mode_print_answer($i );
226 $html .= '</div>';
229 $html .= $this->quiz_error();
231 return $html;
247 $html = "";
249 $html .= '<div class="quiz-block">';
250 $html .= '<div class="quiz-question">';
251 $html .= '<div class="quiz-'.$div.'">';
252 $html .= $question_num.") ".$a['question']; //."&nbsp;".$img;
253 $html .= '</div>';
254 $html .= '</div>';
255 $html .= '<div class="quiz-choice">';
256 $html .= '<ul>';
260 $html .= '<div class="quiz-wrong">'. $answers[1].'</div>';
263 $html .= '<div class="quiz-missing">'. $a['answers'][0] .'</div>';
265 $html .= '<div class="quiz-correct">'. $a['answers'][0] .'</div>';
279 $html .= '<div class="quiz-'.$div.'">';
280 $html .= '<li class="level1">'.$a['choices'][$n]['text'].'</li>';
281 $html .= '</div>' . "\n";
284 $html .= '</ul>';
287 … $html .= '<hr><b>'.$this->quizobj->getLang('quiz_explanation').'</b><br>' . $a['explanation'].'';
289 $html .= '</div>';
290 $html .= '</div>';
291 return $html ;
489 $html = "";
490 …$html .= '<h2>10 '.$this->quizobj->getLang('quiz_highscore').' ('.$scorelist['total'].')</h2><br>';
492 $html .= '<table class="inline">';
493 $html .= '<tr class="row0">';
494 $html .= '<th class="col0 centeralign"> User </th>
499 $html .= '</tr>';
501 $html .= "<tr>";
502 $html .= '<td class="col0">'.$row['user'].'</td>';
503 $html .= '<td class="col1">'.$row['ip'].'</td>';
504 $html .= '<td class="col2">'.$row['score'].'</td>';
505 $html .= '<td class="col3">'.$row['percent'].'</td>';
506 $html .= '<td class="col3">'.dformat($row['timestamp']).'</td>';
507 $html .= "</tr>";
510 $html .= "</table>";
512 return $html;