}
    }*/
$kelasName = $kls->kelas_name;
?>
<div class="table-responsive">
    <table class="table table-bordered table-striped">
        <tr>
            <th><?php 
echo Lang::t('Hour');
?>
</th>
            <?php 
for ($day = 1; $day <= $anzahlSchulTag; $day++) {
    ?>
                <th><?php 
    echo TahunAjaran::fgetDay($day);
    ?>
</th>
            <?php 
}
?>
        </tr>

        <?php 
$slotID = 0;
foreach ($jadwalMatapelajaran->matapelajaran as $slotvalue => $slots) {
    //pr($slots);
    ?>
            <tr>
                <td>
                    <div style="width: 100px;"><?php 
    <div class="col-md-3 col-xs-12">
        <?php 
//select on mon
$urlOnChange = _SPPATH . $webClass . "/" . $method . "?klsid=" . $kls->kelas_id;
Selection::subjectSelector($mp, $urlOnChange);
?>
    </div>

</div>

<div class="table-responsive">
    <table class="table table-bordered">
        <tr>
            <th style="width: 20%;">Hour</th>
            <th style="width: 50%;"><?php 
echo TahunAjaran::fgetDay($jadwalMatapelajaran->hari);
?>
</th>

        </tr>
        <?php 
foreach ($jadwalMatapelajaran->matapelajaran as $slotvalue => $slots) {
    ?>
            <tr>
                <td><?php 
    echo $slotvalue;
    ?>
</td>
                <?php 
    foreach ($slots as $mp) {
        if ($mp->jw_mulai . " - " . $mp->jw_end == $slotvalue) {