쇼핑몰관리자 : #26 배송회사관리 목록 표준화 및 스타일 1차 작업 완료
This commit is contained in:
@ -29,7 +29,7 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
|
||||
<div id="btn_add">
|
||||
<a href="./bannerform.php">배너추가</a>
|
||||
</div>
|
||||
<table class="frm_flb">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col class="grid_1">
|
||||
<col class="grid_7">
|
||||
@ -78,7 +78,7 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
|
||||
|
||||
$list = $i%2;
|
||||
?>
|
||||
<tr class="list<?=$list?> center">
|
||||
<tr class="list<?=$list?>">
|
||||
<td class="banner_center"><?=$row['bn_id']?></td>
|
||||
<td><?=$bn_img?></td>
|
||||
<td class="banner_center"><?=$row['bn_position']?></td>
|
||||
|
||||
@ -23,7 +23,7 @@ $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:900px;height:35px;line-height:35px ;text-align:center}
|
||||
#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}
|
||||
@ -31,10 +31,9 @@ $result = sql_query($sql);
|
||||
|
||||
<section class="cbox">
|
||||
<h2>내용관리</h2>
|
||||
<?=$pg_anchor?>
|
||||
<p id="content_fir">
|
||||
<a href='<?=$_SERVER['PHP_SELF']?>'>처음</a>
|
||||
<span>건수 : <? echo $total_count ?> </span>
|
||||
<a href="<?=$_SERVER['PHP_SELF']?>">처음</a>
|
||||
<span>건수 <? echo $total_count ?> </span>
|
||||
</p>
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
|
||||
@ -17,58 +17,61 @@ $total_count = $row['cnt'];
|
||||
$sql = "select * $sql_common order by dl_order , dl_id desc ";
|
||||
$result = sql_query($sql);
|
||||
?>
|
||||
|
||||
<table width=100%>
|
||||
<style type="text/css">
|
||||
.deliverycode_center{text-align:center}
|
||||
</style>
|
||||
<section class="cbox">
|
||||
<h2>배송회사관리</h2>
|
||||
<p>건수 <? echo $total_count ?></p>
|
||||
<div id="btn_add">
|
||||
<a href="./deliverycodeform.php">배송회사추가</a>
|
||||
</div>
|
||||
<table>
|
||||
<colgroup>
|
||||
<col class="grid_1">
|
||||
<col class="grid_11">
|
||||
<col class="gird_2">
|
||||
<col class="grid_1">
|
||||
<col class="grid_3">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<td width=20%> </td>
|
||||
<td width=60% align=center> </td>
|
||||
<td width=20% align=right>건수 : <? echo $total_count ?> </td>
|
||||
<th>ID</th>
|
||||
<th>배송회사명</th>
|
||||
<th>고객센터</th>
|
||||
<th>순서</th>
|
||||
<th>관리</th>
|
||||
</tr>
|
||||
</table>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?
|
||||
for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
{
|
||||
$s_mod = icon("수정", "./deliverycodeform.php?w=u&dl_id={$row['dl_id']}");
|
||||
$s_del = icon("삭제", "javascript:del('./deliverycodeformupdate.php?w=d&dl_id={$row['dl_id']}');");
|
||||
$s_vie = icon("보기", $row['dl_url'], $target="_blank");
|
||||
|
||||
if ($i)
|
||||
echo "<tr><td colspan=5 height=1 bgcolor=F1F1F1></td></tr>";
|
||||
|
||||
<table cellpadding=0 cellspacing=0 width=100%>
|
||||
<colgroup width=100>
|
||||
<colgroup width=''>
|
||||
<colgroup width=200>
|
||||
<colgroup width=100>
|
||||
<colgroup width=80>
|
||||
<tr><td colspan=5 height=2 bgcolor=#0E87F9></td></tr>
|
||||
<tr align=center class=ht>
|
||||
<td>ID</td>
|
||||
<td>배송회사명</td>
|
||||
<td>고객센터</td>
|
||||
<td>순서</td>
|
||||
<td><?=icon("입력", "./deliverycodeform.php");?></td>
|
||||
</tr>
|
||||
<tr><td colspan=5 height=1 bgcolor=#CCCCCC></td></tr>
|
||||
$list = $i%2;
|
||||
?>
|
||||
<tr class="list<?=$list?>">
|
||||
<td class="deliverycode_center"><?=$row['dl_id']?></td>
|
||||
<td><?=stripslashes($row['dl_company'])?></td>
|
||||
<td class="deliverycode_center"><?=$row['dl_tel']?></td>
|
||||
<td class="deliverycode_center"><?=$row['dl_order']?></td>
|
||||
<td class="deliverycode_center"><a href="./deliverycodeform.php">수정</a> <a href="./deliverycodeformupdate.php">삭제</a> <a href="<?=$row['dl_url']?>" target="_blank">보기</a></td>
|
||||
</tr>
|
||||
<?
|
||||
}
|
||||
|
||||
<?
|
||||
for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
{
|
||||
$s_mod = icon("수정", "./deliverycodeform.php?w=u&dl_id={$row['dl_id']}");
|
||||
$s_del = icon("삭제", "javascript:del('./deliverycodeformupdate.php?w=d&dl_id={$row['dl_id']}');");
|
||||
$s_vie = icon("보기", $row['dl_url'], $target="_blank");
|
||||
|
||||
if ($i)
|
||||
echo "<tr><td colspan=5 height=1 bgcolor=F1F1F1></td></tr>";
|
||||
|
||||
$list = $i%2;
|
||||
echo "
|
||||
<tr class='list$list center ht'>
|
||||
<td align=center>{$row['dl_id']}</td>
|
||||
<td>". stripslashes($row['dl_company']) . "</td>
|
||||
<td align=center>{$row['dl_tel']}</td>
|
||||
<td align=center>{$row['dl_order']}</td>
|
||||
<td align=center>$s_mod $s_del $s_vie</td>
|
||||
</tr>";
|
||||
}
|
||||
|
||||
if ($i == 0)
|
||||
echo "<tr><td colspan=5 align=center height=100 bgcolor=#ffffff><span class=point>자료가 한건도 없습니다.</span></td></tr>\n";
|
||||
?>
|
||||
<tr><td colspan=5 height=1 bgcolor=#CCCCCC></td></tr>
|
||||
</table>
|
||||
if ($i == 0)
|
||||
echo "<tr><td colspan=\"5\"><span class=\"point\">자료가 한건도 없습니다.</span></td></tr>\n";
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
|
||||
<?
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
|
||||
Reference in New Issue
Block a user