36 lines
968 B
PHP
Executable File
36 lines
968 B
PHP
Executable File
<?php
|
|
require_once('fixed/config/go_con.php');
|
|
access(71);
|
|
|
|
$today = date("Y-m-d");
|
|
if (!empty($_GET['date'])) {
|
|
$today = $_GET['date'];
|
|
if (DateTime::createFromFormat('Y-m-d', $today) == false) {
|
|
$today = date("Y-m-d");
|
|
}
|
|
}
|
|
|
|
if(false) {
|
|
require_once('under_maintenance.php');
|
|
|
|
} else {
|
|
if ($_GET['m'] == 50) {
|
|
require_once('work/files/reports/all_invoices/4.php');
|
|
} else {
|
|
if (strtotime($today) < strtotime('2023-01-01 00:00:00')) {
|
|
require_once('work/files/reports/all_invoices/1.php');
|
|
}
|
|
// else if (strtotime($today) < strtotime('2023-01-30 00:00:00')) {
|
|
// require_once('work/files/reports/all_invoices/1.php');
|
|
// }
|
|
else {
|
|
require_once('work/files/reports/all_invoices/4.php');
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|