

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
	<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
    <meta name="description" content="" />
    <meta name="author" content="" />
    <!--[if IE]>
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <![endif]-->
    <title> KLASIFIKASI STATUS EKONOMI</title>
    <!-- BOOTSTRAP CORE STYLE CSS -->
    <link href="assets/css/bootstrap.css" rel="stylesheet" />
    <!-- FONTAWESOME STYLE CSS -->
    <link href="assets/css/font-awesome.min.css" rel="stylesheet" />
    <!-- CUSTOM STYLE CSS -->
    <link href="assets/css/style.css" rel="stylesheet" />    
    <!-- GOOGLE FONT -->
    <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />

</head>
<body >
    
    <div class="navbar navbar-inverse navbar-fixed-top" >
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="#">ZAMALUDIN ARSYAD</a>
            </div>
            <div class="navbar-collapse collapse">
                <ul class="nav navbar-nav navbar-right">
                    <li><a href="admin.php">BERANDA</a></li>
                     <li><a href="DATASET.PHP">DATASET</a></li>
                    <li><a href="ANALISA.PHP">ANALISA</a></li>
						<li><a href="ANALISA2.PHP">INPUT DATA</a></li>
                    <li><a href="HASIL KLASIFIKASI3.PHP">HASIL KLASIFIKASI</a></li>
                      <li><a href="index.PHP">LOG OUT</a></li>
                </ul>
            </div>
           
        </div>
    </div>
   <!--/.NAVBAR END-->
         <section id="BERANDA" class="text-center">
         
                <div id="carousel-example" class="carousel slide" data-ride="carousel">

                    <div class="carousel-inner">
                        <div class="item active">

                            <img src="assets/img/1.jpg" alt="" />
                            <div class="carousel-caption" >
                                <h2 class="back-light">KLASIFIKASI STATUS EKONOMI MASYARAKAT DENGAN METODE K-NEAREST NEIGHBOR
 </div>
                        </div>
                        <div class="item">
                            <img src="assets/img/2.jpg" alt="" />
                            <div class="carousel-caption ">
                                <h2 class="back-light">KLASIFIKASI STATUS EKONOMI MASYARAKAT DENGAN METODE K-NEAREST NEIGHBOR </div>
                        </div>
                        <div class="item">
                            <img src="assets/img/3.jpg" alt="" />
                            <div class="carousel-caption ">
                                <h2 class="back-light">KLASIFIKASI STATUS EKONOMI MASYARAKAT DENGAN METODE K-NEAREST NEIGHBOR </div>
                        </div>
                    </div>

                    <ol class="carousel-indicators">
                        <li data-target="#carousel-example" data-slide-to="0" class="active"></li>
                        <li data-target="#carousel-example" data-slide-to="1"></li>
                        <li data-target="#carousel-example" data-slide-to="2"></li>
                    </ol>
                </div>
           
       </section>
    <!--/.HEADING END-->

  
     
    <!--/.NOTE END-->
      
     <center><pre>   <table border="0">                          
<?php
include 'koneksi.php';
$id = $_GET['id'];
$query = mysql_query("select * from admin where id=$id");
while ($q = mysql_fetch_array($query)) {
 ?>

    <form  method="POST" enctype="multipart/form-data" action="update.php" align="center" >
  
        <tr><td colspan="2"><h1>Form Edit Pengguna</h1></td></tr>
 
         <tr><td><input type="hidden" name="id" value="<?php echo $id ?>">Nama Lengkap</td>
                <td><input type="text" name="nama" id="RegisterUsername" value="<?php echo $q['nama_lengkap'] ?>" ></td></tr>
              
			  <tr><td colspan="2"><h5>   </h5></td></tr>
			  
                <tr><td>Username</td>
                <td><input type="text" name="Username" id="RegisterUsername" value="<?php echo $q['username'] ?>"></td></tr>
              
			  <tr><td colspan="2"><h5>   </h5></td></tr>
			  
                <tr><td>Email</td>
                <td><input type="email" name="Email" id="RegisterEmail" value="<?php echo $q['Email'] ?>"></td></tr>
             
          <tr><td colspan="2"><h1>  Data diri</h1></td></tr>

                
                <tr><td>Jenis Kelamin</td>
               <td> <select id="RegisterSex" name="Jkel" value="<?php echo $q['Jkel'] ?>">
                    <option value="pria">Pria</option>
                    <option value="wanita">Wanita</option>
                </select></td></tr>
				
				<tr><td colspan="2"><h5>   </h5></td></tr>
            
                <tr><td>Level Admin</td>
                <td><select id="level" name="level" value="<?php echo $q['level'] ?>" >
                     <option value="super_admin">super_admin</option>
                    <option value="admin">admin</option>
                </select></td></tr>
				
				<tr><td colspan="2"><h5>   </h5></td></tr>
            
                 <tr><td>Status Admin</td>
                <td><select id="status" name="status"  value="<?php echo $q['status'] ?>" >
                     <option value="Tunggu Di Konfirmasi">Tunggu Di Konfirmasi</option>
                    <option value="Aktif">Aktif</option>
                </select></td></tr>
            

            

 <tr><td colspan="2">
           <input type="reset" value="Hapus Form">    <input type="submit" value="Update" name="update_pengguna">
       
        </td> </tr>
    </form>
<?php
 }
mysql_close();
?>
</TABLE></p> </center>
</td>
        
		
    
     <!--/.CLIENTS END-->
           
    <!--/.FOOTER END-->
    <!-- JAVASCRIPT FILES PLACED AT THE BOTTOM TO REDUCE THE LOADING TIME  -->
    <!-- CORE JQUERY  -->
    <script src="assets/plugins/jquery-1.10.2.js"></script>
    <!-- BOOTSTRAP SCRIPTS  -->
    <script src="assets/plugins/bootstrap.js"></script>
  <!-- CUSTOM SCRIPTS  -->
    <script src="assets/js/custom.js"></script>
</body>
</html>
