云计算课程大作业
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

49 lines
1.2 KiB

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>check</title>
<style type="text/css">
div{
width: 800px;
height: 500px;
border: outset 2px rgb(253, 253, 253);
border-radius: 1%;
margin: 20px auto;
}
</style>
</head>
<body style="background-color:rgba(233, 233, 233, 0.767)">
<br>
<h1 align="center" style="color:rgb(110, 108, 119)">学 生 考 勤 管 理 平 台</h1>
<div style="background-color:white">
<h3 align="center">请在下方选中签到学生</h3>
<form action="./attend_check_do.php" method="POST" align="right">
<table align="center">
<tr>
<th>学号&#12288;</th>
<th>学生姓名&#12288;</th>
<th>学生所在院系&#12288;</th>
<th>班级&#12288;</th>
<th>签到</th>
</tr>
<?php foreach($data as $k=>$v){?>
<tr>
<td><?=$v['jobnum']?></td>
<td><?=$v['name']?></td>
<td><?=$v['dept']?></td>
<td><?=$v['depthead']?></td>
<td>
<input type="checkbox" name="attend[]" value="<?=$v['jobnum']?>">
</td>
</tr>
<?php }?>
</table>
<input type="reset" value="重置">
<input type="submit" value="签到">
</form>
</div>
</body>
</html>