Server IP : 101.255.104.117 / Your IP : 101.255.104.117 Web Server : Apache/2.4.34 (Win32) OpenSSL/1.0.2o PHP/5.6.38 System : Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586 User : user ( 0) PHP Version : 5.6.38 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : D:/xampp182/htdocs/sifeeder/ |
Upload File : |
<?php require_once("configure_first.php"); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <title><?php echo $header["dashboard"];?></title> <!-- Custom fonts for this template --> <link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css"> <link href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet"> <!-- Custom styles for this template --> <link href="css/sb-admin-2.min.css" rel="stylesheet"> <!-- Custom styles for this page --> <link href="vendor/datatables/dataTables.bootstrap4.min.css" rel="stylesheet"> </head> <body id="page-top"> <!-- DataTales Example --> <div class="card shadow mb-4"> <div class="card-header py-3"> <h6 class="m-0 font-weight-bold text-primary">DataTables</h6> </div> <div class="card-body"> <div class="table-responsive"> <table class="table table-bordered" id="dataTable" width="100%" cellspacing="0"> <thead> <tr> <th>ID</th> <th>Prodi</th> <th>Semester</th> <th>MK</th> <th>Kelas</th> <th>Dosen</th> <th>J Mhs</th> <th>Pilih</th> </tr> </thead> <tfoot> <tr> <th>ID</th> <th>Prodi</th> <th>Semester</th> <th>MK</th> <th>Kelas</th> <th>Dosen</th> <th>J Mhs</th> <th>Pilih</th> </tr> </tfoot> <tbody> <?php $sql = "SELECT * FROM f_kelaskuliah order by nama_semester desc"; // echo $sql; $result = mysqli_query($conn, $sql); if(mysqli_num_rows($result) > 0) { while($row = mysqli_fetch_assoc($result)) { ?> <tr> <td><?php echo $row['id_kelas_kuliah'];?></td> <td><?php echo $row['nama_program_studi'];?></td> <td><?php echo $row['nama_semester'];?></td> <td><?php echo $row['kode_mata_kuliah']."-".$row['nama_mata_kuliah'];?></td> <td><?php echo $row['nama_kelas_kuliah'];?></td> <td><?php echo $row['nama_dosen'];?></td> <td><?php echo $row['jumlah_mahasiswa'];?></td> <td><a href='#' onclick="window.opener.document.getElementById('kode').value='<?php echo $row['kode_mata_kuliah'];?>';window.opener.document.getElementById('idkelas').value='<?php echo $row['id_kelas_kuliah'];?>';window.opener.document.getElementById('kelas').value='<?php echo $row['nama_kelas_kuliah'];?>';window.opener.document.getElementById('mk').value='<?php echo $row['nama_mata_kuliah'];?>';window.opener.document.getElementById('semester').value='<?php echo $row['nama_semester'];?>';window.opener.document.getElementById('prodi').value='<?php echo $row['nama_program_studi'];?>';window.close();" class='btn btn-success btn-circle btn-sm'><i class='fas fa-check'></i></a></td> </tr> <?php } } ?> </tbody> </table> </div> </div> </div> </div> <!-- Footer --> <footer class="sticky-footer bg-white"> <div class="container my-auto"> <div class="copyright text-center my-auto"> <span>Copyright © SI FEEDER 2023 - STIKES BHAKTI PERTIWI INDONESIA</span> </div> </div> </footer> <!-- End of Footer --> </div> <!-- End of Content Wrapper --> </div> <!-- End of Page Wrapper --> <!-- Scroll to Top Button--> <a class="scroll-to-top rounded" href="#page-top"> <i class="fas fa-angle-up"></i> </a> <!-- Logout Modal--> <div class="modal fade" id="logoutModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalLabel">Ready to Leave?</h5> <button class="close" type="button" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body">Do you want to end your current session.</div> <div class="modal-footer"> <button class="btn btn-secondary" type="button" data-dismiss="modal">Cancel</button> <a class="btn btn-primary" href="logout.php">Logout</a> </div> </div> </div> </div> <!-- Bootstrap core JavaScript--> <script src="vendor/jquery/jquery.min.js"></script> <script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script> <!-- Core plugin JavaScript--> <script src="vendor/jquery-easing/jquery.easing.min.js"></script> <!-- Custom scripts for all pages--> <script src="js/sb-admin-2.min.js"></script> <!-- Page level plugins --> <script src="vendor/datatables/jquery.dataTables.min.js"></script> <script src="vendor/datatables/dataTables.bootstrap4.min.js"></script> <!-- Page level custom scripts --> <script src="js/demo/datatables-demo.js"></script> </body> </html>