PHP Classes

File: source/application/views/panel/password.php

Recommend this page to a friend!
  Classes of ask sa sa   Rimau waf   source/application/views/panel/password.php   Download  
File: source/application/views/panel/password.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Rimau waf
Application to configure Web server module options
Author: By
Last change:
Date: 1 year ago
Size: 1,374 bytes
 

Contents

Class file image Download
<div class="row">
       
        <div class="col-xs-12" >
       
            <div class="form-horizontal">
               


               
                <div class="form-group">
               
                <label class="col-sm-3 control-label no-padding-right" for="form-field-2"> Old Password </label>

                <div class="col-sm-9">
                    <input type="password" id="oldpass" placeholder="Old Password" class="col-xs-10 col-sm-5" />
                </div>
                </div>
                <div class="space-4">
                   
                </div>

                <div class="form-group">
                <label class="col-sm-3 control-label no-padding-right" for="form-field-3"> New Password </label>

                <div class="col-sm-9">
                    <input type="password" id="newpass" placeholder="New Password" class="col-xs-10 col-sm-5" />
                </div>
               
                </div>
               
               
            </div>
        </div>
        <div class="col-xs-12">
            <div class="col-xs-3"></div>
            <div class="col-xs-9">
                <div class="form-group">
                    <button id="changepass">Change Password</button>
                </div>
            </div>
        </div>
    </div>
<script>

$('#changepass').click(function(){
    $.post('panel/ubahpassword',{old:$('#oldpass').val(),new:$('#newpass').val()},function(data){
       
        if(data == 'hoi'){
            alert('Wrong Old Password')
        }
        else{
            $('#paparx').html('<div class="alert alert-success" role="info">The Password Succes Change</div>').fadeIn();
        }
       
    });
});

$(document).ready(function() {
    clearTimeout(lari);
    clearTimeout(livelog);
});
</script>