<?php include("frontinc/connection.php"); ?>
<?php include("frontinc/header.php"); ?>
<?php include("frontinc/navbar.php"); ?>
<?php include("frontinc/server_config.php"); ?>

<!-- banner -->
<?php include("frontinc/banner.php"); ?>

    <!-- Heading -->
    <div class="container">
        <div class="row">
            <div class="col-xs-12">
                <h1 class="text-center">Result Sheet</h1>
                <!-- <p class="lead text-center">Proactively envisioned multimedia based expertise and cross-media growth strategies. Seamlessly visualize quality intellectual capital without superior collaboration and idea-sharing. Holistically pontificate installed base portals after maintainable products without collateral.</p> -->
            </div>
        </div>
    </div>
        <div class="container">
        <div class="right_col" role="main">
          <div class="">

            <div class="clearfix"></div>

            <div class="row">
              <div class="col-md-12 col-sm-12 ">
                <div class="x_panel">
                  
                  <div class="x_content">
                      <div class="row">
                          <div class="col-sm-12">
                            <div class="card-box table-responsive">
                    <table id="datatable" class="table table-striped table-bordered" style="width:100%">
                    
                      <thead>
                        <tr>
                        <th>S/N</th>
                        <th> Department</th>
                        <th>File Name</th>
                        <th>File</th>
                        <th>View Document</th>
                        </tr>
                      </thead>


                      <tbody>
                      <?php
                        $core_staff = mysqli_query($con, "SELECT * FROM successrate ");

                        //fetch all cars
                        if(mysqli_fetch_array($core_staff)){

                            //use foreach to echo the datas
                            foreach($core_staff as $staff){
                           
                    ?>
                        <tr>
                        <td><?php echo $staff['successrate_id']; ?></td>
                        <td><?php echo $staff['department']; ?></td>
                        <td><?php echo $staff['title1']; ?></td>
                          <td><?php echo $staff['images1']; ?></td>
                          <td><a href="equipment.php?successrate_id=<?php echo $staff['successrate_id']; ?>" target="_blank">View</a></td>
                        </tr>
                        <?php
                    
                        }
                    }
                    ?>
                      </tbody>
                     
                    </table>
                  </div>
                  </div>
              </div>
            </div>
                </div>
              </div>
              </div>
            </div>
                </div>
	
        </div>
		
	<!-- Footer -->
	
	
    <!-- jQuery -->
    <script src="frontjs/jquery-1.11.3.min.js"></script>

    <!-- Bootstrap Core JavaScript -->
    <script src="frontjs/bootstrap.min.js"></script>
	
	<!-- IE10 viewport bug workaround -->
	<script src="frontjs/ie10-viewport-bug-workaround.js"></script>
	
</body>

</html>
