<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Kumpulan SourceCode 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">
	<script src="assets/js/jquery.js"></script>
    <script src="assets/js/bootstrap.min.js"></script>
	<script src="assets/js/jquery.validate.min.js" type="text/javascript"></script>
	<script type="text/javascript">
	$.validator.setDefaults({
		submitHandler: function() { login(); },
	});
	
	$().ready(function() {
		// validate the comment form when it is submitted
		$("#loginF").validate();
	});
	
	function login(){  
		$("#loading").html('<div class="alert alert-block alert-success">Mohon Tunggu....</div>');  
		
		$.post('cek_login.php', $("form").serialize(), function(hasil){  
		$('form input[type="text"],form input[type="password"]').val('');
		$("#loading").html(hasil);
    });  
} 
</script>
		
    <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 pull-right">
              <li class="active"><a href="index.php">Home</a></li>
			  <li><a href="register.php">Register</a></li>
			  <li class="divider-vertical"></li>
			<li class="dropdown">
				<a class="dropdown-toggle" href="#" data-toggle="dropdown">Log In <strong class="caret"></strong></a>
				<div class="dropdown-menu" style="padding: 15px; padding-bottom: 0px;">
				<div id="loading" style="text-align: center"></div>
                <form action="" id="loginF" name="form" method="post"> 
                 <div class="form-group">
				<label for="username" class="control-label">Username</label>
				<input type="text" class="form-control" id="username" name="username" placeholder="username" data-error="Username anda masih kosong" required>
				<div class="help-block with-errors"></div>
				</div>
				<div class="form-group">
				<label for="inputPassword" class="control-label">Password</label>
				<div class="form-group col-sm-6">
			<input type="password" data-minlength="10" class="form-control" id="password" name="password" placeholder="Password" required>
				</div>
			</div>
                    <input type="submit" class="btn btn-info" value="Login" /> 
                </form> 
				</div>
            </li>
     
            </ul>
          </div><!--/.nav-collapse -->
        </div>
      </div>
    </div>
	
<div class="container">
	  <div class="hero-unit">
      <h2>Selamat datang di Aplikasi KSC Ver 1.0.0</h2>
      <p>Kumpulan Source Code <a href="http://andeznet.com">ANDEZNET</a> </p>
      <p>Untuk Login mohon melakukan <a href="register.php">Register</a> terlebih dahulu</p>
    </div> 
	  
</div> <!-- /container -->

	
</body>

	<div class="row-fluid">
			<div class="span12">
			  <div class="row-fluid">
				<div class="alert alert-info">
					<a name="contact"></a>
				  <h2>www.andeznet.com</h2>
				  <p class="text-info">Gudang Teknologi & Informasi</p>
				  <p>&copy; <a href="http://andeznet.com">www.andeznet.com</a>&nbsp<?php echo date("Y");?></p>
				</div><!--/span-->
			  </div><!--/row-->
			</div><!--/span-->
</div><!--/row-->	
	
	