Şuanki Dizin: /home/wwwdreamtechnolo/public_html/swamipolytechnic.org/old2/grievance/admin/ |
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/swamipolytechnic.org/old2/grievance/admin/student-report.php |
<?php ob_start(); require_once('lib/functions.php'); $db = new db_functions(); if(!isset($_SESSION['login_admin_user_id'])) { header("location:index.php"); } $flag = 0; $success_flag = 0; 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); } ?> <!-- Author: W3layouts Author URL: http://w3layouts.com License: Creative Commons Attribution 3.0 Unported License URL: http://creativecommons.org/licenses/by/3.0/ --> <!DOCTYPE HTML> <html> <head> <title> <?php echo $application_title; ?> </title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="keywords" content="Novus Admin Panel Responsive web template, Bootstrap Web Templates, Flat Web Templates, Android Compatible web template, SmartPhone Compatible web template, free WebDesigns for Nokia, Samsung, LG, SonyEricsson, Motorola web design" /> <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script> <!-- Bootstrap Core CSS --> <link href="css/bootstrap.css" rel='stylesheet' type='text/css' /> <!-- Custom CSS --> <link href="css/style.css" rel='stylesheet' type='text/css' /> <!-- font CSS --> <!-- font-awesome icons --> <link href="css/font-awesome.css" rel="stylesheet"> <!-- //font-awesome icons --> <!-- js--> <script src="js/jquery-1.11.1.min.js"></script> <script src="js/modernizr.custom.js"></script> <!--webfonts--> <link href='//fonts.googleapis.com/css?family=Roboto+Condensed:400,300,300italic,400italic,700,700italic' rel='stylesheet' type='text/css'> <!--//webfonts--> <!--animate--> <link href="css/animate.css" rel="stylesheet" type="text/css" media="all"> <script src="js/wow.min.js"></script> <script> new WOW().init(); </script> <!--//end-animate--> <!-- chart --> <script src="js/Chart.js"></script> <!-- //chart --> <!--Calender--> <link rel="stylesheet" href="css/clndr.css" type="text/css" /> <script src="js/underscore-min.js" type="text/javascript"></script> <script src= "js/moment-2.2.1.js" type="text/javascript"></script> <script src="js/clndr.js" type="text/javascript"></script> <script src="js/site.js" type="text/javascript"></script> <!--End Calender--> <!-- Metis Menu --> <script src="js/metisMenu.min.js"></script> <script src="js/custom.js"></script> <link href="css/custom.css" rel="stylesheet"> <!--//Metis Menu --> <style> tabel,th,td { text-align:center; } td { font-size:14px; } </style> </head> <body class="cbp-spmenu-push"> <div class="main-content"> <!--left-fixed -navigation--> <?php include("left-section.php"); ?> <!--left-fixed -navigation--> <!-- header-starts --> <?php include("header.php"); ?> <!-- //header-ends --> <!-- main content start--> <div id="page-wrapper"> <div class="main-page"> <div class="tables"> <div class="panel-body widget-shadow"> <?php $from_date = date("Y-m-d"); $to_date = date("Y-m-d"); if(isset($_POST['from_date'])) { $from_date = $_POST['from_date']; $to_date = $_POST['to_date']; $_SESSION['print_student_data_from_date'] = $from_date; $_SESSION['print_student_data_to_date'] = $to_date; } else { $_SESSION['print_student_data_from_date'] = $from_date; $_SESSION['print_student_data_to_date'] = $to_date; } $data = array(); if($from_date!="" AND $to_date!="") { $data = $db->get_student_record_from_date($from_date,$to_date); } else{ $data = $db->get_all_student_data(); } ?> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" autocomplete="off" method="POST"> <div class="form-group col-lg-2"> <label>From Date:</label> <input class="form-control" type="text" name="from_date" id="from_datepicker" placeholder="Enter From Date" value="<?php echo $from_date; ?>" required /> </div> <div class="form-group col-lg-2"> <label>To Date:</label> <input class="form-control" type="text" name="to_date" id="to_datepicker" placeholder="Enter To Date" value="<?php echo $to_date; ?>" required /> </div> <div class="form-group col-lg-4"> <div class="sub_home"> <input type="submit" value="Search" name="search_btn" style="width:35%;"> </div> </div> <div class="form-group col-lg-2"> <a href="excel-student-report.php" class="btn btn-primary" >Create Excel</a> </div> <div class="form-group col-lg-2"> <a href="receipt-report-pdf.php" class="btn btn-primary">Create PDF</a/> </div> <!--<div class="form-group"> <br /> <button type="submit" class="btn btn-primary" name="search_btn" style="margin:auto;width:15%;" >Search</button> <a href="excel-student-report.php" class="btn btn-primary" style="float:right; margin-right:10px;">Create Excel</a> <a href="receipt-report-pdf.php" class="btn btn-primary" style="float:right; margin-right:10px;">Create PDF</a/> </div>--> </form> </div> </div> </div> </div> <div id="page-wrapper"> <div class="main-page" style="margin-top:-100px;"> <div class="tables"> <h3 class="title1">Student Report</h3> <div class="panel-body widget-shadow"> <div style="overflow-x:scroll;"> <table class="table"> <thead> <tr class="table_align"> <th width="10">Sr.No</th> <th width="120">Student Name</th> <th width="50">Department</th> <th width="20">Roll no</th> <th width="80">Student Contact</th> <th width="80">Father Contact</th> <!--<th width="100">Address</th> <th width="100">Correspondence Address</th> <th width="80">Child Description</th> <th width="60">Email ID</th> <th width="60">Aadhar Number</th> <th width="60">Religion</th> <th width="60">Caste </th> <th width="60">Category</th> <th width="60">Mother Tongue</th> <th width="60">nationality</th> <th width="80">Birth Place</th> <th width="80">Birth Date</th> <th width="60">Gender</th> <th width="80">Last School</th> <th width="80">Admission Date</th> <th width="60">Blood Group</th> <th width="60">Height</th> <th width="60">Weight</th> <th width="100">Student Image </th> <th width="100">Birth certificate</th> <th width="100">Caste Certificate</th> <th width="80">About Us</th> <th width="80">Remarks</th> <th width="80">Gen.Reg.No of Pupil</th> <th width="80">Student id for LC</th> <th width="80">G.R.No</th> <th width="80">Qualification</th> <th width="80">Occupation</th> <th width="100">Father's Monthly Income</th> <th width="100">Father's Office Add</th> <th width="100">Residential Office Add</th> <th width="80">Mother Qualifi </th> <th width="80">Mother Occupation</th> <th width="80">Mother's Monthly Income</th> <th width="100">Mother's Office Add</th> <th width="100">Mother Resident Add</th> <th width="70">Date</th>--> <th width="80">View Details</th> <th width="80">Edit</th> <th width="80">Delete </th> </tr> </thead> <tbody> <?php 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]; ?> <tr class="odd gradeX" style="text-align:center"> <td class="table_format"><?php echo $counter+1; ?></td> <!--<td class="table_format"> <?php if($res_student_image!="") { ?> <a href="student_data/<?php echo $res_student_image; ?>" target="_blank"><img src="student_data/<?php echo $res_student_image;?>" width="60" height="60"></a> <?php } else { ?> <img src="images/usericon.jpg" width="60" height="60"> <?php } ?> </td>--> <td class="table_format" style="text-align:left;"><?php echo $res_surname." ".$res_stud_name." ".$res_father_name; ?></td> <td class="table_format"><?php echo $res_class; ?><br /><?php echo $res_medium; ?><br /><?php echo $res_division; ?></td> <td class="table_format"><?php echo $res_roll_no; ?></td> <td class="table_format"><?php echo $res_stud_cont; ?></td> <td class="table_format"><?php echo $res_father_cont; ?></td> <!--<td><?php echo $res_address; ?></td> <td><?php echo $res_corres_add; ?></td> <td><?php echo $res_child_desc; ?></td> <td><?php echo $res_email; ?></td> <td><?php echo $res_aadhar_no; ?></td> <td><?php echo $res_religion; ?></td> <td><?php echo $res_caste; ?></td> <td><?php echo $res_category; ?></td> <td><?php echo $res_mother_tongue; ?></td> <td><?php echo $res_nationality; ?></td> <td><?php echo $res_birth_palce; ?></td> <td><?php echo $res_birth_date; ?></td> <td><?php echo $res_gender; ?></td> <td><?php echo $res_last_school; ?></td> <td><?php echo $res_admission_date; ?></td> <td><?php echo $res_blood_group; ?></td> <td><?php echo $res_height; ?></td> <td><?php echo $res_weight; ?></td> <td> <?php if($res_student_image!="") { ?> <a href="/student_data/<?php echo $res_student_image; ?>" target="_blank"><img src="/student_data/<?php echo $res_student_image;?>" width="60" height="60"></a> <?php } else { ?> <img src="/images/usericon.jpg" width="60" height="60"> <?php } ?> </td> <td> <?php if($res_birth_certi!="") { ?> <a href="/student_data/<?php echo $res_birth_certi; ?>" target="_blank"><img src="/student_data/<?php echo $res_birth_certi;?>" width="60" height="60"></a> <?php } else { ?> <img src="/images/star-icon.png" width="60" height="60"> <?php } ?> </td> <td> <?php if($res_caste_certi!="") { ?> <a href="/student_data/<?php echo $res_birth_certi; ?>" target="_blank"><img src="/student_data/<?php echo $res_caste_certi;?>" width="60" height="60"></a> <?php } else { ?> <img src="/images/star-icon.png" width="60" height="60"> <?php } ?> </td> <td><?php echo $res_adv_board.",".$res_news_paper.",".$res_teachers.",".$res_friends.",".$res_ex_students.",".$res_pre_class.",".$res_other; ?></td> <td><?php echo $res_remarks; ?></td> <td><?php echo $res_no_of_pupil; ?></td> <td><?php echo $res_stud_id_for_lc; ?></td> <td><?php echo $res_gr_no; ?></td> <td><?php echo $res_father_quali; ?></td> <td><?php echo $res_father_occu; ?></td> <td><?php echo $res_father_income; ?></td> <td><?php echo $res_father_office_add; ?></td> <td><?php echo $res_father_resident_add; ?></td> <td><?php echo $res_mother_qualifi; ?></td> <td><?php echo $res_mother_occupa; ?></td> <td><?php echo $res_mother_income; ?></td> <td><?php echo $res_mother_office_add; ?></td> <td><?php echo $res_mother_resident_add; ?></td> <td><?php echo $res_date; ?></td>--> <td><a href="view-student-details.php?view_id=<?php echo $res_id; ?>" target="_blank">View Details</a></td> <td><a href="edit-student.php?edit_id=<?php echo $res_id; ?>">Edit</a></td> <td><a 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?');">Delete</a></td> </tr> <?php $counter++; } ?> <!--<tr style="font-weight:bold; text-align:center;"> <td>Total</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td><?php echo $total_karyabhar_rakkam; ?></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td><?php echo $total_rakkam; ?></td> <td></td> <td></td> <td></td> </tr>--> <?php } else { ?> <tr> <td colspan="10">No Student Data Found </td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> </div> </div> <!--footer--> <?php include("footer.php"); ?> <!--//footer--> <!-- Classie --> <script src="js/classie.js"></script> <script> var menuLeft = document.getElementById( 'cbp-spmenu-s1' ), showLeftPush = document.getElementById( 'showLeftPush' ), body = document.body; showLeftPush.onclick = function() { classie.toggle( this, 'active' ); classie.toggle( body, 'cbp-spmenu-push-toright' ); classie.toggle( menuLeft, 'cbp-spmenu-open' ); disableOther( 'showLeftPush' ); }; function disableOther( button ) { if( button !== 'showLeftPush' ) { classie.toggle( showLeftPush, 'disabled' ); } } </script> <!--scrolling js--> <script src="js/jquery.nicescroll.js"></script> <script src="js/scripts.js"></script> <!--//scrolling js--> <!-- Bootstrap Core JavaScript --> <script src="js/bootstrap.js"> </script> </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