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.188.211.246


Current Path : /proc/thread-self/root/var/www/html/admission/src/
Upload File :
Current File : //proc/thread-self/root/var/www/html/admission/src/tdvsCreatePanel.php

<?php
function get_QP_code($aobj_context){
    $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC);
    $univcode = $aobj_context->mobj_data['univcode'];

    $query="select fqpcode,concat(fsubname, ' ','[',fqpcode,']')as fsubname from tdvs_masqp order by fsubname";
    
    $result = $aobj_context->pobj_db->GetAll($query);
      
    if($result)
    {
    echo $aobj_context->mobj_output->ToJSONEnvelope($result,0,"success"); 
    }
    else
    {
    $arr['msg'] = 'No Data found';
    echo $aobj_context->mobj_output->ToJSONEnvelope($arr,-1,"failure"); 	
    }	
}

function getQPWiseDet($aobj_context){
    $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC);
    $univcode = $aobj_context->mobj_data['univcode'];
    $qpcode = $aobj_context->mobj_data['qpcode'];

    $query="select fteachcode, frevcode, fmaxscr, fyear, fexamtype, fvalno
    from tdvs_masrev where fqpcode = '{$qpcode}' and fsuspend = 'F' and fdeleted = 'F'";
    
    $result = $aobj_context->pobj_db->GetAll($query);
      
    if($result)
    {
    echo $aobj_context->mobj_output->ToJSONEnvelope($result,0,"success"); 
    }
    else
    {
    $arr['msg'] = 'No Data found';
    echo $aobj_context->mobj_output->ToJSONEnvelope($arr,-1,"failure"); 	
    }	
}

?>