글쓰기버튼이 안되요.하단에는 페이지오류가 있습니다.라고 > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

글쓰기버튼이 안되요.하단에는 페이지오류가 있습니다.라고 정보

글쓰기버튼이 안되요.하단에는 페이지오류가 있습니다.라고

본문

글쓰기 버튼이 활성화가 안되요.
동시에 하단에는 페이지에 오류가 있습니다.라고 나오네요.
관련스킨은 http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=64747&sca=&sfl=wr_subject%7C%7Cwr_content&stx=%EC%9D%BC%EC%A7%80&page=3


<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

if ($is_dhtml_editor) {
    include_once("$g4[path]/lib/cheditor.lib.php");
    echo "<script src='$g4[editor_path]/cheditor.js'></script>";
    echo cheditor1('wr_content', $content);
}
?>
<?
//여분필드
$ex3_filed = explode("|",$write[wr_3]);
$ext3_00  = $ex3_filed[0];
$ext3_01  = $ex3_filed[1];
$ext3_02  = $ex3_filed[2];
$ext3_03  = $ex3_filed[3];
$ext3_04  = $ex3_filed[4];
$ext3_05  = $ex3_filed[5];
$ext3_06  = $ex3_filed[6];
$ext3_07  = $ex3_filed[7];
$ext3_08  = $ex3_filed[8];
$ext3_09  = $ex3_filed[9];
$ext3_10  = $ex3_filed[10];
$ext3_11  = $ex3_filed[11];
$ext3_12  = $ex3_filed[12];
$ext3_13  = $ex3_filed[13];
$ext3_14  = $ex3_filed[14];
$ext3_15  = $ex3_filed[15];
$ext3_16  = $ex3_filed[16];
$ext3_17  = $ex3_filed[17];
$ext3_18  = $ex3_filed[18];
$ext3_19  = $ex3_filed[19];
$ext3_19  = $ex3_filed[19];
$ext3_20  = $ex3_filed[20];
$ext3_21  = $ex3_filed[21];
$ext3_22  = $ex3_filed[22];
$ext3_23  = $ex3_filed[23];
$ext3_24  = $ex3_filed[24];
$ext3_25  = $ex3_filed[25];
$ext3_26  = $ex3_filed[26];
$ext3_27  = $ex3_filed[27];
$ext3_28  = $ex3_filed[28];
$ext3_29  = $ex3_filed[29];
$ext3_30  = $ex3_filed[30];
$ext3_31  = $ex3_filed[31];
$ext3_32  = $ex3_filed[32];
$ext3_33  = $ex3_filed[33];
$ext3_34  = $ex3_filed[34];
$ext3_35  = $ex3_filed[35];
$ext3_36  = $ex3_filed[36];
$ext3_37  = $ex3_filed[37];
$ext3_38  = $ex3_filed[38];
$ext3_39  = $ex3_filed[39];
$ext3_40  = $ex3_filed[40];
$ext3_41  = $ex3_filed[41];
$ext3_42  = $ex3_filed[42];
$ext3_43  = $ex3_filed[43];
$ext3_44  = $ex3_filed[44];
$ext3_45  = $ex3_filed[45];
$ext3_46  = $ex3_filed[46];
$ext3_47  = $ex3_filed[47];
$ext3_48  = $ex3_filed[48];
$ext3_49  = $ex3_filed[49];

$ex4_filed = explode("|",$write[wr_4]);
$ext4_00  = $ex4_filed[0];
$ext4_01  = $ex4_filed[1];
$ext4_02  = $ex4_filed[2];
$ext4_03  = $ex4_filed[3];
$ext4_04  = $ex4_filed[4];
$ext4_05  = $ex4_filed[5];
$ext4_06  = $ex4_filed[6];
$ext4_07  = $ex4_filed[7];
$ext4_08  = $ex4_filed[8];
$ext4_09  = $ex4_filed[9];
$ext4_10  = $ex4_filed[10];
$ext4_11  = $ex4_filed[11];
$ext4_12  = $ex4_filed[12];
$ext4_13  = $ex4_filed[13];
$ext4_14  = $ex4_filed[14];
$ext4_15  = $ex4_filed[15];
$ext4_16  = $ex4_filed[16];
$ext4_17  = $ex4_filed[17];
$ext4_18  = $ex4_filed[18];
$ext4_19  = $ex4_filed[19];

