Created
September 27, 2018 11:15
-
-
Save fannyhasbi/2ff04a4eede9366d3723cab6ed50bfc6 to your computer and use it in GitHub Desktop.
Just an ordinary index page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php session_start(); ?> | |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>YOYOYOY</title> | |
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> | |
| </head> | |
| <body> | |
| <div class="container-fluid"> | |
| <div class="jumbotron alert-warning text-center"> | |
| <h1>Selamat Datang</h1> | |
| <h2><?php echo isset($_SESSION['username']) ? $_SESSION['username'] : 'Hooraay!!'; ?></h2> | |
| <a href="./login.php" class="btn btn-success btn-lg">Login</a> | |
| </div> | |
| </div> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment