forked from kavinotravi/DBMS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadmin.php~
93 lines (79 loc) · 3.29 KB
/
admin.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
81
82
83
84
85
86
87
88
89
90
91
92
93
<?php
session_start();
require("connect.php");
$tag="";
if (isset($_GET['tag']))
$tag=$_GET['tag'];
?>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Welcome to University Management system</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="jquery-1.11.0.js"></script>
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.css"/>
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.min.css"/>
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap-theme.css"/>
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap-theme.min.css"/>
<script type="text/javascript" src="bootstrap/js/bootstrap.js"></script>
<link rel="stylesheet" type="text/css" href="css/home.css" />
</head>
<body style="width: 100%;">
<div class="logout_btn">
<a href="index.php" class="btn btn-primary btn-large">Logout <i class="icon-white icon-check"></i></a>
</div>
<div class="img_home_pos">
<a href="admin.php"><img src="images/img21.jpg" height="90" alt="IIT KANPUR" /></a><span class="header_pos">IIT KANPUR</span>
</div><br>
<div >
<?php
include './drop_down_menu.php';
?>
</div>
<div style="position:absolute; left:200px; top:120px;">
<?php
if($tag=="home" or $tag=="")
include("home.php");
elseif($tag=="student_entry")
include("Students_Entry.php");
elseif($tag=="teachers_entry")
include("Teachers_Entry.php");
elseif($tag=="staff_entry")
include("staff_Entry.php");
elseif($tag=="DUGC_entry")
include("DUGC_Entry.php");
elseif($tag=="course_entry")
include("course_Entry.php");
elseif($tag=="offering_entry")
include("offering_Entry.php");
elseif($tag=="view_teachers")
include("View_Teachers.php");
elseif($tag=="view_students")
include("View_Students.php");
elseif($tag=="view_courses")
include("View_Courses.php");
elseif($tag=="view_offering")
include("View_Offering.php");
elseif($tag=="view_staff")
include("View_Staff.php");
elseif($tag=="view_DUGC")
include("View_DUGC.php");
elseif($tag=="view_registration")
include("View_Registration.php");
elseif($tag=="view_leave_approved")
include("view_leave_approved.php");
elseif($tag=="view_staff_leave_pending")
include("view_leave_pending.php");("view_staff_leave_approved.php");
/*$tag= $_REQUEST['tag'];
/*if(empty($tag)){
include ("Students_Entry.php");
}
else{
include $tag;
}*/
?>
</div>
<div class="bottom_pos">
<a href="AboutManagement.php" style="text-decoration: none;">About management</a>
</div>
</body>
</html>