-
Notifications
You must be signed in to change notification settings - Fork 0
/
confirm_faculty.php
89 lines (82 loc) · 2.53 KB
/
confirm_faculty.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
<?php
session_start();
require 'dbconnect.php';
$code=$_SESSION['code'];
$result = $mysqli->query("SELECT * from faculty WHERE frwd=1 and code ='$code' and active <> 1 ");
$count=mysqli_num_rows($result);
?>
<!DOCTYPE HTML>
<html>
<head>
<title>New faculties registered</title>
<link href="css/bootstrap.css" rel='stylesheet' type='text/css' />
<!-- jQuery (necessary JavaScript plugins) -->
<script src="js/bootstrap.js"></script>
<!-- Custom Theme files -->
<link rel="stylesheet" href="css/touchTouch.css" type="text/css" media="all" />
<link href="css/style.css" rel='stylesheet' type='text/css' />
<!-- Custom Theme files -->
<!--//theme-style-->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="University Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template,
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.js"></script>
</head>
<body>
<!-- banner -->
<div class="banner2">
<div class="header">
<div class="top-menu">
<span class="menu"></span>
<ul class="navig">
<li><a href="index.php">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="examination.php">Examination</a></li>
</ul>
</div>
<!-- script-for-menu -->
<script>
$("span.menu").click(function(){
$("ul.navig").slideToggle("slow" , function(){
});
});
</script>
<!-- script-for-menu -->
<div class="clearfix"></div>
</div>
</div>
<div class="contact">
<div class="container">
<div class="main-head-section">
<h2>New Faculties registered:</h2>
</div>
</div>
</div>
</div>
<center>
<?php
if($count == 0)
{
echo "<br>no new faculty registered";
}else{
while($row=mysqli_fetch_array($result))
{
$email= $row['offemail'];
echo $row['name'];
echo '<form action="faculty_view.php" method="get">
<div class="form_details">
<div class="sub-button">
<input type="hidden" name="email" value = "'.$email.'">
<input type="submit" value="view details">
</div>
</div>
</form>';
}
}
?>
</center>
</body>
</html>