Final Dbms PDF
Final Dbms PDF
SYSTEM
ABSTRACT
Movie adding page: In this page, admin can add movies inorder to be
viewed by the user.
User page: Here, the users can select any movies. After pressing the movie,
they will be directed to the reservation page.
Reservation page: Here users can enter their details and the amount of
seats to be reserved.
Movie selecting page: Users can select any movie as per their wish and
they can also view the recent movies which were played. The details will
be saved and can be viewed by the admin.
CONCLUSION
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-
scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="style/styles.css">
<link rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.7.2/css/all.css"
integrity="sha384-
fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLb
HG9Sr" crossorigin="anonymous">
<title>ARVR Cinema</title>
<link rel="icon" type="image/png" href="img/logo.png">
<script src="_.js "></script>
</head>
<body>
<?php
include "connection.php";
$sql = "SELECT * FROM movieTable";
?>
<header></header>
<div id="home-section-1" class="movie-show-container">
<h1>Currently Showing</h1>
<h3>Book a movie now</h3>
<div class="movies-container">
<?php
if ($result = mysqli_query($con, $sql)) {
if (mysqli_num_rows($result) > 0) {
for ($i = 0; $i <= 5; $i++) {
$row = mysqli_fetch_array($result);
echo '<div class="movie-box">';
echo '<img src="' . $row['movieImg'] . '" alt=" ">';
echo '<div class="movie-info ">';
echo '<h3>' . $row['movieTitle'] . '</h3>';
echo '<a href="booking.php?id=' . $row['movieID'] . '"><i
class="fas fa-ticket-alt"></i> Book a seat</a>';
echo '</div>';
echo '</div>';
}
mysqli_free_result($result);
} else {
echo '<h4 class="no-annot">No Booking to our movies right
now</h4>';
}
} else {
echo "ERROR: Could not able to execute $sql. " .
mysqli_error($con);
}
// Close connection
mysqli_close($con);
?>
</div>
</div>
<div class="services-container">
<div class="service-item">
<div class="service-item-icon">
<i class="fas fa-4x fa-video"></i>
</div>
<h2>1. Choose your favourite movie</h2>
</div>
<div class="service-item">
<div class="service-item-icon">
<i class="fas fa-4x fa-credit-card"></i>
</div>
<h2>2. Pay for your tickets</h2>
</div>
<div class="service-item">
<div class="service-item-icon">
<i class="fas fa-4x fa-theater-masks"></i>
</div>
<h2>3. Pick your seats & Enjoy watching</h2>
</div>
<div class="service-item"></div>
<div class="service-item"></div>
</div>
</div>
<div id="home-section-3" class="trailers-section">
<h1 class="section-title">Explore new movies</h1>
<h3>Now showing</h3>
<div class="trailers-grid">
<div class="trailers-grid-item">
<img src="img/movie-thumb-1.jpg" alt="">
<div class="trailer-item-info" data-video="Z1BCujX3pw8">
<h3>Captain Marvel</h3>
<i class="far fa-3x fa-play-circle"></i>
</div>
</div>
<div class="trailers-grid-item">
<img src="img/movie-thumb-2.jpg" alt="">
<div class="trailer-item-info" data-video="OPEfsEaFv_c">
<select name="theatre" required>
<option value="" disabled selected>THEATRE</option>
<option value="main-hall">Main Hall</option>
<option value="vip-hall">VIP Hall</option>
<option value="private-hall">Private Hall</option>
</select>
<select name="type" required>
<option value="" disabled selected>TYPE</option>
<option value="3d">3D</option>
<option value="2d">2D</option>
<option value="imax">IMAX</option>
<option value="7d">7D</option>
</select>
</form>
</div>
</div>
</div>
</html>
<?php
$host = "localhost"; /* Host name */
<div class="schedule-item">09:00 AM</div>
<div class="schedule-item">11:30 AM</div>
<div class="schedule-item">06:00 PM</div>
</div>
</div>
<div class="hall-type">
<h3>VIP Hall</h3>
<div>
<div class="schedule-item"><i class="far fa-
clock"></i></div>
<div class="schedule-item">09:00 AM</div>
<div class="schedule-item">11:30 AM</div>
<div class="schedule-item">06:00 PM</div>
</div>
</div>
<div class="hall-type">
<h3>Main Hall</h3>
<div>
<div class="schedule-item"><i class="far fa-
clock"></i></div>
<div class="schedule-item">09:00 AM</div>
<div class="schedule-item">11:30 AM</div>
<div class="schedule-item">06:00 PM</div>
</div>
</div>
</td>
</tr>
<tr class="fade-scroll">
<td>
<h2>Captain Marvel</h2>
<i class="far fa-clock"></i> 125m <i class="fas fa-
desktop"></i> IMAX
<h3>SYNOPSIS</h3>
<p>Ethan and team take on their most impossible mission yet,
eradicating the Syndicate - an International rogue organization
</p>
<div class="schedule-item"> DETAILS</a>
</div>
</td>
<td>
<div class="hall-type">
<h3>Private Hall</h3>
<div>
<div class="schedule-item"><i class="far fa-
clock"></i></div>
<div class="schedule-item">09:00 AM</div>
<div class="schedule-item">11:30 AM</div>
<div class="schedule-item">06:00 PM</div>
</div>
</div>
<div class="hall-type">
<h3>VIP Hall</h3>
<div>
<div class="schedule-item"><i class="far fa-
clock"></i></div>
<div class="schedule-item">09:00 AM</div>
<div class="schedule-item">11:30 AM</div>
<div class="schedule-item">06:00 PM</div>
</div>
</div>
<div class="hall-type">
<h3>Main Hall</h3>
<div>
<div class="schedule-item"><i class="far fa-
clock"></i></div>
<div class="schedule-item">09:00 AM</div>
<div class="schedule-item">11:30 AM</div>
<div class="schedule-item">06:00 PM</div>
</div>
</div>
</td>
</tr>
</table>
</div>
</div>
<footer></footer>
.schedule-item {
padding: 15px;
background-color: #6e5a11;
margin-right: 10px;
color: #fff;
cursor: pointer;
transition: all 0.5s ease;
}
.schedule-item:hover {
background-color: #b6b6b6;
color: #6e5a11;
}
.schedule-item-selected {
color: #6e5a11;
background-color: #b6b6b6;
cursor: auto;
}
.schedule-table table {
text-align: left;
border-collapse: collapse;
}
.schedule-table table tr th {
padding: 10px 0 10px 40px;
background-color: #6e5a11;
border: 1px solid #b6b6b6;
color: #fff;
}
.schedule-table table tr td {
padding: 40px;
border: 1px solid #bdbdbd;
}
.hall-type > h3 {
margin: 15px 0;
}
#gmap_canvas {
width: 100%;
height: 400px;
}
.contact-us-container {
display: grid;
grid-gap: 25px;
grid-template-areas: "contact-form contact-form contact-info";
margin: 30px 15%;
}
.contact-us-section {
overflow: hidden;
}
.contact-us-section h1 {
padding: 20px 0;
border-bottom: #4e4e4e solid 1px;
margin-bottom: 20px;
}
.contact-us-section1 {
grid-area: contact-form;
}
.contact-us-section1 form * {
padding: 10px;
margin: 10px 0;
}
/* Classes for JS */
.hidden-div {
display: none;
transition: all 0.7s ease;
}
.show {
display: block;
transition: all 0.7s ease;
}