Commit c638d16a authored by PALVADI HEMA's avatar PALVADI HEMA
Browse files

Applied succesfully page

parent 6da80944
<html>
<head>
<title>Warden Work</title>
</head>
<style>
body {
background-color: #F3EBF6;
font-family: 'Ubuntu', sans-serif;
}
.main {
background-color: #FFFFFF;
width: 300px;
height: 260px;
margin: 3em auto;
border-radius: 1.5em;
box-shadow: 0px 11px 35px 2px rgba(0, 0, 0, 0.14);
}
.sign {
padding-top: 40px;
color: #8C55AA;
font-family: 'Ubuntu', sans-serif;
font-weight: bold;
font-size: 23px;
}
.un {
width: 76%;
color: rgb(38, 50, 56);
font-weight: 700;
font-size: 14px;
letter-spacing: 1px;
background: rgba(136, 126, 126, 0.04);
padding: 10px 20px;
border: none;
border-radius: 20px;
outline: none;
box-sizing: border-box;
border: 2px solid rgba(0, 0, 0, 0.02);
margin-bottom: 50px;
margin-left: 46px;
text-align: center;
margin-bottom: 27px;
font-family: 'Ubuntu', sans-serif;
}
form.form1 {
padding-top: 40px;
}
.pass {
width: 76%;
color: rgb(38, 50, 56);
font-weight: 700;
font-size: 14px;
letter-spacing: 1px;
background: rgba(136, 126, 126, 0.04);
padding: 10px 20px;
border: none;
border-radius: 20px;
outline: none;
box-sizing: border-box;
border: 2px solid rgba(0, 0, 0, 0.02);
margin-bottom: 50px;
margin-left: 46px;
text-align: center;
margin-bottom: 27px;
font-family: 'Ubuntu', sans-serif;
}
.un:focus, .pass:focus {
border: 2px solid rgba(0, 0, 0, 0.18) !important;
}
.submit {
cursor: pointer;
border-radius: 5em;
color: #fff;
background: linear-gradient(to right, #9C27B0, #E040FB);
border: 0;
padding-left: 25px;
padding-right: 30px;
padding-bottom: 10px;
padding-top: 10px;
font-family: 'Ubuntu', sans-serif;
margin-left: 29%;
margin-right: 29%;
font-size: 13px;
box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.04);
}
.forgot {
text-shadow: 0px 0px 3px rgba(117, 117, 117, 0.12);
color: #E1BEE7;
padding-top: 15px;
}
a {
text-shadow: 0px 0px 3px rgba(117, 117, 117, 0.12);
color: #FFFFFF;
font-size: 13px;
text-decoration: none
}
@media (max-width: 600px) {
.main {
border-radius: 0px;
}
</style>
<body>
<table><br><br><br><br><br>
<div class="main">
<?php
$ID=$_POST['ID'];
$NAME=$_POST['NAME'];
$ROOM=$_POST['ROOM'];
$PHONE=$_POST['PHONE'];
$TYPE=$_POST['TYPE'];
$OUT_TIME=$_POST['OUT_TIME'];
$status='applied';
$conn = new mysqli('localhost','root','','test');
if($conn->connect_error){
die('Connection Failed : '.$conn->connect_error);
}
else{
$stmt = $conn->prepare("insert into registrations(ID,NAME,ROOM,PHONE,TYPE,OUT_TIME,status)
values(?,?,?,?,?,?,?)");
$stmt->bind_param("ississs",$ID,$NAME,$ROOM,$PHONE,$TYPE,$OUT_TIME,$status);
$stmt->execute();
$stmt->close();
$conn->close();
}
?>
<p class="sign" align="center">Successfully Applied</p>
<form class="form1" method="POST" action="" >
<p class="submit" align="center">
<?php echo '<a href="first.php">Go to Home page</a>' ?></p>
</table>
<table>
</body>
</html>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment