tip:选中题目查看选项
EOF;
$query = new QueryQuestion();
try {
DbUtil::query("select * from question", $query);
} catch (Exception $e) {
error_res("系统出现严重异常,请联系管理员", "/");
return;
}
if (empty($query->getQuestionArray())) {
warn_res_with_click("题库暂无题目,需要添加题目", <<getQuestionArray() as $item) {
if ($item instanceof Question) {
$id = $item->getQuestionId();
$title = $item->getQuestionTitle();
echo <<
$title?
X
EOF;
}
}
}
echo <<