日期:2014-05-17 浏览次数:20495 次
<form name="UsersForm" id="UsersForm" onSubmit="return validateForm(this.id, 'http://127.0.0.1/qd2/index.php/home/validateLoginForm')" action="http://127.0.0.1/qd2/index.php/home/login" method="POST"> <table class="formTable"> <tr> <th><label for="login_email">Email</label></th> <td><input size="40" type="text" name="login[email]" id="login_email" /></td> </tr> <tr> <th><label for="login_password">Password</label></th> <td><input size="40" type="password" name="login[password]" id="login_password" /></td> </tr> <tr> <td colspan="2"> <table> <tr> <td><input type="submit" value="Login" /></td> <td><div id="formLoadingContainer"></div></td> </tr> </table> </td> </tr> <tr> <td colspan="2"><a href="#" onclick="yuiShowPanel('Restore Password','http://127.0.0.1/qd2/index.php/home/restorePassword'); return false;">Password forgotten?</a></td> </tr> </table> <input type="hidden" name="http_referer" id="http_referer" value="http://127.0.0.1/qd2/index.php" /></form> </div> </div> </div> <div class="patch_minheight"></div> <div id="footer_guarantor"></div> </div>
class Welcome extends CI_Controller { public function index() { $this->load->view('welcome_message'); } }