<main id="main" class="main">

    <div class="pagetitle">
      <h1>Dashboard</h1>
      <nav>
        <ol class="breadcrumb">
          <li class="breadcrumb-item"><a href="<?= base_url('dashboard');?>">Home</a></li>
          <li class="breadcrumb-item active">Dashboard</li>
        </ol>
      </nav>
    </div><!-- End Page Title -->

    <section class="section dashboard">
      <div class="row">
        <!-- Container starts-->
        <div class="container">
          <div class="row size-column">
            <div class="col-xl-9 box-col-12 xl-100">
              <div class="row dash-chart">
                  <?php if($this->session->userdata('usertype') !== 'staff'){ ?>
                  <div class="col-xl-6 box-col-7 col-lg-12 col-md-6">
                    <div class="card">
                      <div class="card-body">
                        <div class="d-flex align-items-center">
                          <div class="flex-shrink-0">
                            <i class="fas fa-tasks fa-3x text-primary"></i>
                          </div>
                          <div class="flex-grow-1 ms-3 mt-3">
                            <p class="f-w-500 font-roboto-bold-700">Total Staff</p>
                            <h4 class="f-w-500 mb-0 fs-5"><span class="counter"><?= $total_staff; ?></span></h4>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                  <?php } ?>
                  <div class="col-xl-6 box-col-7 col-lg-12 col-md-6">
                    <div class="card">
                      <div class="card-body">
                        <div class="d-flex align-items-center">
                          <div class="flex-shrink-0">
                            <i class="fas fa-tasks fa-3x text-primary"></i>
                          </div>
                          <div class="flex-grow-1 ms-3 mt-3">
                            <p class="f-w-500 font-roboto-bold-700">Total Offering Category</p>
                            <h4 class="f-w-500 mb-0 fs-5"><span class="counter"><?= $total_offering_category; ?></span></h4>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                  <div class="col-xl-6 box-col-7 col-lg-12 col-md-6">
                    <div class="card">
                      <div class="card-body">
                        <div class="d-flex align-items-center">
                          <div class="flex-shrink-0">
                            <i class="fas fa-tasks fa-3x text-primary"></i>
                          </div>
                          <div class="flex-grow-1 ms-3 mt-3">
                            <p class="f-w-500 font-roboto-bold-700">Total Offering</p>
                            <h4 class="f-w-500 mb-0 fs-5"><span class="counter"><?= $total_offering; ?></span></h4>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
              </div>
            </div>
          </div>
        </div>
      </div>
</section>
       
  </main><!-- End #main -->