사용자: 스크랩하기 마크업

This commit is contained in:
whitedot
2012-12-12 13:26:58 +09:00
parent 73c65bff2a
commit b4214879bf
2 changed files with 21 additions and 54 deletions

View File

@ -132,7 +132,7 @@ ob_end_flush();
<? if ($scrap_href || $trackback_url || $good_href || $nogood_href) { ?>
<ul>
<? if ($scrap_href) { ?><li><a href="javascript:;" onclick="win_scrap('$scrap_href');">스크랩</a></li><? } ?>
<? if ($scrap_href) { ?><li><a href="javascript:;" onclick="win_scrap('<?=$scrap_href?>');">스크랩</a></li><? } ?>
<? if ($trackback_url) { ?><li><a href="javascript:trackback_send_server('<?=$trackback_url?>');">트랙백주소</a></li><?}?>
<? if ($good_href) {?><li>추천 <?=number_format($view['wr_good'])?> <a href="<?=$good_href?>" target="hiddenframe">추천</a></li><? } ?>
<? if ($nogood_href) {?><li>비추천 <?=number_format($view['wr_nogood'])?> <a href="<?=$nogood_href?>" target="hiddenframe">비추천</a></li><? } ?>

View File

@ -2,61 +2,28 @@
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width="600" height="50" border="0" cellpadding="0" cellspacing="0">
<h1>스크랩하기</h1>
<form name="f_scrap_popin" method="post" action="./scrap_popin_update.php">
<input type="hidden" name="bo_table" value="<?=$bo_table?>">
<input type="hidden" name="wr_id" value="<?=$wr_id?>">
<table>
<caption>스크랩 확인 및 댓글 달기</caption>
<tbody>
<tr>
<td align="center" valign="middle" bgcolor="#EBEBEB">
<table width="590" height="40" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="25" align="center" bgcolor="#FFFFFF" ><img src="<?=$member_skin_path?>/img/icon_01.gif" width="5" height="5"></td>
<td width="75" align="left" bgcolor="#FFFFFF" ><font color="#666666"><b>스크랩하기</b></font></td>
<td width="490" bgcolor="#FFFFFF" ></td>
</tr>
</table></td>
<th scope="row">제목</th>
<td><?=get_text(cut_str($write[wr_subject], 255))?></td>
</tr>
<tr>
<th scope="row">댓글</th>
<td><textarea name="wr_content"></textarea></td>
</tr>
</tbody>
</table>
<table width="600" border="0" cellspacing="0" cellpadding="0">
<form name=f_scrap_popin method=post action="./scrap_popin_update.php">
<input type="hidden" name="bo_table" value="<?=$bo_table?>">
<input type="hidden" name="wr_id" value="<?=$wr_id?>">
<tr>
<td height="200" align="center" valign="top"><table width="540" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="20"></td>
</tr>
<tr>
<td height="2" bgcolor="#808080"></td>
</tr>
<tr>
<td width="540" height="2" align="center" valign="top" bgcolor="#FFFFFF"><table width="540" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="80" height="27" align="center"><b>제목</b></td>
<td width="10" valign="bottom"><img src="<?=$member_skin_path?>/img/l.gif" width="1" height="8"></td>
<td width="450" style='word-break:break-all;'><?=get_text(cut_str($write[wr_subject], 255))?></td>
</tr>
<tr>
<td height="1" colspan="3" bgcolor="#E9E9E9"></td>
</tr>
<tr>
<td width="80" height="200" align="center"><b>코멘트</b></td>
<td width="10" valign="bottom"><img src="<?=$member_skin_path?>/img/l.gif" width="1" height="8"></td>
<td width="450"><textarea name="wr_content" rows="10" style="width:90%;"></textarea></td>
</tr>
<tr>
<td height="1" colspan="3" bgcolor="#E9E9E9"></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="2" align="center" valign="top" bgcolor="#D5D5D5"></td>
</tr>
<tr>
<td height="2" align="center" valign="top" bgcolor="#E6E6E6"></td>
</tr>
<tr>
<td height="40" align="center" valign="bottom"><INPUT type=image width="40" height="20" src="<?=$member_skin_path?>/img/ok_btn.gif" border=0></td>
</tr>
</form>
</table>
<div class="btn_window">
<input type="submit" value="스크랩">
</div>