공통관리자: 너비 가변 변경 작업 중
This commit is contained in:
@ -20,28 +20,29 @@ if ($page == "") { $page = 1; } // 페이지가 없으면 첫 페이지 (1 페
|
||||
$from_record = ($page - 1) * $rows; // 시작 열을 구함
|
||||
?>
|
||||
|
||||
<section class="cbox">
|
||||
<h2>배너관리</h2>
|
||||
<div class="local_ov01 local_ov">
|
||||
등록된 배너 <?php echo $total_count; ?>개
|
||||
</div>
|
||||
|
||||
<p>등록된 배너 <?php echo $total_count; ?>개</p>
|
||||
<div class="btn_add">
|
||||
<a href="./bannerform.php">배너추가</a>
|
||||
</div>
|
||||
|
||||
<div class="btn_add">
|
||||
<a href="./bannerform.php">배너추가</a>
|
||||
</div>
|
||||
|
||||
<table id="tbl_bn_list">
|
||||
<div class="tbl_head02 tbl_wrap">
|
||||
<table>
|
||||
<caption><?php echo $g5['title']; ?> 목록</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" rowspan="2">ID</th>
|
||||
<th scope="col">위치</th>
|
||||
<th scope="col">시작일시</th>
|
||||
<th scope="col">종료일시</th>
|
||||
<th scope="col">출력순서</th>
|
||||
<th scope="col">조회</th>
|
||||
<th scope="col">관리</th>
|
||||
<th scope="col" rowspan="2" id="th_id">ID</th>
|
||||
<th scope="col" id="th_loc">위치</th>
|
||||
<th scope="col" id="th_st">시작일시</th>
|
||||
<th scope="col" id="th_end">종료일시</th>
|
||||
<th scope="col" id="th_odr">출력순서</th>
|
||||
<th scope="col" id="th_hit">조회</th>
|
||||
<th scope="col" id="th_mng">관리</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="col" colspan="6">이미지</th>
|
||||
<th scope="col" colspan="6" id="th_img">이미지</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -72,22 +73,24 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
|
||||
|
||||
$bn_begin_time = substr($row['bn_begin_time'], 2, 14);
|
||||
$bn_end_time = substr($row['bn_end_time'], 2, 14);
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td rowspan="2" class="td_num"><?php echo $row['bn_id']; ?></td>
|
||||
<td><?php echo $row['bn_position']; ?></td>
|
||||
<td><?php echo $bn_begin_time; ?></td>
|
||||
<td><?php echo $bn_end_time; ?></td>
|
||||
<td><?php echo $row['bn_order']; ?></td>
|
||||
<td><?php echo $row['bn_hit']; ?></td>
|
||||
<td class="td_smallmng">
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<td headers="th_id" rowspan="2" class="td_num"><?php echo $row['bn_id']; ?></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>
|
||||
<td headers="th_odr" class="td_num"><?php echo $row['bn_order']; ?></td>
|
||||
<td headers="th_hit" class="td_num"><?php echo $row['bn_hit']; ?></td>
|
||||
<td headers="th_mng" class="td_mngsmall">
|
||||
<a href="./bannerform.php?w=u&bn_id=<?php echo $row['bn_id']; ?>">수정</a></li>
|
||||
<a href="./bannerformupdate.php?w=d&bn_id=<?php echo $row['bn_id']; ?>" onclick="return delete_confirm();">삭제</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="6" class="td_img_view"><?php echo $bn_img; ?></td>
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<td headers="th_img" colspan="6" class="td_img_view"><?php echo $bn_img; ?></td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
@ -99,9 +102,9 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<p><?php echo get_paging(G5_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page="); ?></p>
|
||||
<?php echo get_paging(G5_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page="); ?>
|
||||
|
||||
<?php
|
||||
include_once (G5_ADMIN_PATH.'/admin.tail.php');
|
||||
|
||||
Reference in New Issue
Block a user