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.118.33.130
<?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);
}
}
}
?>
|