쇼핑몰관리자 : #27 내용관리 목록 표준화 및 스타일 1차작업 완료
This commit is contained in:
@ -86,13 +86,13 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
|
||||
<td><?=$bn_end_time?></td>
|
||||
<td class="banner_center"><?=$row['bn_order']?></td>
|
||||
<td class="banner_center"><?=$row['bn_hit']?></td>
|
||||
<td class="banner_center"><a href="./bannerform.php">수정</a> <a href="./bannerformupdate.php">삭제</a></td>
|
||||
<td class="banner_center"><a href="./bannerform.php?w=u&bn_id=<?=$row['bn_id']?>">수정</a> <a href="./bannerformupdate.php?w=d&bn_id=<?=$row['bn_id']?>">삭제</a></td>
|
||||
</tr>
|
||||
<?
|
||||
}
|
||||
|
||||
if ($i == 0) {
|
||||
echo "<tr><td colspan=\"8\"><span class=\"point\">자료가 한건도 없습니다.</span></td></tr>\n";
|
||||
echo "<tr><td colspan=\"8\" class=\"banner_center\"><span class=\"point\">자료가 한건도 없습니다.</span></td></tr>\n";
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
|
||||
@ -23,10 +23,9 @@ $sql = "select * $sql_common order by co_id limit $from_record, {$config['cf_pag
|
||||
$result = sql_query($sql);
|
||||
?>
|
||||
<style type="text/css">
|
||||
#content_head{width:890px;height:35px;line-height:35px ;text-align:center}
|
||||
#content_head th{text-align:center}
|
||||
#content_fir{position:relative}
|
||||
#content_fir span{position:absolute;top:-12;right:5px}
|
||||
.content_center{text-align:center}
|
||||
</style>
|
||||
|
||||
<section class="cbox">
|
||||
@ -35,17 +34,20 @@ $result = sql_query($sql);
|
||||
<a href="<?=$_SERVER['PHP_SELF']?>">처음</a>
|
||||
<span>건수 <? echo $total_count ?> </span>
|
||||
</p>
|
||||
<table class="frm_tbl">
|
||||
<div id="btn_add">
|
||||
<a href="./contentform.php">내용관리추가</a>
|
||||
</div>
|
||||
<table>
|
||||
<colgroup>
|
||||
<col class="grid_2">
|
||||
<col class="gird_13">
|
||||
<col class="grid_3">
|
||||
<col class="gird_14">
|
||||
<col class="grid_1">
|
||||
</colgroup>
|
||||
<thead id="content_head">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">ID</th>
|
||||
<th scope="col">제목</th>
|
||||
<th><a href="./contentform.php"><img src="<?=G4_ADMIN_URL?>/img/icon_insert.gif" alt="내용입력버튼"></a></th>
|
||||
<th scope="col">관리</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -56,15 +58,16 @@ $result = sql_query($sql);
|
||||
$s_vie = icon("보기", G4_SHOP_URL."/content.php?co_id={$row['co_id']}");
|
||||
|
||||
$list = $i%2;
|
||||
echo "
|
||||
<tr class='list$list ht'>
|
||||
<td style=\"text-align:center\">{$row['co_id']}</td>
|
||||
<td>".htmlspecialchars2($row['co_subject'])."</td>
|
||||
<td>$s_mod $s_del $s_vie</td>
|
||||
</tr>";
|
||||
?>
|
||||
<tr class="list<?=$list?>">
|
||||
<td class="content_center"><?=$row['co_id']?></td>
|
||||
<td><?=htmlspecialchars2($row['co_subject'])?></td>
|
||||
<td class="content_center"><a href="./contentform.php?w=u&co_id=<?=$row['co_id']?>">수정</a> <a href="./contentformupdate.php?w=d&co_id=<?=$row['co_id']?>">삭제</a> <a href="<?=G4_SHOP_URL?>/content.php?co_id=<?=$row['co_id']?>">보기</a></td>
|
||||
</tr>
|
||||
<?
|
||||
}
|
||||
if ($i == 0) {
|
||||
echo "<tr><td colspan=\"3\" align=\"center\" height=\"100\" bgcolor=\"#ffffff\"><span class=\"point\">자료가 한건도 없습니다.</span></td></tr>\n";
|
||||
echo "<tr><td colspan=\"3\" class=\"content_center\"><span class=\"point\">자료가 한건도 없습니다.</span></td></tr>\n";
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user