forked from bastoniyahya/TA-LMS-LSKK-STEI-ITB
-
Notifications
You must be signed in to change notification settings - Fork 1
/
video.php
44 lines (39 loc) · 900 Bytes
/
video.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
<?php
require_once'template/header.php';
?>
<div class="main">
<div class="main-inner">
<div class="container">
<div class="row">
<?php
$query2 ="SELECT * FROM tb_mdl_upload_video";
$hasil2 = mysql_query($query2);
$data2 = mysql_fetch_array($hasil2);
if (!empty($data2)){
?>
<?php
do{
$no++;
?>
<div class="span5">
<div class="widget">
<div class="widget-content">
<a href="video_play.html?id=<?php echo $data2['id'];?>">
<h3><?php echo basename($data2['path'],".FLV");?></a></h3>
</div>
</div> <!-- /widget -->
</div> <!-- /span6 -->
<?php
}
while ($data2=mysql_fetch_array($hasil2))
?>
<?php
}else {
}
?>
<!-- /main-inner -->
</div>
</div><br/>
<?php
require_once'template/footer.php';
?>