<?php 
include("homepage.php");  
include("purplecolor.php");
?>
<!DOCTYPE html>
<html>
<head>
<title><?php echo constant("title"); ?></title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="../pages/assets/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="../pages/assets/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="../pages/assets/css/animate.css">
<link rel="stylesheet" type="text/css" href="../pages/assets/css/li-scroller.css">
<link rel="stylesheet" type="text/css" href="../pages/assets/css/slick.css">
<link rel="stylesheet" type="text/css" href="../pages/assets/css/theme.css">
<link rel="stylesheet" type="text/css" href="../pages/assets/css/style.css">
<!--[if lt IE 9]>
<script src="../assets/js/html5shiv.min.js"></script>
<script src="../assets/js/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div id="preloader">
  <div id="status">&nbsp;</div>
</div>
<a class="scrollToTop" href="#" style="border-color:rgb(221,97,47);"><i class="fa fa-angle-up"></i></a>
<div class="container">
  <div class="box_wrapper">
    
    <header id="header" style="border-color:rgb(221,97,47);">
     
   <?php include("header.php") ?>

    <section id="contentbody">
      <div class="row">
     <?php 
																				include('connection.php');
																						$event_id = $_GET['e_id'];
																						$event_id = urldecode(base64_decode($event_id));
																						
																						$event_id=preg_replace('/[^a-zA-Z0-9]/s', '', $event_id);
																						
																						$sql="SELECT * FROM `video` where event_id='$event_id' and Status='visible'";
																						$res=mysqli_query($GLOBALS["___mysqli_ston"], $sql)or die('Query Failed: 4' . mysqli_error($GLOBALS["___mysqli_ston"]));
																						while($rw = mysqli_fetch_assoc($res))
																						{
																							$video=$rw['video'];
																							$video = "https://".$video;
																						echo("<iframe width='560' height='315' src='$video' style='border:5px solid black;' frameborder='0' allowfullscreen></iframe>");
																				// 		echo('<iframe width="420" height="315" 	src="'.$video.'"></iframe>');
																						}
																	?> 
                                 
                </div>              
                </div>
                </div>
              </div> 
              
              
            </div>
            
         
          </div>
        </div> 
       <!--  <div class="col-lg-7 col-md-7 col-sm-8 col-xs-12"> -->
                 
 </div>  
      
      
                  </div>
        </div>
        <div class="col-lg-3 col-md-3 col-sm-12 col-xs-12">
          <div class="row">
            <div class="right_bar">
              <div class="single_leftbar wow fadeInDown">
             
                
                
              </div>

            </div>
          </div>
        </div>
      </div>
    </section>
    
  </div>
  <div>
   <?php include("footer.php") ?>

  </div>
</div>
<script src="../pages/assets/js/jquery.min.js"></script>
<script src="../pages/assets/js/wow.min.js"></script>
<script src="../pages/assets/js/bootstrap.min.js"></script>
<script src="../pages/assets/js/slick.min.js"></script>
<script src="../pages/assets/js/jquery.li-scroller.1.0.js"></script>
<script src="../pages/assets/js/custom.js"></script>

<script type="text/javascript" src="owl-carousel/owl.carousel.js"></script>  
      <script type="text/javascript">
         jQuery(document).ready(function($) {	  
           $("#owl-demo").owlCarousel({		
         	navigation : true,
         	slideSpeed : 300,
         	paginationSpeed : 400,
         	autoPlay : true,
         	singleItem:true
           });
           $("#owl-demo2").owlCarousel({
         	items : 4,
         	lazyLoad : true,
         	autoPlay : true,
         	navigation : true,
         	pagination : false
           });
         });	 
      </script>
</body>
</html>