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

@ -1,17 +1,17 @@
<?php
include_once('./_common.php');
$it_id = isset($_GET['it_id']) ? get_search_string(trim($_GET['it_id'])) : '';
$no = (isset($_GET['no']) && $_GET['no']) ? (int) $_GET['no'] : 1;
if (G5_IS_MOBILE) {
include_once(G5_MSHOP_PATH.'/largeimage.php');
return;
}
$it_id = get_search_string(trim($_GET['it_id']));
$no = (isset($_GET['no']) && $_GET['no']) ? (int) $_GET['no'] : 1;
$row = get_shop_item($it_id, true);
if(!$row['it_id'])
if(! (isset($row['it_id']) && $row['it_id']))
alert_close('상품정보가 존재하지 않습니다.');
$imagefile = G5_DATA_PATH.'/item/'.$row['it_img'.$no];
@ -28,5 +28,4 @@ if(is_file($skin))
else
echo '<p>'.str_replace(G5_PATH.'/', '', $skin).'파일이 존재하지 않습니다.</p>';
include_once(G5_PATH.'/tail.sub.php');
?>
include_once(G5_PATH.'/tail.sub.php');