迅睿CMS框架是一款PHP8高性能·简单易用的CMS开源开发框架,基于MIT开源许可协议发布,免费且不限制商业使用,是免费开源的产品,以万端互联为设计理念,支持的微信公众号、小程序、APP客户端、移动端网站、PC网站等多终端式管理系统。
联系官方销售客服
1835022288
028-61286886
我仿了一个注册登录页面,但是我提交注册提示系统错误,谁能帮我写一下这个注册和登陆表单。
<form id="sign-in" style="display: block;" method="post" novalidate="novalidate"> {$form} <div class="form-item" style="text-align:center"><a href="{SITE_URL}"><img class="logo-login" src="{HOME_THEME_PATH}images/logo.png" alt="{SITE_NAME}"></a></div> <div class="form-item"> <input type="text" name="data[username]" class="form-control" placeholder="用户名/邮箱"> <i class="icon icon-user"></i></div> <div class="form-item"> <input type="password" name="data[password]" class="form-control" placeholder="密码"><i class="icon icon-lock"></i></div> <div class="sign-submit"> <button type="button" onclick="dr_ajax_member('{dr_now_url()}', 'sign-in');" class="btn signinsubmit-loader"> 登录 </button> </div> </form>
<form id="sign-up" name="sign-up" style="display: none;" method="post" novalidate="novalidate"> {$form} <div class="form-item" style="text-align:center"><a href="{SITE_URL}"><img class="logo-login" src="{HOME_THEME_PATH}images/logo.png" alt="{SITE_NAME}"></a></div> <div class="form-item"> <input type="text" name="data[username]" id="dr_username" class="form-control" placeholder="用户名"> <i class="icon icon-user"></i></div> <div class="form-item"> <input type="email" name="email" class="form-control" id="user_email" placeholder="邮箱"> <i class="icon icon-mail"></i></div> <div class="form-item" id="dr_row_password"> <input type="password" name="data[password]" id="dr_password" class="form-control" autocomplete="off" placeholder="密码"> <i class="icon icon-lock"></i></div> <div class="form-item" id="dr_row_password2"> <input type="password" name="data[password2]" id="dr_password2" class="form-control" autocomplete="off" placeholder="密码"> <i class="icon icon-lock"></i></div> <div class="sign-submit"> <button type="button" class="btn signupsubmit-loader" onclick="dr_ajax_member('{dr_now_url()}', 'sign-up');"> 立即注册</button> </div> </form>
<form id="sign-in" style="display: block;" method="post" novalidate="novalidate"> {dr_form_hidden()} <div class="form-item" style="text-align:center"><a href="{SITE_URL}"><img class="logo-login" src="{HOME_THEME_PATH}images/logo.png" alt="{SITE_NAME}"></a></div> <div class="form-item"> <input type="text" name="data[username]" class="form-control" placeholder="用户名/邮箱"> <i class="icon icon-user"></i></div> <div class="form-item"> <input type="password" name="data[password]" class="form-control" placeholder="密码"><i class="icon icon-lock"></i></div> <div class="sign-submit"> <button type="button" onclick="dr_ajax_member('{dr_now_url()}', 'sign-in');" class="btn signinsubmit-loader"> 登录 </button> </div> </form>