배너관리 bn_time 값이 저장되지 않는 오류 수정#424

This commit is contained in:
thisgun
2020-08-21 10:44:37 +09:00
parent a98b8f6126
commit 4993ba350c
6 changed files with 8 additions and 7 deletions

View File

@ -121,7 +121,7 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
$bn_img = "";
$bn_img .= '<img src="'.G5_DATA_URL.'/banner/'.$row['bn_id'].'" width="'.$width.'" alt="'.get_text($row['bn_alt']).'">';
$bn_img .= '<img src="'.G5_DATA_URL.'/banner/'.$row['bn_id'].'?'.preg_replace('/[^0-9]/i', '', $row['bn_time']).'" width="'.$width.'" alt="'.get_text($row['bn_alt']).'">';
}
switch($row['bn_device']) {