2013-03-25 05:31:45 +08:00
|
|
|
<!-- JS -->
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript" src="<?php echo base_url() ;?>/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
|
|
|
|
|
<script type="text/javascript" src="<?php echo base_url() ;?>/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
|
|
|
|
|
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="<?php echo base_url() ;?>/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
|
|
|
|
|
|
|
|
|
|
|
2011-11-07 07:09:51 +08:00
|
|
|
<div id="container">
|
2013-03-25 05:31:45 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
<?php if($this->session->flashdata('notice') != '') { ?>
|
|
|
|
|
<div class="alert-message info">
|
|
|
|
|
<?php echo $this->session->flashdata('notice'); ?>
|
|
|
|
|
</div>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<?php if($this->session->flashdata('error') != '') { ?>
|
|
|
|
|
<div class="alert-message error">
|
|
|
|
|
<?php echo $this->session->flashdata('error'); ?>
|
|
|
|
|
</div>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<?php if(validation_errors()) { ?>
|
|
|
|
|
<div class="alert-message error">
|
|
|
|
|
<?php echo validation_errors(); ?>
|
|
|
|
|
</div>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
2011-08-18 08:16:27 +08:00
|
|
|
<h2>Log in</h2>
|
2011-11-07 07:09:51 +08:00
|
|
|
|
2011-08-18 08:16:27 +08:00
|
|
|
|
|
|
|
|
<form method="post" action="<?php echo site_url('user/login'); ?>" name="users">
|
|
|
|
|
<table>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>Username</td>
|
|
|
|
|
<td><input type="text" name="user_name" value="<?php echo $this->input->post('user_name'); ?>"></td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
<td>Password</td>
|
2011-08-19 05:32:10 +08:00
|
|
|
<td><input type="password" name="user_password" /></td>
|
2011-08-18 08:16:27 +08:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
<input type="hidden" name="id" value="<?php echo $this->uri->segment(3); ?>" />
|
|
|
|
|
<div><input type="submit" value="Log in" /></div>
|
|
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
</div>
|