Advertisement
Bucurion

Login

Dec 29th, 2015
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. <div class="container" style="margin:50px auto;max-width:650px;">
  2.  
  3. <?php echo isset($_SESSION['auth_message']) ? $_SESSION['auth_message'] : FALSE; ?>
  4.  
  5. <div class="row">
  6. <div class="col-lg-6 col-lg-offset-2">
  7.  
  8. <h1 style="text-align:center;">Login</h1>
  9.  
  10. <?php echo $this->session->flashdata('message'); ?>
  11. <?php echo form_open('', array('class'=>'form-horizontal')); ?>
  12. <div class="form-group">
  13. <?php echo form_label('Username','identity'); ?>
  14. <?php echo form_error('identity'); ?>
  15. <?php echo form_input('identity','','class="form-control"');?>
  16. </div>
  17. <div class="form-group">
  18. <?php echo form_label('Password','password');?>
  19. <?php echo form_error('password'); ?>
  20. <?php echo form_password('password','','class="form-control"'); ?>
  21. </div>
  22. <div class="form-group">
  23. <label>
  24. <?php echo form_checkbox('remember','1', FALSE); ?> Remember me
  25. </label>
  26. </div>
  27. <?php echo form_submit('submit', 'Log in', 'class="btn btn-primary btn-lg btn-block"'); ?>
  28.  
  29. <?php echo form_close();?>
  30. </div>
  31. </div>
  32. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement