Şuanki Dizin: /home/wwwdreamtechnolo/public_html/kpmim.org/admin/ |
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/kpmim.org/admin/evaluation-feedback.php |
<?php require_once("lib/functions.php"); $db = new login_function(); $flag = 0; $actual_image_name=""; $success_msg = 0; $image_error=""; $department_error=""; $succ_flag= 0 ; $department = ""; $description=""; $succ_flag = 0; if(!isset($_SESSION['current_login_admin'])) { header("Location:/admin/index.php"); } if(isset($_SESSION['current_login_admin'])) { $email = $_SESSION['current_login_admin']; } if(isset($_GET['delete_id'])) { $del_id = $_GET['delete_id']; $db->delete_evaluation_feedback($del_id); $success_msg = 2; } ?> <?php require_once('header.php'); ?> <div id="page-wrapper"> <div class="row"> <div class="col-lg-12"> <h1 class="page-header">Student Feedback Report</h1> <?php if($succ_flag == 1) { ?> <div class="alert alert-success"> Images Saved Successfully. </div> <?php } ?> <?php if($success_msg == 2) {?> <div class="alert alert-danger"> Images Deleted Successfully. </div> <?php } ?> </div> </div> <div class="row"> <div class="col-lg-12"> <div class="panel panel-default"> <div class="panel-heading"> Student Feedback Report </div> <!-- /.panel-heading --> <div class="panel-body"> <div class="table-responsive"> <table class="table table-striped table-bordered table-hover"> <thead> <tr> <th width="50">Sr. No</th> <th>Department</th> <th>Class</th> <th>Semester</th> <th>Teacher Name</th> <th>Subject Taught</th> <th width="30"> Time 1</th> <th width="30"> Time 2</th> <th width="30"> Time 3</th> <th width="30"> Time 4</th> <th width="30"> Subject 1</th> <th width="30"> Subject 2</th> <th width="30"> Subject 3</th> <th width="30"> Subject 4</th> <th width="30"> Subject 5</th> <th width="30"> Subject 6</th> <th width="30"> Subject 7</th> <th width="30"> Subject 8</th> <th width="30"> Method 1</th> <th width="30"> Method 2</th> <th width="30"> Method 3</th> <th width="30"> Method 4</th> <th width="30"> Method 5</th> <th width="30"> Helping 1</th> <th width="30"> Helping 2</th> <th width="30"> Helping 3</th> <th width="30"> Helping 4</th> <th width="30"> Helping 5</th> <th width="30"> Helping 6</th> <th width="30"> Helping 7</th> <th width="30"> Class 1</th> <th width="30"> Class 2</th> <th width="30"> Class 3</th> <th width="30"> Class 4</th> <th width="30"> Class 5</th> <th width="30"> Class 6</th> <th width="300">Remark</th> <th width="50">Action</th> </tr> </thead> <tbody> <?php $report_details = $db->get_all_evaluation_feedback(); if(!empty($report_details)) { $counter =0; foreach($report_details as $record) { $id = $report_details[$counter][0]; $department = $report_details[$counter][1]; $class = $report_details[$counter][2]; $semester = $report_details[$counter][3]; $teacher = $report_details[$counter][4]; $taught = $report_details[$counter][5]; $time1 = $report_details[$counter][6]; $time2 = $report_details[$counter][7]; $time3 = $report_details[$counter][8]; $time4 = $report_details[$counter][9]; $subject1 = $report_details[$counter][10]; $subject2 = $report_details[$counter][11]; $subject3 = $report_details[$counter][12]; $subject4 = $report_details[$counter][13]; $subject5 = $report_details[$counter][14]; $subject6 = $report_details[$counter][15]; $subject7 = $report_details[$counter][16]; $subject8 = $report_details[$counter][17]; $method1 = $report_details[$counter][18]; $method2 = $report_details[$counter][19]; $method3 = $report_details[$counter][20]; $method4 = $report_details[$counter][21]; $method5 = $report_details[$counter][22]; $helping1 = $report_details[$counter][23]; $helping2 = $report_details[$counter][24]; $helping3 = $report_details[$counter][25]; $helping4 = $report_details[$counter][26]; $helping5 = $report_details[$counter][27]; $helping6 = $report_details[$counter][28]; $helping7 = $report_details[$counter][29]; $class1 = $report_details[$counter][30]; $class2 = $report_details[$counter][31]; $class3 = $report_details[$counter][32]; $class4 = $report_details[$counter][33]; $class5 = $report_details[$counter][34]; $class6 = $report_details[$counter][35]; $remark = $report_details[$counter][36]; ?> <tr> <td><?php echo $counter+1; ?></td> <td><?php echo $department; ?></td> <td><?php echo $class; ?></td> <td><?php echo $semester; ?></td> <td><?php echo $teacher; ?></td> <td><?php echo $taught; ?></td> <td><?php echo $time1; ?></td> <td><?php echo $time2; ?></td> <td><?php echo $time3; ?></td> <td><?php echo $time4; ?></td> <td><?php echo $subject1; ?></td> <td><?php echo $subject2; ?></td> <td><?php echo $subject3; ?></td> <td><?php echo $subject4; ?></td> <td><?php echo $subject5; ?></td> <td><?php echo $subject6; ?></td> <td><?php echo $subject7; ?></td> <td><?php echo $subject8; ?></td> <td><?php echo $method1; ?></td> <td><?php echo $method2; ?></td> <td><?php echo $method3; ?></td> <td><?php echo $method4; ?></td> <td><?php echo $method5; ?></td> <td><?php echo $helping1; ?></td> <td><?php echo $helping2; ?></td> <td><?php echo $helping3; ?></td> <td><?php echo $helping4; ?></td> <td><?php echo $helping5; ?></td> <td><?php echo $helping6; ?></td> <td><?php echo $helping7; ?></td> <td><?php echo $class1; ?></td> <td><?php echo $class2; ?></td> <td><?php echo $class3; ?></td> <td><?php echo $class4; ?></td> <td><?php echo $class5; ?></td> <td><?php echo $class6; ?></td> <td><?php echo $remark; ?></td> <td><a href="evaluation-feedback.php?delete_id=<?php echo $id;?>" onclick="return confirm('Are you sure?');">Delete</a></td> </tr> <?php $counter ++; } }else { ?> <td colspan="38">No Data Found...</td> <?php } ?> </tbody> </table> </div> <!-- /.table-responsive --> </div> <!-- /.panel-body --> </div> <!-- /.panel --> </div> <!-- /.col-lg-6 --> </div> </div> </div> </div> </div> </div> </div> </div> </body> </html>
Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4