관리자: 리디자인 17, 추가버튼 위치 수정

This commit is contained in:
whitedot
2013-02-15 18:23:45 +09:00
parent 6613f7c5e7
commit af624251c4
7 changed files with 44 additions and 40 deletions

View File

@ -22,10 +22,6 @@ include_once('./admin.head.php');
$colspan = 6;
?>
<div id="btn_add">
<a href="./mail_form.php" id="mail_add">메일내용추가</a>
</div>
<section class="cbox">
<h2>등록된 메일내용 목록</h2>
<p>
@ -33,6 +29,10 @@ $colspan = 6;
현재 등록된 메일은 총 <?=$total_count ?>건입니다.
</p>
<div id="btn_add">
<a href="./mail_form.php" id="mail_add">메일내용추가</a>
</div>
<table>
<thead>
<tr>
@ -42,13 +42,12 @@ $colspan = 6;
<th scope="col">작성일시</th>
<th scope="col">테스트</th>
<th scope="col">보내기</th>
<th scope="col">관리</th>
<th scope="col">미리보기</th>
</tr>
</thead>
<tbody>
<?
for ($i=0; $row=mysql_fetch_array($result); $i++) {
$s_mod = '<a href="./mail_form.php?w=u&amp;ma_id='.$row['ma_id'].'">수정</a>';
//$s_del = '<a href="javascript:post_delete(\'mail_update.php\', '.$row['ma_id'].');">삭제</a>';
$s_vie = '<a href="./mail_preview.php?ma_id='.$row['ma_id'].'" target="_blank">미리보기</a>';
@ -61,17 +60,17 @@ $colspan = 6;
<input type="checkbox" id="chk_<?=$i?>" name="chk[]" value="<?=$i?>" title="메일선택">
</td>
<td class="td_num"><?=$num?></td>
<td><?=$row['ma_subject']?></td>
<td><a href="./mail_form.php?w=u&amp;ma_id=<?=$row['ma_id']?>"><?=$row['ma_subject']?></a></td>
<td class="td_time"><?=$row['ma_time']?></td>
<td class="td_test"><a href="./mail_test.php?ma_id=<?=$row['ma_id']?>">테스트</a></td>
<td class="td_send"><a href="./mail_select_form.php?ma_id=<?=$row['ma_id']?>">보내기</a></td>
<td class="td_mng"><?=$s_mod?> <?=$s_vie?></td>
<td class="td_mng"><?=$s_vie?></td>
</tr>
<?
}
if (!$i)
echo '<tr><td colspan="'.$colspan.'" class="empty_table">자료가 없습니다.</td></tr>';
echo "<tr><td colspan=\"".$colspan."\" class=\"empty_table\">자료가 없습니다.</td></tr>";
?>
</tbody>
</table>