Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>Halaman Login</title>
- <link href="<?php echo base_url(); ?>/assets/images/javawebmedia.png" rel="shortcut icon">
- <link href="<?php echo base_url(); ?>/assets/css/style-admin.css" rel="stylesheet" type="text/css">
- </head>
- <body>
- <section class="login">
- <h1>Login Page</h1>
- <?php
- // Cetak session
- if($this->session->flashdata('sukses')) {
- echo '<p class="warning" style="margin: 10px 20px;">'.$this->session->flashdata('sukses').'</p>';
- }
- // Cetak error
- echo validation_errors('<p class="warning" style="margin: 10px 20px;">','</p>');
- ?>
- <form action="<?php echo base_url('login') ?>" method="post">
- <p>
- <label for="username">Username</label>
- <input type="text" name="username" id="username" placeholder="Username">
- </p>
- <p>
- <label for="password">Password</label>
- <input type="password" name="password" id="password" placeholder="Password">
- </p>
- <p>
- <input type="submit" name="submit" id="submit" value="Login" class="full">
- </p>
- </form>
- <footer>Web design by <a href="http://javawebmedia.com" title="School of graphic & web design" target="_blank">Java Web Media</a></footer>
- </section>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement