forked from Bengaluru18/team-9
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapplications.php
115 lines (101 loc) · 2.46 KB
/
applications.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-color: #cccccc;
}
button{
color:white;
background-color:green;
border-radius:3px;
}
a { color: #FF0000; }
#example2 {
border: 1px transparent;
padding: 10px;
border-radius: 5px 2px;
box-shadow:4px 4px 4px #888;
}
.grid-container {
display: grid;
grid-template-columns: auto auto auto;
background-color: #2196F3;
padding: 10px;
}
#ima{
margin-top: 200px;
}
.grid-item {
background-color: rgba(255, 255, 255, 0.8);
border: 1px solid rgba(0, 0, 0, 0.8);
padding: 20px;
font-size: 30px;
text-align: center;
}
textarea{
background: transparent;
border: 2px solid teal;
}
</style>
<script>
function approveSchool(var i)
{
document.getElementBy("id"+i).style.display=none;
}
function myfunction()
{
window.location='admin_homepage.html';
}
</script>
<style>
h1{
color: teal;
font-family: Montserrat,sans-serif;
}
h2{
color: tomato;
font-family: Montserrat,sans-serif;
}
button{
padding: 10px;
margin: 10px;
font-family: cursive,sans-serif;
border-radius: 6px;
}
</style>
</head>
<body>
<?php
include_once 'dbcon.php';
?>
<h1 align="center">Careworks Foundation</h1>
<h2 align="center">Review Application</h2>
<h4><center>Remarks and Progress</center></h4>
<?php
//if(isset($_POST['view']))
//{
echo "<center><table>";
$qry="select name,address,hm_name,phone from school";
$a=array("NAME","ADDRESS","HEAD MASTER","PHONE");
$rs=mysqli_query($con,$qry)
or die(mysql_error());
$count=mysqli_num_fields($rs);
//echo "<table border='3'><tr><th>NAME</th><th>LOCALITY</th><th>HEAD MASTER'S NAME</th><th>PHONE</th></tr>";
echo "<br><br> <br><center>PROGRESS AND REVIEW</center>";
while($row=mysqli_fetch_array($rs))
{
echo "<br><br>";
echo "<center><table border='3'>";
for($i=0;$i<$count;$i++)
{
echo "<tr><td>$a[$i]</td><td>$row[$i]</td></tr>";
}
echo "<tr><center><textarea rows='10' cols='60' placeholder='Enter remarks and progress!'></textarea><center></tr>";
echo "</table></center>";
echo "<br><center><button type='button' name='submit' onclick='myfunction()'>SUBMIT</button></center>";
}
?>
<div id="ima" align="center"><img src="logo.png" alt="background"></div>
</body>
</html>