게시판이 가끔가다 깨지네요 ㅠ 정보
게시판이 가끔가다 깨지네요 ㅠ본문
위 사진처럼 수정하고 뒤로가기 누를때 저런 현상이 발생합니다 ㅠ
어디서 부터 만져야 할지 모르겠네요 ㅠ
활용팁이나 질문게시판을 다 검색해봐도 도통 답이 안떨어지는데
누가 좀 도와주세요 ㅠㅠ
이건 view.skin.php 파일내용입니다
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<style type="text/css">
/* 카테고리 스타일*/
.wireframemenu{border: 1px solid #ffffff;background-color: white;border-bottom-width: 0;width: 100px; }
* html .wireframemenu{ /*IE only rule. Original menu width minus all left/right paddings */width: 100px;}
.wireframemenu ul{padding: 0;margin: 0;list-style-type: none;}
.wireframemenu a{font: 12px gulim;padding: 4px 3px;display: block;width: 100%; /*Define width for IE6's sake*/color: #333333;text-decoration: none;border-bottom: 1px solid #E7E7E7;}
.wireframemenu a:visited{color: #333333;}
html>body .wireframemenu a{ /*Non IE rule*/width: auto;}
.wireframemenu a:hover{background-color: #ffffff;color: black;}
</style>
<?
// 카테고리 뽑아오기
if ($is_category) {
//카테고리별 게시물수 체크
$cate_print = "";
$cate_print .="
<div class=\"wireframemenu\" align=left>
<ul>
<li><a href=\"\gnuboard4\bbs\board.php?bo_table=$bo_table&sca={$category_location}\"><b>전체보기</b></a></li>
";
$cate = explode("|", $board[bo_category_list]);
for ($i=0; $i<count($cate); $i++){
$row1 = sql_fetch(" SELECT count(*) as cat_cnt FROM {$g4[write_prefix]}{$bo_table} WHERE ca_name = '$cate[$i]' and wr_comment >= '0' ");
if (trim($cate[$i])){
$cate_print .=" <li><a href=\"\gnuboard4\bbs\board.php?bo_table=$bo_table&sca={$category_location}{$cate[$i]}\">".$cate[$i]." (".$row1[cat_cnt].")</a></li>";
}
}
$cate_print .= "
</ul>
</div>
";
} ?>
<!-- 게시글 보기 시작 -->
<table width="<?=$width?>" align="center" cellpadding="0" cellspacing="0"><tr><td>
<!-- 분류 셀렉트 박스, 게시물 몇건, 관리자화면 링크 -->
<table width="100%" cellspacing="0" cellpadding="0">
<tr height="25">
<td width="50%"></td>
<td align="right" style="font:normal 11px tahoma; color:#BABABA;">
<?
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
?>
<? echo outlogin("stepa_euckr"); ?>
<? if ($admin_href) { ?><a href="<?=$admin_href?>">admin</a><?}?></td>
</tr>
<tr><td height=5></td></tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top" width="15%">
<!-- 카테고리 출력 -->
<? if ($is_category) { ?>
<div id="cate" style="float:left; padding-top:2px; padding-right:5px;"><?=$cate_print?></div>
<? } ?>
</td>
<td align="center" valign="top" width="100%">
<table width="100%" cellspacing="0" cellpadding="0">
<tr><td height=2 bgcolor="#ffffff"></td></tr>
<tr><td height=30 style="padding:5px 0 5px 0;">
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td style='word-break:break-all; height:28px;'> <font style="font:normal 11px 돋움; color:#BABABA;">제목</font> <strong><span id="writeSubject"><? if ($is_category) { echo ($category_name ? "[$view[ca_name]] " : ""); } ?><?=cut_hangul_last(get_text($view[wr_subject]))?></span></strong></td>
<td width=70><? if ($update_href) { echo "<a href=\"$update_href\">수정</a> "; } ?> <? if ($delete_href) { echo "<a href=\"$delete_href\">삭제</a> "; } ?></td>
</tr>
<tr><td colspan="2" height=3 style="background:url(<?=$board_skin_path?>/img/title_bg.gif) repeat-x;"></td></tr>
</table></td></tr>
<tr><td height=1 bgcolor=#E7E7E7></td></tr>
</td>
<?
// 가변 파일
$cnt = 0;
for ($i=0; $i<count($view[file]); $i++) {
if ($view[file][$i][source] && !$view[file][$i][view]) {
$cnt++;
//echo "<tr><td height=22> <img src='{$board_skin_path}/img/icon_file.gif' align=absmiddle> <a href='{$view[file][$i][href]}' title='{$view[file][$i][content]}'><strong>{$view[file][$i][source]}</strong> ({$view[file][$i][size]}), Down : {$view[file][$i][download]}, {$view[file][$i][datetime]}</a></td></tr>";
echo "<tr><td height=30> <img src='{$board_skin_path}/img/icon_file.gif' align=absmiddle> <a href=\"javascript:file_download('{$view[file][$i][href]}', '{$view[file][$i][source]}');\" title='{$view[file][$i][content]}'><font style='normal 11px 돋움;'>{$view[file][$i][source]} ({$view[file][$i][size]}), Down : {$view[file][$i][download]}, {$view[file][$i][datetime]}</font></a></td></tr><tr><td height='1' bgcolor='#E7E7E7'></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> <img src='{$board_skin_path}/img/icon_link.gif' align=absmiddle> <a href='{$view[link_href][$i]}' target=_blank><font style='normal 11px 돋움;'>{$link} ({$view[link_hit][$i]})</font></a></td></tr><tr><td height='1' bgcolor='#E7E7E7'></td></tr>";
}
}
?>
<!-- <tr><td height=1 bgcolor=#"E7E7E7"></td></tr> //-->
<tr>
<td height="30" style='word-break:break-all;padding:10px;'>
<?
// 파일 출력
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>
</td>
</tr>
<tr><td height="1" bgcolor="#E7E7E7"></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");
?>
<?=$link_buttons?>
</td></tr></table><br>
<script language="JavaScript">
function file_download(link, file) {
<? if ($board[bo_download_point] < 0) { ?>if (confirm("'"+file+"' 파일을 다운로드 하시면 포인트가 차감(<?=number_format($board[bo_download_point])?>점)됩니다.\n\n포인트는 게시물당 한번만 차감되며 다음에 다시 다운로드 하셔도 중복하여 차감하지 않습니다.\n\n그래도 다운로드 하시겠습니까?"))<?}?>
document.location.href=link;
}
</script>
<script language="JavaScript" src="<?="$g4[path]/js/board.js"?>"></script>
<script language="JavaScript">
window.onload=function() {
resizeBoardImage(<?=(int)$board[bo_image_width]?>);
drawFont();
}
</script>
댓글 전체