-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmessagedosen.php
80 lines (78 loc) · 2.37 KB
/
messagedosen.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<html>
<head>
<title>Message Dosen</title>
<link rel="stylesheet" type="text/css" href="CSS/layout.css"/>
<link rel="stylesheet" type="text/css" href="CSS/font.css"/>
<link rel="stylesheet" type="text/css" href="CSS/element.css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script> <!-- source jquery -->
<script>
function inbox() {
$(document).ready(function(){
$("#isimsg").load('halamanmessagedosen.php #inbox');
});
}
function compose() {
$(document).ready(function(){
$("#isimsg").load('halamanmessagedosen.php #isi');
});
}
function outbox() {
$(document).ready(function(){
$("#isimsg").load('halamanmessagedosen.php #outbox');
});
}
</script>
</head>
<body>
<div id="container">
<div id="header">
<table border="0" cellspacing="10">
<tr>
<td><img src="Images/teacher.png" width="150" height="150" /></td>
<td><h1>Lecturer Page</h1></td>
</tr>
</table>
</div>
<div id="cpanel">
<h1>Message Dosen</h1><br/>
<a href="paneldosen.php" title="Kembali"><img src="Images/back.png" /></a><br/>
<div id="isimsg">
<form action="kirimdosen.php" method="POST">
<table border="0">
<tr>
<td><font color="white">To</font></td>
<td><font color="white">:</font></td>
<td><input type="text" name="tujuan" /><font color="white">* Masukkan NIM/NIP</font></td>
</tr>
<tr>
<td><font color="white">Subject</font></td>
<td><font color="white">:</font></td>
<td><input type="text" name="subject" size="40" /></td>
</tr>
<tr>
<td><font color="white">Mail</font></td>
<td><font color="white">:</font></td>
<td>
<textarea cols="40" rows="10" name="isi"></textarea>
</td>
</tr>
<tr>
<td colspan="3">
<center>
<input type="submit" value="Kirim" />
<input type="reset" value="Cancel" />
</center>
</td>
</tr>
</table>
</form>
</div>
<div id="menumsg">
<a href="#" onclick="compose()"><img src="Images/open.png" width="30" height="30" /><b><font color="white">Compose</font></b></a><br/>
<a href="#" onclick="inbox()"><img src="Images/inbox.png" width="30" height="30" /><b><font color="white">Inbox</font></b></a><br/>
<a href="#" onclick="outbox()"><img src="Images/outbox.png" width="30" height="30" /><b><font color="white">Outbox</font></b></a><br/>
</div>
</div>
</div>
</body>
</html>