403Webshell
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/siami/prodi/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : D:/xampp182/htdocs/siami/prodi/file-prodi.php
<?php
require '../koneksi.php';

session_start();
    $id_prodi = $_SESSION["id_prodi"];

if (!isset($_SESSION["loginprodi"])) {
    header("Location: ../index.php");
}

$querysetting = "SELECT * FROM ami_setting WHERE id_setting = 1";
$resultsetting = mysqli_query($conn, $querysetting);
$rowsetting = mysqli_fetch_assoc($resultsetting);
$num_rowssetting = mysqli_num_rows($resultsetting);

$sesinidn = $_SESSION["nidn"];
$sesisiklus = $_SESSION["id_siklus"];
$queryauditor = "SELECT * FROM ami_admin WHERE nidn = '$sesinidn'";
$resultauditor = mysqli_query($conn, $queryauditor);
$rowauditor = mysqli_fetch_assoc($resultauditor);
$num_rowsauditor = mysqli_num_rows($resultauditor);

$queryfileauditor = "SELECT * FROM ami_files_prodi a left join ami_prodi b on a.id_prodi = b.id_prodi left join ami_standar c on a.id_standar = c.id_standar WHERE a.id_prodi = ".$id_prodi." and a.id_siklus = $sesisiklus";
$resultfileauditor = mysqli_query($conn, $queryfileauditor);
$num_rowsfileauditor = mysqli_num_rows($resultfileauditor);
?>
<!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">
    <title>SIAMI | File Untuk Prodi dan Fakultas</title>
    <link rel="icon" type="image/png" sizes="16x16" href="../images/<?php echo $rowsetting["favicon"] ?>">
    <link href="../vendor/owl-carousel/owl.carousel.css" rel="stylesheet">
    <link href="../vendor/datatables/css/jquery.dataTables.min.css" rel="stylesheet">
    <link href="../vendor/bootstrap-select/dist/css/bootstrap-select.min.css" rel="stylesheet">
    <link href="../css/style.css" rel="stylesheet">
    <link href="https://cdn.lineicons.com/2.0/LineIcons.css" rel="stylesheet">

</head>

<body>

    <div id="preloader">
        <div class="sk-three-bounce">
            <div class="sk-child sk-bounce1"></div>
            <div class="sk-child sk-bounce2"></div>
            <div class="sk-child sk-bounce3"></div>
        </div>
    </div>

    <div id="main-wrapper">

        <?php include('theme-logo.php') ?>

        <?php include('theme-header.php') ?>

        <?php include('theme-sidebar.php') ?>

        <div class="content-body">
            <!-- row -->
            <div class="container-fluid">
                <div class="page-titles">
                    <ol class="breadcrumb">
                        <li class="breadcrumb-item"><a href="home.php">Beranda</a></li>
                        <li class="breadcrumb-item active"><a href="javascript:void(0)">File Auditee dan Fakultas</a></li>
                    </ol>
                </div>
                <div class="mr-auto d-lg-block">
                    <h3 class="text-black font-w600">File Untuk Auditee dan Fakultas</h3>
                </div>
                <hr>
                <div class="form-head d-flex mb-3 mb-md-4 align-items-start">
                    <div class="mr-auto d-lg-block">
                        <a href="file-prodi-tambah.php" class="btn btn-primary btn-rounded">+ Add New</a>
                    </div>
                </div>
                <div class="row">
                    <div class="col-xl-12">
                        <div class="table-responsive">
                            <table id="example5" class="table shadow-hover table-bordered mb-4 dataTablesCard fs-14 text-center">
                                <thead>
                                    <tr>
                                        <th>No</th>
                                        <th>Action</th>
                                        <th>Auditee</th>
                                        <th>Standar</th>
                                        <th>Judul</th>
                                        <th>File</th>
                                        <th>Tanggal</th>
                                        <th>Skor</th>
                                        <th>Siklus</th>
                                        <th>Status</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <?php $no = 1;
                                    while ($rowfileauditor = mysqli_fetch_assoc($resultfileauditor)) { ?>
                                        <tr>
                                            <td><?php echo $no ?></td>
                                            <td>
                                                <div class="dropdown">
                                                    <button type="button" class="btn btn-success light sharp" data-toggle="dropdown">
                                                        <svg width="20px" height="20px" viewBox="0 0 24 24" version="1.1">
                                                            <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
                                                                <rect x="0" y="0" width="24" height="24" />
                                                                <circle fill="#000000" cx="5" cy="12" r="2" />
                                                                <circle fill="#000000" cx="12" cy="12" r="2" />
                                                                <circle fill="#000000" cx="19" cy="12" r="2" />
                                                            </g>
                                                        </svg>
                                                    </button>
                                                    <div class="dropdown-menu">
                                                        <a class="dropdown-item" href="file-prodi-edit.php?id_file=<?php echo $rowfileauditor['id_file'] ?>">Edit</a>
                                                        <a class="dropdown-item" href="file-prodi-delete.php?id_file=<?php echo $rowfileauditor['id_file'] ?>" onClick="return confirm('Apakah anda yakin ingin menghapus <?php echo $rowfileauditor['judul'] ?>...?')">Delete</a>
                                                    </div>
                                                </div>
                                            </td>
                                            <td><?php echo $rowfileauditor['prodi'] ?></td>
                                            <td><?php echo $rowfileauditor['utk_pilihan'] ?></td>
                                            <td><?php echo $rowfileauditor['judul'] ?></td>
                                            <td><a href="../files/<?php echo $rowfileauditor['file'] ?>" target="_blank"><?php echo $rowfileauditor['file'] ?></a><br>
                                            URL : <a href="<?php echo $rowfileauditor['url'] ?>" target="_blank">File</a></td>
                                            <td><?php echo $rowfileauditor['tgl'] ?></td>
                                            <td><?php echo $rowfileauditor['skor'] ?></td>
                                            <td>
                                                <span class="badge badge-success"><?php echo $rowfileauditor['id_siklus'] ?></span>
                                            </td>
                                            <td>
                                                <?php if($rowfileauditor['sesuai'] == 1) echo "<span class=\"badge badge-success\">sesuai</span>";else echo "<span class=\"badge badge-warning\">belum sesuai</span>"; ?>
                                            </td>
                                        </tr>
                                    <?php $no++;
                                    } ?>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <?php include('theme-footer.php') ?>

    </div>
    <script src="../vendor/global/global.min.js"></script>
    <script src="../vendor/bootstrap-select/dist/js/bootstrap-select.min.js"></script>
    <script src="../vendor/chart.js/Chart.bundle.min.js"></script>
    <script src="../js/custom.min.js"></script>
    <script src="../js/deznav-init.js"></script>
    <script src="../vendor/owl-carousel/owl.carousel.js"></script>

    <!-- Datatable -->
    <script src="../vendor/datatables/js/jquery.dataTables.min.js"></script>

    <script>
        (function($) {

            var table = $('#example5').DataTable({
                searching: true,
                paging: true,
                select: false,
                //info: true,
                lengthChange: false

            });
            $('#example tbody').on('click', 'tr', function() {
                var data = table.row(this).data();

            });

        })(jQuery);
    </script>

</body>

</html>

Youez - 2016 - github.com/yon3zu
LinuXploit