관리자: 쇼핑몰 마크업 1차 정리

This commit is contained in:
whitedot
2013-02-06 11:58:31 +09:00
parent ce59526456
commit 7280b99f64
58 changed files with 1187 additions and 1212 deletions

View File

@ -23,26 +23,26 @@ $sql = "select * $sql_common order by co_id limit $from_record, $config[cf_page_
$result = sql_query($sql);
?>
<table width=100%>
<table>
<tr>
<td width=20%><a href='<?=$_SERVER[PHP_SELF]?>'>처음</a></td>
<td width=60% align=center>&nbsp;</td>
<td width=20% align=right>건수 : <? echo $total_count ?>&nbsp;</td>
<td><a href='<?=$_SERVER[PHP_SELF]?>'>처음</a></td>
<td>&nbsp;</td>
<td>건수 : <? echo $total_count ?>&nbsp;</td>
</tr>
</table>
<table cellpadding=0 cellspacing=0 width=100%>
<colgroup width=120>
<colgroup width=''>
<colgroup width=80>
<tr><td colspan=3 height=2 bgcolor=#0E87F9></td></tr>
<tr align=center class=ht>
<table>
<colgroup>
<colgroup>
<colgroup>
<tr>
<td>ID</td>
<td>제목</td>
<td><a href='./contentform.php'><img src='<?=$g4[admin_path]?>/img/icon_insert.gif' border=0></a></td>
</tr>
<tr><td colspan=3 height=1 bgcolor=#CCCCCC></td></tr>
<?
for ($i=0; $row=mysql_fetch_array($result); $i++) {
$s_mod = icon("수정", "./contentform.php?w=u&co_id=$row[co_id]");
@ -52,23 +52,23 @@ for ($i=0; $row=mysql_fetch_array($result); $i++) {
$list = $i%2;
echo "
<tr class='list$list ht'>
<td align=center>$row[co_id]</td>
<td>$row[co_id]</td>
<td>".htmlspecialchars2($row[co_subject])."</td>
<td align=center width=80>$s_mod $s_del $s_vie</td>
<td>$s_mod $s_del $s_vie</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 height=100 bgcolor=#ffffff><span class=point>자료가 한건도 없습니다.</span></td></tr>\n";
}
?>
<tr><td colspan=3 height=1 bgcolor=#CCCCCC></td></tr>
</table>
<table width=100%>
<table>
<tr bgcolor=#ffffff>
<td width=50%></td>
<td width=50% align=right><?=get_paging($config[cf_write_pages], $page, $total_page, "$_SERVER[PHP_SELF]?$qstr&page=");?></td>
<td></td>
<td><?=get_paging($config[cf_write_pages], $page, $total_page, "$_SERVER[PHP_SELF]?$qstr&page=");?></td>
</tr>
</table>