

<!DOCTYPE html>
<html>
<head>
	<title>gnet</title>
	<link rel="stylesheet" type="text/css" href="style.css">
	<link rel="stylesheet" href="css/main.css" type="text/css" />
	
	<script type="text/javascript" src="js/jquery.js" ></script>
	<script type="text/javascript" src="js/jquery-bp.js" ></script>
	<script type="text/javascript" src="js/navigation.js" ></script>
	<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
* {box-sizing:border-box}
body {font-family: Verdana,sans-serif;}
.mySlides {display:none}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 13px;
  width: 13px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}
</style>

</head>
<body>
<br>
 <br>
  <br>
   <br>
   <br>
   <br>
      <br>
	  <br>
   




 <?php 
        if(isset($_GET['pesan'])){
            if($_GET['pesan'] == "gagal"){
                echo  "Login gagal! email dan password salah!";
            }
            else if($_GET['pesan'] == "logout"){
                echo "Anda telah berhasil logout";
            }
            else if($_GET['pesan'] == "belum_login"){
                echo "Anda harus login untuk mengakses halaman admin";
            }
        }
    ?>
	
    
<div id="header">
<img src='icon/header-logo.png' height='80' title='logo header'>

	<?php 
        session_start();
        if($_SESSION['status']!="login"){
            header("location:../index.php?pesan=belum_login");
        }
    ?>
        <table align="right" border="0" width="400" height="20">
            <tr>
                <td><h5>Selamat datang, <?php echo $_SESSION['email']; ?>! anda telah login.</h5></td>
            </tr>
            <tr>
                <td> <a href="logout.php">LOGOUT</a></td>
            </tr>
        </table> 
<font color="f6f5f9"><marquee behavior="alternate" scrollamount="10"><h1>VOUCHER HOSTPOT MURAH DAN HEMAT</h1></marquee></font>
    <br> 
</div>

	<div id="navigation" class="container">
		<div id="home" class="pri-nav"><div><a href="home.php">home</a></div></div>
		<div id="about" class="pri-nav"><div><a href="about">about</a></div></div>
		<div id="services" class="pri-nav"><div><a href="services">services</a></div></div>
		<div id="solutions" class="pri-nav active"><div><a href="solutions">solutions</a></div></div>
		<div id="contact" class="pri-nav"><div><a href="contact">contact</a></div></div>
	</div>


<div class="container">
		<div class="content">
			<div id="content-title"><h3>Informasi Tagihan</h3>
			
			
			
			
<table border="0">
    <tr><th>NO</th><th>Bulan</th><th>Tagihan</th><th>Status</th></tr>
    <?php
    include 'koneksi.php';
    $mahasiswa = mysqli_query($koneksi, "SELECT * from pembayaran");
    $no=1;
    foreach ($mahasiswa as $row){
        $jenis_kelamin = $row['nama'];
        echo "<tr>
            <td>$no</td>
            <td>".$row['nama']."</td>
            <td>".$row['tagihan']."</td>
            <td>".$row['status']."</td>
              </tr>";
        $no++;
    }
    ?>
</table>
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			</div>
			<!-- the rest of the content-->
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
		</div>
		
			
	</div>
 
</body>
</html>