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


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

<?php
    function getQpGuidelines($aobj_context){
        $usertype = $aobj_context->mobj_data["usertype"];

        $cnd = "QP".$usertype;
        $query = "Select message from message_board where college_code = '{$cnd}'";
        $res = $aobj_context->mobj_db->GetRow($query);

        if($res){
            echo $aobj_context->mobj_output->ToJSONEnvelope($res, 0, "succcess"); 
        }else{
            $arr['msg'] = 'failed to load the guidelines';
            echo $aobj_context->mobj_output->ToJSONEnvelope($arr, 0, "succcess"); 
            return;
        }
    }

?>