/
free_video_download.php
94 lines (76 loc) · 2.53 KB
/
free_video_download.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<?php
include('conn.php');
$fid=$_GET['id'];
$sqv=mysql_query("SELECT *
FROM `free_videos` ") ;
//selecting advertimage
$sqad=mysql_query("select * from advert where advert_id=2");
$roa=mysql_fetch_array($sqad);
$advimg=$roa['image'];
//
?>
<!DOCTYPE html>
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if IE 9 ]><html class="ie ie9" lang="en"> <![endif]-->
<html lang="en">
<!--<![endif]-->
<head>
<!-- Basic Page Needs -->
<meta charset="utf-8">
<title>AOI- Video download</title>
<!-- HEADER -->
<?php include('header.php'); ?>
<!-- -->
<!-- HEADER -->
<?php include('nav.php'); ?>
<!-- -->
<div class="container">
<div class="row">
<div class="col-md-12">
<h4>Video Download </h4>
</div>
<!-- =========================Start Col left section ============================= -->
<aside class="col-md-4 col-sm-4">
<div class="col-left">
<center>
<h3>Menu</h3>
<ul class="submenu-col">
<li><img src="img/vidoe.jpg"><a href="free_video_download.php">Video</a></li>
<li><img src="img/audoe.png"><a href="free_audio_download.php">Audios</a></li>
<li><img src="img/pdfdoe.jpg"><a href="free_ebook_download.php">E-books</a></li>
</ul>
<hr>
</center>
</div>
<p><?php echo "<img src='$advimg' width='100%' height='100%'>"; ?></p>
</aside>
<section class="col-md-8 col-sm-8">
<div class="col-right">
<table width="100%">
<?php while($rov=mysql_fetch_array($sqv)){ $path=$rov['path']; $fsize = filesize("videos/0MG.mp4");?>
<tr>
<td rowspan="2"> <img src="img/vidoe.jpg"></td><td><h6><?php echo $rov['name']; ?></h6></td>
</tr>
<tr>
<td><?php echo $rov['size']; ?> mb | <a href="<?php echo $rov['path'];?>" class="button_medium" download='<?php echo $rov['name']; ?>'>Download</a></td>
</tr>
<?php } ?>
</table>
<!--
<hr>
<div class="text-center">
<ul class="pagination">
<li><a href="#">Prev</a></li>
<li class="active"><a href="#">1</a></li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">Next</a></li>
</ul>
</div><!-- end pagination-->
</div><!-- end col right-->
</section>
</div><!-- end row-->
</div> <!-- end container-->
<?php include('footer.php');?>
</body>
</html>