ok
Direktori : /proc/self/root/proc/self/root/home/keydecors/public_html/admin/pages/ |
Current File : //proc/self/root/proc/self/root/home/keydecors/public_html/admin/pages/changepassword.php |
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>SB Admin 2 - Bootstrap Admin Theme</title> <script src="ckeditor/ckeditor.js"></script> <script src="ckeditor/adapters/jquery.js"></script> <style> #editable { padding: 10px; float: left; } </style> <script> CKEDITOR.disableAutoInline = true; $( document ).ready( function() { $( '#editor1' ).ckeditor(); // Use CKEDITOR.replace() if element is <textarea>. $( '#editable' ).ckeditor(); // Use CKEDITOR.inline(). } ); function setValue() { $( '#editor1' ).val( $( 'input#val' ).val() ); } </script> <script src="js/tabcontent.js" type="text/javascript"></script> <link href="css/tabcontent.css" rel="stylesheet" type="text/css" /> <!-- Bootstrap Core CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <!-- jQuery library --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!-- Latest compiled JavaScript --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> <!-- MetisMenu CSS --> <link href="../bower_components/metisMenu/dist/metisMenu.min.css" rel="stylesheet"> <!-- Timeline CSS --> <link href="../dist/css/timeline.css" rel="stylesheet"> <!-- Custom CSS --> <link href="../dist/css/sb-admin-2.css" rel="stylesheet"> <!-- Custom Fonts --> <link href="../bower_components/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"> <!-- Table CSS --> <link href="css/table.css" rel="stylesheet" type="text/css"> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <div id="wrapper"> <?php include ('sidemenu.php');?> <div id="page-wrapper"> <div class="row"> <div class="col-md-10"> <h2 class="page-header">Change Password</h2> </div> <div> <form id="frm" name="frm" action="changepassword_action.php" method="post" onSubmit="return validate();"> <table> <tr> <td> </td> </tr> <tr> <td> </td> <td> <input style="float:left; margin-top:5px; width:400px;" type="password" name="password_2" id="password_2" placeholder="NEW PASSWORD"/> </td> </tr> <tr> <td> </td> <td> <input style="float:left; margin-top:5px; width:400px;" type="password" name="password_3" id="password_3" placeholder="CONFIRM PASSWORD"/> </td> </tr> <?php if(isset($_GET['msg'])) { echo" <tr> <td> </td> <td> "; if($_GET['msg']==1) { echo "<label style='color:#09192A;'> Password Successfully Changed!..</label></br>"; } else if($_GET['msg']==2) { echo "<label style='color:red;'> Wrong Current Password!..</label></br>"; } else if($_GET['msg']==3) { echo "<label style='color:red;'>Retype Password did not Match!..</label></br>"; } echo" </td> </tr> "; } ?> <tr> <td> </td> <td style="float:left; margin-top:5px;"> <input type="submit" name="submit" id="submit" value="SAVE"/> </td> </tr> </table> </form> </div> </div> </div> <!-- /. PAGE WRAPPER --> </div> <!-- /. WRAPPER --> <script> function validate() { flag=0; p1 = document.frm.password_1.value; p2 = document.frm.password_2.value; p3 = document.frm.password_3.value; if((p1==null) || (p1=='')) { document.frm.password_1.style.border="1px solid red"; flag=1; } else { document.frm.password_1.style.border="1px solid #ccc"; } if((p2==null) || (p2=='')) { document.frm.password_2.style.border="1px solid red"; flag=1; } else { document.frm.password_2.style.border="1px solid #ccc"; } if((p3==null) || (p3=='')) { document.frm.password_3.style.border="1px solid red"; flag=1; } else { document.frm.password_3.style.border="1px solid #ccc"; } if(flag==1) { return false; } } </script> <!-- Bootstrap Core JavaScript --> <!-- Metis Menu Plugin JavaScript --> <script src="../bower_components/metisMenu/dist/metisMenu.min.js"></script> <!-- Custom Theme JavaScript --> <script src="../dist/js/sb-admin-2.js"></script> </body> </html>