테이블이 틀어지는데요.... 정보
테이블이 틀어지는데요....본문
write.php 파일인데요
상단파일경로, 하단파일경로 넣으면 틀어지거든요.
근데 head나 tail HTML에는 문제가 없거든요.
다른 게시판 어떤 것을 적용해도 틀어지는게 없습니다.
근데 이 게시판만 쓰면 그러네요.
전 아무리 봐도 이유를 모르겠고...
혹시 이유를 알면 좀 부탁드리겠습니다.
오류주소=>http://bumik.cafe24.com/board/bbs/write.php?bo_table=test
왼쪽 오른쪽에 하얀 공간이 생기고 틀어졌는데 2시간째 봐도 정말 모르겠네요..
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<style type="text/css">
<!--
.w_title { font-family:돋움; font-size:9pt; color:#9A9A9A; }
.w_padding { PADDING-LEFT: 15px; PADDING-BOTTOM: 5px; PADDING-TOP: 5px; }
.w_padding2 { PADDING-LEFT: 15px; PADDING-TOP: 5px; }
.w_text { BORDER: #D3D3D3 1px solid; HEIGHT: 18px; BACKGROUND-COLOR: #ffffff; }
.w_textarea { BORDER: #D3D3D3 1px solid; BACKGROUND-COLOR: #ffffff; WIDTH: 100%; WORD-BREAK: break-all; }
.w_message { font-family:돋움; font-size:9pt; color:#4B4B4B; }
.w_norobot { font-family:돋움; font-size:9pt; color:#BB4681; }
.w_hand { cursor:pointer; }
-->
</style>
<script language="JavaScript">
// 글자수 제한
var char_min = parseInt(<?=$write_min?>); // 최소
var char_max = parseInt(<?=$write_max?>); // 최대
</script>
<link rel='stylesheet' href='<?=$board_skin_path?>/style01.css' type='text/css'>
<form name="fwrite" method="post" action="javascript:fwrite_check(document.fwrite);" enctype="multipart/form-data" autocomplete="off">
<table width='<?=$width?>' align=center border=0 cellpadding=0 cellspacing=0><tr><td>
<input type=hidden name=w value="<?=$w?>">
<input type=hidden name=bo_table value="<?=$bo_table?>">
<input type=hidden name=wr_id value="<?=$wr_id?>">
<input type=hidden name=sfl value="<?=$sfl?>">
<input type=hidden name=stx value="<?=$stx?>">
<input type=hidden name=spt value="<?=$spt?>">
<input type=hidden name=sst value="<?=$sst?>">
<input type=hidden name=sod value="<?=$sod?>">
<input type=hidden name=page value="<?=$page?>">
<?
if ($w == "u")
$title_img = "title_edit.gif";
else if ($w == "r") {
$title_img = "title_reply.gif";
// 텍스트일 경우 원글을 보여준다.
if ($write[wr_html] == false)
$content = ">\n> " . preg_replace("/\n/", "\n> ", get_text($write[wr_content], 0)) . "\n> \n\n";
} else
$title_img = "title_write.gif";
?>
<table width='100%' cellpadding=0 cellspacing=0 border=0>
<colgroup width=80>
<colgroup width=''>
<tr><td colspan=2 class=bt><img src='<?="$board_skin_path/img/$title_img";?>' border=0></td></tr>
<tr><td colspan=2 height=1 class=form_line1></td></tr>
<tr><td colspan=2 height=1 class=form_line2></td></tr>
<? if ($is_name) { ?>
<tr>
<td height=30> <span class=w_title>이 름</span></td>
<td>: <input type=text name='wr_name' size=15 maxlength=20 required itemname='이름' value='<?=$name?>' class=input></td>
<tr><td colspan=2 height=1 class=form_line1></td></tr>
<tr><td colspan=2 height=1 class=form_line2></td></tr>
<? } ?>
<? if ($is_passwd) { ?>
<tr>
<td height=30> <span class=w_title>비밀번호</span></td>
<td>: <input type=password name='wr_passwd' size=15 maxlength=20 <?=$passwd_required?> itemname='비밀번호' class=input></td>
</tr>
<tr><td colspan=2 height=1 class=form_line1></td></tr>
<tr><td colspan=2 height=1 class=form_line2></td></tr>
<? } ?>
<? if ($is_email) { ?>
<tr>
<td height=30> <span class=w_title>E-mail</span></td>
<td>: <input type=text name='wr_email' maxlength=100 email itemname='E-MAIL' value='<?=$email?>' class=input size=45 class=input></td>
</tr>
<tr><td colspan=2 height=1 class=form_line1></td></tr>
<tr><td colspan=2 height=1 class=form_line2></td></tr>
<? } ?>
<? if ($is_homepage) { ?>
<tr>
<td height=30> <b><font size="2">홈페이지</span></td>
<td>: <input type=text name='wr_homepage' itemname='홈페이지' value='<?=$homepage?>' class=input size=45></td>
</tr>
<tr><td colspan=2 height=1 class=form_line1></td></tr>
<tr><td colspan=2 height=1 class=form_line2></td></tr>
<? } ?>
<? if ($is_category) { ?>
<tr>
<td height=30> <span class=w_title>분 류</span></td>
<td>: <select name=ca_name required itemname="분류"><option value="">선택하세요<?=$category_option?></select></td>
</tr>
<tr><td colspan=2 height=1 class=form_line1></td></tr>
<tr><td colspan=2 height=1 class=form_line2></td></tr>
<? } ?>
<? if($w == 'u' && $is_admin) { ?>
<tr>
<td height=30> <span class=w_title>날 짜</span></td>
<td>: <input type=text name='wr_datetime' required itemname='시간' value='<?=$write[wr_datetime]?>' class=input size=30></td>
</tr>
<tr><td colspan=2 height=1 class=form_line1></td></tr>
<tr><td colspan=2 height=1 class=form_line2></td></tr>
<? } ?>
<tr>
<td height=30> <span class=w_title>선 택</span></td>
<td>: <? if ($is_notice) { ?><input type=checkbox name=notice value="1" <?=$notice_checked?>><span class=w_title>공지사항</font> <? } ?>
<? if ($is_html) { ?><INPUT onclick="html_auto_br(this);" type=checkbox value="<?=$html_value?>" name="html" <?=$html_checked?>><span class=w_title>HTML</span> <? } ?>
<? if ($is_secret) { ?><INPUT type=checkbox value="secret" name="secret" <?=$secret_checked?>><span class=w_title>비밀글</span> <? } ?>
<INPUT type=checkbox value="mail" name="mail" <?=$recv_email_checked?>><span class=w_title>답변메일받기</span>
</td>
</tr>
<tr><td colspan=2 height=1 class=form_line1></td></tr>
<tr><td colspan=2 height=1 class=form_line2></td></tr>
<tr>
<td height=30> <span class=w_title>제 목</span></td>
<td width="84%" class=w_padding><INPUT class=w_text style="width:100%;" name=wr_subject itemname="제목" required value="<?=$subject?>"></TD>
</tr>
<tr><td colspan=2 height=1 class=form_line1></td></tr>
<tr><td colspan=2 height=1 class=form_line2></td></tr>
<tr>
<td align=left height=25> <span class=w_title>본문내용</span></td>
<td>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width=50% align=left><span id=char_count></span>글자</td>
<td width=50% align=right>
<SPAN style="CURSOR: pointer;" onclick="textarea_decrease('wr_content', 10);"><img src="<?=$board_skin_path?>/img/up.gif" width="16" height="16"></SPAN>
<SPAN style="CURSOR: pointer;" onclick="textarea_original('wr_content', 10);"><img src="<?=$board_skin_path?>/img/start.gif" width="16" height="16"></SPAN>
<SPAN style="CURSOR: pointer;" onclick="textarea_increase('wr_content', 10);"><img src="<?=$board_skin_path?>/img/down.gif" width="16" height="16"></SPAN>
</td>
</tr>
</table>
</td>
</tr>
</tr
<tr>
<td colspan=2 align=right>
<textarea id=wr_content name=wr_content rows=10 itemname="내용" required ONKEYUP="check_byte('wr_content', 'char_count');" style='border: 1px solid #C2C2C2; word-break:break-all; width:82%;' required rows=15 itemname='내용' class='textarea lh'><?=$content?></textarea>
<script language="JavaScript"> check_byte('wr_content', 'char_count'); </script>
</td>
</tr>
<? if ($is_link) { ?>
<? for ($i=1; $i<=$g4[link_count]; $i++) { ?>
<tr><td colspan=2 height=1 class=form_line1></td></tr>
<tr><td colspan=2 height=1 class=form_line2></td></tr>
<tr>
<td height=30> <span class=w_title>링 크 <?=$i?></span></td>
<td>: <input type='text' name='wr_link<?=$i?>' itemname='링크 #<?=$i?>' value='<?=$write["wr_link{$i}"]?>' class=input style='width:98%;'></td>
</tr>
<? } ?>
<? } ?>
<? if ($is_file) { ?>
<tr><td colspan=2 height=1 class=form_line1></td></tr>
<tr><td colspan=2 height=1 class=form_line2></td></tr>
<tr>
<td height=30>
<table cellpadding=0 cellspacing=0>
<tr>
<td style=" PADDING-TOP: 10px;">
<span class=w_title>파 일 </span><span onclick="add_file();" class=w_hand>+</span> <span onclick="del_file();" class=w_hand>-</span>
</td>
</tr>
</table>
</td>
<td><table width=100% id="variableFiles" cellpadding=0 cellspacing=0></table><?// print_r2($file); ?>
<script language="JavaScript">
function add_file(delete_code)
{
var objTbl;
var objRow;
var objCell;
if (document.getElementById)
objTbl = document.getElementById("variableFiles");
else
objTbl = document.all["variableFiles"];
objRow = objTbl.insertRow(objTbl.rows.length);
objCell = objRow.insertCell(0);
objCell.innerHTML += ": <input type='file' class=w_text size=32 name='bf_file[]' title='파일 용량 <?=$upload_max_filesize?> 이하만 업로드 가능'>";
if (delete_code)
objCell.innerHTML += delete_code;
else
{
<? if ($is_file_content) { ?>
objCell.innerHTML += "<br>: <input type='text' class=w_text size=50 name='bf_content[]' title='업로드 이미지 파일에 해당 되는 내용을 입력하세요.'>";
<? } ?>
;
}
}
<?=$file_script; //수정시에 필요한 스크립트?>
function del_file()
{
// file_length 이하로는 필드가 삭제되지 않아야 합니다.
var file_length = <?=(int)$file_length?>;
var objTbl = document.getElementById("variableFiles");
if (objTbl.rows.length - 1 > file_length)
objTbl.deleteRow(objTbl.rows.length - 1);
}
</script>
</td>
</tr>
<tr><td colspan=2 height=1 class=form_line1></td></tr>
<tr><td colspan=2 height=1 class=form_line2></td></tr>
<? } ?>
<? if ($is_trackback) { ?>
<tr>
<td height=30> <span class=w_title>트랙백주소</span></td>
<td>: <input name=wr_trackback itemname="트랙백" value="<?=$trackback?>" class=input style='width:75%;'>
<? if ($w=="u") { ?><input type=checkbox name="re_trackback" value="1"><span class=w_message>핑 보냄</span><? } ?></TD>
</tr>
<tr><td colspan=2 height=1 class=form_line1></td></tr>
<tr><td colspan=2 height=1 class=form_line2></td></tr>
<? } ?>
<? if ($is_norobot) { ?>
<tr>
<td height=30><?=$norobot_str?></td>
<td>: <input type=input size=10 name=wr_key itemname="자동등록방지" required class=input style='width:98%;'> * 왼쪽의 글자중 <FONT COLOR="red">빨간글자만</FONT> 순서대로 입력하세요.</TD>
</tr>
<tr><td colspan=2 height=1 class=form_line1></td></tr>
<tr><td colspan=2 height=1 class=form_line2></td></tr>
<? } ?>
</table>
<br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" height="30" background="<?=$board_skin_path?>/img/write_down_bg.gif"></td>
</tr>
<tr>
<td width="100%" align="center" valign="top">
<INPUT type=image id="btn_submit" src="<?=$board_skin_path?>/img/ok_btn.gif" border=0 accesskey='s'>
<a href="./board.php?bo_table=<?=$bo_table?>"><img id="btn_list" src="<?=$board_skin_path?>/img/list_btn.gif" border=0></a></td>
</tr>
</table>
</td></tr></table>
</form>
<script language="Javascript">
with (document.fwrite) {
if (typeof(wr_name) != "undefined")
wr_name.focus();
else if (typeof(wr_subject) != "undefined")
wr_subject.focus();
else if (typeof(wr_content) != "undefined")
wr_content.focus();
if (typeof(ca_name) != "undefined")
if (w.value == "u")
ca_name.value = "<?=$write[ca_name]?>";
}
function html_auto_br(obj)
{
if (obj.checked) {
result = confirm("자동 줄바꿈을 하시겠습니까?\n\n자동 줄바꿈은 게시물 내용중 줄바뀐 곳을<br>태그로 변환하는 기능입니다.");
if (result)
obj.value = "html2";
else
obj.value = "html1";
}
else
obj.value = "";
}
function fwrite_check(f)
{
var s = "";
if (s = word_filter_check(f.wr_subject.value)) {
alert("제목에 금지단어('"+s+"')가 포함되어있습니다");
return;
}
if (s = word_filter_check(f.wr_content.value)) {
alert("내용에 금지단어('"+s+"')가 포함되어있습니다");
return;
}
if (char_min > 0 || char_max > 0)
{
var cnt = parseInt(document.getElementById('char_count').innerHTML);
if (char_min > 0 && char_min > cnt)
{
alert("내용은 "+char_min+"글자 이상 쓰셔야 합니다.");
return;
} else if (char_max > 0 && char_max < cnt)
{
alert("내용은 "+char_max+"글자 이하로 쓰셔야 합니다.");
return;
}
}
if (typeof(f.wr_key) != "undefined") {
if (hex_md5(f.wr_key.value) != md5_norobot_key) {
alert("자동등록방지용 빨간글자가 순서대로 입력되지 않았습니다.");
f.wr_key.focus();
return;
}
}
f.action = "./write_update.php";
f.submit();
}
</script>:
상단파일경로, 하단파일경로 넣으면 틀어지거든요.
근데 head나 tail HTML에는 문제가 없거든요.
다른 게시판 어떤 것을 적용해도 틀어지는게 없습니다.
근데 이 게시판만 쓰면 그러네요.
전 아무리 봐도 이유를 모르겠고...
혹시 이유를 알면 좀 부탁드리겠습니다.
오류주소=>http://bumik.cafe24.com/board/bbs/write.php?bo_table=test
왼쪽 오른쪽에 하얀 공간이 생기고 틀어졌는데 2시간째 봐도 정말 모르겠네요..
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<style type="text/css">
<!--
.w_title { font-family:돋움; font-size:9pt; color:#9A9A9A; }
.w_padding { PADDING-LEFT: 15px; PADDING-BOTTOM: 5px; PADDING-TOP: 5px; }
.w_padding2 { PADDING-LEFT: 15px; PADDING-TOP: 5px; }
.w_text { BORDER: #D3D3D3 1px solid; HEIGHT: 18px; BACKGROUND-COLOR: #ffffff; }
.w_textarea { BORDER: #D3D3D3 1px solid; BACKGROUND-COLOR: #ffffff; WIDTH: 100%; WORD-BREAK: break-all; }
.w_message { font-family:돋움; font-size:9pt; color:#4B4B4B; }
.w_norobot { font-family:돋움; font-size:9pt; color:#BB4681; }
.w_hand { cursor:pointer; }
-->
</style>
<script language="JavaScript">
// 글자수 제한
var char_min = parseInt(<?=$write_min?>); // 최소
var char_max = parseInt(<?=$write_max?>); // 최대
</script>
<link rel='stylesheet' href='<?=$board_skin_path?>/style01.css' type='text/css'>
<form name="fwrite" method="post" action="javascript:fwrite_check(document.fwrite);" enctype="multipart/form-data" autocomplete="off">
<table width='<?=$width?>' align=center border=0 cellpadding=0 cellspacing=0><tr><td>
<input type=hidden name=w value="<?=$w?>">
<input type=hidden name=bo_table value="<?=$bo_table?>">
<input type=hidden name=wr_id value="<?=$wr_id?>">
<input type=hidden name=sfl value="<?=$sfl?>">
<input type=hidden name=stx value="<?=$stx?>">
<input type=hidden name=spt value="<?=$spt?>">
<input type=hidden name=sst value="<?=$sst?>">
<input type=hidden name=sod value="<?=$sod?>">
<input type=hidden name=page value="<?=$page?>">
<?
if ($w == "u")
$title_img = "title_edit.gif";
else if ($w == "r") {
$title_img = "title_reply.gif";
// 텍스트일 경우 원글을 보여준다.
if ($write[wr_html] == false)
$content = ">\n> " . preg_replace("/\n/", "\n> ", get_text($write[wr_content], 0)) . "\n> \n\n";
} else
$title_img = "title_write.gif";
?>
<table width='100%' cellpadding=0 cellspacing=0 border=0>
<colgroup width=80>
<colgroup width=''>
<tr><td colspan=2 class=bt><img src='<?="$board_skin_path/img/$title_img";?>' border=0></td></tr>
<tr><td colspan=2 height=1 class=form_line1></td></tr>
<tr><td colspan=2 height=1 class=form_line2></td></tr>
<? if ($is_name) { ?>
<tr>
<td height=30> <span class=w_title>이 름</span></td>
<td>: <input type=text name='wr_name' size=15 maxlength=20 required itemname='이름' value='<?=$name?>' class=input></td>
<tr><td colspan=2 height=1 class=form_line1></td></tr>
<tr><td colspan=2 height=1 class=form_line2></td></tr>
<? } ?>
<? if ($is_passwd) { ?>
<tr>
<td height=30> <span class=w_title>비밀번호</span></td>
<td>: <input type=password name='wr_passwd' size=15 maxlength=20 <?=$passwd_required?> itemname='비밀번호' class=input></td>
</tr>
<tr><td colspan=2 height=1 class=form_line1></td></tr>
<tr><td colspan=2 height=1 class=form_line2></td></tr>
<? } ?>
<? if ($is_email) { ?>
<tr>
<td height=30> <span class=w_title>E-mail</span></td>
<td>: <input type=text name='wr_email' maxlength=100 email itemname='E-MAIL' value='<?=$email?>' class=input size=45 class=input></td>
</tr>
<tr><td colspan=2 height=1 class=form_line1></td></tr>
<tr><td colspan=2 height=1 class=form_line2></td></tr>
<? } ?>
<? if ($is_homepage) { ?>
<tr>
<td height=30> <b><font size="2">홈페이지</span></td>
<td>: <input type=text name='wr_homepage' itemname='홈페이지' value='<?=$homepage?>' class=input size=45></td>
</tr>
<tr><td colspan=2 height=1 class=form_line1></td></tr>
<tr><td colspan=2 height=1 class=form_line2></td></tr>
<? } ?>
<? if ($is_category) { ?>
<tr>
<td height=30> <span class=w_title>분 류</span></td>
<td>: <select name=ca_name required itemname="분류"><option value="">선택하세요<?=$category_option?></select></td>
</tr>
<tr><td colspan=2 height=1 class=form_line1></td></tr>
<tr><td colspan=2 height=1 class=form_line2></td></tr>
<? } ?>
<? if($w == 'u' && $is_admin) { ?>
<tr>
<td height=30> <span class=w_title>날 짜</span></td>
<td>: <input type=text name='wr_datetime' required itemname='시간' value='<?=$write[wr_datetime]?>' class=input size=30></td>
</tr>
<tr><td colspan=2 height=1 class=form_line1></td></tr>
<tr><td colspan=2 height=1 class=form_line2></td></tr>
<? } ?>
<tr>
<td height=30> <span class=w_title>선 택</span></td>
<td>: <? if ($is_notice) { ?><input type=checkbox name=notice value="1" <?=$notice_checked?>><span class=w_title>공지사항</font> <? } ?>
<? if ($is_html) { ?><INPUT onclick="html_auto_br(this);" type=checkbox value="<?=$html_value?>" name="html" <?=$html_checked?>><span class=w_title>HTML</span> <? } ?>
<? if ($is_secret) { ?><INPUT type=checkbox value="secret" name="secret" <?=$secret_checked?>><span class=w_title>비밀글</span> <? } ?>
<INPUT type=checkbox value="mail" name="mail" <?=$recv_email_checked?>><span class=w_title>답변메일받기</span>
</td>
</tr>
<tr><td colspan=2 height=1 class=form_line1></td></tr>
<tr><td colspan=2 height=1 class=form_line2></td></tr>
<tr>
<td height=30> <span class=w_title>제 목</span></td>
<td width="84%" class=w_padding><INPUT class=w_text style="width:100%;" name=wr_subject itemname="제목" required value="<?=$subject?>"></TD>
</tr>
<tr><td colspan=2 height=1 class=form_line1></td></tr>
<tr><td colspan=2 height=1 class=form_line2></td></tr>
<tr>
<td align=left height=25> <span class=w_title>본문내용</span></td>
<td>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width=50% align=left><span id=char_count></span>글자</td>
<td width=50% align=right>
<SPAN style="CURSOR: pointer;" onclick="textarea_decrease('wr_content', 10);"><img src="<?=$board_skin_path?>/img/up.gif" width="16" height="16"></SPAN>
<SPAN style="CURSOR: pointer;" onclick="textarea_original('wr_content', 10);"><img src="<?=$board_skin_path?>/img/start.gif" width="16" height="16"></SPAN>
<SPAN style="CURSOR: pointer;" onclick="textarea_increase('wr_content', 10);"><img src="<?=$board_skin_path?>/img/down.gif" width="16" height="16"></SPAN>
</td>
</tr>
</table>
</td>
</tr>
</tr
<tr>
<td colspan=2 align=right>
<textarea id=wr_content name=wr_content rows=10 itemname="내용" required ONKEYUP="check_byte('wr_content', 'char_count');" style='border: 1px solid #C2C2C2; word-break:break-all; width:82%;' required rows=15 itemname='내용' class='textarea lh'><?=$content?></textarea>
<script language="JavaScript"> check_byte('wr_content', 'char_count'); </script>
</td>
</tr>
<? if ($is_link) { ?>
<? for ($i=1; $i<=$g4[link_count]; $i++) { ?>
<tr><td colspan=2 height=1 class=form_line1></td></tr>
<tr><td colspan=2 height=1 class=form_line2></td></tr>
<tr>
<td height=30> <span class=w_title>링 크 <?=$i?></span></td>
<td>: <input type='text' name='wr_link<?=$i?>' itemname='링크 #<?=$i?>' value='<?=$write["wr_link{$i}"]?>' class=input style='width:98%;'></td>
</tr>
<? } ?>
<? } ?>
<? if ($is_file) { ?>
<tr><td colspan=2 height=1 class=form_line1></td></tr>
<tr><td colspan=2 height=1 class=form_line2></td></tr>
<tr>
<td height=30>
<table cellpadding=0 cellspacing=0>
<tr>
<td style=" PADDING-TOP: 10px;">
<span class=w_title>파 일 </span><span onclick="add_file();" class=w_hand>+</span> <span onclick="del_file();" class=w_hand>-</span>
</td>
</tr>
</table>
</td>
<td><table width=100% id="variableFiles" cellpadding=0 cellspacing=0></table><?// print_r2($file); ?>
<script language="JavaScript">
function add_file(delete_code)
{
var objTbl;
var objRow;
var objCell;
if (document.getElementById)
objTbl = document.getElementById("variableFiles");
else
objTbl = document.all["variableFiles"];
objRow = objTbl.insertRow(objTbl.rows.length);
objCell = objRow.insertCell(0);
objCell.innerHTML += ": <input type='file' class=w_text size=32 name='bf_file[]' title='파일 용량 <?=$upload_max_filesize?> 이하만 업로드 가능'>";
if (delete_code)
objCell.innerHTML += delete_code;
else
{
<? if ($is_file_content) { ?>
objCell.innerHTML += "<br>: <input type='text' class=w_text size=50 name='bf_content[]' title='업로드 이미지 파일에 해당 되는 내용을 입력하세요.'>";
<? } ?>
;
}
}
<?=$file_script; //수정시에 필요한 스크립트?>
function del_file()
{
// file_length 이하로는 필드가 삭제되지 않아야 합니다.
var file_length = <?=(int)$file_length?>;
var objTbl = document.getElementById("variableFiles");
if (objTbl.rows.length - 1 > file_length)
objTbl.deleteRow(objTbl.rows.length - 1);
}
</script>
</td>
</tr>
<tr><td colspan=2 height=1 class=form_line1></td></tr>
<tr><td colspan=2 height=1 class=form_line2></td></tr>
<? } ?>
<? if ($is_trackback) { ?>
<tr>
<td height=30> <span class=w_title>트랙백주소</span></td>
<td>: <input name=wr_trackback itemname="트랙백" value="<?=$trackback?>" class=input style='width:75%;'>
<? if ($w=="u") { ?><input type=checkbox name="re_trackback" value="1"><span class=w_message>핑 보냄</span><? } ?></TD>
</tr>
<tr><td colspan=2 height=1 class=form_line1></td></tr>
<tr><td colspan=2 height=1 class=form_line2></td></tr>
<? } ?>
<? if ($is_norobot) { ?>
<tr>
<td height=30><?=$norobot_str?></td>
<td>: <input type=input size=10 name=wr_key itemname="자동등록방지" required class=input style='width:98%;'> * 왼쪽의 글자중 <FONT COLOR="red">빨간글자만</FONT> 순서대로 입력하세요.</TD>
</tr>
<tr><td colspan=2 height=1 class=form_line1></td></tr>
<tr><td colspan=2 height=1 class=form_line2></td></tr>
<? } ?>
</table>
<br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" height="30" background="<?=$board_skin_path?>/img/write_down_bg.gif"></td>
</tr>
<tr>
<td width="100%" align="center" valign="top">
<INPUT type=image id="btn_submit" src="<?=$board_skin_path?>/img/ok_btn.gif" border=0 accesskey='s'>
<a href="./board.php?bo_table=<?=$bo_table?>"><img id="btn_list" src="<?=$board_skin_path?>/img/list_btn.gif" border=0></a></td>
</tr>
</table>
</td></tr></table>
</form>
<script language="Javascript">
with (document.fwrite) {
if (typeof(wr_name) != "undefined")
wr_name.focus();
else if (typeof(wr_subject) != "undefined")
wr_subject.focus();
else if (typeof(wr_content) != "undefined")
wr_content.focus();
if (typeof(ca_name) != "undefined")
if (w.value == "u")
ca_name.value = "<?=$write[ca_name]?>";
}
function html_auto_br(obj)
{
if (obj.checked) {
result = confirm("자동 줄바꿈을 하시겠습니까?\n\n자동 줄바꿈은 게시물 내용중 줄바뀐 곳을<br>태그로 변환하는 기능입니다.");
if (result)
obj.value = "html2";
else
obj.value = "html1";
}
else
obj.value = "";
}
function fwrite_check(f)
{
var s = "";
if (s = word_filter_check(f.wr_subject.value)) {
alert("제목에 금지단어('"+s+"')가 포함되어있습니다");
return;
}
if (s = word_filter_check(f.wr_content.value)) {
alert("내용에 금지단어('"+s+"')가 포함되어있습니다");
return;
}
if (char_min > 0 || char_max > 0)
{
var cnt = parseInt(document.getElementById('char_count').innerHTML);
if (char_min > 0 && char_min > cnt)
{
alert("내용은 "+char_min+"글자 이상 쓰셔야 합니다.");
return;
} else if (char_max > 0 && char_max < cnt)
{
alert("내용은 "+char_max+"글자 이하로 쓰셔야 합니다.");
return;
}
}
if (typeof(f.wr_key) != "undefined") {
if (hex_md5(f.wr_key.value) != md5_norobot_key) {
alert("자동등록방지용 빨간글자가 순서대로 입력되지 않았습니다.");
f.wr_key.focus();
return;
}
}
f.action = "./write_update.php";
f.submit();
}
</script>:
댓글 전체
검사해봤는데 무슨 이상인지 모르겠네요..^^;;;;;; HTML만 검사해 주는 건가요?
스킨에 문제가 있었던 듯하네요. 그냥 베이직 스킨에 짜붙이기 해서 해결했습니다. 어휴..괜히 몇시간동안 고생만 했네요. 엑스엠엘님 답 달아주셔서 감사합니다.