<!DOCTYPE html>
<html lang="en">
  <head>   
    <title>Wasah</title>    
    <meta name="viewport" content="width=device-width, initial-scale=1.0">    
    <meta charset="utf-8">    
    <!-- External CSS libraries -->    
    <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">    
    <link rel="stylesheet" type="text/css" href="css/bootstrap-submenu.css">    
    <link rel="stylesheet" type="text/css" href="css/animate.min.css">    
    <link rel="stylesheet" type="text/css" href="css/slider.css">    
    <link rel="stylesheet" type="text/css" href="fonts/font-awesome/css/font-awesome.min.css">    
    <link rel="stylesheet" type="text/css" href="fonts/linearicons/style.css">    
    <link rel="stylesheet" type="text/css" href="fonts/flaticon/font/flaticon.css">    
    <link href="css/bootstrap-select.min.css" type="text/css" rel="stylesheet">    
    <!-- Custom stylesheet -->    
    <link rel="stylesheet" type="text/css" href="css/style.css">    
    <link rel="stylesheet" type="text/css" id="style_sheet" href="css/colors/default.css">    
    <!-- Favicon icon -->     
    <link rel="shortcut icon" href="img/favicon.gif" type="image/x-icon" >    
    <!-- Google fonts -->    
    <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800%7CPlayfair+Display:400,700%7CRoboto:100,300,400,400i,500,700">    
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->    
    <link href="css/ie10-viewport-bug-workaround.css" rel="stylesheet">    
    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->    
    <!--[if lt IE 9]><script type="text/javascript" src="js/ie8-responsive-file-warning.js"></script><![endif]-->    
<script type="text/javascript" src="js/ie-emulation-modes-warning.js"></script>    
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->    
    <!--[if lt IE 9]>
        <script type="text/javascript" src="js/html5shiv.min.js"></script>
        <script type="text/javascript" src="js/respond.min.js"></script>
        <![endif]-->
  </head>
  <body>
    <div class="page_loader">
      <img src="img/loader.gif" alt="Loader">
    </div>
    <!-- Top Header start --> 
    <?php include_once ("styl/vrchni_panel.php");?>
    <!-- Top Header end -->
    <!-- Main header start -->
    <?php include_once ("styl/panel.php");?>
    <!-- Main header end -->
    <!-- Sub banner start -->
    <div class="sub-banner">    
      <div class="overlay">    
      </div>
    </div>
    <!-- Sub banner end -->
    <!-- Car grid start-->
    <div class="car-grid content-area">    
      <div class="container">        
        <div class="row">            
          <div class="col-lg-12 col-md-12 col-sm-12">                
            <!-- Block heading Start-->                
            <div class="block-heading">                    
              <div class="row">                        
                <div class="col-lg-6 col-md-5 col-sm-5 col-xs-2">                            <h4>                                
                    <span class="heading-icon">                                    
                      <i class="fa fa-phone"></i>                                
                    </span>                                
                    <span class="hidden-xs"> Aplikace - Android Auto
                    </span>                            </h4>                        
                </div>                        
					 						 
					 						                     
              </div>                
            </div>                
            <!-- Block heading end -->                  
<?php   include_once ("databaze/pripojit.php"); 

$dotaz="SELECT * FROM AA_aplikace"; 


                        $vysledek = mysqli_query($link, $dotaz);
                        if(!$vysledek) {
                        echo "error AA aplikace";
                         exit();
                         
                       }
 // $radek=mysqli_fetch_object($vysledek);
  $pocet = mysqli_num_rows($vysledek);
                     
               
                                        ?>                        
            <!-- Car grid start -->                 
            <div class="row">                   
<?php  for ($i = 0; $pocet > $i; $pocet--) {
                              	$radek=mysqli_fetch_object($vysledek);    ?>                                                          
              <div class="col-lg-2 col-md-4 col-sm-6 col-xs-12 wow fadeInUp delay-03s">                        
                <!-- Car box start-->                        
                <div class="thumbnail car-box clearfix">                            
                  <div class="car-box-thumbnail">                               
                    <img src="<?php echo $radek->obrazek; ?>" alt="Skoda_Octacia_1"> 							
                  </div>                            
                  <!-- detail -->                            
                  <div class="caption detail">                                
                    <!-- Header -->                                
                    <header class="clearfix">                                   
                      <font  size="3" color="#4BA82E">
                        <?php echo $radek->jmeno; ?>
                      </font>  									
                      <p>
                        <?php echo $radek->kategorie; ?>
                      </p>									
                                                     
                    </header>							
                    <a href="<?php echo $radek->odkaz; ?>" class="btn btn-details">Google Play</a>                            
                  </div>                        
                </div>                        
                <!-- Car box end-->                    
              </div>					            
              <?php } ?>					 					 					
              		 					 				 					 					 					                 
            </div>                
            <!-- Car grid end-->            
          </div>        
        </div>    
      </div>
    </div>
    <!-- Car grid end-->
    <!-- Footer start-->
    <?php include_once ("styl/spodek.php");?>
    <!-- Footer end-->
<script type="text/javascript" src="js/jquery-2.2.0.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/bootstrap-slider.js"></script>
<script type="text/javascript" src="js/wow.min.js"></script>
<script type="text/javascript" src="js/jquery.scrollUp.js"></script>
<script type="text/javascript" src="js/bootstrap-select.min.js"></script>
<script type="text/javascript" src="js/bootstrap-submenu.js"></script>
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script type="text/javascript" src="js/ie10-viewport-bug-workaround.js"></script>
    <!-- Custom javascript -->
<script type="text/javascript" src="js/app.js"></script>
  </body>
</html>