<?php 
    ob_start();
	session_start();
	include_once ("connection.php");

?>

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
 <style>
    body
    {
        padding:0;
        margin:0;
    }
     .magazine
     {
         height:auto;
         width:100%;
         background:#414141;
         
     }
     .img
     {
         width:9in;
         height:11in;
         margin-bottom:20px !important;
     }
     .head
     {
         text-align:center;
         font-size:72px;
         font-family:Arial;
         color:white;
         font-weight:bold
     }
     .sub_head
     {
         text-align:center;
         font-size:14px;
         font-family:Arial;
         color:white;
         padding-bottom:20px !important;
     }
     
 </style>
<div class="magazine">
    
    <div style="height:30px; width:100%; background:#464646; box-shadow: 2px 2px #4b4b4b;">
       <button type="submit" class="btn btn-default btn-xs" style="margin:5px; float:left" ><i class="fa fa-chevron-left"style="margin-right:5px" aria-hidden="true"></i><b><a href="oldebiz.php" style="text-decoration:none">Previous</a></b></button>
        <center><span style="float:left; margin-top:5px; margin-left:35%; margin-right:35%; color:white; font-weight:bold">Business Plus Advertising</span></center>
       <button class="btn btn-default btn-xs" style="margin:5px; float:right; pull:right"><b><a href="upcoming.php" style="text-decoration:none">Up Coming</a></b> <i class="fa fa-chevron-right"style="margin-left:5px" aria-hidden="true"></i></button>
    </div>
    <center>
        <span class="head">eBiz</span><br />
        <span class="sub_head">Lastest Magazine January 2018</span><br />
   
        <?
                                  
                                  $sql = "SELECT *FROM magimg ;";
                                	
                                	$sqll = mysqli_query($link,$sql);
                                		if(!$sqll){
                                				 echo "Failed Can't Access".mysqli_error($sqll);
                                				}
                                	while($row = mysqli_fetch_array ($sqll)){
                                	    
                                	   
                            	?>
        <img src="<?php echo "/admin/images/".$row['img'] ?>" class="img"/>
        <?php 
            	}
        	?>
    </center>
    
    <!--<div style=" width:100%; background:#464646 !important; box-shadow: 2px 2px #4b4b4b;">-->
      <? include"counter.php" ?>
    
    
    
</div>
                    
                    	
              