-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommingsoon.php
54 lines (42 loc) · 1.77 KB
/
commingsoon.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
<?php
include("header.php");
//include("conn.php");
$con=new connec();
$tbl="movie";
$result=$con->select_movie($tbl,"commingsoon");
?>
<section class="mt-5">
<h3 class=" text-center" style="color:black;">Comming Soon</h3>
<div class="container">
<div class="row">
<?php
if($result->num_rows>0)
{
while($row=$result->fetch_assoc())
{
$ind=$con->select("industry",$row["industry_id"]);
$indrow=$ind->fetch_assoc();
$lang=$con->select("language",$row["lang_id"]);
$langrow=$lang->fetch_assoc();
$gen=$con->select("genre",$row["genre_id"]);
$genrow=$gen->fetch_assoc();
?>
<div class="col-md-3">
<img src="<?php echo $row["movie_banner"];?>" style="width:100%; height:350px;"/>
<h6 class="text-center mt-2" style="height:40px;"><?php echo $row["name"];?></h6>
<p><b>Release Date : </b> <?php echo $row["rel_date"];?></p>
<p><b>Industry : </b> <?php echo $indrow["industry_name"];?></p>
<p><b>Lenguage : </b> <?php echo $langrow["lang_name"];?></p>
<p><b>Genere : </b> <?php echo $genrow["genre_name"];?></p>
<a class="btn" style="background-color:maroon;color:white;width:100%;" href="booking.php">Now Book Ticket</a>
</div>
<?php
}
}
?>
</div>
</div>
</section>
<?php
include("footer.php");
?>