| Server IP : 104.21.21.239 / Your IP : 216.73.216.25 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/connections/classes/ |
Upload File : |
<?php
interface report_interface
{
public function report_start();
public function report_end();
public function header_start();
public function header_end();
public function header_row_start();
public function header_row_end();
public function header_cell_add($data = '', $args = []);
public function footer_start();
public function footer_end();
public function footer_row_start();
public function footer_row_end();
public function footer_cell_add($data = '', $args = []);
public function data_start();
public function data_end();
public function data_row_start();
public function data_row_end();
public function data_cell_add($data = '', $args = []);
public function output_report($filename = '');
}
function get_report_class($fmt)
{
if (is_array($fmt)) :
$fmt = array_values($fmt)[0];
endif;
if (is_array($_POST['orientation'])) :
$_POST['orientation'] = array_values($_POST['orientation'])[0];
endif;
if (is_array($_POST['output_format'])) :
$_POST['output_format'] = array_values($_POST['output_format'])[0];
endif;
$cl_name = 'lcs_db_report_'.$fmt;
require_once($cl_name.'.php');
$o_rpt = new $cl_name();
return $o_rpt;
}