Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
KLUGLUG
KL Hostel Outing Automation
Commits
5efc0b7c
Commit
5efc0b7c
authored
Dec 19, 2020
by
VELAGAPUDI VIKAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
page to mark that student left
parent
e1bec895
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
101 additions
and
0 deletions
+101
-0
resub.php
resub.php
+101
-0
No files found.
resub.php
0 → 100644
View file @
5efc0b7c
<html>
<head>
<style>
.submit2
{
cursor
:
pointer
;
border-radius
:
5em
;
color
:
#fff
;
background
:
linear-gradient
(
to
right
,
#9C27B0
,
#E040FB
);
border
:
0
;
padding-left
:
60px
;
padding-right
:
60px
;
padding-bottom
:
10px
;
padding-top
:
10px
;
font-family
:
'Ubuntu'
,
sans-serif
;
margin-left
:
70%
;
margin-right
:
9%
;
font-size
:
13px
;
box-shadow
:
0
0
20px
1px
rgba
(
0
,
0
,
0
,
0.04
);
}
a
{
text-shadow
:
0px
0px
3px
rgba
(
117
,
117
,
117
,
0.12
);
color
:
#FFFFFF
;
font-size
:
13px
;
text-decoration
:
none
}
table
{
border-collapse
:
collapse
;
width
:
80%
;
color
:
#588c7e
;
font-family
:
monospace
;
font-size
:
25px
;
text-align
:
left
;
}
th
{
background-color
:
#9C27B0
;
color
:
white
;
font-family
:
"Times New Roman"
,
Times
,
serif
;
}
tr
:nth-child
(
even
)
{
background-color
:
#f2f2f2
}
.submit1
{
cursor
:
pointer
;
border-radius
:
5em
;
color
:
#fff
;
background
:
linear-gradient
(
to
right
,
#339933
,
#33cc33
);
border
:
0
;
padding-left
:
24px
;
padding-right
:
5px
;
padding-bottom
:
10px
;
padding-top
:
10px
;
font-family
:
'Ubuntu'
,
sans-serif
;
margin-left
:
7%
;
font-size
:
13px
;
box-shadow
:
0
0
20px
1px
rgba
(
0
,
0
,
0
,
0.04
);
}
</style>
<title>
Confirmation
</title>
</head>
<body
bgcolor=
"#EEFDEF"
>
<p
class=
"submit2"
align=
"center"
>
<?php
echo
'<a href="security.html">Go to security main page</a>'
?>
</p>
<?php
$connection
=
mysqli_connect
(
"localhost"
,
"root"
,
""
);
$db
=
mysqli_select_db
(
$connection
,
'test'
);
$query
=
"SELECT * FROM registrations where status='Approved' "
;
$query_run
=
mysqli_query
(
$connection
,
$query
);
?>
<h2>
<center>
Students whose Request is approved
</center>
</h2>
<?php
echo
"<table border='1' align='center'>
<tr>
<th>Id</th>
<th>Name</th>
<th>Room</th>
<th>Phone</th>
<th>Out Time</th>
<th>Status</th>
<th>Action</th>
</tr>"
;
while
(
$row
=
mysqli_fetch_array
(
$query_run
))
{
?>
<tr><br>
<td>
<?php
echo
$row
[
'ID'
];
?>
</td>
<td>
<?php
echo
$row
[
'NAME'
];
?>
</td>
<td>
<?php
echo
$row
[
'ROOM'
];
?>
</td>
<td>
<?php
echo
$row
[
'PHONE'
];
?>
</td>
<td>
<?php
echo
$row
[
'OUT_TIME'
];
?>
</td>
<td>
<?php
echo
'Approved'
;
?>
</td>
<td>
<a
href=
"resub2.php?id=
<?php
echo
$row
[
'ID'
];
?>
"
><form
class=
"submit1"
>
Left
</form></a>
</td>
</form>
<?php
}
echo
"</table>"
;
?>
</body>
</html>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment