2021-09-11 18:54:19 +08:00
|
|
|
<div id="container" class="container mx-auto pt-5" style="max-width:400px">
|
2013-03-25 05:31:45 +08:00
|
|
|
|
2011-08-18 08:16:27 +08:00
|
|
|
<h2>Log in</h2>
|
2013-03-30 20:50:35 +08:00
|
|
|
<?php $this->load->view('layout/messages'); ?>
|
2011-08-18 08:16:27 +08:00
|
|
|
|
|
|
|
|
<form method="post" action="<?php echo site_url('user/login'); ?>" name="users">
|
2021-09-11 18:47:00 +08:00
|
|
|
<input type="hidden" name="id" value="<?php echo $this->uri->segment(3); ?>" />
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="user_name">Username</label>
|
|
|
|
|
<input id="user_name" type="text" name="user_name" class="form-control" value="<?php echo $this->input->post('user_name'); ?>">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="password">Password</label>
|
|
|
|
|
<input id="password" type="password" name="user_password" class="form-control">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<input class="btn-info p-2 col" type="submit" value="Log in" />
|
|
|
|
|
</div
|
2011-08-18 08:16:27 +08:00
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
</div>
|