Şuanki Dizin: /home/wwwdreamtechnolo/www/spmsolapur.org/mis_software/ |
Şuanki Dosya : /home/wwwdreamtechnolo/www/spmsolapur.org/mis_software/s.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($_POST['submit'])) { $to_class = $_POST['to_class']; $to_division = $_POST['to_division']; $to_medium = $_POST['to_medium']; $to_year = $_POST['to_year']; $total_rows = $_POST['f_counter']; for($x=0;$x<$total_rows;$x++) { if(isset($_POST['count_'.$x])) { $count = $_POST['count_'.$x]; $data = array(); $data = $db->get_all_student_info($count); if(!empty($data)) { $res_id = $data[0]; $res_class = $data[1]; $res_medium = $data[2]; $res_division = $data[3]; $res_roll_no = $data[4]; $res_surname = $data[5]; $res_stud_name = $data[6]; $res_father_name = $data[7]; $res_mother_name = $data[8]; $res_stud_cont = $data[9]; $res_father_cont = $data[10]; $res_mother_cont = $data[11]; $res_residential_no = $data[12]; $res_address = $data[13]; $res_corres_add = $data[14]; $res_child_desc = $data[15]; $res_email = $data[16]; $res_aadhar_no = $data[17]; $res_religion = $data[18]; $res_caste = $data[19]; $res_category = $data[20]; $res_mother_tongue = $data[21]; $res_nationality = $data[22]; $res_birth_palce = $data[23]; $res_birth_date = $data[24]; $res_gender = $data[25]; $res_last_school = $data[26]; $res_admission_date = $data[27]; $res_blood_group = $data[28]; $res_height = $data[29]; $res_weight = $data[30]; $res_student_image = $data[31]; $res_birth_certi = $data[32]; $res_caste_certi = $data[33]; $res_adv_board = $data[34]; $res_news_paper = $data[35]; $res_teachers = $data[36]; $res_friends = $data[37]; $res_ex_students = $data[38]; $res_pre_class = $data[39]; $res_other = $data[40]; $res_remarks = $data[41]; $res_no_of_pupil = $data[42]; $res_stud_id_for_lc = $data[43]; $res_father_quali = $data[44]; $res_father_occu = $data[45]; $res_father_income = $data[46]; $res_father_office_add = $data[47]; $res_father_resident_add= $data[48]; $res_mother_qualifi = $data[49]; $res_mother_occupa = $data[50]; $res_mother_income = $data[51]; $res_mother_office_add = $data[52]; $res_mother_resident_add= $data[53]; $certifi_no = $data[54]; $progress = $data[55]; $conduct = $data[56]; $leaving_school_date = $data[57]; $standard_sinse_when = $data[58]; $leaving_school_reason = $data[59]; $res_date = $data[60]; $res_time = $data[61]; $res_gr_no = $data[62]; $res_tc_status = $data[63]; $res_birth_district = $data[64]; $res_birth_state = $data[65]; $res_birth_country = $data[66]; $res_acd_year = $data[67]; } $exist_id=$db->get_student_existid($to_year,$res_no_of_pupil); if($exist_id=="") { if($db->save_passed_student_record($to_class,$to_medium,$to_division,$res_roll_no,$res_surname,$res_stud_name,$res_father_name,$res_mother_name,$res_stud_cont,$res_father_cont,$res_mother_cont,$res_residential_no,$res_address,$res_corres_add,$res_child_desc,$res_email,$res_aadhar_no,$res_religion,$res_caste,$res_category,$res_mother_tongue,$res_nationality,$res_birth_palce,$res_birth_date,$res_gender,$res_last_school,$res_admission_date,$res_blood_group,$res_height,$res_weight,$res_student_image,$res_birth_certi,$res_caste_certi,$res_adv_board,$res_news_paper,$res_teachers,$res_friends,$res_ex_students,$res_pre_class,$res_other,$res_remarks,$res_no_of_pupil,$res_stud_id_for_lc,$res_father_quali,$res_father_occu,$res_father_income,$res_father_office_add,$res_father_resident_add,$res_mother_qualifi,$res_mother_occupa,$res_mother_income,$res_mother_office_add,$res_mother_resident_add,$certifi_no,$progress,$conduct,$leaving_school_date,$standard_sinse_when,$leaving_school_reason,$res_date,$res_time,$res_gr_no,$res_tc_status,$res_birth_district,$res_birth_state,$res_birth_country,$to_year)) { $success_msg=11; } else { $success_flag=2; } } else { if($db->update_passed_student_record($to_class,$to_medium,$to_division,$res_roll_no,$res_surname,$res_stud_name,$res_father_name,$res_mother_name,$res_stud_cont,$res_father_cont,$res_mother_cont,$res_residential_no,$res_address,$res_corres_add,$res_child_desc,$res_email,$res_aadhar_no,$res_religion,$res_caste,$res_category,$res_mother_tongue,$res_nationality,$res_birth_palce,$res_birth_date,$res_gender,$res_last_school,$res_admission_date,$res_blood_group,$res_height,$res_weight,$res_student_image,$res_birth_certi,$res_caste_certi,$res_adv_board,$res_news_paper,$res_teachers,$res_friends,$res_ex_students,$res_pre_class,$res_other,$res_remarks,$res_no_of_pupil,$res_stud_id_for_lc,$res_father_quali,$res_father_occu,$res_father_income,$res_father_office_add,$res_father_resident_add,$res_mother_qualifi,$res_mother_occupa,$res_mother_income,$res_mother_office_add,$res_mother_resident_add,$certifi_no,$progress,$conduct,$leaving_school_date,$standard_sinse_when,$leaving_school_reason,$res_date,$res_time,$res_gr_no,$res_tc_status,$res_birth_district,$res_birth_state,$res_birth_country,$to_year,$exist_id)) { $success_msg=1; } else { $success_flag=2; } } } } } $from_date = date("Y-m-d"); $to_date = date("Y-m-d"); $class = ""; $medium = ""; $division = ""; $gr_no = ""; $stud_name = ""; $from_year = ""; /*if(isset($_POST['excel_submit'])) { $from_date = "";//$_POST['from_date']; $to_date = "";//$_POST['to_date']; $class = $_POST['class']; $medium = $_POST['medium']; $division = $_POST['division']; $gr_no = $_POST['gr_no']; $stud_name = $_POST['stud_name']; if($class=="Select Class") { $class=""; } if($medium=="Select Medium") { $medium=""; } if($division=="Select Division") { $division=""; } $_SESSION['search_student_data_from_date'] = $from_date; $_SESSION['search_student_data_to_date'] = $to_date; $_SESSION['search_student_data_from_class'] = $class; $_SESSION['search_student_data_from_medium'] = $medium; $_SESSION['search_student_data_from_division'] = $division; $_SESSION['search_student_data_from_gr_no'] = $gr_no; $_SESSION['search_student_data_from_stud_name'] = $stud_name; header("Location:excel-students-report.php"); }*/ if(isset($_POST['search_btn'])) { $class = $_POST['class']; $medium = $_POST['medium']; $division = $_POST['division']; $gr_no = $_POST['gr_no']; $stud_name = $_POST['stud_name']; $from_year = $_POST['from_year']; if($class=="Select Class") { $class=""; } if($medium=="Select Medium") { $medium=""; } if($division=="Select Division") { $division=""; } if($from_year=="SelectYear") { $from_year=""; } $_SESSION['search_student_data_from_class'] = $class; $_SESSION['search_student_data_from_medium'] = $medium; $_SESSION['search_student_data_from_division'] = $division; $_SESSION['search_student_data_from_gr_no'] = $gr_no; $_SESSION['search_student_data_from_stud_name'] = $stud_name; $_SESSION['search_student_data_from_year'] = $from_year; } else if(isset($_SESSION['search_student_data_from_class'])) { $class = $_SESSION['search_student_data_from_class']; $medium = $_SESSION['search_student_data_from_medium']; $division = $_SESSION['search_student_data_from_division']; $gr_no = $_SESSION['search_student_data_from_gr_no']; $stud_name = $_SESSION['search_student_data_from_stud_name']; } $data = array(); $data = $db->get_student_record_from_date1($from_date,$to_date,$class,$medium,$division,$gr_no,$stud_name,$from_year); ?> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper" style=" min-height:200px !important;"> <form method="POST" autocomplete="off" action="<?php echo $_SERVER['PHP_SELF'] ?>"> <section class="content"> <div class="row"> <div class="col-md-12"> <div class="card card-primary"> <div class="card-header"> <h3 class="card-title">Student Forward Class</h3> <div class="card-tools"> <button type="button" class="btn btn-tool" data-card-widget="collapse" data-toggle="tooltip" title="Collapse"> <i class="fas fa-minus"></i></button> </div> </div> <div class="card-body"> <div class="row"> <div class="form-group col-lg-3"> <label>Select Department:</label> <select name="class" class="form-control"> <?php if($class!="") { $class_data = $db->get_class_title_master_details($class); $res_class = $class_data[1]; ?> <option value="<?php echo $class; ?>"><?php echo $res_class; ?></option> <?php } ?> <option value="Select Class"> Select Department</option> <?php $class_data = array(); $class_data = $db->get_all_class_title_master_data(); if(!empty($class_data)) { $counter = 0; foreach($class_data as $record) { $res_id = $class_data[$counter][0]; $res_class_title = $class_data[$counter][1]; $res_date = $class_data[$counter][2]; ?> <option value="<?php echo $res_id; ?>"><?php echo $res_class_title; ?></option> <?php $counter++; } } ?> </select> <!--<span class="error_indicator"><?php echo $main_title_error; ?></span>--> </div> <div class="form-group col-lg-3" > <label>* Select Year:</label> <select class="form-control" name="medium"> <?php if($medium!="") { ?> <option value="<?php echo $medium; ?>"><?php echo $medium; ?></option> <?php } ?> <option value="Select Medium">Select Year</option> <option value="1st Year">1st Year</option> <option value="2nd Year">2nd Year</option> <option value="3rd Yeaar">3rd Yeaar</option> </select> </div> <div class="form-group col-lg-3"> <label> Division: </label> <select name="division" class="form-control"> <?php if($division!="") { ?> <option value="<?php echo $division; ?>"><?php echo $division; ?></option> <?php } ?> <option value="Select Division">Select Division</option> <?php $division_data = array(); $division_data = $db->get_all_division_master_data(); if(!empty($division_data)) { $counter = 0; foreach($division_data as $record) { $res_id = $division_data[$counter][0]; $res_division = $division_data[$counter][1]; $res_date = $division_data[$counter][2]; ?> <option value="<?php echo $res_division; ?>"><?php echo $res_division; ?></option> <?php $counter++; } } ?> </select> </div> <div class="form-group col-lg-3"> <label>G.R.NO :</label> <input class="form-control" type="text" name="gr_no" placeholder="Enter GR No" value="<?php echo $gr_no; ?>" /> </div> <div class="form-group col-lg-3"> <label>Student Name:</label> <input class="form-control" type="text" name="stud_name" placeholder="Enter Student Name" value="<?php echo $stud_name; ?>" /> </div> <div class="form-group col-lg-3"> <label>Select Year:</label> <select name="from_year" class="form-control"> <option value="SelectYear"> Select Year</option> <?php $data1 = array(); $data1 = $db->get_all_acd_year_master_data(); if(!empty($data1)) { $counter = 0; foreach($data1 as $record) { $res_id = $data1[$counter][0]; $res_acd_year = $data1[$counter][1]; $res_date = $data1[$counter][2]; ?> <option value="<?php echo $res_id;?>" <?php if($from_year==$res_id){?>Selected <?php } ?>><?php echo $res_acd_year;?></option> <?php $counter++; } } ?> </select> </div> <!-- end of form-group col-lg-3--> <div class="form-group col-lg-3"> <label>-</label><br /> <button type="submit" class="btn btn-success" name="search_btn">Search</button> </div> </div> <!-- /.col -- </div>--> <!-- /.row --> </div> <!-- /.col --> </div> <!-- /.row --> </section> </form> </div> <!-- /.card --> </div> </div> <?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