<?php 
include "koneksi.php";
if (isset($_SESSION["UserID"]))
{
	header("location:index.php");
}
?>
<!DOCTYPE html>
<link rel="stylesheet" type="text/css" href="style.css">
<html>
  <head>
	<title> PT MULTI HYDRACHROM BALIKPAPAN </title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<?php
		include "part/jss.php";
	?>
	
	
  </head>
  <body>

  <center><h2>Silahkan melakukan Login kembali setelah anda lama meninggalkan SYSTEM PERSIS!</h2></center>
  <div class="container">
	
		
					
					<?php
						include "part/menu2.php";
					?>
			
			
		<div class="alert alert-info" align='center'>
				<?php
					if (isset($_GET["p"]))
					{
						$p=$_GET["p"];
						if ($p=="1")
						{
							?>
								<div class="alert alert-warning">
								  Username dan password yang anda masukkan tidak terdaftar
								</div>
							<?php
						}
						else if ($p=="2")
						{
							?>
								<div class="alert alert-primary" role="alert">
								  Anda berhasil melakukan logout
								</div>
							<?php
						}
						else if ($p=="3")
                        {
							?>
								<div class="alert alert-primary" role="alert">
								  Anda tidak berhak mengakses halaman tersebut
								</div>
							<?php
						}
						else if ($p=="4")
                        {
							?>
								<div class="alert alert-primary" role="alert">
								  Anda tidak melakukan login
								</div>
							<?php
						}
						else if ($p=="5")
                        {
							?>
								<div class="alert alert-primary" role="alert">
								  Registrasi Berhasil!
								</div>
							<?php
						}
						else if ($p=="6")
                        {
							?>
								<div class="alert alert-primary" role="alert">
								  Anda belum dikonfirmasi oleh admin
								</div>
							<?php
						}
					}
				?>
				
				 <?php
        
        
       ?>
				
				<form method="post" name="login" action="checklogin.php">
				
					<table border=0 align="center" cellpadding=5 cellspacing=0>
					<tr>
					</tr>
					<tr>
					<td>Username</td>
					<td>:</td>
					<td><input type="text" name="username"></td>
					</tr>
					<tr>
					<td>Password</td>
					<td>:</td>
					<td><input type="password" name="password"></td>
					</tr>
					<tr>
					<td colspan=2></td>
					<td><input type="submit" name="submit" class="btn btn-danger" value="LOGIN">
					
					</tr>
					<tr>
					</tr>
					</table>
				</form>
				
				<form>
  
				
		</div>		
	</div>
  </body>
</html>




