모바일 사용자 화면 UI 및 기능 개선
This commit is contained in:
@ -34,6 +34,7 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" rowspan="2" id="th_id">ID</th>
|
||||
<th scope="col" id="th_dvc">접속기기</th>
|
||||
<th scope="col" id="th_loc">위치</th>
|
||||
<th scope="col" id="th_st">시작일시</th>
|
||||
<th scope="col" id="th_end">종료일시</th>
|
||||
@ -42,7 +43,7 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
|
||||
<th scope="col" id="th_mng">관리</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="col" colspan="6" id="th_img">이미지</th>
|
||||
<th scope="col" colspan="7" id="th_img">이미지</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -71,6 +72,18 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
|
||||
$bn_img .= '<img src="'.G5_DATA_URL.'/banner/'.$row['bn_id'].'" width="'.$width.'" alt="'.$row['bn_alt'].'"></a>';
|
||||
}
|
||||
|
||||
switch($row['bn_device']) {
|
||||
case 'pc':
|
||||
$bn_device = 'PC';
|
||||
break;
|
||||
case 'mobile':
|
||||
$bn_device = '모바일';
|
||||
break;
|
||||
default:
|
||||
$bn_device = 'PC와 모바일';
|
||||
break;
|
||||
}
|
||||
|
||||
$bn_begin_time = substr($row['bn_begin_time'], 2, 14);
|
||||
$bn_end_time = substr($row['bn_end_time'], 2, 14);
|
||||
|
||||
@ -79,6 +92,7 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
|
||||
|
||||
<tr class="<?php echo $bg; ?>">
|
||||
<td headers="th_id" rowspan="2" class="td_num"><?php echo $row['bn_id']; ?></td>
|
||||
<td headers="th_dvc"><?php echo $bn_device; ?></td>
|
||||
<td headers="th_loc"><?php echo $row['bn_position']; ?></td>
|
||||
<td headers="th_st" class="td_datetime"><?php echo $bn_begin_time; ?></td>
|
||||
<td headers="th_end" class="td_datetime"><?php echo $bn_end_time; ?></td>
|
||||
@ -90,7 +104,7 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="<?php echo $bg; ?>">
|
||||
<td headers="th_img" colspan="6" class="td_img_view sbn_img">
|
||||
<td headers="th_img" colspan="7" class="td_img_view sbn_img">
|
||||
<div class="sbn_image"><?php echo $bn_img; ?></div>
|
||||
<button type="button" class="sbn_img_view btn_frmline">이미지확인</button>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user