Tampilan login.php
scrip login.php
<html>
<head><title>Halaman Login</title></head>
<body bgcolor="CCCCFF">
<meta charset="utf-8">
<style type="text/css">
.login {
margin: 150auto;
width: 400px;
padding: 30px;
border: 2px solid #fff;
}
input[type=text], input[type=password] {
margin: 5px auto;
width: 100%;
padding: 10px;
}
input[type=submit] {
margin 20px auto;
float: right;
padding: 15px;
width: 300px;
bckground:rgba(0,0,0,0,2);
border: 0;
cursor: pointer;
}
</style>
</head>
<body>
<div class="login">
<form method="post" action="input_penjualan.php">
<h3 align="center" class="text-center title-login">toko shendys online</h3>
<input type="text" name="username" placeholder="Masukan Username"><br>
<input type="password" name="pass" placeholder="Masukan Password"><br>
<input type="submit" name="LOGIN" value="LOGIN">
</form>
</div>
</body>
</html>
Input_penjualan.php
scrip input_penjualan
<html>
<head>
<title>Inputan</title>
</head>
<body>
<strong> selamat datang <BR>
toko shendys online</strong>
<HR>
<body bgcolor="CCCCFF">
<meta charset="utf-8">
<style type="text/css">
.login {
margin: 150auto;
width: 400px;
padding: 30px;
border: 2px solid #fff;
}
input[type=text], input[type=password] {
margin: 5px auto;
width: 100%;
padding: 10px;
}
input[type=submit] {
margin 20px auto;
float: right;
padding: 15px;
width: 300px;
bckground:rgba(0,0,0,0,2);
border: 0;
cursor: pointer;
}
</style>
</head>
<body>
<form action="Hitung.php" method="post">
<table border="1">
<tr>
<td>Kode Barang</td>
<td><input type="text" name="Kode" maxlength="10" size="10"></td>
</tr>
<tr>
<td>Nama Barang</td>
<td><input type="text" name="Nama" maxlength="50" size="20"></td>
</tr>
<tr>
<td>Harga</td>
<td><input type="text" name="Harga" maxlength="10" size="10"></td>
</tr>
<tr>
<td>Jumlah</td>
<td><input type="text" name="Jumlah" maxlength="10" size="10"></td>
</tr>
<tr>
<td>Status Member</td>
<td><input type="text" name="Status" maxlength="1" size="1"></td>
</tr>
<tr>
<td colspan="2"><input type="submit" value="B e l i"></td></tr>
</table>
</form>
</body>
</html>
tampilan logout.php
scrip logout.php
<?php
session_start();
unset($_SESSION['namauser']);
echo "<center><h1>Terima kasih atas kunjungan anda</h1>";
echo "<center><h2>Anda telah Berhasil Logout</h2>";
?>
</html>
* tabel data base penjualan
* tabel_pelanggan
*tabel produk
*tabel transaksi
*tabel user
LINK PENJUALAN TOKO SHENDYS ONLINE "SHENDYS.HOL.ES"
SHENDYS AYU INDRAYANI (TI-VID)
A2.1400151
Silakan tinggalkan komentar anda. DILARANG KERAS menyimpan link blog/web pada komentar dengan tujuan backlink, Spam.