[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
05122024
/
htdocs
/
siakad
/
mahasiswa
/
RekapNilai
/
[
Home
]
File: NilaiKKM.inc.php
<?php $nmTable = "m_kd"; $nmForm = "mainform.php?sabilillah=nilaikkm"; //hak akses $formnama = "nilaikkm"; $registerform = lastlogin($_SESSION["user-id"],$formnama); if(isset($_SESSION["id-profil"])) $idlogprof = $_SESSION["id-profil"]; else $idlogprof = 0; if($idlogprof == 0) echo "<script>window.alert('".$lsm."');location.href='index.php';</script>"; ?> <div id="wrapper"> <div class="content-wrapper container"> <div class="row"> <div class="col-md-12"> <div class="panel panel-card "> <!-- Start .panel --> <div class="panel-heading"> <div class="panel-actions"> </div> </div> <div class="panel-body"> <div class="table-responsive"> <table id="basic-datatable" class="table dt-responsive nowrap w-100"> <thead> <tr> <th>No.</th> <th>Kode</th> <th>Mata Pelajaran</th> <th>Program Study</th> <th>SKS</th> </tr> </thead> <tbody> <?php // echo "<table class=\"table table-striped\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" style=\" margin: 0; width: 100%;\">"; // echo "<tr>"; // echo "<th width=5% align=center>No.</th>"; // echo "<th width=25% align=center>Kode</th>"; // echo "<th width=40% align=center>Mata Pelajaran</th>"; // echo "<th width=30% align=center>Program Study</th>"; // echo "<th width=30% align=center>SKS</th>"; // echo "<th width=30% align=center>Semester</th>"; // echo "</tr>"; $query = "select * from (select * from m_matapelajaran where mp_status = 1) as tb1 left join (select a.*,kelas_nama from m_nilai_kkm a left join m_kelas b on a.id_kelas = b.kelas_id where id_sem = ".$id_sem." and id_ta = ".$id_ta." and nilai_kkm_nilai > 0) as tb2 on tb1.mp_id = tb2.id_mp order by id_kelas asc, mp_id asc"; $query = "SELECT * FROM `m_matapelajaran` a left join m_kelas b on a.id_kelas = b.kelas_id"; // echo $query; // $query = "select * from m_nilai_kkm"; $iData=sAllData($query); $no = 0; for($a=0,$b=count($iData);$a<$b;$a++) { echo "<tr>"; echo "<td>".($a+1).".</td>"; echo "<td>".$iData[$a]["mp_kode"]." </td>"; echo "<td>".$iData[$a]["mp_nama"]." </td>"; echo "<td>".$iData[$a]["kelas_nama"]." </td>"; echo "<td>".$iData[$a]["mp_sks"]." </td>"; echo "</tr>"; } echo "</table>"; echo "</form>"; ?> </div> </div> </div><!-- End .panel --> </div><!--end .col--> </div><!--end .row--> </div><div style="clear:both;"></div> </div>