<style>
.error {
	color: red;
	font-size: .7em;
}

</style>
<!-- Begin Page Content -->
<div class="container-fluid page-custum">
	<!-- Page Heading -->
	<h1 class="h3 mb-4 text-gray-800"><?= $title ?></h1>
	<div class="row">
		<div class="col-4">
			<?= $this->session->flashdata('message') ?>

		</div>
	</div>
	<div class="row statistik justify-content-around">
		<!-- card informasi -->
		<div class="col-xl-3 col-md-6 mb-4">
			<div class="card border-left-danger shadow h-100 py-2">
				<div class="card-body">
					<div class="row no-gutters align-items-center">
						<div class="col mr-2">
							<div class="text-xs font-weight-bold text-danger text-uppercase mb-1">Jumlah Siswa</div>
							<div class="h5 mb-0 font-weight-bold text-gray-800 jmlPendaftar">
								<?= $statistik['totalSiswa'] ?></div>
						</div>
						<div class="col-auto">
							<i class="fas fa-3x fa-registered text-gray-300"></i>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="col-xl-3 col-md-6 mb-4">
			<div class="card border-left-secondary shadow h-100 py-2">
				<div class="card-body">
					<div class="row no-gutters align-items-center">
						<div class="col mr-2">
							<div class="text-xs font-weight-bold text-secondary text-uppercase mb-1">Sudah Terdaftar
							</div>
							<div class="h5 mb-0 font-weight-bold text-gray-800 jmlVerifikasi">
								<?= ($statistik['sudahDaftar']) + ($statistik['terverifikasi']) ?></div>
						</div>
						<div class="col-auto">
							<i class="fas fa-user-check fa-3x text-gray-300"></i>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="col-xl-3 col-md-6 mb-4">
			<div class="card border-left-success shadow h-100 py-2">
				<div class="card-body">
					<div class="row no-gutters align-items-center">
						<div class="col mr-2">
							<div class="text-xs font-weight-bold text-success text-uppercase mb-1">Terverifikasi</div>
							<div class="h5 mb-0 font-weight-bold text-gray-800 jmlVerifikasi">
								<?= $statistik['terverifikasi'] ?></div>
						</div>
						<div class="col-auto">
							<i class="fas fa-user-check fa-3x text-gray-300"></i>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="row">
		<input type="hidden" class="url" value="<?= base_url() ?>">
		<div class="col">
			<div class="card p-2">
				<div class="card-title">
					<h3>User <b><?= $user['name'] ?></b></h3>
				</div>
				<div class="card-body">
					<P>Petunjuk Penggunaan</P>
					<ol>
						<li>Silahkan Upload Biodata Pada Menu Pendaftaran</li>
						<li>Silahkan Upload Nilai Pada Menu Upload Nilai</li>
						<li class="text-danger">Dilarang merubah format import file Excel untuk biodata dan nilai </li>
						<li class="text-danger">Data Yg di importkan tidak bisa di perbaiki, kecuali saat pendaftaran di
							form pendaftaran</li>
						<li class="text-danger">Harap periksa kembali data sebelum submit</li>
						<li>Pastikan data yang di minta dalam format di isi semua, dengan baik </li>
					</ol>
				</div>
			</div>

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


</div>
<!-- End of Main Content -->
<!-- modal view Pendafatar -->
