0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.142.199.54


Current Path : /var/www/html/univadmin/
Upload File :
Current File : /var/www/html/univadmin/ssp_deg_upd.php

<html>
<head>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>

<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<!-- <link rel="stylesheet" href="/resources/demos/style.css"> -->
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<script src="libs/jquery.blockUI.js" type="text/javascript"></script>
<script type="text/javascript">
    $(function () {
        $('#datepicker').datepicker({ dateFormat: 'dd/mm/yy' });
    });
</script>

<!--<script>
    $( function() 
    {
      $( "#datepicker" ).datepicker();

    } );
</script>!-->

<script>
    function LoadData()
      {
        var univcode = $("#univcode").val();
        $.blockUI({ message: "<img src='images/Loading_icon.gif' border='0'>" });
        $.ajax({
          type: "POST",
          async: false,
          data: "univcode="+univcode+"&screen=degdisp",
          url: "sspgetdata.php",
          success: function(responce)
          {
            $.unblockUI();
            $("#tabledata").html(responce);
          }
        });
      }

    function updatedata(ssp_deg)  
    {
      var sspdegcode = $(`#sspcode_${ssp_deg}`).val();
      var univcode = $("#univcode").val();
      var sspdegdur = $(`#degdur_${ssp_deg}`).val();
      var $sspdegcomb = $(`#degcomb_${ssp_deg}`).val();
      
      $.blockUI({ message: "<img src='images/Loading_icon.gif' border='0'>" });

      $.ajax({
        type: "POST",
        async: false,
        data: "sspdegcode="+sspdegcode+"&univcode="+univcode+"&screen=degupd"+"&degcode="+ssp_deg+"&sspdegdur="+sspdegdur+"&sspdegcomb="+$sspdegcomb,
        url: "sspgetdata.php",
        success: function(responce)
        {
          $.unblockUI();
          alert(responce);
        }
      });
    }
</script>
</head>

<body>
<div align="center" font-size:10px>
  UNIVERSITY: <select id="univcode"  style = 'height:32px;' onchange="LoadData()">
    <option value=''>-Select-</option>
    <option value ='logisys3_bcu'>BENGALURU CITY UNIVERSITY, BENGALURUBengaluru</option>
    <option value ='logisys3_bnu' >BENGALURU NORTH UNIVERSITY, KOLAR</option>
    <option value = 'logisys3_dud'>DAVANGERE UNIVERSITY, DAVANAGERE</option>
    <option value = 'logisys3_kus' >KUVEMPU UNIVERSITY, SHIVAMOGGA</option>
    <option value = 'logisys3_kswu' >AKKAMAHADEVI WOMEN`S UNIVERSITY, VIJAYAPURA</option>
    <option value  = 'logisys3_rcu' >RANI CHANNAMMA UNIVERSITY, BELAGAVI</option>
    <option value  = 'logisys3_vku' >VIJAYANAGARA SRI KRISHNADEVARAYA UNIVERSITY, BALLARI</option>
    <option value  = 'logisys3_gug' >GUG</option>
    <option value  = 'logisys3_mcu' >MCU</option>
    <option value  = 'logisys3_mum' >MUM</option>
    <option value  = 'logisys3_aims' >ACU</option>
    <option value  = 'logisys3_kusd' >kusdde</option>
    <option value  = 'logisys3_nitte' >NITTE</option>
    <option value  = 'logisys3_reva' >REVA</option>
    <option value  = 'logisys3_jssu' >JSSU</option>
    </select>
</div>

<br><br>

<div id="tabledata">
</div>

<?php

  error_reporting(E_ALL);
  ini_set('display_errors', 'on');

?>

</body>
</html>