<br>

<?php
$lebarkolom = 4;
?>

    <!-- Main content -->
    <section class="content">
      <div class="container-fluid">

        




        <div class="row">
          <div class="col-lg-<?php echo $lebarkolom;?> col-12">
            <!-- small box -->
            <div class="small-box bg-info">
              <div class="inner" style="background:#fddeeb;color:#eb5d99;">
                <h3>
                <?php
                $qunit=mysqli_query($connect,"select * from tb_unit");
                $jumunit=mysqli_num_rows($qunit);
                echo $jumunit." Unit";
                ?>
                </h3>

                <p>Materi</p>
              </div>
              <div class="icon">
                <i class="fa fa-suitcase"></i>
              </div>
              <a href="<?php echo $base_url_admin;?>/datamodul" class="small-box-footer" style="background:#eb5d99;">Selebihnya <i class="fas fa-arrow-circle-right"></i></a>
            </div>
          </div>
          <!-- ./col -->
          








          <div class="col-lg-<?php echo $lebarkolom;?> col-12">
            <!-- small box -->
            <div class="small-box bg-success">
              <div class="inner" style="background:#fddeeb;color:#eb5d99;">
                <h3>
                <?php
                $qkelas=mysqli_query($connect,"select * from tb_kelas");
                $jumkelas=mysqli_num_rows($qkelas);
                echo $jumkelas." Kelas";
                ?>
                </h3>

                <p>Data Kelas</p>
              </div>
              <div class="icon">
                <i class="ion ion-bag"></i>
              </div>
              <a href="<?php echo $base_url_admin;?>/datakelas" class="small-box-footer" style="background:#eb5d99;">Selebihnya <i class="fas fa-arrow-circle-right"></i></a>
            </div>
          </div>
          <!-- ./col -->









          <div class="col-lg-<?php echo $lebarkolom;?> col-12">
            <!-- small box -->
            <div class="small-box bg-danger">
              <div class="inner" style="background:#fddeeb;color:#eb5d99;">
                <h3>
                <?php
                $quser=mysqli_query($connect,"select * from tb_siswa");
                $jumuser=mysqli_num_rows($quser);
                echo $jumuser." Siswa";
                ?>
                </h3>

                <p>Pengguna / User</p>
              </div>
              <div class="icon">
                <i class="fa fa-users"></i>
              </div>
              <a href="<?php echo $base_url_admin;?>/datakelas" class="small-box-footer" style="background:#eb5d99;">Selebihnya <i class="fas fa-arrow-circle-right"></i></a>
            </div>
          </div>
          <!-- ./col -->




         



        </div>
        <div class="row">
          

        <!-- /.row -->
      </div><!-- /.container-fluid -->
    </section>



    <?php include"view/admin/profil.php";?>












          <script src="assets/js/jquery.min.js"></script>
          <script type='text/javascript'>
                  function tutup(){
                      location.reload();
                  }

                  
                  $(function () {
                    $('[data-toggle="tooltip"]').tooltip()
                  })
                  
                  
          </script>