<!--main-container-part-->
<div id="content">
    <!--breadcrumbs-->
    <div id="content-header">
        <div id="breadcrumb"> <a href="<?php echo site_url('admin'); ?>" title="Go to Home" class="tip-bottom"><i class="icon-home"></i> Home</a></div>
    </div>
    <!--End-breadcrumbs-->

    <!--Action boxes-->
    <div class="container-fluid">
        <div class="row-fluid">
            <div class="span4">
                <div class="widget-box">
                    <div class="widget-title"> <span class="icon"> <i class="icon-list"></i> </span>
                        <h5>Cetak Kartu Ujian</h5>
                    </div>
                    <div class="widget-content">
                        <form action="<?php echo site_url('admin/cetak_kartu_perkelas'); ?>" method="POST" target="_blank">
                            <div class="form-group">
                                <label>Jenjang Pendidikan</label>
                                <select class="form-control select2" style="width: 100%;" name="jenjang_pendidikan">
                                    <?php
                                    if ($jenjang_pendidikan) {
                                        foreach ($jenjang_pendidikan as $v) {
                                            echo '<option value="' . $v->id_jenjang_pendidikan . '">' . $v->nama_jenjang_pendidikan . '</option>';
                                        }
                                    }
                                    ?>
                                </select>
                            </div>
                            <div class="form-group">
                                <label>Kelas</label>
                                <select class="form-control select2" style="width: 100%;" name="kelas">
                                    <?php
                                    if ($kelas) {
                                        foreach ($kelas as $v) {
                                            echo '<option value="' . $v->id_kelas . '">' . $v->nama_kelas . '</option>';
                                        }
                                    }
                                    ?>
                                </select>
                            </div>
                            <div class="form-group">
                                <label>Jurusan</label>
                                <select class="form-control select2" style="width: 100%;" name="jurusan">
                                    <?php
                                    if ($jurusan) {
                                        foreach ($jurusan as $v) {
                                            echo '<option value="' . $v->id_jurusan . '">' . $v->nama_jurusan . '</option>';
                                        }
                                    }
                                    ?>
                                </select>
                            </div>

                            <button type="submit" class="btn btn-primary">Cetak Kartu</button>
                        </form>
                    </div>
                </div>
            </div>
            <div class="span8">
                <div class="widget-box">
                    <div class="widget-title"> <span class="icon"> <i class="icon-list"></i> </span>
                        <h5>Soal yang tersedia di BANK Soal</h5>
                    </div>
                    <div class="widget-content nopadding">
                        <?php
                        echo $output;
                        ?>
                    </div>
                </div>
            </div>
        </div>
        <hr/>
    </div>
</div>

<!--end-main-container-part-->