html代码
注册登录
记住用户名
忘记密码
【退出】
js代码
php代码
=['username'=['pwd'(=='' || ==''->ajaxReturn(('status'=>0,'info'=>'帐号密码不能为空','url'=>'' = D("User"=->getFields("account='".."' and password='".()."'"((->ajaxReturn(('status'=>0,'info'=>'登录失败','url'=>'''account',['account'=U('index/index'->ajaxReturn(('status'=>1,'info'=>'登录成功','url'=>
</span><span style="color: #0000ff;">public</span> <span style="color: #0000ff;">function</span><span style="color: #000000;"> loginout(){
session(</span>'account',<span style="color: #0000ff;">null</span><span style="color: #000000;">);
</span><span style="color: #800080;">$this</span>->redirect('index/index'<span style="color: #000000;">);
}</span></pre>
model代码
getFields( ->where()->
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。