24 lines
597 B
PHP
Executable File
24 lines
597 B
PHP
Executable File
<?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/r_month_user_therapy/3.php');
|
|
} else {
|
|
if (strtotime($today) < strtotime('2023-01-01 00:00:00')) {
|
|
require_once('work/files/reports/r_month_user_therapy/1.php');
|
|
} else {
|
|
require_once('work/files/reports/r_month_user_therapy/1.php');
|
|
}
|
|
}
|
|
|
|
|
|
|