$ex5_filed = explode("|",$write[wr_5]);
$ext5_00  = $ex5_filed[0];
$ext5_01  = $ex5_filed[1];
$ext5_02  = $ex5_filed[2];
$ext5_03  = $ex5_filed[3];
$ext5_04  = $ex5_filed[4];
$ext5_05  = $ex5_filed[5];
$ext5_06  = $ex5_filed[6];
$ext5_07  = $ex5_filed[7];
$ext5_08  = $ex5_filed[8];
$ext5_09  = $ex5_filed[9];

$ex6_filed = explode("|",$write[wr_6]);
$ext6_00  = $ex6_filed[0];
$ext6_01  = $ex6_filed[1];
$ext6_02  = $ex6_filed[2];
$ext6_03  = $ex6_filed[3];
$ext6_04  = $ex6_filed[4];
$ext6_05  = $ex6_filed[5];
$ext6_06  = $ex6_filed[6];
$ext6_07  = $ex6_filed[7];
$ext6_08  = $ex6_filed[8];
$ext6_09  = $ex6_filed[9];

$ex7_filed = explode("|",$write[wr_7]);
$ext7_00  = $ex7_filed[0];
$ext7_01  = $ex7_filed[1];
$ext7_02  = $ex7_filed[2];
$ext7_03  = $ex7_filed[3];
$ext7_04  = $ex7_filed[4];
$ext7_05  = $ex7_filed[5];
$ext7_06  = $ex7_filed[6];
$ext7_07  = $ex7_filed[7];
$ext7_08  = $ex7_filed[8];
$ext7_09  = $ex7_filed[9];

?>
<script language="javascript">
// 글자수 제한
var char_min = parseInt(<?=$write_min?>); // 최소
var char_max = parseInt(<?=$write_max?>); // 최대
</script>

<form name="fwrite" method="post" action="javascript:fwrite_check(document.fwrite);" enctype="multipart/form-data" style="margin:0px;">
<input type=hidden name=null>
<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=sca      value="<?=$sca?>">
<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?>">

<table width="<?=$width?>" align=center cellpadding=0 cellspacing=0><tr><td>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<colgroup width=100>
<colgroup width=''>
<tr><td height=38 bgcolor=#f8f8f9>
<div style="border:1px solid #ddd; height:34px; background:url(<?=$board_skin_path?>/img/title_bg.gif) repeat-x;">
  <table width="100%"  border="0" cellspacing="5" cellpadding="0">
    <tr>
      <td><div align="center">작성자</div></td>
      <td><? if ($is_category) { ?>
          <select name=ca_name required itemname="분류">
            <?=$category_option?>
          </select>
          <? } ?>
          <input type=hidden  name=wr_subject id="wr_subject" itemname="제목" value="<?=$subject?>"></td>
      <td><div align="center">작성일</div></td>
      <td><div align="center"></div></td>
      <td><span class="m_padding">
        <input class='ed' type=text id=wr_1 name='wr_1' size=8 maxlength=8 minlength=8 required
itemname='방문일' value='<?=$today = date("Ymd");?>' title='옆의 달력 글자를 클릭하여 날짜를 입력하세요.'>
&nbsp;&nbsp; <a href="javascript:win_calendar('wr_1', document.getElementById('wr_1').value, '');"> <img src='<?=$board_skin_path?>/img/calendar.gif' border=0 align=absmiddle title='달력 - 날짜를 선택하세요'></a> </span><span class="m_padding"><font color="#999999">※ 오늘 날짜가 아닐 경우 확인하세요.</font> </span></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>
</td></tr>

<? if ($is_name) { ?>
<tr>
    <td><input class=ed maxlength=20 size=15 name=wr_name itemname="이름" required value="<?=$name?>"></td></tr>
<tr><td height=1 bgcolor=#e7e7e7></td></tr>
<? } ?>

<? if ($is_password) { ?>
<tr>
    <td><input class=ed type=password maxlength=20 size=15 name=wr_password itemname="패스워드" <?=$password_required?>></td></tr>
<tr><td height=1 bgcolor=#e7e7e7></td></tr>
<? } ?>

<? if ($is_email) { ?>
<tr>
    <td><input class=ed maxlength=100 size=50 name=wr_email email itemname="이메일" value="<?=$email?>"></td></tr>
<tr><td height=1 bgcolor=#e7e7e7></td></tr>
<? } ?>

