Şuanki Dizin: /home/wwwdreamtechnolo/www/spmsolapur.org/mis_software/bkp/ |
Şuanki Dosya : /home/wwwdreamtechnolo/www/spmsolapur.org/mis_software/bkp/student-report.php |
<link rel="stylesheet" href="plugins/fontawesome-free/css/all.min.css"> <!-- Ionicons --> <link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css"> <!-- DataTables --> <link rel="stylesheet" href="plugins/datatables-bs4/css/dataTables.bootstrap4.css"> <!-- Theme style --> <link rel="stylesheet" href="dist/css/adminlte.min.css"> <!-- Google Font: Source Sans Pro --> <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet"> <?php require_once('header.php'); require_once('header-left-section.php'); if(isset($_GET['delete_id'])) { $del_id = $_GET['delete_id']; $res_image = $_GET['res_image']; $res_image1 = $_GET['res_image1']; $res_image2 = $_GET['res_image2']; if($res_image!="") { unlink('student_data/'.$res_image); } if($res_image1!="") { unlink('student_data/'.$res_image1); } if($res_image2!="") { unlink('student_data/'.$res_image2); } $db->delete_student_record($del_id); } $from_date = date("Y-m-d"); $to_date = date("Y-m-d"); $class = ""; $medium = ""; $division = ""; $gr_no = ""; $stud_name = ""; ?> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1>STUDENT REPORT</h1> </div> <div class="col-sm-6"> <ol class="breadcrumb float-sm-right"> <li class="breadcrumb-item"><a href="dashboard.php">Home</a></li> <li class="breadcrumb-item active">Student</li> <li class="breadcrumb-item active">Student Report</li> </ol> </div> </div> </div><!-- /.container-fluid --> </section> <div class="card"> <div class="card-header"> <h3 class="card-title">Student Table</h3> </div> <!-- /.card-header --> <div class="card-body"> <table id="example1" class="table table-bordered table-striped"> <thead> <tr> <th>Sr.No</th> <th>Student Name</th> <th>Department</th> <th>Year</th> <th>Student Contact</th> <th></th> </tr> </thead> <tbody> <?php $data = array(); $data = $db->get_student_record_from_date($acd_year); if(!empty($data)) { $counter = 0; foreach($data as $record) { $res_id = $data[$counter][0]; $res_class = $data[$counter][1]; $res_medium = $data[$counter][2]; $res_division = $data[$counter][3]; $res_roll_no = $data[$counter][4]; $res_surname = $data[$counter][5]; $res_stud_name = $data[$counter][6]; $res_father_name = $data[$counter][7]; $res_mother_name = $data[$counter][8]; $res_stud_cont = $data[$counter][9]; $res_father_cont = $data[$counter][10]; $res_mother_cont = $data[$counter][11]; $res_residential_no = $data[$counter][12]; $res_address = $data[$counter][13]; $res_corres_add = $data[$counter][14]; $res_child_desc = $data[$counter][15]; $res_email = $data[$counter][16]; $res_aadhar_no = $data[$counter][17]; $res_religion = $data[$counter][18]; $res_caste = $data[$counter][19]; $res_category = $data[$counter][20]; $res_mother_tongue = $data[$counter][21]; $res_nationality = $data[$counter][22]; $res_birth_palce = $data[$counter][23]; $res_birth_date = $data[$counter][24]; $res_gender = $data[$counter][25]; $res_last_school = $data[$counter][26]; $res_admission_date = $data[$counter][27]; $res_blood_group = $data[$counter][28]; $res_height = $data[$counter][29]; $res_weight = $data[$counter][30]; $res_student_image = $data[$counter][31]; $res_birth_certi = $data[$counter][32]; $res_caste_certi = $data[$counter][33]; $res_remarks = $data[$counter][34]; $res_no_of_pupil = $data[$counter][35]; $res_stud_id_for_lc = $data[$counter][36]; $res_father_quali = $data[$counter][37]; $res_father_occu = $data[$counter][38]; $res_father_income = $data[$counter][39]; $res_father_office_add = $data[$counter][40]; $res_father_resident_add = $data[$counter][41]; $res_mother_qualifi = $data[$counter][42]; $res_mother_occupa = $data[$counter][43]; $res_mother_income = $data[$counter][44]; $res_mother_office_add = $data[$counter][45]; $res_mother_resident_add = $data[$counter][46]; $res_date = $data[$counter][47]; $res_adv_board = $data[$counter][48]; $res_news_paper = $data[$counter][49]; $res_teachers = $data[$counter][50]; $res_friends = $data[$counter][51]; $res_ex_students = $data[$counter][52]; $res_pre_class = $data[$counter][53]; $res_other = $data[$counter][54]; $res_gr_no = $data[$counter][55]; $class_data = $db->get_class_title_master_details($res_class); $class_name = $class_data[1]; ?> <tr> <td><?php echo $counter+1; ?></td> <td><?php echo $res_surname." ".$res_stud_name." ".$res_father_name; ?></td> <td><?php echo $class_name; ?></td> <td><?php echo $res_medium; ?></td> <td><?php echo $res_stud_cont; ?></td> <td> <a class="btn btn-success btn-sm" href="view-student-details.php?view_id=<?php echo $res_id; ?>"> <i class="fas fa-eye"> </i> View </a> <a class="btn btn-info btn-sm" href="edit-student.php?edit_id=<?php echo $res_id; ?>"> <i class="fas fa-pencil-alt"> </i> Edit </a> <a class="btn btn-danger btn-sm" href="<?php echo $_SERVER['PHP_SELF']."?delete_id=".$res_id; ?>&res_image=<?php echo $res_student_image; ?>&res_image1=<?php echo $res_birth_certi; ?>&res_image2=<?php echo $res_caste_certi; ?>" onclick="return confirm('Are you Sure to Delete This record?');" > <i class="fas fa-trash"> </i> Delete </a> </td> </tr> <?php $counter++; } } else { ?> <tr> <td colspan="5">Student Record Not Available</td> </tr> <?php } ?> <tbody> </table> </div> <!-- /.card-body --> </div> <!-- /.card --> </div> </div> </section> <?php require_once('footer.php'); ?> <script src="plugins/jquery/jquery.min.js"></script> <!-- Bootstrap 4 --> <script src="plugins/bootstrap/js/bootstrap.bundle.min.js"></script> <!-- DataTables --> <script src="plugins/datatables/jquery.dataTables.js"></script> <script src="plugins/datatables-bs4/js/dataTables.bootstrap4.js"></script> <!-- AdminLTE App --> <script src="dist/js/adminlte.min.js"></script> <!-- AdminLTE for demo purposes --> <script src="dist/js/demo.js"></script> <script> $(function () { $("#example1").DataTable(); $('#example2').DataTable({ "paging": true, "lengthChange": false, "searching": false, "ordering": true, "info": true, "autoWidth": false, }); }); </script>
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