Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Home_page.html
<html>
<style>
body{
background-image :url(bed.jpg);
background-size:cover;
background-position:center;
ul{
float: right;
margin-top:30px;
ul li{
display: inline-block;
ul li a{
text-decoration : none;
margin:10px;
font-size : 20px;
color : brown;
}
ul li a:hover
background-color : white;
color:black;
.main
max-width:1200px;
margin:auto;
#signup
height : 10%;
width : 20%;
opacity : 1;
#signup:hover
opacity: 0.5;
#h
margin-top:2px;
font-size:50px;
</style>
</head>
<body>
<div class="main">
<ul>
</ul>
</div>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
</body>
</html>
Portfolio.html
<html>
</head>
<body>
<h3>Rooms Available</h3> :
</body>
</html>
background-image: url(bed.jpg);
background-size : cover;
background-position:center;
h1
color: brown;
font-size:40px;
h1:hover
color : black;
h3
text-align:center;
font-size:30px;
color:brown;
text-decoration : underline;
img
height : 30%;
width : 25%;
margin-left: 70px;
margin-top : 30px;
img:hover
height : 32%;
width : 26%;
Contact us.html
<html>
<head><title>Shashank Pandey</title></head>
<body>
<style>
body
background-image:url(bed.jpg);
background-size : cover;
background-position:center;
color:brown;
}
#cont
float:bottom;
text-align:center;
</style>
<h1>
<center>
Contact Us
</center>
</h1>
<hr><hr>
<h2 id="cont"><br><br><br><br><br>
Contact Details:<br>
B-69,<br>
Third Floor,<br>
Sector 4,<br>
Noida,<br>
U.P - 201301<br>
<br>
: +91-88-1010-7070<br><br>
: +91-7777-060-060<br><br>
: info@roomsoom.com
</h2>
</body>
</html>
About.html
<html>
<style>
body
background-image:url(bed.jpg);
background-position:center;
background-size : cover;
#para
font-size:20px;
text-align:center;
font-family:engravers mt;
color:yellow;
position:relative;
</style>
</head>
<body>
<h1><center>About</center></h1><hr>
<div>
<div id="para">
We built hotelo because booking a <br>hotel room should be fun, not complicated.<br>
It's simple: we partner with top-rated hotels, <br>they give us their unsold rooms, and we show you
each day's best deals.<br>
You check out those deals, book the one you like and boom! <br>You're on your way to a great
stay.<br>
And we're not just for tonight – you can book our <br>sweet deals for tonight, tomorrow and
beyond.<br>
Plan ahead or play it by ear... and turn an <br>average night into a ‘tonight’ you’ll always
remember.<br>
</div>
</div>
</body>
</html>
Log In.html
<html>
<head>
<style type="text/css">
#sub,#reset
font-size:16px;
font-weight:bold;
#sub:hover,#reset:hover
color:red;
background-color:#b0c4de;
}
.circle
width:150px;
height:150px;
background-color:#87cefa;
border-radius:80%;
#mycircle
@keyframes slide{
0%{
transform:scale(0);
50%{
transform:scale(1);
opacity:.1;
100%{
transform:translate3d(0px,0px,0px);
animated-timing-function:ease-out;
</style>
<script type="text/javascript">
$(function(){
$('#one').focus(function(){
$(this).css('background-color','black').css('color','black');
}).blur(function(){
$(this).css('background-color','white).css('color','black');
});
$('#password').focus(function(){
$(this).css('background-color','#dda0dd').css('color','black');
}).blur(function(){
$(this).css('background-color','white').css('color','black');
});
});
</script>
</head>
<body background="room.jpg">
<table width=100%>
<tr>
</TABLE>
<br><br>
<script src="http//www.kirupa.com/js/prefixfree.mim.js"></script>
</center>
<br><br><center>
<table width="80%">
<tr>
</tr>
<tr>
<td width=39%>
</tr>
</table>
<br>
<br><br><br><br>
</table>
</form>
</center>
</BODY>
</html>
Log In.php
<?php
$server='localhost';
$user='root';
$password='';
$found=false;
$cnn=mysqli_connect($server,$user,$password);
mysqli_select_db($cnn,'pg_rooms');
$id=$_REQUEST['id'];
$pass=$_REQUEST['password'];
//echo $sql;}
$rs=mysqli_query($cnn,$sql);
// if($rs)
//{
while($row=mysqli_fetch_array($rs))
// header("Location:results1.php");
$found=true;
// echo $row['course'];
}}
/*else
{?>
<center><font color=red size=6><?php echo"RECORD DOES NOT EXIST..PLEASE CHECK THE DATA YOU
HAVE ENTERED.";?></font></center>
<?php
/*if($found==true)
header("Location:results1.php");
}*/
if($found==true)
{ header("Location:login2.php?&id=".$id."&password=".$pass);
//echo"record found";
else
{?>
<?php echo"RECORD DOES NOT EXIST..PLEASE CHECK THE DATA YOU HAVE
ENTERED.";?></b></font></center></body>
<?php }
mysqli_close($cnn);
?>
Sign In.php
<?php
$server='localhost';
$user='root';
$password='';
$cnn=mysqli_connect($server,$user,$password);
mysqli_select_db($cnn,'pg_rooms');
if(isset($_REQUEST['id'])and isset($_REQUEST['password']))
$id = $_REQUEST['id'];
$pwd= $_REQUEST['password'];
$rs= mysqli_query($cnn,$sql);
if($rs)
{?>
<?php
else
{?>
<?php
?>
<?php
mysqli_close($cnn);
?>
Sign Up.html
<html>
<head>
<style type="text/css">
#show,#reset
font-size:16px;
font-weight:bold;
#show:hover,#reset:hover
color:black;
background-color:#adff2f;
</style>
<script type="text/javascript">
$(function(){
$('#pwd').focus(function(){
$(this).css('background-color','#adff2f').css('color','black');
}).blur(function(){
$(this).css('background-color','white').css('color','black');
});
$('#type').focus(function(){
$(this).css('background-color','#aaff2f').css('color','black');
}).blur(function(){
$(this).css('background-color','white').css('color','black');
});
$('input[type="text"]').focus(function(){
$(this).css('background-color','#aaff2f').css('color','black');
}).blur(function(){
$(this).css('background-color','white').css('color','black');
});
$('input[type="email"]').focus(function(){
$(this).css('background-color','#aaff2f').css('color','black');
}).blur(function(){
$(this).css('background-color','white').css('color','black');
});
});
</script>
</head>
<body background="home4.jpg">
<table width="100%">
<tr>
</TABLE>
<br><br>
<center>
</center>
<br><br>
<center>
<tr>
</tr>
<TR>
<td width=45%></td>
<td width=2%></td>
<td width=45%></td>
</tr>
<tr>
<b>LAST NAME</b></td>
</tr>
<TR>
<td width=45%></td>
<td width=2%></td>
<td width=45%></td>
</tr>
<tr>
<TR>
<td width=45%></td>
<td width=2%></td>
<td width=45%></td>
</tr>
<tr>
</tr>
<TR>
<td width=45%></td>
<td width=2%></td>
<td width=45%></td>
</tr>
<tr>
</tr>
<tr>
<td width=45%></td>
<td width=2%></td>
<td width=45%></td>
</tr>
<tr>
<td width=45% align=center><b>PASSWORD</b></td>
</tr>
<TR>
<td width=45%></td>
<td width=2%></td>
<td width=45%></td>
</tr>
</TABLE>
<br>
<br><br>
<center>
</center>
</form>
</center>
</body>
</html>
Sign Up.php
<?php
$server='localhost';
$user='root';
$password='';
$cnn=mysqli_connect($server,$user,$password);
mysqli_select_db($cnn,'pg_rooms');
$firstn = $_REQUEST['first'];
$lastn = $_REQUEST['last'];
$dob = $_REQUEST['dob'];
$no = $_REQUEST['no'];
$email = $_REQUEST['mail'];
$pwd = $_REQUEST['password'];
$rs = mysqli_query($cnn,$sql);
if($rs)
{?>
<?php
else
{?>
<?php
mysqli_close($cnn);
?>
OUTPUTS:
Home Page-
Portfolio-
About Us-
Contact us-
Login-
Sign Up-