<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 
?>
<style type="text/css">
form	{ margin:0px; padding:0px; }
.title	{ font-weight:bold; margin:10px; padding:10px; color:#829800; border-bottom:2px solid #ADCA00; }
.txt	{ color:#454545; font-size:11px; }
</style>
<div class="title"><img src="<?=$member_skin_path?>/img/icon_arrow_right2.gif" align="absmiddle"> 스크랩</div>

<table width="96%" align="center" cellspacing=0 border=0>
<tr height="30" align=center bgcolor="#F7F7F7">
	<td width="7%" height="24"><b>번호</b></td>
    <td width="15%"><b>게시판</b></td>
	<td width="43%"><b>제목</b></td>
	<td width="20%"><b>보관일시</b></td>
	<td width="10%"><b>삭제</b></td>
</tr>
<tr><td height="1" colspan="5" bgcolor="#C3C3C3"></td></tr>
<? for ($i=0; $i<count($list); $i++) : ?>
<tr align="center" height=25 bgcolor="#ffffff"> 
	<td><span class="txt"><?=$list[$i][num]?></span></td>
	<td><a href="#" onclick="opener.document.location.href='<?=$list[$i][opener_href]?>';"><span class="txt"><?=$list[$i][bo_subject]?></span></a></td>
	<td align="left" style='word-break:break-all;'>&nbsp;<a href="#" onclick="opener.document.location.href='<?=$list[$i][opener_href_wr_id]?>';"><span class="txt"><?=cut_str($list[$i][subject], 45)?></span></a></td>
	<td><span class="txt"><?=$list[$i][ms_datetime]?></span></td>
	<td><a href="javascript:del('<?=$list[$i][del_href]?>');"><img src="<?=$member_skin_path?>/img/btn_comment_delete.gif" width="45" height="14" border="0"></a></td>
</tr>
<tr><td height="1" colspan="5" bgcolor="#EFEFEF"></td></tr>
<? endfor; ?>

<? if ($i == 0) echo "<tr><td colspan=5 align=center height=100>자료가 없습니다.</td></tr>"; ?>
</table>
<div style="text-align:center; margin:5px;">
<?=get_paging($config[cf_write_pages], $page, $total_page, "?$qstr&page=");?>
</div>
<div style="text-align:center; padding:5px;">
	<a href="javascript:window.close();"><img src="<?=$member_skin_path?>/img/btn_close.gif" width="48" height="20" border="0"></a>
</div>