<?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">
<link rel="stylesheet" href="tinybox/style_tiny.css">
<script type="text/javascript" src="tinybox/tinybox.js"></script>

<!--[if lt IE 9]>
<script src="../assets/js/html5shiv.min.js"></script>
<script src="../assets/js/respond.min.js"></script>
<![endif]-->
 
<style>
#nv_menu a:hover{

background:rgb(221,97,47);
color:white;
} 
</style>
</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" align="center" > 
																	<?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 `photo` where event_id='$event_id'";
																						//echo $sql;
																						$res=mysqli_query($GLOBALS["___mysqli_ston"], $sql)or die('Query Failed: 4' . mysqli_error($GLOBALS["___mysqli_ston"]));
																						while($rw = mysqli_fetch_assoc($res))
																						{
																							$photo=$rw['photo'];
																							echo("<img src=\"$photo\" width='400' style='padding:5px;border:2';  height='300'/>");
																						}
																	?> 
                   </div>
                  </div>
                 
                
      
          
        
     
    </section>
    
  
  <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>
</body>
</html>