-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathresultmod.php~
46 lines (43 loc) · 1.11 KB
/
resultmod.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
<html>
<?php
require_once "init.php";
session_start();
$_SESSION['uid'] = 2;
$_SESSION['schoolid'] = 1;
$_SESSION['usertype'] = SCHOOL_ADMIN;
?>
<head>
<script type="text/javascript" src="ui/js/jquery.js"></script>
<script type="text/javascript" src="ui/js/facebox.js"></script>
<script>
jQuery(document).ready(function($) {
$('a[rel*=facebox]').facebox({
loadingImage : 'ui/img/loading.gif',
closeImage : 'ui/img/closelabel.png'
})
})
</script>
<script>
function news(){
$('#news').html("Loading...");
$.ajax({
url:"core/News/News.php",
type:"GET",
data:{'s':'false'},
success: function(data, status, request){
$('#news').html(data);
}
});
}
</script>
<link rel="stylesheet" type="text/css" href="ui/css/facebox.css" />
<title>Result Module</title>
<head>
<body>
<a href="javascript:news()">News</a>
<a href="ui/html/formGetResult.html" rel="facebox">Result</a>
<a href="ui/html/formEnterMarks.html" rel="facebox">Enter Results</a>
<a href="core/MyMsg.php" rel="facebox">Pending Messages</a>
<div id="news"></div>
</body>
</html>