-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadd_programmer_admin.php
More file actions
57 lines (55 loc) · 1.28 KB
/
add_programmer_admin.php
File metadata and controls
57 lines (55 loc) · 1.28 KB
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
<html>
<head>
<title>View Pending Request</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<h1 align="center">All Request</h1>
<table width="1000" border=".5" cellpadding="3" cellspacing="1" align="center">
<tr>
<th>ID</th>
<th>Name</th>
<th>User Name</th>
<th>Email</th>
<th>Operation</th>
</tr>
<?php
session_start();
include("connect.php");
if(!$_SESSION['username'])
{
header("Location: index.php");
}
$sql="SELECT * FROM temp";
$records=mysqli_query($connection,$sql);
while ($user=mysqli_fetch_array($records)) {
?>
<tr>
<td><?php echo $user['id']?></td>
<td><?php echo $user['name']?></td>
<td><?php echo $user['username']?></td>
<td><?php echo $user['email']?></td>
<td><a href="#">Details</a><br/>
<a href="#">Add</a><br/>
<a href="#">Delete</a>
</td>
</tr>
<?php
}
?>
</table>
<div class="form" align="center">
<form action="admin_welcome.php">
<input type="submit" value="Back" />
</form>
</div>
</body>
</html>
<style type="text/css">
body{
background-color:#c2be9d;
}
.form{
background-color:#c2be9d;
}
</style>