require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/header.php"); $APPLICATION->SetTitle('Отчеты'); $clients = Service::GetClientList(); $month = $_GET['m']; if($month) { session_start(); $_SESSION['month'] = $month; } elseif(isset($_SESSION['month'])) { $month = $_SESSION['month']; } else $month = date('m'); $time_begin = date('Y').'-'.$month.'-01 00:00:00'; $number_month = cal_days_in_month(CAL_GREGORIAN, $month, date('Y')); $time_end = date('Y').'-'.$month.'-' . $number_month . ' 23:59:59'; $time_begin = strtotime($time_begin . "-2 hours"); $time_end = strtotime($time_end . "-2 hours"); $ids = array(); // echo '
'; // print_r($records); // echo ''; $months = array( '01' => 'январь', '02' => 'февраль', '03' => 'март', '04' => 'апрель', '05' => 'май', '06' => 'июнь', '07' => 'июль', '08' => 'август', '09' => 'сентябрь', '10' => 'октябрь', '11' => 'ноябрь', '12' => 'декабрь' ); $curMonth = $months[$month] . ' ' . date('Y'); ?>
Warning: Undefined variable $c in D:\ktt\ttepla.com\public_html\service\report\fill_report.php on line 86 |
||||
Fatal error: Uncaught Error: Class "Register" not found in D:\ktt\ttepla.com\public_html\service\report\fill_report.php:94 Stack trace: #0 {main} thrown in D:\ktt\ttepla.com\public_html\service\report\fill_report.php on line 94 |