Файловый менеджер - Редактировать - /home/amitahospital/public_html/amita_master/changepass.php
Назад
<?php include("include/header1.php"); if(!empty($_POST['chgPwd'])){ $new= $_POST['new_pwd']; $re= $_POST['re_pwd']; if($new==$re){ $obj->chg_pwd(); } else{ $obj->getErrorMsg("Error: Re-type password not match, please try again..."); } } ?> <!-- Left side column. contains the logo and sidebar --> <aside class="main-sidebar"> <!-- sidebar: style can be found in sidebar.less --> <section class="sidebar"> <!-- Sidebar user panel --> <!-- /.search form --> <!-- sidebar menu: : style can be found in sidebar.less --> <?php include ('include/sidebar.php'); ?> <?php include 'include/admin-menu.php'; ?> </section> <!-- /.sidebar --> </aside> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <?php if(!empty($obj->errorMsg)){ ?> <section class="content-header" id="error"> <div class="row"> <div class="col-md-12"> <div class="alert alert-success alert-dismissable" > <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> <h4><i class="icon fa fa-check"></i><?php echo $obj->errorMsg; ?></h4> </div> </div> </div> </section> <?php } ?> <section class="content-header"> <h1> Change Password </h1> <div class="col-lg-12"> <ol class="breadcrumb"> <li><a href="admin-dashboard.php"><i class="fa fa-dashboard"></i> Dashboard</a></li> <li class="active">Change Password</li> </ol> </div> </section> <section class="content"> <div class="row"> <!-- left column --> <div class="col-md-12"> <div class="box box-primary"> <!-- <div class="box-header with-border"> <h3 class="box-title"></h3> </div>--> <!-- form start --> <form role="form" method="post" action="changepass.php"> <div class="box-body"> <div class="form-group"> <label for="exampleInputEmail1">Current Password</label> <input type="password" name="current_pwd" class="form-control" required id="current_pwd" placeholder="Current password"> </div> <div class="form-group"> <label for="exampleInputPassword1">New Password</label> <input type="password" name="new_pwd" required class="form-control" id="new_pwd" placeholder="New password"> </div> <div class="form-group"> <label>Re-Password</label> <input type="password" name="re_pwd" required id="re_pwd" class="form-control" placeholder="Re-password"> </div> <input type="hidden" name="news" value="1"> <?php if(isset($row)== TRUE){ ?> <input type="hidden" name="news_id" value="<?= $row['news_id']?>" /> <input type="hidden" name="news_photo" value="<?= $row['news_photo']?>" /> <?php } ?> <input type="submit" name="submit" value="Change" class="btn btn-primary"> <button type="reset" name="reset" class="btn btn-primary">Reset News</button> <input type="hidden" name="chgPwd" value="1"> </div> </form> <!-- /.box-body --> </div> <!-- /.box --> </div> <!-- right column --> <!-- /.row --> </section> <!-- /.content --> <!-- Main content --> <!-- /.content --> </div> <!-- /.content-wrapper --> <?php include 'include/footer.php'; ?> <div class="control-sidebar-bg"></div> </div> <!-- ./wrapper --> <script src="plugins/jQuery/jQuery-2.1.4.min.js"></script> <script type="text/javascript"> function muldelete() { element_lenght= vnews.elements.length; for(i=0;i<element_lenght;i++) { if(vnews.elements[i].name=="mul_del[]") { if(vnews.elements[i].checked==true) { if(confirm("Are you sure delete record(s)?")) { this.vnews.submit(); break; } } } } } </script> <script src="js/jquery.min.js"></script> <script type="text/javascript" src="js/jquery.mousewheel.min.js"></script> <script type="text/javascript" src="js/jquery.dateselect.js"></script> <script src="js/jquery-ui.min.js"></script> <script> $.widget.bridge('uibutton', $.ui.button); </script> <script src="bootstrap/js/bootstrap.min.js"></script> <script src="plugins/sparkline/jquery.sparkline.min.js"></script> <script src="plugins/jvectormap/jquery-jvectormap-1.2.2.min.js"></script> <script src="plugins/jvectormap/jquery-jvectormap-world-mill-en.js"></script> <script src="plugins/knob/jquery.knob.js"></script> <script src="plugins/datatables/jquery.dataTables.min.js"></script> <script src="plugins/datatables/dataTables.bootstrap.min.js"></script> <script src="plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js"></script> <script src="plugins/slimScroll/jquery.slimscroll.min.js"></script> <script src="plugins/fastclick/fastclick.min.js"></script> <script src="dist/js/app.min.js"></script> <script> $(function () { $("#example1").DataTable(); $('#example2').DataTable({ "paging": true, "lengthChange": false, "searching": false, "ordering": true, "info": true, "autoWidth": true }); }); </script> <script src="js/core.js"></script> <script src="js/zebra_datepicker.js"></script> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Генерация страницы: 0.07 |
proxy
|
phpinfo
|
Настройка