Şuanki Dizin: /home/wwwdreamtechnolo/www/panel.atsevairag.com/atse_admin_panel007/ |
Şuanki Dosya : /home/wwwdreamtechnolo/www/panel.atsevairag.com/atse_admin_panel007/kendrastariy-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 = ""; $kendra_standard_val = ""; $kendra_jilha = ""; $kendra_center_name = ""; $res_kendrastariy_limit_no =""; if(isset($_SESSION['kendra_standard_val'])) { $kendra_standard_val = $_SESSION['kendra_standard_val']; $kendra_jilha = $_SESSION['kendra_jilha']; $kendra_center_name = $_SESSION['center_id']; } ?> <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> </head> <body> <div class="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"> <?php $res_center_name = $db->get_center_name_from_center_id($kendra_center_name); ?> केंद्रस्तरीय निकाल यादी <br /><br /> जिल्हा - <?php echo $kendra_jilha; ?> , केंद्र - <?php echo $res_center_name; ?> , इयत्ता - <?php echo $kendra_standard_val; ?> </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="50">परीक्षा क्र.</td> <td width="200">विद्यार्थ्याचे नाव</td> <td width="430">शाळेचे नाव</td> <td width="50">एकूण गुण</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_kendra($kendra_standard_val,$kendra_jilha,$kendra_center_name); if(!empty($levels_of_result)) { $res_id = $levels_of_result[0]; $section = $levels_of_result[1]; $res_kendrastariy_limit = $levels_of_result[2]; } if($res_kendrastariy_limit>0) { //First Get All Rajystariy Students data $r_stud_data = array(); $rajyastariy_students_data = $db->get_student_result_data_from_standard_for_rajya($kendra_standard_val,$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++; } } //Jilhastariy Data $jilha_sorted_stud_data = array(); $jil_student_data = $db->get_student_result_data_from_standard_for_jilha($kendra_standard_val,$res_jilhastariy_limit,$kendra_jilha); if(!empty($jil_student_data)) { $jl_cntr = 0; $shera_jl_cntr = "-"; $jl_current_mark = ""; foreach($jil_student_data as $record) { $jil_result_exam_seat_number = $record['exam_seat_number']; $jil_total_marks = $record['total_marks']; if (!in_array($jil_result_exam_seat_number,$r_stud_data)) { if($jl_current_mark=="" AND $jl_current_mark!="0") { $shera_jl_cntr = 1; $jl_current_mark = $jil_total_marks; } else { if($jl_current_mark==$jil_total_marks) { $shera_jl_cntr = $shera_jl_cntr; $jl_current_mark = $jil_total_marks; } else if($jl_current_mark>$jil_total_marks) { $shera_jl_cntr++; $jl_current_mark = $jil_total_marks; } } if($shera_jl_cntr<=$res_jilhastariy_limit) { array_push($jilha_sorted_stud_data,$jil_result_exam_seat_number); } } $jl_cntr++; } } $student_data = $db->get_student_result_data_from_standard_for_kendra_new($kendra_standard_val,$res_kendrastariy_limit,$kendra_jilha,$kendra_center_name); if(!empty($student_data)) { $shera_cntr = ""; $current_mark = ""; $cntr = 0; 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) AND !in_array($result_exam_seat_number, $jilha_sorted_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_kendrastariy_limit) { $save_shera = "केंद्रात ".$shera_cntr; $db->update_student_result_kendra($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 $jilhyat_shera; ?></td> <td><?php echo $rajyat_shera; ?></td> </tr> <?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