  <?php
	  include("../../../dbconnection/dbconnection.php");
	  include("../../../steam_functions/steam_functions.php");
	  foreach(last_gallery($connect)as $row){
		  $g_id=$row["id"];
		 $img=$row["pic"];
		  $desc=$row["details"];
		  $status=$row["status"];
		  
		  
	  
	  ?>
	 
			
					

					<div class="col-md-4  w3-margin-bottom w3-lightgray" style='padding:5px' >
						<div class="  w3-card-2 w3-white" style=''>
						<center class=''>
						 <div class="  w3-display-topright btn-group pull-right">
						  <label class=' btn  dropdown-toggle' data-toggle="dropdown"><i class='fa fa-ellipsis-v'></i></label>
						  <ul class="dropdown-menu" role="menu" >
							<li><a href="#">Edit</a></li>							
							<li><a href="#">Remove</a></li>
							<li><a href="#">Archive</a></li>
							<li class="divider"></li>
							<li><a href="#">More <span class='fa fa-ellipsis-h pull-right'></span></a></li>
						  </ul>
						</div>
						
						<img src="<?php echo $img;?>" style="width:100%;max-height:250px"></center>
						<hr style='margin-bottom:0px'>
						<div class="w3-container" style=''>
						<h4><?php echo $desc;?></h4>
						</div>
						</div>
						
						
						
						
					</div>
					
			<?php }?>