[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
xampp
/
htdocs
/
pmb
/
[
Home
]
File: searchpendaftar.php
<?php session_start(); include'config.php'; ?> <!DOCTYPE html> <html lang="zxx"> <head> <title>PMB Akfar Bumsil</title> <meta charset="UTF-8"> <meta name="description" content="PMB Akfar Bumsil"> <meta name="keywords" content="PMB, bumsil"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Favicon --> <link href="img/logo_ico.ico" rel="shortcut icon"/> <!-- Google font --> <link href="https://fonts.googleapis.com/css?family=Montserrat:300,300i,400,400i,500,500i,600,600i,700,700i&display=swap" rel="stylesheet"> <!-- Stylesheets --> <link rel="stylesheet" href="css/bootstrap.min.css"/> <link rel="stylesheet" href="css/font-awesome.min.css"/> <link rel="stylesheet" href="css/owl.carousel.min.css"/> <link rel="stylesheet" href="css/slicknav.min.css"/> <link rel="stylesheet" href="css/tabel.css"/> <!-- Main Stylesheets --> <link rel="stylesheet" href="css/style.css"/> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <!-- Page Preloder --> <div id="preloder"> <div class="loader"></div> </div> <!-- Header section --> <header class="header-section clearfix"> <a href="homeadmin.php" class="site-logo"> <img src="img/logokecil.png" alt=""> </a> <div class="header-right"> <div class="user-panel"> <a href="home.php" class="hr-btn">Log Out</a> </div> </div> <ul class="main-menu"> <li><a href="homeadmin.php">Home</a></li> <li><a href="daftar1admin.php">Pendaftaran PMB</a></li> <li><a href="datapendaftar.php">Data Pendaftar</a></li> <li><a href="homekartu.php">Cetak Kartu PMB</a></li> <li><a href="laporan.php">Laporan</a> <ul class="sub-menu"> <li><a href="laporand3farmasi.php">Laporan D3 Farmasi</a></li> </ul> </li> <li><a href="dataadmin.php">Data Admin</a></li> </ul> </header> <!-- Header section end --> <!-- Tabel section end --> <section class="premium-section spad"> <div class="container"> <?php if(isset($_POST['search'])){ $nama = strip_tags($_POST['nama']); if (empty($nama)){ echo "<center>Anda belum mengisikan NAMA<br /> <a href=datapendaftar.php><b>Ulangi Lagi</b></center>"; } else{ $sql = "select * from peserta where nama like '%$nama%'"; $data = mysqli_query($koneksi, $sql); if(mysqli_num_rows($data) > 0){ ?> <table class="demo-table"> <tr> <th>ID</th> <th>KTP</th> <th>Nama</th> <th>Alamat</th> <th>Kota</th> <th>Telepon</th> <th>E-Mail</th> <th>Jas</th> <th>Nama Orang Tua</th> <th>Alamat Orang Tua</th> <th>Telepon Orang Tua</th> <th>Nama Wali</th> <th>Alamat Wali</th> <th>Telepon Wali</th> <th>Nama Sekolah</th> <th>Tempat Kerja</th> <th>Jurusan Yang Dipilih</th> <th>Foto</th> <th>Bukti Pembayaran</th> <th colspan="2">Aksi</th> </tr> <?php while($peserta = mysqli_fetch_array($data)){?> <tr> <td><?php echo $peserta['idpeserta'];?></td> <td><?php echo $peserta['ktp'];?></td> <td><?php echo $peserta['nama'];?></td> <td><?php echo $peserta['alamat'];?></td> <td><?php echo $peserta['kota'];?></td> <td><?php echo $peserta['telepon'];?></td> <td><?php echo $peserta['email'];?></td> <td><?php echo $peserta['jas'];?></td> <td><?php echo $peserta['namaortu'];?></td> <td><?php echo $peserta['alamatortu'];?></td> <td><?php echo $peserta['teleponortu'];?></td> <td><?php echo $peserta['namawali'];?></td> <td><?php echo $peserta['alamatwali'];?></td> <td><?php echo $peserta['teleponwali'];?></td> <td><?php echo $peserta['namasekolah'];?></td> <td><?php echo $peserta['institusi'];?></td> <td><?php echo $peserta['jurusan'];?></td> <td><?php echo "<img src='image/$peserta[namafoto]' width='100' height='100' />";?></td> <td><?php echo "<img src='imagepembayaran/$peserta[namabukti]' width='100' height='100' />";?></td> <td> <?php echo "<a href='formeditpendaftar.php?idpeserta=".$peserta['idpeserta']."'>Edit</a>"?> | <?php echo "<a href='hapuspendaftar.php?idpeserta=".$peserta['idpeserta']."'>Hapus</a>"?> </td> </tr> <?php }?> </table> <?php }else{ echo 'Data not found!'; } } } ?> </div> </section> <!-- Tabel section end --> <!-- Footer section --> <footer class="footer-section"> <div class="container"> <div class="row"> <div class="col-xl-6 col-lg-5 order-lg-1"> <img src="img/logokecil.png" alt=""> <div class="copyright"><!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. --> Copyright ©<script>document.write(new Date().getFullYear());</script> All rights reserved | ICT Akfar Bumsil <!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. --></div> <div class="social-links"> <a href="https://www.instagram.com/akfarbumsil/" target="_blank"><i class="fa fa-instagram"></i></a> <a href=""><i class="fa fa-facebook"></i></a> <a href="https://www.youtube.com/channel/UCH977lptXXP3PuNoOrJSbiQ" target="_blank"><i class="fa fa-youtube"></i></a> </div> </div> </div> </div> </footer> <!-- Footer section end --> <!--====== Javascripts & Jquery ======--> <script src="js/jquery-3.2.1.min.js"></script> <script src="js/bootstrap.min.js"></script> <script src="js/jquery.slicknav.min.js"></script> <script src="js/owl.carousel.min.js"></script> <script src="js/mixitup.min.js"></script> <script src="js/main.js"></script> </body> </html>