forked from localsnake/njusns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
frmCourseModifyAssignment.php
executable file
·53 lines (52 loc) · 1.97 KB
/
frmCourseModifyAssignment.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php
$course_id = $_REQUEST['course_id'];
$id = $_REQUEST['id'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/fancyboxStyle.css" rel="stylesheet" type="text/css"/>
<link href="css/frmCourseModifyAssignment.css" rel="stylesheet" type="text/css"/>
<script src="lib/jquery.js" type="text/javascript"></script>
<link type="text/css" href="css/redmond/jquery-ui-1.8.13.custom.css" rel="stylesheet" />
<script type="text/javascript" src="lib/jquery-ui-1.8.13.custom.min.js"></script>
<script>
$(document).ready(function() {
$("#datepicker").datepicker({ dateFormat: 'yy-mm-dd' });
$('input[name=submitCancel]').bind('click',function(){
parent.$.fancybox.close(); //关闭FancyBox
});
});
</script>
</head>
<body class="fancyboxWrapper">
<form id="courseAssignmentEdit" enctype="multipart/form-data" method="post" action='includes/interface/modify_assignment.php?course_id=<?php echo $course_id; ?>&course_assignment_id=<?php echo $id;?>'>
<table class="designedTable">
<tr>
<td>修改截止日期:</td>
<td><input type="text" id="datepicker" name="course_assignment_deadline_date" /></td>
</tr>
<tr>
<td>修改截止时间:</td>
<td><select name="course_assignment_deadline_time">
<option>20:00</option>
<option>23:55</option>
</select></td>
</tr>
<tr>
<td><label for="file">修改附件:</label></td>
<td><input type="file" name="file" id="file" /></td>
</tr>
<tr>
<td>修改原因:</td>
<td><textarea name="message" id="" cols="30" rows="10"></textarea></td>
</tr>
</table>
<div class="buttonWrapper">
<input id='courseModifyAssignment' type='submit' name="submit" value='' class="acceptBtn"/>
<input id="cancel" type="button" name="submitCancel" value='' class="cancelBtn"/>
</div>
</form>
</body>
</html>