예제 #1
0
$answer = $qbc->getAnswer($qid);
$corefs = $qbc->getCorefsAsJSON($qid, $_SESSION['username']);
$show_accuracy = $qbc->isQuestionGoldStandard($qid);
$total_corefs = 0;
if ($show_accuracy) {
    $total_corefs = $qbc->getCountGoldStandardCorefs($qid);
}
$prevqid = $qbc->getPrevQuestion($qid);
$nextqid = $qbc->getNextQuestion($qid);
// Redirect if first login
if ($qbc->first_login == true) {
    header("Location: tutorial.php?first=1");
    exit;
}
// Check for old version of IE
if ($qbc->isUsingOldIEBrowser()) {
    header("Location: unsupported.php");
    exit;
}
?>
<!doctype html>
<html lang="us">
<head>
	<meta charset="utf-8">
	<title>Coreference Tool</title>
	<link href="css/smoothness/jquery-ui-1.10.4.custom.css" rel="stylesheet">
	<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
	<link href="css/bootstrap-theme.min.css" rel="stylesheet" media="screen">
	<link href="css/coref.css" rel="stylesheet">
	<script src="js/jquery-1.10.2.js"></script>
	<script src="js/bootstrap.min.js"></script>