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


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

<?php
  function getboard($aobj_context)
  {
    $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); 
    $univcode = $aobj_context->mobj_data['univcode'];
    
    $query = "select ifnull(fboardcode,'') as fboardcode,ifnull(fboardname,'') as fboardname,ifnull(fdeleted,'F') as fdeleted 
    from masboard  where ifnull(fdeleted,'') <> 'T' 
    order by fboardcode";//where fdeleted = 'F' 
    $result = $aobj_context->pobj_db->GetAll($query);
    
    if($result)
    {
      echo $aobj_context->mobj_output->ToJSONEnvelope($result,0,"success"); 
    }
    else
    {
      $arr['msg'] = 'No Boards details found';
      echo $aobj_context->mobj_output->ToJSONEnvelope($arr,-1,"failure"); 	
    }	
  }

  function getCollegeListValue($aobj_context)
  {
    $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); 
    $univcode = $aobj_context->mobj_data['univcode'];
    
    $query = "select ifnull(FCOLLCODE, '')as fcollcode, 
              ifnull(concat(FCOLLNAME, ' - ', FTOWN),'')as fcollname
               from college where fdeleted<>'T'";
    $result = $aobj_context->pobj_db->GetAll($query);
    
    if($result)
    {
      echo $aobj_context->mobj_output->ToJSONEnvelope($result,0,"success"); 
    }
    else
    {
      $arr['msg'] = 'No College Found';
      echo $aobj_context->mobj_output->ToJSONEnvelope($arr,-1,"failure"); 	
    }	
  }

  
?>