<? if ($is_homepage) { ?>
<tr>
    <td><input class=ed size=50 name=wr_homepage itemname="홈페이지" value="<?=$homepage?>"></td></tr>
<tr><td height=1 bgcolor=#e7e7e7></td></tr>
<? } ?>
<tr>
    <td>&nbsp;</td></tr>
<tr>
    <td>
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#E0E0E0">
      <tr>
        <td width="25" rowspan="11" bgcolor="#EBF3FC"><p align="center">업</p>
          <p align="center">무</p>
          <p align="center">내</p>
          <p align="center">용</p></td>
        <td width="80" height="25" bgcolor="#F5F5F5"><div align="center">내근/외근</div></td>
        <td width="80" bgcolor="#F5F5F5"><div align="center">시간</div></td>
        <td width="170" bgcolor="#F5F5F5"><div align="center">방문처</div></td>
        <td bgcolor="#F5F5F5"><div align="center">면담자 및 활동내역</div></td>
      </tr>
      <tr align=center bgcolor="#ffffff" onMouseOver="this.style.backgroundColor='#D5F7FF'" onMouseOut="this.style.backgroundColor=''">
        <td><div align="center">
      <input type=radio name="ext3_00" itemname='워드' value="내근" <? if($ext3_00 == "내근") echo "checked"; ?>>내
    <input type=radio name="ext3_00" itemname='워드' value="외근" <? if($ext3_00 == "외근") echo "checked"; ?>>외</div></td>
        <td><div align="center">
          <input name='ext3_10' class=ed value='<?=$ext3_10?>' type='text' style="width:76;" itemname='시간1' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        <td><div align="center">
          <input name='ext3_30' class=ed value='<?=$ext3_30?>' type='text' style="width:166;" itemname='방문처' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        <td><div align="center">
          <input name='ext3_40' class=ed value='<?=$ext3_40?>' type='text' style="width:495;" itemname='내역' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
      </tr>
      <tr align=center bgcolor="#ffffff" onMouseOver="this.style.backgroundColor='#D5F7FF'" onMouseOut="this.style.backgroundColor=''">
        <td><div align="center">
      <input type=radio name="ext3_01" itemname='워드' value="내근" <? if($ext3_01 == "내근") echo "checked"; ?>>내
    <input type=radio name="ext3_01" itemname='워드' value="외근" <? if($ext3_01 == "외근") echo "checked"; ?>>외</div></td>
        <td><div align="center">
          <input name='ext3_11' class=ed value='<?=$ext3_11?>' type='text' style="width:76;" itemname='시간2' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        <td><div align="center">
          <input name='ext3_31' class=ed value='<?=$ext3_31?>' type='text' style="width:166;" itemname='방문처2' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        <td><div align="center">
          <input name='ext3_41' class=ed value='<?=$ext3_41?>' type='text' style="width:495;" itemname='내역2' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
      </tr>
      <tr align=center bgcolor="#ffffff" onMouseOver="this.style.backgroundColor='#D5F7FF'" onMouseOut="this.style.backgroundColor=''">
        <td><div align="center">
      <input type=radio name="ext3_02" itemname='워드' value="내근" <? if($ext3_02 == "내근") echo "checked"; ?>>내
    <input type=radio name="ext3_02" itemname='워드' value="외근" <? if($ext3_02 == "외근") echo "checked"; ?>>외</div></td>
        <td><div align="center">
          <input name='ext3_12' class=ed value='<?=$ext3_12?>' type='text' style="width:76;" itemname='시간3' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
