-
Notifications
You must be signed in to change notification settings - Fork 0
/
view_staff.php
59 lines (44 loc) · 1.1 KB
/
view_staff.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
<?php
include"database.php";
session_start();
if(!isset($_SESSION["AID"]))
{
echo"<script>window.open('index.php?mes=Access not granted','_self');</script>";
}
?>
<!DOCTYPE html>
<html>
<head>
<title>ASP - Admin </title>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<?php include"navbar.php";?><br>
<div id="section">
<?php include"sidebar.php";?><br><br><br>
<h3 class="text">Welcome <?php echo $_SESSION["ANAME"]; ?></h3><br><hr><br>
<div class="content1">
<h3 > View Teacher Details</h3><br>
<form id="frm" autocomplete="off">
<input type="text" id="txt" class="input">
</form>
<br>
<div id="box"></div>
</div>
</div>
<?php include"footer.php";?>
<script>
$(document).ready(function(){
$("#txt").keyup(function(){
var txt=$("#txt").val();
if(txt!="")
{
$.post("search.php",{s:txt},function(data){
$("#box").html(data);
});
}
});
});
</script>
</body>
</html>