File manager - Edit - /home/gyanmanjari-lms/htdocs/lms.gyanmanjari.co.in/student/leave_form.php
Back
<?php include '../helpers/helpers.php'; checkLogin('student'); include '../config/config.php'; $uid=$_SESSION['user']['id']; $s=$conn->query("SELECT * FROM students WHERE user_id=$uid")->fetch_assoc(); ?> <html><head><link rel="stylesheet" href="../assets/css/style.css"></head> <body> <div class="card"> <h2>Leave Application</h2> <form action="submit_leave.php" method="post"> <input value="<?= $s['student_id'] ?>" name="student_id" readonly> <input value="<?= $s['name'] ?>" name="student_name" readonly> <input value="<?= $s['standard'] ?>" name="standard" readonly> <input value="<?= $s['class'] ?>" name="class" readonly> <input value="<?= $s['roll_no'] ?>" name="roll_no" readonly> <input value="<?= $s['phone'] ?>" name="phone" readonly> <input value="<?= date('Y-m-d') ?>" name="apply_date" readonly> <input name="subject" placeholder="Subject"> <textarea name="reason" placeholder="Reason"></textarea> From <input type="date" name="start_date"> To <input type="date" name="end_date"><br> <label><input type="checkbox" name="informed_parents" value="Yes"> Parents Informed</label> <button>Submit</button> </form></div></body></html>
| ver. 1.4 |
Github
|
.
| PHP 8.3.14 | Generation time: 0.03 |
proxy
|
phpinfo
|
Settings