SHOW:
|
|
- or go back to the newest paste.
| 1 | <?php | |
| 2 | session_start(); | |
| 3 | error_reporting(0); | |
| 4 | - | include 'dbconnect.php'; |
| 4 | + | /*** ketik problem anda dibawah ini |
| 5 | - | if(!isset($_SESSION['email'])){
|
| 5 | + | masalah saya adalah bla-bla |
| 6 | - | echo "<script>alert('Silahkan login terlebih dahulu')</script>";
|
| 6 | + | solusi yang di inginkan |
| 7 | - | echo "<meta http-equiv='refresh' content='0; url=../index.php'>"; |
| 7 | + | bla-bla bla |
| 8 | - | } else {
|
| 8 | + | */ |
| 9 | - | ?> |
| 9 | + | /* ketik coding PHP anda dibawah ini */ |
| 10 | - | <!DOCTYPE html> |
| 10 | + | |
| 11 | - | <html> |
| 11 | + | |
| 12 | - | <head> |
| 12 | + | |
| 13 | - | <meta charset="UTF-8"> |
| 13 | + | /*** |
| 14 | - | <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> |
| 14 | + | pesan error apa yang diterima |
| 15 | - | <title>Admin - Sistem Inventori</title> |
| 15 | + | |
| 16 | - | <!-- Google Fonts --> |
| 16 | + | */ |
| 17 | - | <link href="https://fonts.googleapis.com/css?family=Roboto:400,700&subset=latin,cyrillic-ext" rel="stylesheet" type="text/css"> |
| 17 | + | |
| 18 | - | <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" type="text/css"> |
| 18 | + | /* end of file */ |
| 19 | - | <!-- Bootstrap Core Css --> |
| 19 | + |