

<!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">

<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="HASIL KLASIFIKASI.PHP">HASIL KLASIFIKASI</a></li>
                      <li><a href="index.PHP">LOG OUT</a></li>
                </ul>
            </div>
           
        </div>
    </div>
   <!--/.NAVBAR END-->
        
    <!--/.HEADING END-->

 <section >
             <div class="container">
             <div class="row text-center pad-row">
           
                         <div class="col-md-4  col-sm-12">
                 <i class="fa fa-pencil  fa-5x"></i>
                            <h4> <strong>Unggah Dataset</strong> </h4>
                            <center>
                                
								
								


<form action="perview.import.php" method="POST" enctype="multipart/form-data" name="form1" id="form1">
<pre>Pilih Data :<br><input name="csv" type="file" id="csv"/>
<input type="submit" name="UPLOAD" value="UPLOAD" /></pre>
</form>

								
                            </center>
                       
                </div>

                    
            </div>
                 </div>
         </section>
     
    <!--/.NOTE END-->
     <section id="clients"  >
                        
            <div class="container">
           <div class="row text-center pad-bottom" >
            
                <section  class="note-sec" >
         
               <div class="container">
           <div class="row text-center pad-row" >
            <div class="col-md-8 col-md-offset-2 col-sm-8 col-sm-offset-2 ">
                
               <p></p>
                               
<section class="services"><center><table border="1"width="100%">
<tr><td class="baris-ganjil" colspan="24"><p align="left">
 </td>

    <tr>
        <th><center>NO</center></th>
		<th><center>yt</center></th>
        <th><center>x1</center></th>
        <th><center>x2</center></th>
		<th><center>x3</center></th>
		<th><center>x4</center></th>
		
		
		
		
    </tr>
	
										
                            
                         
                </div>
            <div class="col-md-4  col-sm-4">
                  <i class="fa fa-comments-o fa-5x"></i>
                            <h4> <strong>Tabel Dataset</strong> </h4>
                            <p>
                                
								
								<?php
include "koneksi.php";
$query = mysql_query("SELECT * FROM dataset");
if(!$query){
	die( mysql_error() );
}
$i=1;
while($row = mysql_fetch_array($query)){
    $clas='baris-ganjil';
    echo "<tr class=$clas>
				  <td ><center>$i</center></td>
				  <td ><center>".$row['yt']."</center></td>
				<td ><center>".$row['x1']."</center></td>
				<td ><center>".$row['x2']."</center></td>
				<td ><center>".$row['x3']."</center></td>
				<td ><center>".$row['x4']."</center></td>
				
					 
				 			
				<td ><center>";
			
			?>
			
	<?php
				
				
		echo	"</tr>";
			$i=$i+1;
			if ($clas=='baris-ganjil') 
		     { 
			 $clas='baris-ganjil2';
			 }
		}	
	    echo "</table>";
			mysql_close();
		
	
			 
	?>

                        
                            </p>
                </div>
               </div>
            </div>   
           
       </section>
               </div>
        </div>
        </section>
     <!--/.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>
