Domain: amberpublishers.in
Server Adress: 86.38.243.169
privdayz.com
<?php require('Common/Header.php');
$certi_id = $_GET['certi_id'];
$enroll_no = $_GET['enroll_no'];
$certi_name = $_GET['certi_name'];
goback($certi_name);
goback($enroll_no);
goback($certi_id);
$get_stu_data = mysqli_query($conn, "SELECT * FROM `student_data` where enroll_no = '$enroll_no'");
$get_stu_data_f = mysqli_fetch_assoc($get_stu_data);
$stu_name = $get_stu_data_f['full_name'];
$course_name = $get_stu_data_f['course'];
$father = $get_stu_data_f['father'];
if ($certi_name == 'Diploma Certificate') {
$textarea = "This DIPLOMA Certificate is awarded to Mr. $stu_name S/o Mr $father for having successfully completed UG Diploma in $course_name during session 2020-21 and he has secured
First Division with Distinction.
";
$input_certi_name = "DIPLOMA CERTIFICATE";
}elseif($certi_name == 'Bonafied'){
$input_certi_name = "TO WHOM IT MAY CONCERN";
$textarea = "This is to certify that $stu_name S/o Mr. $father is a bonafied student of $course_name II Semester and deposited his fee of Rs. 13162/- for II Semester of this University.
";
}elseif($certi_name == 'Provisional Degree'){
$input_certi_name = "PROVISIONAL DEGREE";
$textarea = "This is to certify that $stu_name S/o $father has passed the Final Year Examination for the Degree of $course_name in the Examination of 2023, and that he/she is placed in the FIRST DIVISION WITH DISTINCTION.";
}
?>
<div class="container-fluid">
<div class="row">
<div class="col-12 shadow p-5 bg-white">
<form method="POST" action="other_certi_down.php" enctype="multipart/form-data" class="border p-3" style="margin:auto">
<div class="row">
<div class="col-12">
<h4 class="text-center label-color h5"><?php echo $certi_name ?></h4>
</div>
<input type="hidden" name="certi_name" value="<?php echo $input_certi_name ?>">
<div class="col-lg-6 col-12 mb-3">
<label class="form-label">Enroll. No.</label>
<input type="text" name="enroll_no" value="<?php echo $enroll_no ?>" class="form-control" required>
</div>
<div class="col-lg-6 col-12 mb-3">
<label class="form-label">Certificate No.</label>
<input type="text" name="certi_no" value="" class="form-control" required>
</div>
<div class="col-lg-6 col-12 mb-3">
<label class="form-label">Date</label>
<input type="date" name="date" class="form-control" required>
</div>
<div class="col-12 mb-3">
<textarea name="certificate_info" class="form-control" required>
<?php echo $textarea ?>
</textarea>
</div>
<div class="col-12 mb-3 text-center mt-4">
<button type="submit" class="btn btn-primary pl-5 pr-5 pt-2 pb-2" name="submit">Generate</button>
</div>
</div>
</form>
</div>
</div>
</div>
<?php require('Common/Footer.php') ?>
<script>
CKEDITOR.replace('certificate_info');
</script>
</body>
</html>
