74 lines
964 B
PHP
74 lines
964 B
PHP
<?php
|
|
session_start();
|
|
include "db.php";
|
|
|
|
if(!isset($_SESSION['login'])){
|
|
header("Location: login.php");
|
|
exit();
|
|
}
|
|
|
|
$table = $_GET['table'];
|
|
|
|
?>
|
|
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Search</title>
|
|
|
|
<style>
|
|
|
|
body{
|
|
font-family:Arial;
|
|
background:#f0f0f0;
|
|
}
|
|
|
|
.container{
|
|
width:500px;
|
|
background:white;
|
|
margin:100px auto;
|
|
padding:30px;
|
|
border-radius:10px;
|
|
}
|
|
|
|
input{
|
|
width:100%;
|
|
padding:10px;
|
|
margin-bottom:15px;
|
|
}
|
|
|
|
button,a{
|
|
padding:10px 15px;
|
|
border:none;
|
|
background:#333;
|
|
color:white;
|
|
text-decoration:none;
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<div class="container">
|
|
|
|
<h2>SEARCH NO AKAUN</h2>
|
|
|
|
<form method="GET" action="papar.php">
|
|
|
|
<input type="hidden" name="table" value="<?php echo $table; ?>">
|
|
|
|
<input type="text" name="noakaun" placeholder="Masukkan No Akaun" required>
|
|
|
|
<button type="submit">SEARCH</button>
|
|
|
|
</form>
|
|
|
|
<br>
|
|
|
|
<a href="pilih_table.php">KEMBALI</a>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|