Server IP : 101.255.104.117 / Your IP : 101.255.104.117 Web Server : Apache/2.4.34 (Win32) OpenSSL/1.0.2o PHP/5.6.38 System : Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586 User : user ( 0) PHP Version : 5.6.38 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : D:/xampp182/htdocs/repository/application/views/ |
Upload File : |
<!-- Main content --> <section class='content'> <div class='row'> <div class='col-xs-12'> <div class='box'> <div class='box-header'> <h3 class='box-title'>UBAH PASSWORD</h3> <?php if ($this->session->flashdata('message') == 'true'): ?> <div class="alert alert-success" style="border: 1px solid black"><center>Berhasil mengganti password</center></div> <?php endif; ?> <div class='box box-primary'> <form action="<?php echo $action; ?>" method="post"><table class='table table-bordered'> <tr><td>New Password</td> <td><input type="password" class="form-control" name="new_password" id="myInput" placeholder="New Password"/> <div class="form-check"> <input type="checkbox" onclick="myFunction()" class="form-check-input" id="exampleCheck1"> <label class="form-check-label" for="exampleCheck1">Show Password</label> </div> </td> <tr><td colspan='2'><button type="submit" class="btn btn-primary">Save</button> </td></tr> </table></form> </div><!-- /.box-body --> </div><!-- /.box --> </div><!-- /.col --> </div><!-- /.row --> </section><!-- /.content --> <script> function myFunction() { var x = document.getElementById("myInput"); if (x.type === "password") { x.type = "text"; } else { x.type = "password"; } } </script>