Şuanki Dizin: /home/wwwdreamtechnolo/www/panel.atsevairag.com/old2/atse_admin_panel007/ |
Şuanki Dosya : /home/wwwdreamtechnolo/www/panel.atsevairag.com/old2/atse_admin_panel007/jilhastariy-nikal-yadi.php |
<?php ob_start(); require_once("../lib/class/functions.php"); $db = new functions(); $current_page = ""; if(!isset($_SESSION['current_admn_email'])) { header("Location:/atse_admin_panel007/index.php"); } //create object of class file $db = new functions(); $current_page = ""; $jilha_standard = ""; $current_jilha = ""; if(isset($_SESSION['jilha_standard'])) { $jilha_standard = $_SESSION['jilha_standard']; $current_jilha = $_SESSION['jilha_for_result']; } ?> <DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>ए. टी. एस. ई. वैराग - जिल्हास्तरीय निकाल यादी</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> <link rel="stylesheet" type="text/css" href="/css/stylesheet.css" /> <style> body{ background-color:#EFEFEF; } .dt_header_title_1 { font-size:35px; } thead td { background-color:AliceBlue; padding:5px; font-weight:bold; font-size:16px; } tr td { padding:5px; font-weight:bold; } .sub_head { font-weight:bold; } </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.3.4/jspdf.debug.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script> var pdfdoc = new jsPDF(); var specialElementHandlers = { '#ignoreContent': function (element, renderer) { return true; } }; $(document).ready(function(){ $("#gpdf").click(function(){ pdfdoc.fromHTML($('#pack_wrapper').html(), 10, 10, { 'width': 500, 'elementHandlers': specialElementHandlers }); pdfdoc.save('New.pdf'); }); }); </script> </head> <body> <div class="wrapper" id="pack_wrapper"> <div id="header" style="margin-top:-20px;"> <div style="width:100%; margin:auto;"> <img src="/images/maharshi-cut-img.gif" class="header-icons" style="float:right;" /> <img src="/images/garud-cut-img.gif" class="header-icons" /> <a href="/" style="text-decoration:none;"> <div class="dt_header_title_2"> Maharshi Valmiki Shikshan Prasarak Mandal Vairag Sanchalit </div> <div class="dt_header_title_1" style="margin-bottom:0px;"> <div class="infront_tm">राज्यस्तरीय ए. टी. एस. प्रज्ञाशोध परीक्षा<!--ASPIRATION TALENT SEARCH EXAMINATION--></div> </div> <div class="dt_header_title_2"> ( State Level Aspiration Talent Search Examination ) </div> </a> </div> </div> <div class="sub_head"> जिल्हास्तरीय निकाल यादी <br /><br /> जिल्हा - <?php echo $current_jilha; ?> , इयत्ता - <?php echo $jilha_standard; ?> </div> <div class="list_of_students"> <table border="1" class="centre_tab" style="font-size:12px; width:100%;" cellpadding="0" cellspacing="0"> <thead style="background-color:#EFEFEF;"> <td width="20">अ. क्र.</td> <td width="80">परीक्षा क्र.</td> <td width="200">विद्यार्थ्याचे नाव</td> <td width="430">शाळेचे नाव</td> <td width="50">एकूण गुण</td> <td width="50">गुणवत्ता क्रमांक</td> <td width="50">राज्यस्तरीय शेरा</td> </thead> <?php $res_id = ""; $res_rajyastariy_limit = ""; $res_jilhastariy_limit = ""; $res_kendrastariy_limit = ""; $levels_of_result = $db->get_value_of_result_setting_from_exam_result_jilha($jilha_standard,$current_jilha); if(!empty($levels_of_result)) { $res_id = $levels_of_result[0]; $section = $levels_of_result[1]; $res_jilhastariy_limit = $levels_of_result[2]; } if($res_jilhastariy_limit>0) { //First Get All Rajystariy Students data $r_stud_data = array(); $rajyastariy_students_data = $db->get_student_result_data_from_standard_for_rajya($jilha_standard,$res_rajyastariy_limit); if(!empty($rajyastariy_students_data)) { $r_cntr = 0; $r_shera_cntr = 1; $r_current_mark = 0; foreach($rajyastariy_students_data as $r_record) { $r_result_exam_seat_number = $r_record['exam_seat_number']; $r_total_marks = $r_record['total_marks']; if($r_current_mark==0) { $r_shera_cntr = 1; $r_current_mark = $r_total_marks; } else { if($r_current_mark==$r_total_marks) { $r_shera_cntr = $r_shera_cntr; $r_current_mark = $r_total_marks; } else if($r_current_mark>$r_total_marks) { $r_shera_cntr++; $r_current_mark = $r_total_marks; } } if($r_shera_cntr<=$res_rajyastariy_limit) { array_push($r_stud_data,$r_result_exam_seat_number); } $r_cntr++; } } $student_data = $db->get_student_result_data_from_standard_for_jilha_new($jilha_standard,$res_jilhastariy_limit,$current_jilha); if(!empty($student_data)) { $cntr = 0; $shera_cntr = "-"; $current_mark = ""; foreach($student_data as $record) { $result_exam_seat_number = $record['exam_seat_number']; $sirname = $record['sirname']; $name = $record['name']; $father_name = $record['father_name']; $bhasha_ganit = $record['bhasha_ganit']; $eng_buddhimatta = $record['eng_buddhimatta']; $total_marks = $record['total_marks']; $shera = $record['shera']; $school_details = $record['school_details']; $jilhyat_shera = $record['jilhyat_shera']; $rajyat_shera = $record['rajyat_shera']; $centerwise_stud_seat_no = $record['centerwise_stud_seat_no']; if (!in_array($result_exam_seat_number,$r_stud_data)) { if($current_mark=="" AND $current_mark!="0") { $shera_cntr = 1; $current_mark = $total_marks; } else { if($current_mark==$total_marks) { $shera_cntr = $shera_cntr; $current_mark = $total_marks; } else if($current_mark>$total_marks) { $shera_cntr++; $current_mark = $total_marks; } } if($shera_cntr<=$res_jilhastariy_limit) { $save_shera = "जिल्ह्यात ".$shera_cntr; $db->update_student_result_jilha($save_shera,$result_exam_seat_number); ?> <tr> <td><?php echo $cntr + 1; ?></td> <td><?php echo $centerwise_stud_seat_no; ?></td> <td style="text-align:left;" ><?php echo $sirname." ".$name." ".$father_name; ?></td> <td style="text-align:left;"><?php echo $school_details; ?></td> <td><?php echo $total_marks; ?></td> <td><?php echo $shera; ?></td> <td><?php echo $rajyat_shera; ?></td> </tr> <?php } else { $save_shera = "जिल्ह्यात ".$shera_cntr; $db->update_student_result_jilha_for_kendra($save_shera,$result_exam_seat_number); ?> <?php } $cntr++; } } } } else { ?> <tr> <td colspan="6">माहिती उपलब्ध नाही</td> </tr> <?php } ?> </table> </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