php8.0 버전 호환 코드 적용 및 PHP 끝 태그 삭제 일괄적용

This commit is contained in:
thisgun
2021-01-04 15:39:15 +09:00
parent 131b170b54
commit 27e9af5e42
1009 changed files with 12120 additions and 10849 deletions

View File

@ -2,7 +2,10 @@
$sub_menu = "200800";
include_once('./_common.php');
auth_check($auth[$sub_menu], 'r');
auth_check_menu($auth, $sub_menu, 'r');
$fr_date = isset($_REQUEST['fr_date']) ? preg_replace('/[^0-9 :\-]/i', '', $_REQUEST['fr_date']) : G5_TIME_YMD;
$to_date = isset($_REQUEST['to_date']) ? preg_replace('/[^0-9 :\-]/i', '', $_REQUEST['to_date']) : G5_TIME_YMD;
$g5['title'] = '일별 접속자집계';
include_once('./visit.sub.php');
@ -11,6 +14,8 @@ $colspan = 4;
$max = 0;
$sum_count = 0;
$arr = array();
$sql = " select vs_date, vs_count as cnt
from {$g5['visit_sum_table']}
where vs_date between '{$fr_date}' and '{$to_date}'
@ -82,5 +87,4 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
</div>
<?php
include_once('./admin.tail.php');
?>
include_once('./admin.tail.php');