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
/
lawfiles
/
Viewing: editlawfile.php
<?php include('../layouts/navbar.php'); include('managelawfile.php'); $id = $_GET['updateid']; $data = previousdata($conn, $id); if (isset($_POST['update'])) { update($conn, $id, $_POST); } ?> <script src="../js/bootstrap.bundel.min.js"> </script> <div class="" id="editnotice" style="margin-top: 125px;"> <div class="modal-dialog"> <div class="modal-content"> <!-- Modal Header --> <div class="modal-header"> <h4 class="modal-title">Edit Research & Publications</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="" value="<?php echo $data['title']; ?>" name="title" required> </div> <div class="mb-3"> <label for="recipient-name" class="col-form-label">Published By:</label> <input type="text" class="form-control" id="" value="<?php echo $data['name']; ?>" name="name" required> </div> <div class="mb-3"> <label for="recipient-name" class="col-form-label">Category:</label> <!-- <input type="text" class="form-control" id="" name="name" required> --> <select name="category" class="form-control" required> <option value>Select Category</option> <option value="Reports">Reports</option> <option value="Articles">Articles</option> <option value="Books">Books</option> <option value="Manuals">Manuals</option> <option value="Others">Others</option> </select> </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=".xlsx,.xls,image/*,.doc, .docx,.ppt, .pptx,.txt,.pdf"> <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</p> </div> </div> <!-- Modal footer --> <div class="modal-footer"> <button type="submit" class="btn btn-primary" name="update">Submit</button> </div> </form> </div> </div> </div>
Coded With 💗 by
HanzOFC