pbootcms会员中心代码模板 会员信息修改页面模板
<form action="{pboot:umodify}" method="post"> <div class="form-group"> <label for="username">用户名:</label> <div> {user:username} </div> </div> <div class="form-group"> <label for="hidden">头像:</label> <input type="hidden" name="headpic" class="headpic" value="{user:headpic}" > <div style="height:100px; width:100px; border:1px solid #ccc; margin-bottom:5px; border-radius:2px"> <img src="{user:headpic}" class="headpic" style="max-width:100%;max-height:100%"> </div> <buttom class="btn btn-success upload" data-target=".headpic" >上传</buttom> </div> <div class="form-group"> <label for="useremail">邮箱:</label> <div> <input type="text" name="useremail" value="{user:useremail}" autocomplete="off" class="form-control" placeholder="请输入邮箱账号"> </div> </div> <div class="form-group"> <label for="usermobile">手机:</label> <div> <input type="text" name="usermobile" value="{user:usermobile}" autocomplete="off" class="form-control" placeholder="请输入手机号码"> </div> </div> <div class="form-group"> <label for="nickname">昵称:</label> <div> <input type="text" name="nickname" value="{user:nickname}" autocomplete="off" class="form-control" placeholder="请输入账号昵称"> </div> </div> <div class="form-group"> <label for="password">新密码:</label> <div> <input type="password" name="password" class="form-control" autocomplete="off" placeholder="请输入新登录密码"> </div> </div> <div class="form-group"> <label for="rpassword">确认密码:</label> <div> <input type="password" name="rpassword" class="form-control" autocomplete="off" placeholder="请再次输入新登录密码"> </div> </div> <div class="form-group"> <label for="sex">性别:</label> <div> <select class="form-control" name="sex" id="sex"> <option value="男" {pboot@if('{user:sex}'=='男')}selected{/pboot@if}>男</option> <option value="女" {pboot@if('{user:sex}'=='女')}selected{/pboot@if}>女</option> </select> </div> </div> <div class="form-group"> <label for="birthday">生日:</label> <div class="input-group date form_date" style="max-width:200px;" > <input class="form-control" name="birthday" id="birthday" value="{user:birthday}" readonly type="text"> <div class="input-group-prepend input-group-addon"> <div class="input-group-text"><span class="fa fa-calendar"></span></div> </div> </div> </div> <div class="form-group"> <label for="nickname">QQ:</label> <div> <input type="text" name="qq" value="{user:qq}" autocomplete="off" class="form-control" placeholder="请输入QQ号码"> </div> </div> <div class="form-group"> <label for="opassword">当前密码:<span class="red">*</span></label> <div> <input type="password" name="opassword" autocomplete="off" class="form-control" placeholder="请输入当前密码"> </div> </div> <div class="form-group"> <button type="submit" class="btn btn-info">保存</button> <a href="{pboot:ucenter}" class="btn btn-light">返回</a> </div> </form>
如果您的问题还未解决可以联系站长付费协助。
有问题可以加入技术QQ群一起交流学习
本站vip会员 请加入无忧模板网 VIP群(50604020) PS:加入时备注用户名或昵称
普通注册会员或访客 请加入无忧模板网 技术交流群(50604130)
客服微信号:15898888535
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若内容侵犯了原著者的合法权益,可联系站长删除。