view화면 인쇄시 코멘트도 출력하고 싶어요 정보
view화면 인쇄시 코멘트도 출력하고 싶어요본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 :
말 그대로 view화면을 인쇄하려고 검색해서 적용을 했는데요
하단에 관리자가 답변을 달고 그 코멘트까지 포함해서 프린트 인쇄를 하고 싶은데
꼭 코멘트는 빠지고 인쇄가 되고 있어서 이리저리 수정해봐도 뭘 빼먹었는지
코멘트는 인쇄가 안되고 있어용 ㅠㅠ
<div id="print_table">로 감싸서 진행했어요 ㅠㅠ 도움좀 주세요 제가 뭘 빼먹은거죠??????????ㅠㅠㅠㅠㅠㅠ
아래는 현재 view.php소스 입니당
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<div style="height:12px; line-height:1px; font-size:1px;"> </div>
<!-- 게시글 보기 시작 -->
<table width="<?=$width?>" align="center" cellpadding="0" cellspacing="0"><tr><td>
<div style="clear:both; height:30px;">
<div style="float:left; margin-top:6px;">
<img src="<?=$board_skin_path?>/img/icon_date.gif" align=absmiddle border='0'>
<span style="color:#888888;">작성일 : <?=date("y-m-d H:i", strtotime($view[wr_datetime]))?></span>
</div>
<!-- 링크 버튼 -->
<div style="float:right;">
<?
ob_start();
?>
<a href="#" onClick="javascript:window.open('<?=$board_skin_path?>/print.php?bo_table=<?=$bo_table?>','pop','width=800,height=768,left=0,top=0,scrollbars=yes,resizable=yes,toolbar=no,menubar=no,location=no,location=no,status=no')" onFocus=blur()><img src="<?=$board_skin_path?>/img/btn_print.gif" align="absmiddle" border='0'></a> <? if ($copy_href) { echo "<a href=\"$copy_href\"><img src='$board_skin_path/img/btn_copy.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($move_href) { echo "<a href=\"$move_href\"><img src='$board_skin_path/img/btn_move.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($search_href) { echo "<a href=\"$search_href\"><img src='$board_skin_path/img/btn_list_search.gif' border='0' align='absmiddle'></a> "; } ?>
<? echo "<a href=\"$list_href\"><img src='$board_skin_path/img/btn_list.gif' border='0' align='absmiddle'></a> "; ?>
<? if ($update_href) { echo "<a href=\"$update_href\"><img src='$board_skin_path/img/btn_modify.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($delete_href) { echo "<a href=\"$delete_href\"><img src='$board_skin_path/img/btn_delete.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($write_href) { echo "<a href=\"$write_href\"><img src='$board_skin_path/img/btn_write.gif' border='0' align='absmiddle'></a> "; } ?>
<?
$link_buttons = ob_get_contents();
ob_end_flush();
?>
</div>
</div>
<div style="border:1px solid #ddd; clear:both; height:34px; background:url(<?=$board_skin_path?>/img/title_bg.gif) repeat-x;">
<table border=0 cellpadding=0 cellspacing=0 width=100%>
<tr>
<td style="padding:8px 0 0 10px;">
<div style="color:#505050; font-size:13px; font-weight:bold; word-break:break-all;">
<? if ($is_category) { echo ($category_name ? "[$view[ca_name]] " : ""); } ?>
<?=cut_hangul_last(get_text($view[wr_subject]))?>
</div>
</td>
<td align="right" style="padding:6px 6px 0 0;" width=120> </td>
</tr>
</table>
</div>
<div style="height:3px; background:url(<?=$board_skin_path?>/img/title_shadow.gif) repeat-x; line-height:1px; font-size:1px;"></div>
<table border=0 cellpadding=0 cellspacing=0 width=<?=$width?>>
<tr>
<td height=30 background="<?=$board_skin_path?>/img/view_dot.gif" style="color:#888;">
<div style="float:left;">
글쓴이 :
<?=$view[name]?><? if ($is_ip_view) { echo " ($ip)"; } ?>
</div>
<div style="float:right;">
<img src="<?=$board_skin_path?>/img/icon_view.gif" border='0' align=absmiddle> 조회 : <?=number_format($view[wr_hit])?>
<? if ($is_good) { ?> <img src="<?=$board_skin_path?>/img/icon_good.gif" border='0' align=absmiddle> 추천 : <?=number_format($view[wr_good])?><? } ?>
<? if ($is_nogood) { ?> <img src="<?=$board_skin_path?>/img/icon_nogood.gif" border='0' align=absmiddle> 비추천 : <?=number_format($view[wr_nogood])?><? } ?>
</div>
</td>
</tr>
<?
// 가변 파일
$cnt = 0;
for ($i=0; $i<count($view[file]); $i++) {
if ($view[file][$i][source] && !$view[file][$i][view]) {
$cnt++;
echo "<tr><td height=30 background=\"$board_skin_path/img/view_dot.gif\">";
echo " <img src='{$board_skin_path}/img/icon_file.gif' align=absmiddle border='0'>";
echo "<a href=\"javascript:file_download('{$view[file][$i][href]}', '{$view[file][$i][source]}');\" title='{$view[file][$i][content]}'>";
echo " <span style=\"color:#888;\">{$view[file][$i][source]} ({$view[file][$i][size]})</span>";
echo " <span style=\"color:#ff6600; font-size:11px;\">[{$view[file][$i][download]}]</span>";
echo " <span style=\"color:#d3d3d3; font-size:11px;\">DATE : {$view[file][$i][datetime]}</span>";
echo "</a></td></tr>";
}
}
// 링크
$cnt = 0;
for ($i=1; $i<=$g4[link_count]; $i++) {
if ($view[link][$i]) {
$cnt++;
$link = cut_str($view[link][$i], 70);
echo "<tr><td height=30 background=\"$board_skin_path/img/view_dot.gif\">";
echo " <img src='{$board_skin_path}/img/icon_link.gif' align=absmiddle border='0'>";
echo "<a href='{$view[link_href][$i]}' target=_blank>";
echo " <span style=\"color:#888;\">{$link}</span>";
echo " <span style=\"color:#ff6600; font-size:11px;\">[{$view[link_hit][$i]}]</span>";
echo "</a></td></tr>";
}
}
?>
<tr>
<td height="150" ><div id="print_table">
<table width=100% bgcolor='ffffff' height=95 cellspacing=0 cellpadding=0 style="border:f8f8f8 5px solid;">
<tr>
<td width=110 height=32 align="center">제 목</td>
<td width=1 bgcolor=#e7e7e7></td>
<td style='padding:0 0 0 5;'><?=cut_hangul_last(get_text($view[wr_subject]))?></td>
</tr>
<tr align="center">
<td height=1 colspan=3 bgcolor=#e7e7e7></td>
</tr>
<tr>
<td width=110 height=32 align="center" >이 름</td>
<td width=1 bgcolor=#e7e7e7></td>
<td style='padding:0 0 0 5;'><?=$view[name]?></td>
</tr>
<tr align="center">
<td height=1 colspan=3 bgcolor=#e7e7e7></td>
</tr>
<tr>
<td width=110 height=32 rowspan="2" align="center">연락처</td>
<td width=1 bgcolor=#e7e7e7></td>
<td style='padding:0 0 0 5;'><? echo $view_TEL;?></td>
</tr>
<tr>
<td width=1 bgcolor=#e7e7e7></td>
<td colspan="2" style='padding:0 0 0 5;'><? echo $view_HP; ?></td>
</tr>
<tr align="center">
<td height=1 colspan=3 bgcolor=#e7e7e7></td>
</tr>
<tr>
<td width=110 height=32 align="center" >주 소</td>
<td width=1 bgcolor=#e7e7e7></td>
<td style='padding:0 0 0 5;'><?=$view_add1?>
<? echo $view_add2;?></td>
</tr>
<tr align="center">
<td height=1 colspan=3 bgcolor=#e7e7e7></td>
</tr>
<tr>
<td width=110 height=32 align="center" >이메일</td>
<td width=1 bgcolor=#e7e7e7></td>
<td colspan="2" style='padding:0 0 0 5;'><? echo $view[wr_email]; ?></td>
</tr>
<tr>
<td colspan=3 height=1 bgcolor=#e7e7e7></td>
</tr>
<tr>
<td height=32 colspan="3" bgcolor="#CCCCFF" style='padding:0 0 0 10;'><span class="write_head"><strong>선택한 제품</strong></span></td>
</tr>
<tr>
<td colspan=3 height=1 bgcolor=#e7e7e7></td>
</tr>
<tr>
<td width=110 height=32 align="center">색 상</td>
<td width=1 bgcolor=#e7e7e7></td>
<td width=550 style='padding:0 0 0 5;'> <b><?
$tmp = "";
if($ext6_00) $tmp .= $ext6_00." / ";
if($ext6_01) $tmp .= $ext6_01." / ";
if($ext6_02) $tmp .= $ext6_02." / ";
if($tmp) echo substr($tmp,0,-3);
?></b></td>
</tr>
<tr align="center">
<td height=1 colspan=3 bgcolor=#e7e7e7></td>
</tr>
<tr>
<td width=110 height=32 align="center" >가정용</td>
<td width=1 bgcolor=#e7e7e7></td>
<td width=550 style='padding:0 0 0 5;'> <b><?
$tmp = "";
if($ext6_03) $tmp .= $ext6_03." / ";
if($ext6_04) $tmp .= $ext6_04." / ";
if($ext6_05) $tmp .= $ext6_05." / ";
if($ext6_06) $tmp .= $ext6_06." / ";
if($ext6_07) $tmp .= $ext6_07." / ";
if($tmp) echo substr($tmp,0,-3);
?></b></td>
</tr>
<tr align="center">
<td height=1 colspan=3 bgcolor=#e7e7e7></td>
</tr>
<tr>
<td width=110 height=70 align="center" >유리 1구형</td>
<td width=1 bgcolor=#e7e7e7></td>
<td width=550 height="70" style='padding:0 0 0 5;'> <b><?
$tmp = "";
if($ext6_08) $tmp .= $ext6_08." / ";
if($ext6_09) $tmp .= $ext6_09." / ";
if($ext6_10) $tmp .= $ext6_10." / ";
if($ext6_11) $tmp .= $ext6_11." / ";
if($ext6_12) $tmp .= $ext6_12." / ";
if($ext6_13) $tmp .= $ext6_13." / ";
if($ext6_14) $tmp .= $ext6_14." / ";
if($ext6_15) $tmp .= $ext6_15." / ";
if($ext6_16) $tmp .= $ext6_16." / ";
if($tmp) echo substr($tmp,0,-3);
?></b></td>
</tr>
<tr align="center">
<td height=1 colspan=3 bgcolor=#e7e7e7></td>
</tr>
<tr>
<td width=110 height=70 align="center" >유리 2구형</td>
<td width=1 bgcolor=#e7e7e7></td>
<td width=550 height="70" style='padding:0 0 0 5;'> <b><?
$tmp = "";
if($ext6_17) $tmp .= $ext6_17." / ";
if($ext6_18) $tmp .= $ext6_18." / ";
if($ext6_19) $tmp .= $ext6_19." / ";
if($ext6_20) $tmp .= $ext6_20." / ";
if($ext6_21) $tmp .= $ext6_21." / ";
if($ext6_22) $tmp .= $ext6_22." / ";
if($ext6_23) $tmp .= $ext6_23." / ";
if($ext6_24) $tmp .= $ext6_24." / ";
if($ext6_25) $tmp .= $ext6_25." / ";
if($ext6_26) $tmp .= $ext6_26." / ";
if($ext6_27) $tmp .= $ext6_27." / ";
if($ext6_28) $tmp .= $ext6_28." / ";
if($tmp) echo substr($tmp,0,-3);
?></b></td>
</tr>
<tr align="center">
<td height=1 colspan=3 bgcolor=#e7e7e7></td>
</tr>
<tr>
<td width=110 height=70 align="center" >유리 3구형</td>
<td width=1 bgcolor=#e7e7e7></td>
<td width=550 height="70" style='padding:0 0 0 5;'> <b><?
$tmp = "";
if($ext7_00) $tmp .= $ext7_00." / ";
if($ext7_01) $tmp .= $ext7_01." / ";
if($ext7_02) $tmp .= $ext7_02." / ";
if($ext7_03) $tmp .= $ext7_03." / ";
if($ext7_04) $tmp .= $ext7_04." / ";
if($ext7_05) $tmp .= $ext7_05." / ";
if($ext7_06) $tmp .= $ext7_06." / ";
if($ext7_07) $tmp .= $ext7_07." / ";
if($ext7_08) $tmp .= $ext7_08." / ";
if($ext7_09) $tmp .= $ext7_09." / ";
if($ext7_10) $tmp .= $ext7_10." / ";
if($ext7_11) $tmp .= $ext7_11." / ";
if($tmp) echo substr($tmp,0,-3);
?></b></td>
</tr>
<tr align="center">
<td height=1 colspan=3 bgcolor=#e7e7e7></td>
</tr>
<tr>
<td width=110 height=70 align="center">유리 4구형</td>
<td width=1 bgcolor=#e7e7e7></td>
<td width=550 height="70" style='padding:0 0 0 5;'> <b><?
$tmp = "";
if($ext7_12) $tmp .= $ext7_12." / ";
if($ext7_13) $tmp .= $ext7_13." / ";
if($ext7_14) $tmp .= $ext7_14." / ";
if($ext7_15) $tmp .= $ext7_15." / ";
if($ext7_16) $tmp .= $ext7_16." / ";
if($ext7_17) $tmp .= $ext7_17." / ";
if($tmp) echo substr($tmp,0,-3);
?></b></td>
</tr>
<tr align="center">
<td height=1 colspan=3 bgcolor=#e7e7e7></td>
</tr>
<tr>
<td width=110 height=70 align="center" >유리 5구형</td>
<td width=1 bgcolor=#e7e7e7></td>
<td width=550 style='padding:0 0 0 5;'> <b><?
$tmp = "";
if($ext7_18) $tmp .= $ext7_18." / ";
if($ext7_19) $tmp .= $ext7_19." / ";
if($ext7_20) $tmp .= $ext7_20." / ";
if($ext7_21) $tmp .= $ext7_21." / ";
if($ext7_22) $tmp .= $ext7_22." / ";
if($ext7_23) $tmp .= $ext7_23." / ";
if($tmp) echo substr($tmp,0,-3);
?></b></td>
</tr>
<tr>
<td colspan=3 height=1 bgcolor=#e7e7e7></td>
</tr>
<tr>
<td colspan=3 height=1 bgcolor=#e7e7e7></td></tr>
</table>
<p>
<?
// 파일 출력
for ($i=0; $i<=count($view[file]); $i++) {
if ($view[file][$i][view])
echo $view[file][$i][view] . "<p>";
}
?>
<!-- 내용 출력 -->
<span id="writeContents"><?=$view[content];?></span>
<?//echo $view[rich_content]; // 과 같은 코드를 사용할 경우?>
<!-- 테러 태그 방지용 --></xml></xmp><a href=""></a><a href=''></a>
<? if ($nogood_href) {?>
<div style="width:72px; height:55px; background:url(<?=$board_skin_path?>/img/good_bg.gif) no-repeat; text-align:center; float:right;">
<div style="color:#888; margin:7px 0 5px 0;">비추천 : <?=number_format($view[wr_nogood])?></div>
<div><a href="<?=$nogood_href?>" target="hiddenframe"><img src="<?=$board_skin_path?>/img/icon_nogood.gif" border='0' align="absmiddle"></a></div>
</div>
<? } ?>
<? if ($good_href) {?>
<div style="width:72px; height:55px; background:url(<?=$board_skin_path?>/img/good_bg.gif) no-repeat; text-align:center; float:right;">
<div style="color:#888; margin:7px 0 5px 0;"><span style='color:crimson;'>추천 : <?=number_format($view[wr_good])?></span></div>
<div><a href="<?=$good_href?>" target="hiddenframe"><img src="<?=$board_skin_path?>/img/icon_good.gif" border='0' align="absmiddle"></a></div>
</div>
<? } ?>
</td>
</tr>
<? if ($is_signature) { echo "<tr><td align='center' style='border-bottom:1px solid #E7E7E7; padding:5px 0;'>$signature</td></tr>"; } // 서명 출력 ?>
</table>
<br>
<?
// 코멘트 입출력
include_once("./view_comment.php");
?></div>
<div style="height:1px; line-height:1px; font-size:1px; background-color:#ddd; clear:both;"> </div>
<div style="clear:both; height:43px;">
<div style="float:left; margin-top:10px;">
<? if ($prev_href) { echo "<a href=\"$prev_href\" title=\"$prev_wr_subject\"><img src='$board_skin_path/img/btn_prev.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($next_href) { echo "<a href=\"$next_href\" title=\"$next_wr_subject\"><img src='$board_skin_path/img/btn_next.gif' border='0' align='absmiddle'></a> "; } ?>
</div>
<!-- 링크 버튼 -->
<div style="float:right; margin-top:10px;">
<?=$link_buttons?>
</div>
</div>
<div style="height:2px; line-height:1px; font-size:1px; background-color:#dedede; clear:both;"> </div></td></tr></table><br>
<script type="text/javascript">
function file_download(link, file) {
<? if ($board[bo_download_point] < 0) { ?>if (confirm("'"+decodeURIComponent(file)+"' 파일을 다운로드 하시면 포인트가 차감(<?=number_format($board[bo_download_point])?>점)됩니다.\n\n포인트는 게시물당 한번만 차감되며 다음에 다시 다운로드 하셔도 중복하여 차감하지 않습니다.\n\n그래도 다운로드 하시겠습니까?"))<?}?>
document.location.href=link;
}
</script>
<script type="text/javascript" src="<?="$g4[path]/js/board.js"?>"></script>
<script type="text/javascript">
window.onload=function() {
resizeBoardImage(<?=(int)$board[bo_image_width]?>);
drawFont();
}
</script>
<!-- 게시글 보기 끝 -->
오류 주소 :
말 그대로 view화면을 인쇄하려고 검색해서 적용을 했는데요
하단에 관리자가 답변을 달고 그 코멘트까지 포함해서 프린트 인쇄를 하고 싶은데
꼭 코멘트는 빠지고 인쇄가 되고 있어서 이리저리 수정해봐도 뭘 빼먹었는지
코멘트는 인쇄가 안되고 있어용 ㅠㅠ
<div id="print_table">로 감싸서 진행했어요 ㅠㅠ 도움좀 주세요 제가 뭘 빼먹은거죠??????????ㅠㅠㅠㅠㅠㅠ
아래는 현재 view.php소스 입니당
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<div style="height:12px; line-height:1px; font-size:1px;"> </div>
<!-- 게시글 보기 시작 -->
<table width="<?=$width?>" align="center" cellpadding="0" cellspacing="0"><tr><td>
<div style="clear:both; height:30px;">
<div style="float:left; margin-top:6px;">
<img src="<?=$board_skin_path?>/img/icon_date.gif" align=absmiddle border='0'>
<span style="color:#888888;">작성일 : <?=date("y-m-d H:i", strtotime($view[wr_datetime]))?></span>
</div>
<!-- 링크 버튼 -->
<div style="float:right;">
<?
ob_start();
?>
<a href="#" onClick="javascript:window.open('<?=$board_skin_path?>/print.php?bo_table=<?=$bo_table?>','pop','width=800,height=768,left=0,top=0,scrollbars=yes,resizable=yes,toolbar=no,menubar=no,location=no,location=no,status=no')" onFocus=blur()><img src="<?=$board_skin_path?>/img/btn_print.gif" align="absmiddle" border='0'></a> <? if ($copy_href) { echo "<a href=\"$copy_href\"><img src='$board_skin_path/img/btn_copy.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($move_href) { echo "<a href=\"$move_href\"><img src='$board_skin_path/img/btn_move.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($search_href) { echo "<a href=\"$search_href\"><img src='$board_skin_path/img/btn_list_search.gif' border='0' align='absmiddle'></a> "; } ?>
<? echo "<a href=\"$list_href\"><img src='$board_skin_path/img/btn_list.gif' border='0' align='absmiddle'></a> "; ?>
<? if ($update_href) { echo "<a href=\"$update_href\"><img src='$board_skin_path/img/btn_modify.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($delete_href) { echo "<a href=\"$delete_href\"><img src='$board_skin_path/img/btn_delete.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($write_href) { echo "<a href=\"$write_href\"><img src='$board_skin_path/img/btn_write.gif' border='0' align='absmiddle'></a> "; } ?>
<?
$link_buttons = ob_get_contents();
ob_end_flush();
?>
</div>
</div>
<div style="border:1px solid #ddd; clear:both; height:34px; background:url(<?=$board_skin_path?>/img/title_bg.gif) repeat-x;">
<table border=0 cellpadding=0 cellspacing=0 width=100%>
<tr>
<td style="padding:8px 0 0 10px;">
<div style="color:#505050; font-size:13px; font-weight:bold; word-break:break-all;">
<? if ($is_category) { echo ($category_name ? "[$view[ca_name]] " : ""); } ?>
<?=cut_hangul_last(get_text($view[wr_subject]))?>
</div>
</td>
<td align="right" style="padding:6px 6px 0 0;" width=120> </td>
</tr>
</table>
</div>
<div style="height:3px; background:url(<?=$board_skin_path?>/img/title_shadow.gif) repeat-x; line-height:1px; font-size:1px;"></div>
<table border=0 cellpadding=0 cellspacing=0 width=<?=$width?>>
<tr>
<td height=30 background="<?=$board_skin_path?>/img/view_dot.gif" style="color:#888;">
<div style="float:left;">
글쓴이 :
<?=$view[name]?><? if ($is_ip_view) { echo " ($ip)"; } ?>
</div>
<div style="float:right;">
<img src="<?=$board_skin_path?>/img/icon_view.gif" border='0' align=absmiddle> 조회 : <?=number_format($view[wr_hit])?>
<? if ($is_good) { ?> <img src="<?=$board_skin_path?>/img/icon_good.gif" border='0' align=absmiddle> 추천 : <?=number_format($view[wr_good])?><? } ?>
<? if ($is_nogood) { ?> <img src="<?=$board_skin_path?>/img/icon_nogood.gif" border='0' align=absmiddle> 비추천 : <?=number_format($view[wr_nogood])?><? } ?>
</div>
</td>
</tr>
<?
// 가변 파일
$cnt = 0;
for ($i=0; $i<count($view[file]); $i++) {
if ($view[file][$i][source] && !$view[file][$i][view]) {
$cnt++;
echo "<tr><td height=30 background=\"$board_skin_path/img/view_dot.gif\">";
echo " <img src='{$board_skin_path}/img/icon_file.gif' align=absmiddle border='0'>";
echo "<a href=\"javascript:file_download('{$view[file][$i][href]}', '{$view[file][$i][source]}');\" title='{$view[file][$i][content]}'>";
echo " <span style=\"color:#888;\">{$view[file][$i][source]} ({$view[file][$i][size]})</span>";
echo " <span style=\"color:#ff6600; font-size:11px;\">[{$view[file][$i][download]}]</span>";
echo " <span style=\"color:#d3d3d3; font-size:11px;\">DATE : {$view[file][$i][datetime]}</span>";
echo "</a></td></tr>";
}
}
// 링크
$cnt = 0;
for ($i=1; $i<=$g4[link_count]; $i++) {
if ($view[link][$i]) {
$cnt++;
$link = cut_str($view[link][$i], 70);
echo "<tr><td height=30 background=\"$board_skin_path/img/view_dot.gif\">";
echo " <img src='{$board_skin_path}/img/icon_link.gif' align=absmiddle border='0'>";
echo "<a href='{$view[link_href][$i]}' target=_blank>";
echo " <span style=\"color:#888;\">{$link}</span>";
echo " <span style=\"color:#ff6600; font-size:11px;\">[{$view[link_hit][$i]}]</span>";
echo "</a></td></tr>";
}
}
?>
<tr>
<td height="150" ><div id="print_table">
<table width=100% bgcolor='ffffff' height=95 cellspacing=0 cellpadding=0 style="border:f8f8f8 5px solid;">
<tr>
<td width=110 height=32 align="center">제 목</td>
<td width=1 bgcolor=#e7e7e7></td>
<td style='padding:0 0 0 5;'><?=cut_hangul_last(get_text($view[wr_subject]))?></td>
</tr>
<tr align="center">
<td height=1 colspan=3 bgcolor=#e7e7e7></td>
</tr>
<tr>
<td width=110 height=32 align="center" >이 름</td>
<td width=1 bgcolor=#e7e7e7></td>
<td style='padding:0 0 0 5;'><?=$view[name]?></td>
</tr>
<tr align="center">
<td height=1 colspan=3 bgcolor=#e7e7e7></td>
</tr>
<tr>
<td width=110 height=32 rowspan="2" align="center">연락처</td>
<td width=1 bgcolor=#e7e7e7></td>
<td style='padding:0 0 0 5;'><? echo $view_TEL;?></td>
</tr>
<tr>
<td width=1 bgcolor=#e7e7e7></td>
<td colspan="2" style='padding:0 0 0 5;'><? echo $view_HP; ?></td>
</tr>
<tr align="center">
<td height=1 colspan=3 bgcolor=#e7e7e7></td>
</tr>
<tr>
<td width=110 height=32 align="center" >주 소</td>
<td width=1 bgcolor=#e7e7e7></td>
<td style='padding:0 0 0 5;'><?=$view_add1?>
<? echo $view_add2;?></td>
</tr>
<tr align="center">
<td height=1 colspan=3 bgcolor=#e7e7e7></td>
</tr>
<tr>
<td width=110 height=32 align="center" >이메일</td>
<td width=1 bgcolor=#e7e7e7></td>
<td colspan="2" style='padding:0 0 0 5;'><? echo $view[wr_email]; ?></td>
</tr>
<tr>
<td colspan=3 height=1 bgcolor=#e7e7e7></td>
</tr>
<tr>
<td height=32 colspan="3" bgcolor="#CCCCFF" style='padding:0 0 0 10;'><span class="write_head"><strong>선택한 제품</strong></span></td>
</tr>
<tr>
<td colspan=3 height=1 bgcolor=#e7e7e7></td>
</tr>
<tr>
<td width=110 height=32 align="center">색 상</td>
<td width=1 bgcolor=#e7e7e7></td>
<td width=550 style='padding:0 0 0 5;'> <b><?
$tmp = "";
if($ext6_00) $tmp .= $ext6_00." / ";
if($ext6_01) $tmp .= $ext6_01." / ";
if($ext6_02) $tmp .= $ext6_02." / ";
if($tmp) echo substr($tmp,0,-3);
?></b></td>
</tr>
<tr align="center">
<td height=1 colspan=3 bgcolor=#e7e7e7></td>
</tr>
<tr>
<td width=110 height=32 align="center" >가정용</td>
<td width=1 bgcolor=#e7e7e7></td>
<td width=550 style='padding:0 0 0 5;'> <b><?
$tmp = "";
if($ext6_03) $tmp .= $ext6_03." / ";
if($ext6_04) $tmp .= $ext6_04." / ";
if($ext6_05) $tmp .= $ext6_05." / ";
if($ext6_06) $tmp .= $ext6_06." / ";
if($ext6_07) $tmp .= $ext6_07." / ";
if($tmp) echo substr($tmp,0,-3);
?></b></td>
</tr>
<tr align="center">
<td height=1 colspan=3 bgcolor=#e7e7e7></td>
</tr>
<tr>
<td width=110 height=70 align="center" >유리 1구형</td>
<td width=1 bgcolor=#e7e7e7></td>
<td width=550 height="70" style='padding:0 0 0 5;'> <b><?
$tmp = "";
if($ext6_08) $tmp .= $ext6_08." / ";
if($ext6_09) $tmp .= $ext6_09." / ";
if($ext6_10) $tmp .= $ext6_10." / ";
if($ext6_11) $tmp .= $ext6_11." / ";
if($ext6_12) $tmp .= $ext6_12." / ";
if($ext6_13) $tmp .= $ext6_13." / ";
if($ext6_14) $tmp .= $ext6_14." / ";
if($ext6_15) $tmp .= $ext6_15." / ";
if($ext6_16) $tmp .= $ext6_16." / ";
if($tmp) echo substr($tmp,0,-3);
?></b></td>
</tr>
<tr align="center">
<td height=1 colspan=3 bgcolor=#e7e7e7></td>
</tr>
<tr>
<td width=110 height=70 align="center" >유리 2구형</td>
<td width=1 bgcolor=#e7e7e7></td>
<td width=550 height="70" style='padding:0 0 0 5;'> <b><?
$tmp = "";
if($ext6_17) $tmp .= $ext6_17." / ";
if($ext6_18) $tmp .= $ext6_18." / ";
if($ext6_19) $tmp .= $ext6_19." / ";
if($ext6_20) $tmp .= $ext6_20." / ";
if($ext6_21) $tmp .= $ext6_21." / ";
if($ext6_22) $tmp .= $ext6_22." / ";
if($ext6_23) $tmp .= $ext6_23." / ";
if($ext6_24) $tmp .= $ext6_24." / ";
if($ext6_25) $tmp .= $ext6_25." / ";
if($ext6_26) $tmp .= $ext6_26." / ";
if($ext6_27) $tmp .= $ext6_27." / ";
if($ext6_28) $tmp .= $ext6_28." / ";
if($tmp) echo substr($tmp,0,-3);
?></b></td>
</tr>
<tr align="center">
<td height=1 colspan=3 bgcolor=#e7e7e7></td>
</tr>
<tr>
<td width=110 height=70 align="center" >유리 3구형</td>
<td width=1 bgcolor=#e7e7e7></td>
<td width=550 height="70" style='padding:0 0 0 5;'> <b><?
$tmp = "";
if($ext7_00) $tmp .= $ext7_00." / ";
if($ext7_01) $tmp .= $ext7_01." / ";
if($ext7_02) $tmp .= $ext7_02." / ";
if($ext7_03) $tmp .= $ext7_03." / ";
if($ext7_04) $tmp .= $ext7_04." / ";
if($ext7_05) $tmp .= $ext7_05." / ";
if($ext7_06) $tmp .= $ext7_06." / ";
if($ext7_07) $tmp .= $ext7_07." / ";
if($ext7_08) $tmp .= $ext7_08." / ";
if($ext7_09) $tmp .= $ext7_09." / ";
if($ext7_10) $tmp .= $ext7_10." / ";
if($ext7_11) $tmp .= $ext7_11." / ";
if($tmp) echo substr($tmp,0,-3);
?></b></td>
</tr>
<tr align="center">
<td height=1 colspan=3 bgcolor=#e7e7e7></td>
</tr>
<tr>
<td width=110 height=70 align="center">유리 4구형</td>
<td width=1 bgcolor=#e7e7e7></td>
<td width=550 height="70" style='padding:0 0 0 5;'> <b><?
$tmp = "";
if($ext7_12) $tmp .= $ext7_12." / ";
if($ext7_13) $tmp .= $ext7_13." / ";
if($ext7_14) $tmp .= $ext7_14." / ";
if($ext7_15) $tmp .= $ext7_15." / ";
if($ext7_16) $tmp .= $ext7_16." / ";
if($ext7_17) $tmp .= $ext7_17." / ";
if($tmp) echo substr($tmp,0,-3);
?></b></td>
</tr>
<tr align="center">
<td height=1 colspan=3 bgcolor=#e7e7e7></td>
</tr>
<tr>
<td width=110 height=70 align="center" >유리 5구형</td>
<td width=1 bgcolor=#e7e7e7></td>
<td width=550 style='padding:0 0 0 5;'> <b><?
$tmp = "";
if($ext7_18) $tmp .= $ext7_18." / ";
if($ext7_19) $tmp .= $ext7_19." / ";
if($ext7_20) $tmp .= $ext7_20." / ";
if($ext7_21) $tmp .= $ext7_21." / ";
if($ext7_22) $tmp .= $ext7_22." / ";
if($ext7_23) $tmp .= $ext7_23." / ";
if($tmp) echo substr($tmp,0,-3);
?></b></td>
</tr>
<tr>
<td colspan=3 height=1 bgcolor=#e7e7e7></td>
</tr>
<tr>
<td colspan=3 height=1 bgcolor=#e7e7e7></td></tr>
</table>
<p>
<?
// 파일 출력
for ($i=0; $i<=count($view[file]); $i++) {
if ($view[file][$i][view])
echo $view[file][$i][view] . "<p>";
}
?>
<!-- 내용 출력 -->
<span id="writeContents"><?=$view[content];?></span>
<?//echo $view[rich_content]; // 과 같은 코드를 사용할 경우?>
<!-- 테러 태그 방지용 --></xml></xmp><a href=""></a><a href=''></a>
<? if ($nogood_href) {?>
<div style="width:72px; height:55px; background:url(<?=$board_skin_path?>/img/good_bg.gif) no-repeat; text-align:center; float:right;">
<div style="color:#888; margin:7px 0 5px 0;">비추천 : <?=number_format($view[wr_nogood])?></div>
<div><a href="<?=$nogood_href?>" target="hiddenframe"><img src="<?=$board_skin_path?>/img/icon_nogood.gif" border='0' align="absmiddle"></a></div>
</div>
<? } ?>
<? if ($good_href) {?>
<div style="width:72px; height:55px; background:url(<?=$board_skin_path?>/img/good_bg.gif) no-repeat; text-align:center; float:right;">
<div style="color:#888; margin:7px 0 5px 0;"><span style='color:crimson;'>추천 : <?=number_format($view[wr_good])?></span></div>
<div><a href="<?=$good_href?>" target="hiddenframe"><img src="<?=$board_skin_path?>/img/icon_good.gif" border='0' align="absmiddle"></a></div>
</div>
<? } ?>
</td>
</tr>
<? if ($is_signature) { echo "<tr><td align='center' style='border-bottom:1px solid #E7E7E7; padding:5px 0;'>$signature</td></tr>"; } // 서명 출력 ?>
</table>
<br>
<?
// 코멘트 입출력
include_once("./view_comment.php");
?></div>
<div style="height:1px; line-height:1px; font-size:1px; background-color:#ddd; clear:both;"> </div>
<div style="clear:both; height:43px;">
<div style="float:left; margin-top:10px;">
<? if ($prev_href) { echo "<a href=\"$prev_href\" title=\"$prev_wr_subject\"><img src='$board_skin_path/img/btn_prev.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($next_href) { echo "<a href=\"$next_href\" title=\"$next_wr_subject\"><img src='$board_skin_path/img/btn_next.gif' border='0' align='absmiddle'></a> "; } ?>
</div>
<!-- 링크 버튼 -->
<div style="float:right; margin-top:10px;">
<?=$link_buttons?>
</div>
</div>
<div style="height:2px; line-height:1px; font-size:1px; background-color:#dedede; clear:both;"> </div></td></tr></table><br>
<script type="text/javascript">
function file_download(link, file) {
<? if ($board[bo_download_point] < 0) { ?>if (confirm("'"+decodeURIComponent(file)+"' 파일을 다운로드 하시면 포인트가 차감(<?=number_format($board[bo_download_point])?>점)됩니다.\n\n포인트는 게시물당 한번만 차감되며 다음에 다시 다운로드 하셔도 중복하여 차감하지 않습니다.\n\n그래도 다운로드 하시겠습니까?"))<?}?>
document.location.href=link;
}
</script>
<script type="text/javascript" src="<?="$g4[path]/js/board.js"?>"></script>
<script type="text/javascript">
window.onload=function() {
resizeBoardImage(<?=(int)$board[bo_image_width]?>);
drawFont();
}
</script>
<!-- 게시글 보기 끝 -->
댓글 전체
div로 둘러싼 내용을 인쇠되도록 했는데 안된다면 코멘트 내용이 끝나기 전에 </div>가 하나 들어간 것이
이유가 될 수 있을 텐데요
팝업창에 코멘트 내용이 나오는지 확인해보고 하나씩 쌍을 맞춰보세요
이유가 될 수 있을 텐데요
팝업창에 코멘트 내용이 나오는지 확인해보고 하나씩 쌍을 맞춰보세요
감사합니다 균이님! div로 감싼 위치가 잘못되어 있었나봐요 ㅎㅎ 균이님 말대로 </div> 수정했더니 잘 나오네요!