Cylul007 Webshell
Server :
Linux ip-148-66-134-25.ip.secureserver.net 3.10.0-1160.119.1.el7.tuxcare.els10.x86_64 #1 SMP Fri Oct 11 21:40:41 UTC 2024 x86_64
php :
8.0.30
on
cgi-fcgi
Time
25 Nov 2024 18:52:46
Current Directory :
/
home
/
amvm
/
public_html
/
kakrakalan
/
myadmin
/
Upload File :
Mass Deface
Home
Bypass Passwd
Current File : /home/amvm/public_html/kakrakalan/myadmin/update-fee.php
<?php include('header.php');?> <!-- =============================================== --> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Update Fee Structure </h1> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li> <li><a href="#">Update Fee Structure</a></li> <li class="active">Update</li> </ol> </section> <!-- Main content --> <section class="content"> <div class="callout callout-info"> <h4>Tip!</h4> <p>This page will use to do any update the fee structure.</p> </div> <!-- Default box --> <?php if(isset($_GET['edit_id'])) { $fee_id = $_GET['edit_id']; $get_single_record = "select * from fee where id = '$fee_id'"; } if (isset($_POST['edit'])) { print_r($_POST); $fee_title = $_POST['title']; $fee_detail = $_POST['detail']; $escape_desc = mysql_escape_string($fee_detail); $sql_query = "UPDATE `fee` SET `title` = '$fee_title', `detail` = '$escape_desc' WHERE id = '$fee_id'"; $mysql_2 = mysqli_query($mysql_con, $sql_query); if ($mysql_2 == 1){ echo "<script>window.location.href = 'fee.php';</script>"; } else { echo 'Something going wrong'; } /* // print_r($post); //header("Location: pages.php"); //print_r($mysql_2); exit(); */ } $result = mysqli_query($mysql_con, $get_single_record); $row = mysqli_fetch_array($result); ?> <!-- Main content --> <section class="content"> <div class="row"> <!-- form start --> <form method="Post" role="form" enctype="multipart/form-data"> <div class="box-body"> <div class="form-group"> <div class="row"> <div class="col-md-12"> <div class="box box-info"> <div class="box-header"> <h3 class="box-title">Add fee detail </h3> <!-- tools box --> <!-- /. tools --> </div> <div class="form-group"> <label for="exampleInputEmail1">Fee Title</label> <input type="text" name="title" class="form-control" value="<?php echo $row['title']; ?>" id="exampleInputEmail1" placeholder="Enter class"> </div> <!-- /.box-header --> <div class="box-body pad"> <label for="exampleInputEmail1">Detail</label> <textarea id="editor1" name="detail" rows="10" cols="80"> <?php echo $row['detail']; ?> </textarea> </div> <div class="box-footer"> <button type="submit" name="edit" value="submit" class="btn btn-primary">Submit</button> </div> </div> </div> </div> <!-- /.box --> </div> <!-- /.col--> </div> </form> </div> </section> <!-- /.content --> </div> <!-- /.content-wrapper --> <script src="plugins/jQuery/jquery-2.2.3.min.js"></script> <!-- Bootstrap 3.3.6 --> <script src="bootstrap/js/bootstrap.min.js"></script> <!-- FastClick --> <script src="plugins/fastclick/fastclick.js"></script> <!-- AdminLTE App --> <script src="dist/js/app.min.js"></script> <!-- AdminLTE for demo purposes --> <script src="dist/js/demo.js"></script> <!-- CK Editor --> <script src="https://cdn.ckeditor.com/4.5.7/standard/ckeditor.js"></script> <!-- Bootstrap WYSIHTML5 --> <script src="plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js"></script> <script> $(function () { // Replace the <textarea id="editor1"> with a CKEditor // instance, using default configuration. CKEDITOR.replace('editor1'); //bootstrap WYSIHTML5 - text editor $(".textarea").wysihtml5(); }); </script> <!-- /.content --> </div> <!-- /.content-wrapper --> <?php include("footer.php"); ?>
./LuLlaby007 ♥ Tata Cantik - Copyright 2k18