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


Current Path : /proc/thread-self/root/var/www/misc/public_html/live100/src/
Upload File :
Current File : //proc/thread-self/root/var/www/misc/public_html/live100/src/getreportfilefordisplay.php

<?php
function getReport($aobj_context)
{
  $report_id = $aobj_context->mobj_data["report_id"];
 
  $filepath=dirname(dirname(__FILE__))."\\Report_details\\report_result_".$report_id .".php";
 //echo $filepath;
  if(file_exists($filepath))
	{
	include_once($filepath);
		if(function_exists("displayReport"))
		{
		displayReport($aobj_context);
		}
	}
}
function getDownloadReportFile($aobj_context)
{
  $report_id = $aobj_context->mobj_data["report_id"];
    $filepath=dirname(dirname(__FILE__))."\\Report_details\\report_result_".$report_id .".php";
  if(file_exists($filepath))
	{
	include_once($filepath);
		if(function_exists("downloadReport")){
		downloadReport($aobj_context);
		}
	}
}
function getDownloadPDFReportFile($aobj_context)
{
  $report_id = $aobj_context->mobj_data["report_id"];
    $filepath=dirname(dirname(__FILE__))."\\Report_details\\report_result_".$report_id .".php";
  if(file_exists($filepath))
	{
	include_once($filepath);
		if(function_exists("downloadPDFReport")){
		downloadPDFReport($aobj_context);
		}
	}
}

function viewGridReportDetails($aobj_context)
{
   $report_id = $aobj_context->mobj_data["report_id"];
  $filepath=dirname(dirname(__FILE__))."\\Report_details\\report_result_".$report_id .".php";
 
  if(file_exists($filepath))
	{
	include_once($filepath);
		if(function_exists("displayGridReportDetails"))
		{
		displayGridReportDetails($aobj_context);
		}
	} 
}
?>