| Server IP : 103.234.187.230 / Your IP : 216.73.216.216 Web Server : Apache System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64 User : apache ( 48) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/rsdgroup/ |
Upload File : |
<?php
include_once("conf/settings.php");
include_once("conf/func.php");
$getVideo = getMedia("tblPhoto",'video');
//echo "<pre>";print_r($getVideo);die;
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Video Gallery | Ananda</title>
<link rel="stylesheet" href="css/style.css">
<script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
<!--[if lt IE 9]>
<script src="js/html5.js"></script>
<![endif]-->
<link rel="stylesheet" href="css/prettyPhoto.css" type="text/css" media="screen" title="prettyPhoto main stylesheet" charset="utf-8" />
<script src="js/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<!--header start here-->
<?php include_once("inc/header.php"); ?>
<!--header end here-->
<!--section start here-->
<section>
<div class="braedcrumb"><a href="<?php echo @$baseurl;?>">Home</a> > <span>Video</span></div>
<div class="ourPro">
<h3>Video</h3>
<div class="imgmain_box">
<?php
if(count($getVideo) >0) {
foreach($getVideo as $key => $val)
{
if($val['file_upload']!="" && file_exists("cat_images/media/pics/".$val['file_upload']))
{
$upload_file = "cat_images/media/pics/".$val['file_upload'];
}
else {
$upload_file = "images/img1.jpg";
}
?>
<div class="pics" style="background:url(<?php echo $upload_file; ?>) center center no-repeat;">
<a href="cat_images/media/video/flvplayer.swf?&flvurl=<?php echo $getVideo[$key]['media'];?>" rel="prettyPhoto[flash]">
<img src="images/video_icon.png" border="0" /></a>
</div>
<?php } } else { echo "Result Not Found!"; } ?>
<div class="cl"></div>
</div>
</div>
<!--footer top start here-->
<?php include_once("inc/footer-top.php"); ?>
<!--footer top end here-->
</section>
<!--section end here-->
<!--footer start here-->
<?php include_once("inc/footer.php"); ?>
<!--footer end here-->
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$("a[rel^='prettyPhoto']").prettyPhoto();
});
</script>
</body>
</html>