</div></td>
        <td><div align="center">
          <input name='ext3_32' class=ed value='<?=$ext3_32?>' type='text' style="width:166;" itemname='방문처3' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        <td><div align="center">
          <input name='ext3_42' class=ed value='<?=$ext3_42?>' type='text' style="width:495;" itemname='내역3' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
      </tr>
      <tr align=center bgcolor="#ffffff" onMouseOver="this.style.backgroundColor='#D5F7FF'" onMouseOut="this.style.backgroundColor=''">
        <td><div align="center">
      <input type=radio name="ext3_03" itemname='워드' value="내근" <? if($ext3_03 == "내근") echo "checked"; ?>>내
    <input type=radio name="ext3_03" itemname='워드' value="외근" <? if($ext3_03 == "외근") echo "checked"; ?>>외</div></td>
        <td><div align="center">
          <input name='ext3_13' class=ed value='<?=$ext3_13?>' type='text' style="width:76;" itemname='시간4' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        <td><div align="center">
          <input name='ext3_33' class=ed value='<?=$ext3_33?>' type='text' style="width:166;" itemname='방문처4' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        <td><div align="center">
          <input name='ext3_43' class=ed value='<?=$ext3_43?>' type='text' style="width:495;" itemname='내역4' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
      </tr>
      <tr align=center bgcolor="#ffffff" onMouseOver="this.style.backgroundColor='#D5F7FF'" onMouseOut="this.style.backgroundColor=''">
        <td><div align="center">
      <input type=radio name="ext3_04" itemname='워드' value="내근" <? if($ext3_04 == "내근") echo "checked"; ?>>내
    <input type=radio name="ext3_04" itemname='워드' value="외근" <? if($ext3_04 == "외근") echo "checked"; ?>>외</div></td>
        <td><div align="center">
          <input name='ext3_14' class=ed value='<?=$ext3_14?>' type='text' style="width:76;" itemname='시간5' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        <td><div align="center">
          <input name='ext3_34' class=ed value='<?=$ext3_34?>' type='text' style="width:166;" itemname='방문처5' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        <td><div align="center">
          <input name='ext3_44' class=ed value='<?=$ext3_44?>' type='text' style="width:495;" itemname='내역5' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
      </tr>
      <tr align=center bgcolor="#ffffff" onMouseOver="this.style.backgroundColor='#D5F7FF'" onMouseOut="this.style.backgroundColor=''">
        <td><div align="center">
      <input type=radio name="ext3_05" itemname='워드' value="내근" <? if($ext3_05 == "내근") echo "checked"; ?>>내
    <input type=radio name="ext3_05" itemname='워드' value="외근" <? if($ext3_05 == "외근") echo "checked"; ?>>외</div></td>
        <td><div align="center">
          <input name='ext3_15' class=ed value='<?=$ext3_15?>' type='text' style="width:76;" itemname='시간6' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        <td><div align="center">
          <input name='ext3_35' class=ed value='<?=$ext3_35?>' type='text' style="width:166;" itemname='방문처6' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        <td><div align="center">
          <input name='ext3_45' class=ed value='<?=$ext3_45?>' type='text' style="width:495;" itemname='내역6' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
      </tr>
      <tr align=center bgcolor="#ffffff" onMouseOver="this.style.backgroundColor='#D5F7FF'" onMouseOut="this.style.backgroundColor=''">
        <td><div align="center">
      <input type=radio name="ext3_06" itemname='워드' value="내근" <? if($ext3_06 == "내근") echo "checked"; ?>>내
    <input type=radio name="ext3_06" itemname='워드' value="외근" <? if($ext3_06 == "외근") echo "checked"; ?>>외</div></td>
        <td><div align="center">
          <input name='ext3_16' class=ed value='<?=$ext3_16?>' type='text' style="width:76;" itemname='시간7' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        <td><div align="center">
          <input name='ext3_36' class=ed value='<?=$ext3_36?>' type='text' style="width:166;" itemname='방문처7' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        <td><div align="center">
          <input name='ext3_46' class=ed value='<?=$ext3_46?>' type='text' style="width:495;" itemname='내역7' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
      </tr>
      <tr align=center bgcolor="#ffffff" onMouseOver="this.style.backgroundColor='#D5F7FF'" onMouseOut="this.style.backgroundColor=''">
        <td><div align="center">
      <input type=radio name="ext3_07" itemname='워드' value="내근" <? if($ext3_07 == "내근") echo "checked"; ?>>내
    <input type=radio name="ext3_07" itemname='워드' value="외근" <? if($ext3_07 == "외근") echo "checked"; ?>>외</div></td>
        <td><div align="center">
          <input name='ext3_17' class=ed value='<?=$ext3_17?>' type='text' style="width:76;" itemname='시간8' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        <td><div align="center">
          <input name='ext3_37' class=ed value='<?=$ext3_37?>' type='text' style="width:166;" itemname='방문처8' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        <td><div align="center">
          <input name='ext3_47' class=ed value='<?=$ext3_47?>' type='text' style="width:495;" itemname='내역8' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
      </tr>
      <tr align=center bgcolor="#ffffff" onMouseOver="this.style.backgroundColor='#D5F7FF'" onMouseOut="this.style.backgroundColor=''">
        <td><div align="center">
      <input type=radio name="ext3_08" itemname='워드' value="내근" <? if($ext3_08 == "내근") echo "checked"; ?>>내
    <input type=radio name="ext3_08" itemname='워드' value="외근" <? if($ext3_08 == "외근") echo "checked"; ?>>외</div></td>
        <td><div align="center">
          <input name='ext3_18' class=ed value='<?=$ext3_18?>' type='text' style="width:76;" itemname='시간9' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        <td><div align="center">
          <input name='ext3_38' class=ed value='<?=$ext3_38?>' type='text' style="width:166;" itemname='방문처9' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        <td><div align="center">
          <input name='ext3_48' class=ed value='<?=$ext3_48?>' type='text' style="width:495;" itemname='내역9' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
      </tr>
  <tr align=center bgcolor="#ffffff" onMouseOver="this.style.backgroundColor='#D5F7FF'" onMouseOut="this.style.backgroundColor=''">
        <td><div align="center">
      <input type=radio name="ext3_09" itemname='워드' value="내근" <? if($ext3_09 == "내근") echo "checked"; ?>>내
    <input type=radio name="ext3_09" itemname='워드' value="외근" <? if($ext3_09 == "외근") echo "checked"; ?>>외</div></td>
        <td><div align="center">
          <input name='ext3_19' class=ed value='<?=$ext3_19?>' type='text' style="width:76;" itemname='시간10' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        <td><div align="center">
          <input name='ext3_39' class=ed value='<?=$ext3_39?>' type='text' style="width:166;" itemname='방문처10' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        <td><div align="center">
          <input name='ext3_49' class=ed value='<?=$ext3_49?>' type='text' style="width:495;" itemname='내역10' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
      </tr>
      <tr>
        <td rowspan="10" bgcolor="#EBF3FC"><p align="center">명</p>
          <p align="center">일</p>
          <p align="center">계</p>
          <p align="center">획</p></td>
        <td height="25" colspan="2" bgcolor="#F5F5F5"><div align="center">방문처 및 면담예정자 </div></td>
        <td colspan="2" bgcolor="#F5F5F5"><div align="center">방문목적 및 활동계획 </div></td>
        </tr>
      <tr align=center bgcolor="#ffffff" onMouseOver="this.style.backgroundColor='#D5F7FF'" onMouseOut="this.style.backgroundColor=''">
        <td colspan="2"><div align="center">
          <input name='ext4_00' class=ed value='<?=$ext4_00?>' type='text' style="width:156;" itemname='예정1' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        <td colspan="2"><div align="center">
          <input name='ext4_10' class=ed value='<?=$ext4_10?>' type='text' style="width:666;" itemname='예정1' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        </tr>
      <tr align=center bgcolor="#ffffff" onMouseOver="this.style.backgroundColor='#D5F7FF'" onMouseOut="this.style.backgroundColor=''">
        <td colspan="2"><div align="center">
          <input name='ext4_01' class=ed value='<?=$ext4_01?>' type='text' style="width:156;" itemname='예정2' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        <td colspan="2"><div align="center">
          <input name='ext4_11' class=ed value='<?=$ext4_11?>' type='text' style="width:666;" itemname='예정2' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
      </tr>
      <tr align=center bgcolor="#ffffff" onMouseOver="this.style.backgroundColor='#D5F7FF'" onMouseOut="this.style.backgroundColor=''">
        <td colspan="2"><div align="center">
          <input name='ext4_02' class=ed value='<?=$ext4_02?>' type='text' style="width:156;" itemname='예정3' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        <td colspan="2"><div align="center">
          <input name='ext4_12' class=ed value='<?=$ext4_12?>' type='text' style="width:666;" itemname='예정3' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
      </tr>
      <tr align=center bgcolor="#ffffff" onMouseOver="this.style.backgroundColor='#D5F7FF'" onMouseOut="this.style.backgroundColor=''">
        <td colspan="2"><div align="center">
          <input name='ext4_03' class=ed value='<?=$ext4_03?>' type='text' style="width:156;" itemname='예정4' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        <td colspan="2"><div align="center">
          <input name='ext4_13' class=ed value='<?=$ext4_13?>' type='text' style="width:666;" itemname='예정4' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
      </tr>
      <tr align=center bgcolor="#ffffff" onMouseOver="this.style.backgroundColor='#D5F7FF'" onMouseOut="this.style.backgroundColor=''">
        <td colspan="2"><div align="center">
          <input name='ext4_04' class=ed value='<?=$ext4_04?>' type='text' style="width:156;" itemname='예정5' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        <td colspan="2"><div align="center">
          <input name='ext4_14' class=ed value='<?=$ext4_14?>' type='text' style="width:666;" itemname='예정5' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
      </tr>
      <tr align=center bgcolor="#ffffff" onMouseOver="this.style.backgroundColor='#D5F7FF'" onMouseOut="this.style.backgroundColor=''">
        <td colspan="2"><div align="center">
          <input name='ext4_05' class=ed value='<?=$ext4_05?>' type='text' style="width:156;" itemname='예정6' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        <td colspan="2"><div align="center">
          <input name='ext4_15' class=ed value='<?=$ext4_15?>' type='text' style="width:666;" itemname='예정6' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
      </tr>
      <tr align=center bgcolor="#ffffff" onMouseOver="this.style.backgroundColor='#D5F7FF'" onMouseOut="this.style.backgroundColor=''">
        <td colspan="2"><div align="center">
          <input name='ext4_06' class=ed value='<?=$ext4_06?>' type='text' style="width:156;" itemname='예정6' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        <td colspan="2"><div align="center">
          <input name='ext4_16' class=ed value='<?=$ext4_16?>' type='text' style="width:666;" itemname='예정7' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
      </tr>
      <tr align=center bgcolor="#ffffff" onMouseOver="this.style.backgroundColor='#D5F7FF'" onMouseOut="this.style.backgroundColor=''">
        <td colspan="2"><div align="center">
          <input name='ext4_07' class=ed value='<?=$ext4_07?>' type='text' style="width:156;" itemname='예정8' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        <td colspan="2"><div align="center">
          <input name='ext4_17' class=ed value='<?=$ext4_17?>' type='text' style="width:666;" itemname='예정8' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
      </tr>
      <tr align=center bgcolor="#ffffff" onMouseOver="this.style.backgroundColor='#D5F7FF'" onMouseOut="this.style.backgroundColor=''">
        <td colspan="2"><div align="center">
          <input name='ext4_08' class=ed value='<?=$ext4_08?>' type='text' style="width:156;" itemname='예정9' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        <td colspan="2"><div align="center">
          <input name='ext4_18' class=ed value='<?=$ext4_18?>' type='text' style="width:666;" itemname='예정9' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
      </tr>
      <tr align=center bgcolor="#ffffff" onMouseOver="this.style.backgroundColor='#D5F7FF'" onMouseOut="this.style.backgroundColor=''">
        <td rowspan="5" bgcolor="#F5FCEB"><p align="center">기</p>
          <p align="center">타</p></td>
        <td colspan="4"><div align="center">
          <input name='ext5_00' class=ed value='<?=$ext5_00?>' type='text' style="width:828;" itemname='기타1' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'">
        </div></td>
        </tr>
      <tr align=center bgcolor="#ffffff" onMouseOver="this.style.backgroundColor='#D5F7FF'" onMouseOut="this.style.backgroundColor=''">
        <td colspan="4"><input name='ext5_01' class=ed value='<?=$ext5_01?>' type='text' style="width:828;" itemname='기타2' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'"></td>
        </tr>
      <tr align=center bgcolor="#ffffff" onMouseOver="this.style.backgroundColor='#D5F7FF'" onMouseOut="this.style.backgroundColor=''">
        <td colspan="4"><input name='ext5_02' class=ed value='<?=$ext5_02?>' type='text' style="width:828;" itemname='기타3' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'"></td>
        </tr>
      <tr align=center bgcolor="#ffffff" onMouseOver="this.style.backgroundColor='#D5F7FF'" onMouseOut="this.style.backgroundColor=''">
        <td colspan="4"><input name='ext5_03' class=ed value='<?=$ext5_03?>' type='text' style="width:828;" itemname='기타4' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'"></td>
        </tr>
      <tr align=center bgcolor="#ffffff" onMouseOver="this.style.backgroundColor='#D5F7FF'" onMouseOut="this.style.backgroundColor=''">
        <td colspan="4"><input name='ext5_04' class=ed value='<?=$ext5_04?>' type='text' style="width:828;" itemname='기타5' onmouseover="this.style.backgroundColor='#EBF9FF'" onmouseout="this.style.backgroundColor='#ffffff'"></td>
      </tr>
    </table></td>
    </tr>
