35 lines
1.2 KiB
PHP
Executable File
35 lines
1.2 KiB
PHP
Executable File
<?php
|
|
require_once('fixed/config/go_con.php');
|
|
access(30);
|
|
|
|
$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 ($_GET['m'] == 50) {
|
|
require_once('work/files/reports/daily_user/t_1.php');
|
|
} else {
|
|
if (strtotime($today) < strtotime('2023-01-01 00:00:00')) {
|
|
require_once('work/files/reports/daily_user/1.php');
|
|
}
|
|
// else if (strtotime($today) < strtotime('2023-01-12 00:00:00')) {
|
|
// require_once('work/files/reports/daily_user/2.php');
|
|
// }
|
|
// else if (strtotime($today) < strtotime('2023-01-30 00:00:00')) {
|
|
// require_once('work/files/reports/daily_user/4.php');
|
|
// }
|
|
// else if (strtotime($today) < strtotime('2023-07-01 00:00:00')) {
|
|
// require_once('work/files/reports/daily_user/6.php');
|
|
// }
|
|
else {
|
|
// require_once('work/files/reports/daily_user/5.php');
|
|
require_once('work/files/reports/daily_user/7.php');
|
|
}
|
|
}
|
|
|
|
|
|
|