<section class="content">
    <div class="row">

        <div class="col-xs-12">
            <div class="box box-info">
                <div class="box-header  with-border">
                <table class="table table-bordered">
                <tr>
                    <td width="200">Tahun Akademik</td>
                    <td> : <?php echo get_tahun_akademik('tahun_akademik'); ?></td>
                </tr>
                <tr>
                    <td>Semester</td>
                    <td> : <?php echo get_tahun_akademik('semester'); ?></td>
                </tr>
                </table>
            </div>
            </div>
        </div>

        <div class="col-xs-12">

          <div class="box box-primary">
            <div class="box-header  with-border">
              <h3 class="box-title">Daftar Kelas yang Diajar</h3>
            </div>
            <!-- /.box-header -->
            <div class="box-body">

              <table id="mytable" class="table table-striped table-bordered table-hover table-full-width dataTable" cellspacing="0" width="100%">
                <thead>
                    <tr>
                        <th>NO</th>
                        <th>Jurusan &amp; Tingkatan</th>
                        <th>MATA KULIAH</th>
                        <th>HARI</th>
                        <th>JAM</th>
                        <th>RUANG</th>
                        <th></th>
                    </tr>
                </thead>

                <?php
                    $no = 1;
                    foreach ($jadwal->result() as $row) {
                       echo "<tr>
                                <td>$no</td>
                                <td>Jurusan $row->nama_jurusan $row->nama_tingkatan</td>
                                <td>$row->nama_mapel</td>
                                <td>$row->hari</td>
                                <td>$row->jam</td>
                                <td>$row->nama_ruangan</td>
                                <td>".anchor('nilai/kelas/'.$row->id_jadwal, '<i class="fa fa-eye" aria-hidden="true"></i>')."</td>
                            </tr>";
                        $no++;
                    }
                ?>

              </table>

            </div>
            <!-- /.box-body -->
          </div>
          <!-- /.box -->
        </div>
        <!-- /.col -->
    </div>
    <!-- /.row -->
</section>