
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<?php 
error_reporting(0);
?>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <meta name="description" content="" />
    <meta name="author" content="" />
	<error_rporting(0)>
    <!--[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-->

 
<script src="js/jquery.flexslider-min.js" type="text/javascript"></script>
	<script src="js/functions.js" type="text/javascript"></script>
	  <style type="text/css">
      
     body{
    font-family: "Helvetica", "Arial", sans-serif;
    font-size: 12px;
}

form {
    margin: 0 auto;
    width: 960px;
}

form > h1 {
    border-bottom: 1px solid #E5E5E5;
    font-size: 1.5em;
    line-height: 2.5em;
    margin-bottom: 1em;
    text-align: center;
    width: 100%;
}

fieldset {
    border: none;
}

fieldset > legend {
    font-size: 1.25em;
    line-height: 2.5em;
}

input {
    display: inline-block;
    vertical-align: center;
}

input:required:invalid,
input:focus:invalid,
input:required:valid {
    background-position: 97.5% center;
    background-repeat: no-repeat;
}

input:required:invalid,
input:focus:invalid {
    background-image: url("http://i.imgur.com/NSaK8yt.png");
}

input:required:valid {
    background-image: url("http://i.imgur.com/ttb7yp4.png");
}

input[type=submit],
input[type=reset] {
    background: linear-gradient(to bottom, #FFFFFF, #E6E6E6);
    border: 1px solid #999;
    margin: 4px 10px;
    padding: 5px;
    width: 100px;
}

input[type=submit]:hover,
input[type=reset]:hover {
    cursor: pointer;
}

input[type=submit]:active,
input[type=reset]:active {
    background: #D4D4D4;
}

input[type=submit] {
    background: linear-gradient(to bottom, #0088CC, #0044CC);
    border: 1px solid #0088CC;
    color: #FFF;
}

input[type=submit]:active {
    background: #0044CC;
}

select,
input[type*=date],
input[type=text],
input[type=tel], 
input[type=email],
input[type=url],
input[type=password] {
    border: 1px solid #CCC;
    border-radius: 5px;
    padding: 5px;
    width: 225px;
}

select:focus,
input:focus {
    border-color: rgba(82, 168, 236, 0.8);
    border-radius: 5px;
    box-shadow: inset 
                0 
                1px 1px 
                rgba(0, 0, 0, 0.075), 
                0 0 8px 
                rgba(82, 168, 236, 0.6);
    outline: 0;
}

.control-group {
    margin: 10px 0;
}

.control-group > label {
    display: inline-block;
    text-align: right;
    width: 20%;
}

#FormAction {
    border-top: 1px solid #C5C5C5;
    margin-bottom: 1em;
    text-align: center;
    width: 100%;
}
    </style>

   <nav id="navigation">
			<div class="shell">
				<ul>
  <section class="services" >

		<?php
//include 'koneksi.php';
//$sql9 = mysql_query("TRUNCATE TABLE spek_data");	
//$k=$_POST['k'];
//$v=$_POST['v'];
//$jd=$_POST['jd'];
//$jtr=$_POST['jtr'];
//$ts=$jd-$jtr;
//$x=100;
//$v2=$jd*$v;
//$v1=$v2/$x;
//$v3=$jd-$v1;
//$query = "INSERT INTO spek_data(k,v,jd,tr,ts) VALUES('$k','$v','$jd','$v3','$v1')";
//$data2y = mysql_query($query);

?>		
			
<center>

			
			
			
			<center><PRE><table>
			<form method="POST" enctype="multipart/form-data" action="save3.php">
		<tr><td colspan="2"><H3> MASUKAN DATA BARU UNTUK PROSES KLASIFIKASI</H3> </td></tr>	
		<tr><td><H4>NAMA : </td><td><input type="text" name="nama"></td></tr>	
		<tr><td><H4>PENDIDIKAN : </td><td><select type="text" name="t1" id="RegisterUsername" required>
		<option value="1"> SD
				<option value="2"> SMP
				<option value="3"> SLTA
				<option value="4"> D3
				<option value="5"> S1
				</select>
		</td></tr>	
		<tr><td><H4>JUMLAH TANGGUNGAN : </td><td><input type="text" name="t2"></td></tr>	
		<tr><td><H4>JENIS USAHA :</td><td><select type="text" name="t3" id="RegisterUsername" required>
		<option value="1"> DAGANG
				<option value="2"> JASA
				</select>
		</td></tr>	
		<tr><td><H4>PENDAPATAN :</td><td><input type="text" name="t4"></td></tr>	
		<tr><td colspan="2"><P ALIGN="RIGHT"><input type="submit" value="PROSES"></form>
			<?php
			
			//$t1=$_POST['t1'];
			//$t2=$_POST['t2'];
			//$t3=$_POST['t3'];
			//$t4=$_POST['t4'];
			 //$sql9 = mysql_query("TRUNCATE TABLE datapredik");	
			//$query = "INSERT INTO datapredik(t1,t2,t3,t4) VALUES('$t1','$t2','$t3','$t4')";
			  // $hasil = mysql_query($query);
			?></td></tr></P>
			</table></center>

	
	
	<!--hitung nilai k-->
	 

</table>


                        
                            </p>
                </div>
               </div>
            </div>   
           
       </section>       
		
		
		</td></tr></table>


</section>
	
	
    <!--/.NOTE END-->
     <section id="clients"  >
        
                
            <div class="container">
           <div class="row text-center pad-bottom" >
            <div class="col-md-12">
               
			   
			   
			   
			   
			   
            </div>
               
               </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>
