File manager - Edit - /home/gyanmanjari-lms/htdocs/lms.gyanmanjari.co.in/security/dashboard.php
Back
<?php include '../helpers/helpers.php'; checkLogin('security'); include '../config/config.php'; $result = $conn->query("SELECT * FROM leave_requests WHERE status='Approved' ORDER BY id DESC"); ?> <html> <head> <link rel="stylesheet" href="../assets/css/style.css"> </head> <body> <div class="card"> <h2>Security Dashboard</h2> <table border=1><tr><th>ID</th><th>Student Name</th><th>Class</th><th>Roll</th><th>Subject</th><th>Start</th><th>End</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['start_date'] ?></td><td><?= $r['end_date'] ?></td></tr> <?php endwhile; ?></table> <a href="../logout.php">Logout</a> </div> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 8.3.14 | Generation time: 0.03 |
proxy
|
phpinfo
|
Settings