-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheventrequest.php
93 lines (86 loc) · 2.1 KB
/
eventrequest.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
$db = mysqli_connect("localhost","root","","userregistration");
if(!$db)
{
die("Connection failed: " . mysqli_connect_error());
}
?>
<!DOCTYPE html>
<html>
<head>
<style>
.abcd{
display:flex;
background: rgba( 184, 136, 190, 0.25 );
box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
backdrop-filter: blur( 4px );
-webkit-backdrop-filter: blur( 4px );
border-radius: 10px;
border: 1px solid rgba( 255, 255, 255, 0.18 );
width:100%;
height:50px;
}
.efgh{
background: rgba( 104, 196, 176, 0.25 );
box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
backdrop-filter: blur( 4px );
-webkit-backdrop-filter: blur( 4px );
border-radius: 10px;
border: 1px solid rgba( 255, 255, 255, 0.18 );
width: 100px;
margin-left:50px;
margin-top:10px;
height:25px;
}
.efghii{
background: rgba( 57, 27, 82, 0.5 );
box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
backdrop-filter: blur( 5.5px );
-webkit-backdrop-filter: blur( 5.5px );
border-radius: 10px;
border: 1px solid rgba( 255, 255, 255, 0.18 );
width: 200px;
margin-left:70px;
margin-top:10px;
height:25px;
text-align:center;
color:white;
}
.efghi{
background: rgba( 104, 196, 176, 0.25 );
box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
backdrop-filter: blur( 4px );
-webkit-backdrop-filter: blur( 4px );
border-radius: 10px;
border: 1px solid rgba( 255, 255, 255, 0.18 );
width: 100px;
margin-left:70px;
margin-top:10px;
height:25px;
text-align:center;
color:white;
}
</style>
</head>
<body>
<h2>Event Details</h2>
<?php
$records = mysqli_query($db,"select * from images"); // fetch data from database
while($data = mysqli_fetch_array($records))
{
?>
<div class="abcd">
<div class="efgh"><?php echo $data['Rollno']; ?></div>
<div class="efghii" width="200px"><?php echo $data['eventname']; ?></div>
<div class="efghi"><?php echo $data['branch']; ?></div>
<div class="efghi"><?php echo $data['section']; ?></div>
<div class="efghi"><button>Approve</button></div>
<div class="efghi"><button>Reject</button></div>
</div>
<br> <br>
<?php
}
?>
<?php mysqli_close($db); // Close connection ?>
</body>
</html>