<tr>
    <td style='padding:5 0 5 0;'>
        <? if ($is_dhtml_editor) { ?>
            <?=cheditor2('fwrite', 'wr_content', '100%', '350');?>
        <? } else { ?>
        <table width=100% cellpadding=0 cellspacing=0>
        <tr>
            <td width=50% align=left valign=bottom>
                <span style="cursor: pointer;" onclick="textarea_decrease('wr_content', 10);"><img src="<?=$board_skin_path?>/img/up.gif"></span>
                <span style="cursor: pointer;" onclick="textarea_original('wr_content', 10);"><img src="<?=$board_skin_path?>/img/start.gif"></span>
                <span style="cursor: pointer;" onclick="textarea_increase('wr_content', 10);"><img src="<?=$board_skin_path?>/img/down.gif"></span></td>
            <td width=50% align=right><? if ($write_min || $write_max) { ?><span id=char_count></span>글자<?}?></td>
        </tr>
        </table>
        <textarea id="wr_content" name="wr_content" class=tx style='width:100%; word-break:break-all;' rows=4 itemname="내용"
        <? if ($write_min || $write_max) { ?>onkeyup="check_byte('wr_content', 'char_count');"<?}?>><?=$content?></textarea>
        <? if ($write_min || $write_max) { ?><script language="javascript"> check_byte('wr_content', 'char_count'); </script><?}?>
        <? } ?>
        </td>
