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

This commit is contained in:
thisgun
2021-01-04 15:33:29 +09:00
parent 10d377de7d
commit 582d1a01f4
852 changed files with 120617 additions and 6307 deletions

View File

@ -2,13 +2,15 @@
$sub_menu = "900800";
include_once("./_common.php");
auth_check($auth[$sub_menu], "w");
auth_check_menu($auth, $sub_menu, "w");
$g5['title'] = "전화번호부";
for ($i=0; $i<count($_POST['bk_no']); $i++)
$post_bk_no = (isset($_POST['bk_no']) && is_array($_POST['bk_no'])) ? $_POST['bk_no'] : array();
for ($i=0; $i<count($post_bk_no); $i++)
{
$bk_no = $_POST['bk_no'][$i];
$bk_no = $post_bk_no[$i];
if (!trim($bk_no)) continue;
$res = sql_fetch("select * from {$g5['sms5_book_table']} where bk_no='$bk_no'");
@ -59,5 +61,4 @@ for ($i=0; $i<count($_POST['bk_no']); $i++)
if( $str_query ){
$str_query = '?'.$str_query;
}
goto_url('./num_book.php'.$str_query);
?>
goto_url('./num_book.php'.$str_query);