Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $page = @$_GET['page'];
- $action = @$_GET['action'];
- if($page == "barang") {
- if($action == "") {
- include "inc/barang.php";
- } else if($action == "tambah") {
- include "inc/tambah_barang.php";
- }
- } else if($page == "pelanggan") {
- include "inc/tambah_pelanggan.php";
- } else if($page == "penjualan") {
- echo "Ini halaman penjualan ";
- } else if($page == "") {
- echo "Selamat datang dihalaman utama";
- } else {
- echo "404 Halaman tidak ditemukan";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement