pbootcms會(huì)員中心代碼模板 會(huì)員信息修改頁面模板
<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="請(qǐng)輸入郵箱賬號(hào)"> </div> </div> <div class="form-group"> <label for="usermobile">手機(jī):</label> <div> <input type="text" name="usermobile" value="{user:usermobile}" autocomplete="off" class="form-control" placeholder="請(qǐng)輸入手機(jī)號(hào)碼"> </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="請(qǐng)輸入賬號(hào)昵稱"> </div> </div> <div class="form-group"> <label for="password">新密碼:</label> <div> <input type="password" name="password" class="form-control" autocomplete="off" placeholder="請(qǐng)輸入新登錄密碼"> </div> </div> <div class="form-group"> <label for="rpassword">確認(rèn)密碼:</label> <div> <input type="password" name="rpassword" class="form-control" autocomplete="off" placeholder="請(qǐng)?jiān)俅屋斎胄碌卿浢艽a"> </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="請(qǐng)輸入QQ號(hào)碼"> </div> </div> <div class="form-group"> <label for="opassword">當(dāng)前密碼:<span class="red">*</span></label> <div> <input type="password" name="opassword" autocomplete="off" class="form-control" placeholder="請(qǐng)輸入當(dāng)前密碼"> </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>
如果您的問題還未解決可以聯(lián)系站長付費(fèi)協(xié)助。

有問題可以加入技術(shù)QQ群一起交流學(xué)習(xí)
本站vip會(huì)員 請(qǐng)加入無憂模板網(wǎng) VIP群(50604020) PS:加入時(shí)備注用戶名或昵稱
普通注冊(cè)會(huì)員或訪客 請(qǐng)加入無憂模板網(wǎng) 技術(shù)交流群(50604130)
客服微信號(hào):15898888535
聲明:本站所有文章資源內(nèi)容,如無特殊說明或標(biāo)注,均為采集網(wǎng)絡(luò)資源。如若內(nèi)容侵犯了原著者的合法權(quán)益,可聯(lián)系站長刪除。