<?php 
include "common/config.php";
include "include/head.php"; ?>
<body>
<?php 
    include "include/head2.php"; 
    ?>
<!--<div class="all-wrapper no-menu-wrapper">-->
  <div class="login-logo-w">
    <a href="index.html" class="logo">
      <i class="icon-cloud-download"></i>
      <span>Sumatra Jakarta Admin</span>
    </a>
  </div>
  <div class="row">
    <div class="col-md-4 col-md-offset-4">
      <div class="content-wrapper bold-shadow">
        <div class="content-inner">
          <div class="main-content main-content-grey-gradient no-page-header">
            <div class="main-content-inner">
            <form action="ceklogin_admin.php" role="form" method="post">
              <h3 class="form-title form-title-first"><i class="icon-lock"></i> Login </h3>
              <div class="form-group">
                <label>Username</label>
                <input type="text" class="form-control" placeholder="Enter username" name="username" id="username">
              </div>
              <div class="form-group">
                <label>Password</label>
                <input type="password" name="password" id="password" class="form-control" placeholder="Password" />
                <input type="hidden" name="status" id="status" value="2" />
              </div>
              
												<?php
												if(isset($_GET['err'])=='1')
												{
												?>
			        								The username/password you entered is incorrect.
												<?php
												}
												elseif(isset($_GET['err'])=='2')
												{
												?>
			        								Sorry, it's not working hour.
												<?php
												}
												?>
              <input type="submit" name="button" id="button" class="btn btn-primary btn-lg" value="Sign in">
              <!--<a href="index.html" class="btn btn-link">Cancel</a>-->
            </form>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
<?php include "include/foot.php"; ?>

</body>

</html>