	<section class="content-header">
        <h1>
            Laporan Absensi
        </h1>
        <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
            <li class="active">Laporan</li>
        </ol>
    </section>
	<section class="content">
		<div class="row">
        <div class="col-md-12">
            <div class="box box-primary">
					<!-- /.box-header -->
				<div class="box-body table-responsive">
					<div class="col-md-4 col-sm-6 col-xs-12">
						<div class="info-box">
							<span class="info-box-icon bg-aqua"><i class="fa fa-users"></i></span>
							<div class="info-box-content">
								<form action="<?php echo base_url() ?>laporan/harian" id="formh" target="_blank" class="form-horizontal">
								<span class="info-box-text">Laporan Harian</span>
								<select  name="dd"">
									<?php
										for ($i=1;$i<=31;$i++) {
													echo "<option value='$i'>$i</option>";
									   } ?>

								</select>
								<select  name="mm">
									<?php
										for ($i=1;$i<=12;$i++) {
													echo "<option value='$i'>".bulan($i)."</option>";
									   } ?>

								</select>
								<select  name="yy">
									<?php
										for ($i=date("Y");$i>date('Y')-10;$i-=1){
													echo "<option value='$i'>$i</option>";
									   } ?>

								</select>
								</br>
								<button type="submit" id="btnsaveh" class="btn btn-primary"><i class="fa fa-print"></i> Cetak</button>
								</form>

							</div><!-- /.info-box-content -->
						</div><!-- /.info-box -->
					</div><!-- /.col -->
					<div class="col-md-4 col-sm-6 col-xs-12">
						<div class="info-box">
							<span class="info-box-icon bg-red"><i class="fa fa-file"></i></span>
							<div class="info-box-content">
								<form action="<?php echo base_url() ?>laporan/bulanan" id="formh" target="_blank" class="form-horizontal">
								<span class="info-box-text">Laporan Bulanan</span>
								<select  name="mm2">
									<?php
										for ($i=1;$i<=12;$i++) {
													echo "<option value='$i'>".bulan($i)."</option>";
									   } ?>

								</select>
								<select  name="yy2">
									<?php
										for ($i=date("Y");$i>date('Y')-10;$i-=1){
													echo "<option value='$i'>$i</option>";
									   } ?>

								</select>
								<button type="submit" id="btnsaveb" class="btn btn-danger"><i class="fa fa-print"></i> Cetak</button>
								</form>
							</div><!-- /.info-box-content -->
						</div><!-- /.info-box -->
					</div><!-- /.col -->
					<div class="col-md-4 col-sm-6 col-xs-12">
						<div class="info-box">
							<span class="info-box-icon bg-green"><i class="fa fa-user"></i></span>
							<div class="info-box-content">
								<form action="<?php echo base_url() ?>laporan/individu" id="formh" target="_blank" class="form-horizontal">
								<span class="info-box-text">Laporan Individu</span>
								<select  name="mm3">
									<?php
										for ($i=1;$i<=12;$i++) {
													echo "<option value='$i'>".bulan($i)."</option>";
									   } ?>

								</select>
								<select  name="yy3">
									<?php
										for ($i=date("Y");$i>date('Y')-10;$i-=1){
													echo "<option value='$i'>$i</option>";
									   } ?>

								</select>
								<button type="submit" id="btnsavei" class="btn btn-success"><i class="fa fa-print"></i> Cetak</button>
								</form>
							</div><!-- /.info-box-content -->
						</div><!-- /.info-box -->
					</div><!-- /.col -->
				</div>
				<div class="box-body table-responsive">
					<div class="col-md-4 col-sm-6 col-xs-12">
						<div class="info-box">
							<span class="info-box-icon bg-green"><i class="fa fa-user"></i></span>
							<div class="info-box-content">
								<form action="<?php echo base_url() ?>laporan/perindividu" id="formh" target="_blank" class="form-horizontal">
								<span class="info-box-text">Laporan Per Individu</span>
								<div class="col-md-12">
								<select class="select2" name="kodeabsen">
											<?php
											$jurusan=$this->db->query("SELECT * FROM web_siswa ORDER BY KD_JENIS_KETENAGAAN ASC");
													foreach ($jurusan->result() as $row) {
													$kode=$row->absen;
													$nama=$row->NM_PEGAWAI;
													echo "<option value='$kode'>$nama</option>";
									?>
									<?php } ?>

									</select>
								</div>
								<div class="col-md-4">
								<select name="mm3">
									<?php
										for ($i=1;$i<=12;$i++) {
													echo "<option value='$i'>".bulan($i)."</option>";
									   } ?>

								</select>
							</div>
							<div class="col-md-4">
								<select  name="yy3">
									<?php
										for ($i=date("Y");$i>date('Y')-10;$i-=1){
													echo "<option value='$i'>$i</option>";
									   } ?>

								</select>
								</div>
								<br>
								<button type="submit" id="btnsaver" class="btn btn-success"><i class="fa fa-print"></i> Cetak</button>
								</form>
							</div><!-- /.info-box-content -->
						</div><!-- /.info-box -->
					</div><!-- /.col -->
					<div class="col-md-4 col-sm-6 col-xs-12">
						<div class="info-box">
							<span class="info-box-icon bg-red"><i class="fa fa-file"></i></span>
							<div class="info-box-content">
								<form action="<?php echo base_url() ?>laporan/semester" id="formh" target="_blank" class="form-horizontal">
								<span class="info-box-text">Laporan Semester</span>
								<select name="semester">
											<option value='1'>Semester Gasal</option>
											<option value='2'>Semester Genap</option>
									</select>
									<select  name="yy2">
										<?php
											for ($i=date("Y");$i>date('Y')-10;$i-=1){
														echo "<option value='$i'>$i</option>";
										   } ?>
									</select>
								<button type="submit" id="btnsaves" class="btn btn-danger"><i class="fa fa-print"></i> Cetak</button>
								</form>
							</div><!-- /.info-box-content -->
						</div><!-- /.info-box -->
					</div><!-- /.col -->
					
					<div class="col-md-4 col-sm-6 col-xs-12">
						<div class="info-box">
							<span class="info-box-icon bg-aqua"><i class="fa fa-users"></i></span>
							<div class="info-box-content">
								<form action="<?php echo base_url() ?>laporan/jurnal" id="formh" target="_blank" class="form-horizontal">
								<span class="info-box-text">Laporan Jurnal Harian</span>
								<select  name="dd"">
									<?php
										for ($i=1;$i<=31;$i++) {
													echo "<option value='$i'>$i</option>";
									   } ?>

								</select>
								<select  name="mm">
									<?php
										for ($i=1;$i<=12;$i++) {
													echo "<option value='$i'>".bulan($i)."</option>";
									   } ?>

								</select>
								<select  name="yy">
									<?php
										for ($i=date("Y");$i>date('Y')-10;$i-=1){
													echo "<option value='$i'>$i</option>";
									   } ?>

								</select>
								</br>
								<button type="submit" id="btnsaveh" class="btn btn-primary"><i class="fa fa-print"></i> Cetak</button>
								</form>

							</div><!-- /.info-box-content -->
						</div><!-- /.info-box -->
					</div><!-- /.col -->
				</div><!-- /.box-body -->
            </div><!-- /.box -->
        </div>
    </div>

  </section>
