#10 에 따른 이벤트관리 상하단 이미지 출력 오류 수정
This commit is contained in:
@ -117,7 +117,7 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
|||||||
$mimg = G4_DATA_PATH.'/event/'.$ev['ev_id'].'_m';
|
$mimg = G4_DATA_PATH.'/event/'.$ev['ev_id'].'_m';
|
||||||
if (file_exists($mimg)) {
|
if (file_exists($mimg)) {
|
||||||
echo '<input type="checkbox" name="ev_mimg_del" value="1" id="ev_mimg_del"> <label for="ev_mimg_del">삭제</label>';
|
echo '<input type="checkbox" name="ev_mimg_del" value="1" id="ev_mimg_del"> <label for="ev_mimg_del">삭제</label>';
|
||||||
$mimg_str = '<img src="'.$mimg.'" alt="">';
|
$mimg_str = '<img src="'.G4_DATA_URL.'/event/'.$ev['ev_id'].'_m" alt="">';
|
||||||
}
|
}
|
||||||
if ($mimg_str) {
|
if ($mimg_str) {
|
||||||
echo '<div class="banner_or_img">';
|
echo '<div class="banner_or_img">';
|
||||||
@ -137,7 +137,7 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
|||||||
$himg = G4_DATA_PATH.'/event/'.$ev['ev_id'].'_h';
|
$himg = G4_DATA_PATH.'/event/'.$ev['ev_id'].'_h';
|
||||||
if (file_exists($himg)) {
|
if (file_exists($himg)) {
|
||||||
echo '<input type="checkbox" name="ev_himg_del" value="1" id="ev_himg_del"> <label for="ev_himg_del">삭제</label>';
|
echo '<input type="checkbox" name="ev_himg_del" value="1" id="ev_himg_del"> <label for="ev_himg_del">삭제</label>';
|
||||||
$himg_str = '<img src="'.$himg.'" alt="">';
|
$himg_str = '<img src="'.G4_DATA_URL.'/event/'.$ev['ev_id'].'_h" alt="">';
|
||||||
}
|
}
|
||||||
if ($himg_str) {
|
if ($himg_str) {
|
||||||
echo '<div class="banner_or_img">';
|
echo '<div class="banner_or_img">';
|
||||||
@ -157,7 +157,7 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
|||||||
$timg = G4_DATA_PATH.'/event/'.$ev['ev_id'].'_t';
|
$timg = G4_DATA_PATH.'/event/'.$ev['ev_id'].'_t';
|
||||||
if (file_exists($timg)) {
|
if (file_exists($timg)) {
|
||||||
echo '<input type="checkbox" name="ev_timg_del" value="1" id="ev_timg_del"> <label for="ev_timg_del">삭제</label>';
|
echo '<input type="checkbox" name="ev_timg_del" value="1" id="ev_timg_del"> <label for="ev_timg_del">삭제</label>';
|
||||||
$timg_str = '<img src="'.$timg.'" alt="">';
|
$timg_str = '<img src="'.G4_DATA_URL.'/event/'.$ev['ev_id'].'_t" alt="">';
|
||||||
}
|
}
|
||||||
if ($timg_str) {
|
if ($timg_str) {
|
||||||
echo '<div class="banner_or_img">';
|
echo '<div class="banner_or_img">';
|
||||||
|
|||||||
Reference in New Issue
Block a user