详情页

帝国cms会员基本页面

时间:2023年07月10日

编辑:佚名

修改会员安全信息页面
第一部分:
<?php
if(!defined('InEmpireCMS'))
{
exit();
}
?>
<?php
$public_diyr['pagetitle']='修改资料';
$url="<a href=../../../>首页</a> > <a href=../cp/>会员中心</a> > 修改安全信息";
?>
第二:引入公共头部:
<?php
require(ECMS_PATH.'e/template/incfile/header.php');
?>
第三:密码安全修改表单
  <form name=userinfoform method=post enctype="multipart/form-data" action=../doaction.php>
    <input type=hidden name=enews value=EditSafeInfo>
用户名:<?=$user[username]?>
原密码:<input name='oldpassword' type='password' id='oldpassword' size="38" maxlength='20'>
新密码:<input name='password' type='password' id='password' size="38" maxlength='20'>
确认新密码:<input name='repassword' type='password' id='repassword' size="38" maxlength='20'>
邮箱:<input name='email' type='text' id='email' value='<?=$user[email]?>' size="38" maxlength='50'>
提交按钮:<input type='submit' name='Submit' value='修改信息'>
  </form>
第四:引入公共底部
<?php
require(ECMS_PATH.'e/template/incfile/footer.php');
?>
相关文章
猜你需要