Server : Apache
System : Linux iZ6xhqomji47p1Z 5.10.134-15.al8.x86_64 #1 SMP Thu Jul 20 00:44:04 CST 2023 x86_64
User : www ( 1000)
PHP Version : 8.1.30
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Directory :  /www/wwwroot/fsjlkj.cn/template/pc/users/
Upload File :
Current Directory [ Writeable ] Root Directory [ Writeable ]


Current File : /www/wwwroot/fsjlkj.cn/template/pc/users/users_change_pwd.htm
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>修改密码-{eyou:global name='web_name' /}</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    {eyou:static file="users/skin/css/basic.css" /}
    {eyou:static file="users/skin/css/eyoucms.css" /}
    {eyou:include file="users/skin/css/diy_css.htm" /}
    {eyou:static file="/public/static/common/js/jquery.min.js"/}
    {eyou:static file="/public/plugins/layer-v3.1.0/layer.js"/}
    {eyou:static file="users/skin/js/global.js"/}
    <style type="text/css">
        #theForm_s .form-group{
            margin:10px 0px;
        }
    </style>
</head>
<body>
<div class="changepass">
    <form name='theForm_s' id="theForm_s" method="post">
        <div class="modal-body">
            <div class="form-group">
                <input type="password" name="oldpassword" required class="form-control" autocomplete="off" placeholder="原密码">
            </div>
            
            <div class="form-group">
                <input type="password" name="password" required class="form-control" autocomplete="off" placeholder="新密码">
            </div>
            
            <div class="form-group">
                <input type="password" name="password2" required data-password="password" autocomplete="off" class="form-control" placeholder="确认密码">
            </div>
        </div>

        <div class="modal-footer">
            <button type="button" class="btn btn-primary" onclick="checkUser();" style="width:100%">确定</button>
        </div>
    </form>
</div>

<script type="text/javascript">
    function checkUser(){
        var parentObj = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
        layer_loading('正在处理');
        $.ajax({
            url: "{eyou:url link='user/Users/change_pwd' /}",
            data: $('#theForm_s').serialize(),
            type:'post',
            dataType:'json',
            success:function(res){
                layer.closeAll();
                if(res.code == 1){
                    parent.layer.close(parentObj);
                    parent.layer.msg(res.msg, {time: 1000});
                }else{
                    showErrorMsg(res.msg);
                }
            },
            error : function(e) {
                layer.closeAll();
                showErrorAlert(e.responseText);
            }
        });
    };
</script>

</body>
</html>