28 lines
716 B
PHP
28 lines
716 B
PHP
<?php
|
|
require_once('fixed/config/go_con.php');
|
|
access(31);
|
|
|
|
$today = date("Y-m");
|
|
if (!empty($_GET['date'])) {
|
|
$today = $_GET['date'];
|
|
if (DateTime::createFromFormat('Y-m', $today) == false) {
|
|
$today = date("Y-m");
|
|
}
|
|
}
|
|
|
|
if ($_GET['m'] == 50) {
|
|
require_once('work/files/reports/month_user/3.php');
|
|
} else {
|
|
if (strtotime($today) < strtotime('2023-01-01 00:00:00')) {
|
|
require_once('work/files/reports/month_user/1.php');
|
|
}
|
|
// else if (strtotime($today) < strtotime('2023-07-01 00:00:00')) {
|
|
// require_once('work/files/reports/month_user/4.php');
|
|
// }
|
|
else {
|
|
require_once('work/files/reports/month_user/5.php');
|
|
}
|
|
}
|
|
|
|
|
|
|