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


Current Path : /var/www/html/phdadm/pgetadm/
Upload File :
Current File : /var/www/html/phdadm/pgetadm/reprint.php

<?php

function rePrintApplication($aobj_context) 
{
	session_start();
	$aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC);
	
	$db = stripslashes($aobj_context->mobj_data["db"]);

  $query = "select ifnull(fappno,'') as fappno,'{$db}' as db, ifnull(ffinsub,'F') as ffinsub, 
  ifnull(fpaystatus,'') as fpaystatus from entstudadm 
  where fmobileno = '{$_SESSION['MOBILE']}'";

	$obj =  $aobj_context->mobj_db->GetRow($query); 
	// var_dump($obj);
  $row['fappno'] = $obj['fappno'];
  $row['ffinsub'] = $obj['ffinsub'];
	$row['fpaystatus'] = $obj['fpaystatus'];
	$row['db'] = $obj['db'];
	$row['error_code'] = '0';
	if($obj['fappno'] == '')
	{
		$row['error_code'] = '-1';
	}
	echo json_encode($row);

}