</tr>
<tr><td height=1 bgcolor=#e7e7e7></td></tr>
</table>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
    <td width="100%" align="center" valign="top">
        <br>
<input type=image id="btn_submit" src="<?=$board_skin_path?>/img/btn_write.gif" border=0 accesskey='s'>&nbsp;
        <a href="./board.php?bo_table=<?=$bo_table?>"><img id="btn_list" src="<?=$board_skin_path?>/img/btn_list.gif" border=0></a></td>
</tr>
</table>

</td></tr></table>
</form>

<script language="javascript">
<?
// 관리자라면 분류 선택에 '공지' 옵션을 추가함
if ($is_admin)
{
    echo "
    if (typeof(document.fwrite.ca_name) != 'undefined')
    {
        document.fwrite.ca_name.options.length += 1;
        document.fwrite.ca_name.options[document.fwrite.ca_name.options.length-1].value = '공지';
        document.fwrite.ca_name.options[document.fwrite.ca_name.options.length-1].text = '공지';
    }";
}
?>

with (document.fwrite) {
    if (typeof(wr_name) != "undefined")
        wr_name.focus();
    else if (typeof(ca_name) != "undefined")
        ca_name.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;
//        }
//    }
//
//
//    <?
//    if ($is_dhtml_editor) {
//        echo cheditor3('wr_content');
//        echo "if (!document.getElementById('wr_content').value) { alert('내용을 입력하십시오.'); return; } ";
//    }
//    ?>
//
//    document.getElementById('btn_submit').disabled = true;
//    document.getElementById('btn_list').disabled = true;
//
//    f.action = "./write_update.php";
//    f.submit();
//}
//
</script>

<script language="JavaScript" src="<?="$g4[path]/js/board.js"?>"></script>
<script language="JavaScript">
window.onload=function() {
    drawFont();
}
</script>
  • 복사

댓글 전체

아래 스크립트 부분의 주석처리 부분을 지우고 해 보세요.

주석이라 함은 실행하지 않도록 // 로 설정해 놓은 것을 말합니다.

//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;
//        }
//    }
//
//
//    <?
//    if ($is_dhtml_editor) {
//        echo cheditor3('wr_content');
//        echo "if (!document.getElementById('wr_content').value) { alert('내용을 입력하십시오.'); return; } ";
//    }
//    ?>
//
//    document.getElementById('btn_submit').disabled = true;
//    document.getElementById('btn_list').disabled = true;
//
//    f.action = "./write_update.php";
//    f.submit();
//}
//
</script>

이 스크립트 소스 부분의 // 를 삭제하고 저장후 해 보세요.
© SIRSOFT
현재 페이지 제일 처음으로