-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
67 lines (56 loc) · 1.84 KB
/
index.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
55
56
57
58
59
60
61
62
63
64
65
66
67
<html>
<body>
<?php
include('header.php');
?>
<div class="content">
<div class="wrap">
<div class="content-top">
<div class="listview_1_of_3 images_1_of_3">
<h3>Upcoming Movies</h3>
<?php
$qry3=mysqli_query($con,"select * from tbl_news");
while($n=mysqli_fetch_array($qry3))
{
?>
<div class="content-left">
<div class="listimg listimg_1_of_2">
<img src="admin/<?php echo $n['attachment'];?>">
</div>
<div class="text list_1_of_2">
<div class="extra-wrap">
<span style="text-color:#000" class="data"><strong><?php echo $n['name'];?></strong><br>
<span style="text-color:#000" class="data"><strong>Cast :<?php echo $n['cast'];?></strong><br>
<div class="data">Release Date :<?php echo $n['news_date'];?></div>
<span class="text-top"><?php echo $n['description'];?></span>
</div>
</div>
<div class="clear"></div>
</div>
<?php
}
?>
</div>
<div class="listview_1_of_3 images_1_of_3">
<h3>Trending Trailers</h3>
<div class="middle-list">
<?php
$qry4=mysqli_query($con,"select * from tbl_movie order by rand()");
while($nm=mysqli_fetch_array($qry4))
{
?>
<div class="listimg1">
<a target="_blank" href="<?php echo $nm['video_url'];?>"><img src="<?php echo $nm['image'];?>" alt=""/></a>
<a target="_blank" href="<?php echo $nm['video_url'];?>" class="link"><?php echo $nm['movie_name'];?></a>
</div>
<?php
}
?>
</div>
</div>
<?php include('movie_sidebar.php');?>
</div>
</div>
<?php include('footer.php');?>
</div>
<?php include('searchbar.php');?>