<?php 
include "koneksi.php"; 
session_start();
if (!isset($_SESSION['namauser']) || empty($_SESSION['namauser'])) {
    //Jika Username kosong makan akan redirect ke halaman login
    header('location:index.php?status=Silahkan Login');
}

?>

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Kumpulan Contoh Aplikasi Andeznet</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <!-- Le styles -->
	    <link href="assets/css/bootstrap.css" rel="stylesheet" media="screen">
        <link href="assets/css/bootstrap-responsive.min.css" rel="stylesheet" media="screen">
		 <link href="assets/css/bootstrap.min.css" rel="stylesheet" media="screen">
		<link href="assets/css/easypiechart/jquery.easy-pie-chart.css" rel="stylesheet" media="screen">
		
    <style>
      body {
        padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
      }
    </style>
    <link href="assets/css/bootstrap-responsive.css" rel="stylesheet">

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="../assets/js/html5shiv.js"></script>
    <![endif]-->

    <!-- Fav and touch icons -->
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="assets/ico/apple-touch-icon-144-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/ico/apple-touch-icon-114-precomposed.png">
      <link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/ico/apple-touch-icon-72-precomposed.png">
                    <link rel="apple-touch-icon-precomposed" href="assets/ico/apple-touch-icon-57-precomposed.png">
                                   <link rel="shortcut icon" href="assets/ico/logoandeznet.png">
  </head>

  <body>
  
   <div class="navbar navbar-inverse navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container">
          <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="brand" href="http://andeznet.com">AndezNet</a>
          <div class="nav-collapse collapse">
            <ul class="nav">
              <li class="active"><a href="media.php">Home</a></li>
			    
				<li class="dropdown">
					<a class="dropdown-toggle" data-toggle="dropdown" href="#">Contoh Aplikasi<b class="caret"></b></a>
				<ul class="dropdown-menu">
				 <li>
                 <a tabindex="-1" href="statistik.php">Statistik Pendaftar</a>
                </li>
				<li>
                 <a tabindex="-1" href="backuprestore.php">Backup Restore</a>
                </li>
				<li>
				<a tabindex="-1" href="carialamat.php">Pencarian Alamat</a>
				</li>
				<li>
				<a tabindex="-1" href="playerbootsrap/index.html">MP3 Player</a>
				</li>
				</ul>
				</li>
				
			  <li><a href="#">About</a></li>
			<li>
			<a href="logout.php" id="logout" onclick="return confirm('Apakah Anda yakin?')">
				<i class="ace-icon fa fa-power-off"></i>
				Logout
			</a>
			</li>
            </ul>
          </div><!--/.nav-collapse -->
        </div>
      </div>
    </div>
