사용자: 스크랩 목록
This commit is contained in:
@ -78,10 +78,10 @@ for($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
|
||||
?>
|
||||
<tr>
|
||||
<td><?=$row[po_datetime]?></td>
|
||||
<td class="td_datetime"><?=$row[po_datetime]?></td>
|
||||
<td><?=$row[po_content]?></td>
|
||||
<td><?=$point1?></td>
|
||||
<td><?=$point2?></td>
|
||||
<td class="td_bignum"><?=$point1?></td>
|
||||
<td class="td_bignum"><?=$point2?></td>
|
||||
</tr>
|
||||
<?
|
||||
}
|
||||
|
||||
@ -15,7 +15,7 @@ hr {display:none}
|
||||
|
||||
/* 기본테이블 */
|
||||
table {margin-bottom:20px;width:100%;border-collapse:collapse;border-spacing:0}
|
||||
tfoot td {font-weight:bold;text-align:center}
|
||||
tfoot td {background:#f0f0ed;font-weight:bold;text-align:center}
|
||||
caption {padding:0 0 10px;text-align:left}
|
||||
.caption_desc {font-size:0.75em}
|
||||
th {padding:12px 0 8px;border-top:3px solid #a9a9a9;border-bottom:1px solid #a9a9a9;font-size:0.8em}
|
||||
@ -214,9 +214,12 @@ h6 {margin:0 0 20px}
|
||||
|
||||
/* 포인트 내역 */
|
||||
#point p {text-align:center}
|
||||
#point .td_datetime {width:150px}
|
||||
|
||||
/* 쪽지 */
|
||||
|
||||
/* 스크랩 */
|
||||
|
||||
/* pagination */
|
||||
.pg {margin-bottom:30px;font-size:0.875em;text-align:center}
|
||||
.pg_page, .pg_current {display:inline-block;position:relative;margin-left:-6px;padding:0 10px;height:25px;border:1px solid #ddd;background:#fff;line-height:1.9em;vertical-align:middle}
|
||||
|
||||
@ -2,38 +2,40 @@
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<h1>스크랩</h1>
|
||||
<section id="scrap" class="new_win">
|
||||
<h1>스크랩</h1>
|
||||
|
||||
<table>
|
||||
<caption>스크랩 목록</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<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; $i<count($list); $i++) { ?>
|
||||
<tr>
|
||||
<td><?=$list[$i][num]?></td>
|
||||
<td><a href="javascript:;" onclick="opener.document.location.href='<?=$list[$i][opener_href]?>';"><?=$list[$i][bo_subject]?></a></td>
|
||||
<td><a href="javascript:;" onclick="opener.document.location.href='<?=$list[$i][opener_href_wr_id]?>';"><?=$list[$i][subject]?></a></td>
|
||||
<td><?=$list[$i][ms_datetime]?></td>
|
||||
<td><a href="javascript:del('<?=$list[$i][del_href]?>');">삭제</a></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<table>
|
||||
<caption>스크랩 목록</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<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; $i<count($list); $i++) { ?>
|
||||
<tr>
|
||||
<td><?=$list[$i][num]?></td>
|
||||
<td><a href="javascript:;" onclick="opener.document.location.href='<?=$list[$i][opener_href]?>';"><?=$list[$i][bo_subject]?></a></td>
|
||||
<td><a href="javascript:;" onclick="opener.document.location.href='<?=$list[$i][opener_href_wr_id]?>';"><?=$list[$i][subject]?></a></td>
|
||||
<td><?=$list[$i][ms_datetime]?></td>
|
||||
<td><a href="javascript:del('<?=$list[$i][del_href]?>');">삭제</a></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
|
||||
<? if ($i == 0) echo "<tr><td colspan=\"5\" class=\"empty_table\">자료가 없습니다.</td></tr>"; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<? if ($i == 0) echo "<tr><td colspan=\"5\" class=\"empty_table\">자료가 없습니다.</td></tr>"; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="pg">
|
||||
<?=get_paging($config[cf_write_pages], $page, $total_page, "?$qstr&page=");?>
|
||||
</div>
|
||||
<div class="pg">
|
||||
<?=get_paging($config[cf_write_pages], $page, $total_page, "?$qstr&page=");?>
|
||||
</div>
|
||||
|
||||
<div class="btn_window">
|
||||
<a href="javascript:window.close();">창닫기</a>
|
||||
</div>
|
||||
<div class="btn_window">
|
||||
<a href="javascript:window.close();">창닫기</a>
|
||||
</div>
|
||||
</section>
|
||||
Reference in New Issue
Block a user