代码拉取完成,页面将自动刷新
<?php
if (!defined("IN_SCRS")) exit();
?>
<?php if (isset($_GET['exam'])) {
$exam = get_topic_by_id($_GET['exam']);
?>
<div id="content">
<input class="button back" type="button" value="返回" onclick="window.location='?action=statics&id=1'" />
<h3>分赛题分数统计表</h3>
<h3><?php echo $exam['topicname']; ?></h3>
<h3>请选择评分老师</h3>
<ul>
<?php
$users = $user->get_all_privilege();
if (isset($users[$_GET['exam']])) {
$users = $users[$_GET['exam']];
foreach ($users as $key => $value) {
if ($value == 1) {
$getuser = $user->get_user_by_id($key);
echo "<li onclick=\"window.open('?action=show_statics&id=1&exam=" . $_GET['exam']. "&user=" . $key . "','_blank')\">" . $getuser['realname'] . "</li>";
}
}
}
?>
</ul>
</div>
<?php } else { ?>
<div id="content">
<input class="button back" type="button" value="返回" onclick="window.location='?action=statics'" />
<h3>分赛题分数统计表</h3>
<h3>请选择赛题</h3>
<ul>
<?php
$topic = get_all_topics();
foreach($topic as $t) {
echo "<li onclick=\"window.location.href='?action=statics&id=1&exam=" . $t['topic_id'] . "'\">" . $t['topicname'] . "</li>";
}
?>
</ul>
</div>
<?php } ?>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。