쓰기 $wr_id를 사용할수 없습니다.라는 경고문이 나옵니다 > 그누4 질문답변

그누4 질문답변

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

쓰기 $wr_id를 사용할수 없습니다.라는 경고문이 나옵니다 정보

쓰기 $wr_id를 사용할수 없습니다.라는 경고문이 나옵니다

본문

소스좀 봐주세요..
스킨자료실에서 부동산 스킨을 받았는데...
쓰기 $wr_id를 사용할수 없습니다.라는 경고문이 나옵니다..
어디를 수정 해야 게시판을 뒤져서 비슷한 글을 읽고 수정을 해봤는데..
어렵네요..

부탁좀 드립니다..


<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 
?>
<?
$p_four = explode("|",$write[wr_4]);
$four01 = $p_four[0];
$four02 = $p_four[1];
$four03 = $p_four[2];
$four04 = $p_four[3];
$four05 = $p_four[4];
?>
<?
$p_six = explode("|",$write[wr_6]);
$six01 = $p_six[0];
$six02 = $p_six[1];
$six03 = $p_six[2];
$six04 = $p_six[3];
$six05 = $p_six[4];
$six06 = $p_six[5];
$six07 = $p_six[6];
$six08 = $p_six[7];
$six09 = $p_six[8];
$six10 = $p_six[9];
$six11 = $p_six[10];
$six12 = $p_six[11];
$six13 = $p_six[12];
$six14 = $p_six[13];
$six15 = $p_six[14];
$six16 = $p_six[15];
$six17 = $p_six[16];
$six18 = $p_six[17];
$six19 = $p_six[18];
$six20 = $p_six[19];
$six21 = $p_six[20];
$six22 = $p_six[21];
$six23 = $p_six[22];
$six24 = $p_six[23];
$six25 = $p_six[24];
$six26 = $p_six[25];
$six27 = $p_six[26];
$six28 = $p_six[27];
$six29 = $p_six[28];
$six30 = $p_six[29];
?>
<?
$p_nine = explode("|",$write[wr_9]);
$nine01 = $p_nine[0];
$nine02 = $p_nine[1];
$nine03 = $p_nine[2];
$nine04 = $p_nine[3];
$nine05 = $p_nine[4];
$nine06 = $p_nine[5];
$nine07 = $p_nine[6];
$nine08 = $p_nine[7];
$nine09 = $p_nine[8];
$nine10 = $p_nine[9];
$nine11 = $p_nine[10];
$nine12 = $p_nine[11];
$nine13 = $p_nine[12];
$nine14 = $p_nine[13];
$nine15 = $p_nine[14];
?>
<script language="JavaScript">
// 글자수 제한
var char_min = parseInt(<?=$write_min?>); // 최소
var char_max = parseInt(<?=$write_max?>); // 최대
</script>

<!--  FF(불여우) 에서는 innerHTML 토지이용계획시 폼이 <table> 아래에 있으면 인식하지 못합니다. -->

<!-- <form name="fwrite" method="post" action="javascript:fwrite_check(document.fwrite);" enctype="multipart/form-data" autocomplete="off">-->
<form name="fwrite" method="post" onsubmit="return fwrite_submit(this);" 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?>">
	<? if ($w == 'u') {?>
    <input type=hidden name=wr_1     value="<?=$write[wr_1]?>">
    <input type=hidden name=wr_2     value="<?=$write[wr_2]?>">
    <input type=hidden name=wr_3     value="<?=$write[wr_3]?>">
    <input type=hidden name=four01     value="<?=$four01?>">
    <input type=hidden name=four02     value="<?=$four02?>">
    <input type=hidden name=four03     value="<?=$four03?>">
    <input type=hidden name=four04     value="<?=$four04?>">
    <input type=hidden name=four05     value="<?=$four05?>">
    <input type=hidden name=wr_8     value="<?=$write[wr_8]?>">
    <input type=hidden name=wr_10    value="<?=$write[wr_10]?>">
    <? }?>
    <tr>
      <td><table width="100%" cellpadding="0" cellspacing="0" >
        <tr>
          <td width="10"><img src="<?=$board_skin_path?>/img/left_top.gif"></td>
          <td background="<?=$board_skin_path?>/img/width_bg_top.gif"></td>
          <td width="10"><img src="<?=$board_skin_path?>/img/right_top.gif"></td>
        </tr>
        <tr>
          <td background="<?=$board_skin_path?>/img/left_bg.gif"></td>
          <td bgcolor="#f7f7f7">&nbsp;</td>
          <td background="<?=$board_skin_path?>/img/right_bg.gif"></td>
        </tr>
        <tr>
          <td width="10"><img src="<?=$board_skin_path?>/img/left_down.gif"></td>
          <td background="<?=$board_skin_path?>/img/width_bg_down.gif"></td>
          <td width="10"><img src="<?=$board_skin_path?>/img/right_down.gif"></td>
        </tr>
      </table>
        <table width="100%" cellpadding="3" >
            <tr>
              <td><table width="100%" cellpadding="0" cellspacing="3" bgcolor="fafafa" >
                  <tr>
                    <td bgcolor="ffffff"><table width="100%" >
                      <tr>
                        <td><table width="100%" >
                          <tr>
                            <td class="blue"><img src="<?=$board_skin_path?>/img/icon_7.gif" align="absmiddle"> <b>신청자정보</b> </td>
                          </tr>
                        </table>
                          <table width="100%" cellpadding="0" cellspacing="3" bgcolor="f4f4f4" >
                          <tr>
                            <td bgcolor="ffffff"><table width="100%" cellpadding="0" cellspacing="1" bgcolor="cccccc" >
                                <tr>
                                  <td height="1" bgcolor="61AAC4"></td>
                                </tr>
                                <tr>
                                  <td bgcolor="ffffff"><table width="100%" cellpadding="5" cellspacing="1" bgcolor="cccccc" >
                                    <tr>
                                      <td width="100" align="center" bgcolor="F7F3F7" class="blue">이름</td>
                                      <td bgcolor="ffffff"><input maxLength=20 size=15 name=wr_name itemname="이름" required value="<?=$member[mb_nick]?>" class="input">
                                          <? if ($is_password) { ?>
                                          <input  type=password maxLength=20 size=15 name=wr_password itemname="패스워드" <?=$password_required?> class="input">
                                          <? } ?></td>
                                    </tr>
                                    <tr>
                                      <td align="center" bgcolor="F7F3F7" class="blue">휴대폰</td>
                                      <td bgcolor="ffffff"><input  maxLength=30 size=30 name=nine01 itemname="휴대폰" value="<?=$member[mb_hp]?>" class="input"></td>
                                      </tr>
                                    <tr>
                                      <td align="center" bgcolor="F7F3F7" class="blue">전화번호</td>
                                      <td bgcolor="ffffff"><input  maxLength=30 size=30 name=nine02 itemname="전화번호" value="<?=$member[mb_tel]?>" class="input"></td>
                                    </tr>
                                    <? if ($is_admin) { ?><tr>
                                      <td align="center" bgcolor="F7F3F7" class="blue">옵션</td>
                                      <td bgcolor="ffffff"><? if ($is_notice) { ?>
                                          <input type=checkbox name=notice value="1" <?=$notice_checked?>>
      공지&nbsp;
      <? } ?>
      <? if ($is_html) { ?>
      <input onclick="html_auto_br(this);" type=checkbox value="<?=$html_value?>" name="html" <?=$html_checked?>>
      HTML&nbsp;
      <? } ?>
      <? if ($is_secret) { ?>
      <input type=checkbox value="secret" name="secret" <?=$secret_checked?>>
      비밀글&nbsp;
      <? } ?>
      <input type=checkbox value="mail" name="mail" <?=$recv_email_checked?>>
      답변메일받기&nbsp;</td>
                                    </tr>
                                    <? } ?>
                                    <tr>
                                      <td align="center" bgcolor="F7F3F7" class="blue">이메일</td>
                                      <td bgcolor="ffffff"><input  maxLength=100 size=30 name=wr_email email itemname="이메일" value="<?=$email?>" class="input"></td>
                                    </tr>
                                    <tr>
                                      <td align="center" bgcolor="F7F3F7" class="blue">물건 정보</td>
                                      <td bgcolor="ffffff"><select name='wr_5' itemname="정보">
                                          <option value='아파트' <? if($write[wr_5] == 아파트) echo " selected "; ?>>아파트
                                            <option value='상가' <? if($write[wr_5] == 상가) echo " selected "; ?>>상가
                                            <option value='주택' <? if($write[wr_5] == 주택) echo " selected "; ?>>주택
                                            <option value='주상복합' <? if($write[wr_5] == 주상복합) echo " selected "; ?>>주상복합
                                            <option value='주차장' <? if($write[wr_5] == 주차장) echo " selected "; ?>>주차장
                                            <option value='토지' <? if($write[wr_5] == 토지) echo " selected "; ?>>토지
                                            <option value='전답' <? if($write[wr_5] == 전답) echo " selected "; ?>>전답
                                            <option value='공장/창고' <? if($write[wr_5] == 공장.창고) echo " selected "; ?>>공장/창고
                                            <option value='숙박/콘도' <? if($write[wr_5] == 숙박.콘도) echo " selected "; ?>>숙박/콘도
                                            <option value='빌딩/건물' <? if($write[wr_5] == 빌딩.건물) echo " selected "; ?>>빌딩/건물
                                            <option value='오피스텔' <? if($write[wr_5] == 오피스텔) echo " selected "; ?>>오피스텔
                                            <option value='원룸' <? if($write[wr_5] == 원룸) echo " selected "; ?>>원룸
                                            <option value='빌라/연립' <? if($write[wr_5] == 빌라.연립) echo " selected "; ?>>빌라/연립
                                            <option value='사무실' <? if($write[wr_5] == 사무실) echo " selected "; ?>>사무실
                                            <option value='재개발' <? if($write[wr_5] == 재개발) echo " selected "; ?>>재개발
                                            <option value='분양권' <? if($write[wr_5] == 분양권) echo " selected "; ?>>분양권
                                            <option value='기타' <? if($write[wr_5] == 기타) echo " selected "; ?>>기타
                                            
                                          </select>
                                          
                                      </td>
                                    </tr>
                                  </table></td>
                                </tr>
                            </table></td>
                          </tr>
                        </table></td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                      </tr>
                      <tr>
                        <td><table width="100%" >
                          <tr>
                            <td class="blue"><img src="<?=$board_skin_path?>/img/icon_7.gif" align="absmiddle"> <b>물건정보</b> </td>
                          </tr>
                        </table>
                          <table width="100%" cellpadding="0" cellspacing="3" bgcolor="f4f4f4" >
                            <tr>
                              <td bgcolor="ffffff"><table width="100%" cellpadding="0" cellspacing="1" bgcolor="cccccc" >
                                  <tr>
                                    <td height="1" bgcolor="61AAC4"></td>
                                  </tr>
                                  <tr>
                                    <td bgcolor="ffffff"><table width="100%" cellpadding="5" cellspacing="1" bgcolor="cccccc" >
                                      <tr>
                                        <td width="80" align="center" bgcolor="F7F3F7" class="blue">물건명(주소)</td>
                                        <td colspan="3" bgcolor="ffffff"><input name=wr_subject value="<?=$subject?>" style=width:96% itemname="주소" required class="input">
                                            <br>
      ※ 주소를 정확히 기재하여 주세요</td>
                                      </tr>
                                      <tr>
                                        <td align="center" bgcolor="F7F3F7" class="blue">매물종류</td>
                                        <td bgcolor="ffffff"><select name=ca_name required itemname="매물종류" class="input">
                                            <option value="">선택하세요
                                            <?=$category_option?>
                                                                            </select></td>
                                        <td width="80" align="center" bgcolor="F7F3F7" class="blue">총면적</td>
                                        <td bgcolor="ffffff"><input name=nine03 value="<?=$nine03?>" itemname="총면적" class="input">
      평 </td>
                                      </tr>
                                      <tr>
                                        <td align="center" bgcolor="F7F3F7" class="blue">판매구분</td>
                                        <td bgcolor="ffffff"><input name=nine04 type="radio" value="개인" <? if ($nine04 == '개인') echo'checked';?> checked>
      개인
        <input name=nine04 type="radio" value="부동산" <? if ($nine04 == '부동산') echo'checked';?>>
      부동산 </td>
                                        <td width="80" align="center" bgcolor="F7F3F7" class="blue">등기면적</td>
                                        <td bgcolor="ffffff"><input name=nine05 value="<?=$nine05?>" itemname="등기면적" class="input">
      ㎡ </td>
                                      </tr>
                                      <tr>
                                        <td align="center" bgcolor="F7F3F7" class="blue">지목</td>
                                        <td bgcolor="ffffff"><input name=nine06 value="<?=$nine06?>" itemname="지목" class="input"></td>
                                        <td width="80" align="center" bgcolor="F7F3F7" class="blue">적정용도</td>
                                        <td bgcolor="ffffff"><input name=nine07 value="<?=$nine07?>" itemname="적정용도" class="input">
                                        </td>
                                      </tr>
                                      <tr>
                                        <td align="center" bgcolor="F7F3F7" class="blue">토지이용계획</td>
                                        <td bgcolor="ffffff"><input name=nine08 value="<?=$nine08?>" itemname="토지이용계획" class="input"></td>
                                        <td width="80" align="center" bgcolor="F7F3F7" class="blue">입주날자</td>
                                        <td bgcolor="ffffff"><input name=nine09 value="<?=$nine09?>" itemname="입주날자" class="input">
                                        </td>
                                      </tr>
                                      <tr>
                                        <td align="center" bgcolor="F7F3F7" class="blue">주변시세</td>
                                        <td bgcolor="ffffff"><input name=nine10 value="<?=$nine10?>" itemname="주변시세" class="input">
      원 </td>
                                        <td width="80" align="center" bgcolor="F7F3F7" class="blue">매매가</td>
                                        <td bgcolor="ffffff"><input name=nine12 value="<?=$nine12?>" itemname="판매희망가" required class="input">
      원( 가격) </td>
                                      </tr>

                                      <tr>
                                        <td align="center" bgcolor="F7F3F7" class="blue">매물정보</td>
                                        <td colspan="3" bgcolor="ffffff" align="center"><table width=96% cellpadding="3" cellspacing="1" bgcolor="e4e4e4" >
                        <tr bgcolor="ffffff" align="center">
                          <td width="12%" bgcolor="F7F3F7" align="center">평형</td>
                          <td width="10%" bgcolor="F7F3F7" align="center">층수</td>
                          <td width="16%" bgcolor="F7F3F7" align="center">총매매가</td>
                          <td width="16%" bgcolor="F7F3F7" align="center">융자금</td>
                          <td width="16%" bgcolor="F7F3F7" align="center">실입주금</td>
                          <td width="30%" bgcolor="F7F3F7" align="center">비고</td>
                        </tr>
                        <tr bgcolor="ffffff">
                          <td width="12%" bgcolor="ffffff"><input maxLength=20 size=4 name=six01 value="<?=$six01?>" itemname="평형1" class="input">평</td>
                          <td width="10%" bgcolor="ffffff"><input maxLength=20 size=2 name=six05 value="<?=$six05?>" itemname="층수1" class="input">층</td>
                          <td width="16%" bgcolor="ffffff"><input maxLength=20 size=8 name=six09 value="<?=$six09?>" itemname="총매매가1" class="input">원</td>
                          <td width="16%" bgcolor="ffffff"><input maxLength=20 size=8 name=six13 value="<?=$six13?>" itemname="융자금1" class="input">원</td>
                          <td width="16%" bgcolor="ffffff"><input maxLength=20 size=8 name=six17 value="<?=$six17?>" itemname="실입주금1" class="input">원</td>
                          <td width="30%" bgcolor="ffffff"><input maxLength=30 size=15 name=six21 value="<?=$six21?>" itemname="비고1" class="input"></td>
                        </tr>
                        <tr bgcolor="ffffff">
                          <td width="12%" bgcolor="ffffff"><input maxLength=20 size=4 name=six02 value="<?=$six02?>" itemname="평형2" class="input">평</td>
                          <td width="10%" bgcolor="ffffff"><input maxLength=20 size=2 name=six06 value="<?=$six06?>" itemname="층수2" class="input">층</td>
                          <td width="16%" bgcolor="ffffff"><input maxLength=20 size=8 name=six010 value="<?=$six10?>" itemname="총매매가2" class="input">원</td>
                          <td width="16%" bgcolor="ffffff"><input maxLength=20 size=8 name=six14 value="<?=$six14?>" itemname="융자금2" class="input">원</td>
                          <td width="16%" bgcolor="ffffff"><input maxLength=20 size=8 name=six18 value="<?=$six18?>" itemname="실입주금2" class="input">원</td>
                          <td width="30%" bgcolor="ffffff"><input maxLength=30 size=15 name=six22 value="<?=$six22?>" itemname="비고2" class="input"></td>
                        </tr>                        
                         <tr bgcolor="ffffff">
                          <td width="12%" bgcolor="ffffff"><input maxLength=20 size=4 name=six03 value="<?=$six03?>" itemname="평형3" class="input">평</td>
                          <td width="10%" bgcolor="ffffff"><input maxLength=20 size=2 name=six07 value="<?=$six07?>" itemname="층수3" class="input">층</td>
                          <td width="16%" bgcolor="ffffff"><input maxLength=20 size=8 name=six11 value="<?=$six11?>" itemname="총매매가3" class="input">원</td>
                          <td width="16%" bgcolor="ffffff"><input maxLength=20 size=8 name=six15 value="<?=$six15?>" itemname="융자금3" class="input">원</td>
                          <td width="16%" bgcolor="ffffff"><input maxLength=20 size=8 name=six19 value="<?=$six19?>" itemname="실입주금3" class="input">원</td>
                          <td width="30%" bgcolor="ffffff"><input maxLength=30 size=15 name=six23 value="<?=$six23?>" itemname="비고3" class="input"></td>
                        </tr>
                         <tr bgcolor="ffffff">
                          <td width="12%" bgcolor="ffffff"><input maxLength=20 size=4 name=six04 value="<?=$six04?>" itemname="평형4" class="input">평</td>
                          <td width="10%" bgcolor="ffffff"><input maxLength=20 size=2 name=six08 value="<?=$six08?>" itemname="층수4" class="input">층</td>
                          <td width="16%" bgcolor="ffffff"><input maxLength=20 size=8 name=six12 value="<?=$six12?>" itemname="총매매가4" class="input">원</td>
                          <td width="16%" bgcolor="ffffff"><input maxLength=20 size=8 name=six16 value="<?=$six16?>" itemname="융자금4" class="input">원</td>
                          <td width="16%" bgcolor="ffffff"><input maxLength=20 size=8 name=six20 value="<?=$six20?>" itemname="실입주금4" class="input">원</td>
                          <td width="30%" bgcolor="ffffff"><input maxLength=30 size=15 name=six24 value="<?=$six24?>" itemname="비고4" class="input"></td>
                        </tr>
                      </table></td>
                                      </tr>

                                      <tr>
                                        <td align="center" bgcolor="F7F3F7" class="blue">상세정보</td>
                                        <td colspan="3" bgcolor="ffffff"><table width=96%>
                                          <tr>
                                            <td><SPAN style="CURSOR: pointer;" onclick="textarea_decrease('wr_content', 10);"> <img src="<?=$board_skin_path?>/img/icon_up.gif"></SPAN> <SPAN style="CURSOR: pointer;" onclick="textarea_original('wr_content', 10);"> <img src="<?=$board_skin_path?>/img/icon_start.gif"></SPAN> <SPAN style="CURSOR: pointer;" onclick="textarea_increase('wr_content', 10);"> <img src="<?=$board_skin_path?>/img/icon_down.gif"></SPAN></td>
                                            <td align="right"><span id=char_count></span>글자</td>
                                          </tr>
                                        </table>
                                          <TEXTAREA name=wr_content rows=10 id=wr_content style=width:96% ONKEYUP="check_byte('wr_content', 'char_count');" area itemname="내용" required class="input"><?=$content?></TEXTAREA></td>
                                          <script language="JavaScript"> check_byte('wr_content', 'char_count'); </script></tr>
                                      <? if ($is_file) { ?>

                                      <tr>
                                        <td align="center" bgcolor="F7F3F7" class="blue">사진정보</td>
                                        <td colspan="3" valign="top" bgcolor="ffffff"><table width="100%" >
                                            <tr>
                                              <td width="60"><table width="100%" cellpadding="2" >
                                                  <tr>
                                                    <td align="right"></td>
                                                  </tr>
                                                  <tr>
                                                    <td align="right"></td>
                                                  </tr>
                                                  <tr>
                                                    <td align="right"></td>
                                                  </tr>
                                                  <tr>
                                                    <td align="right"></td>
                                                  </tr>
                                                  <tr>
                                                    <td align="right"></td>
                                                  </tr>
                                              </table></td>
                                              <td><table id="variableFiles">
                                                </table>
                                                  <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=input size=20 name='bf_file[]'>";
            if (delete_code) 
                objCell.innerHTML += delete_code;
            else
            {
                <? if ($is_file_content) { ?>
                objCell.innerHTML += "<br><input type='text' class=input size=50 name='bf_content[]'> 파일설명";
                <? } ?>
                ;
            }
        }

        <? 
          if ($file_length<5) 
              for ($i=$file_length+1; $i<5; $i++) 
                $file_script .= "add_file('');\n"; 
        ?> 
        <?=$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>
                                              <? if ($w == '') {?>
                                              <td align="center"><table cellpadding="0" cellspacing="2" bgcolor="eeeeee" >
                                                  <tr>
                                                    <td><span class="blue"><!--img src="<?=$board_skin_path?>/img/car_s.gif" align="absmiddle"--></span></td>
                                                  </tr>
                                              </table></td>
                                              <? }?>
                                            </tr>
                                        </table></td>
                                      </tr>
                                      <? } ?>
                                    </table></td>
                                  </tr>
                              </table></td>
                            </tr>
                          </table></td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                      </tr>
                      <tr>
                        <td><table width="100%" >
                          <!--tr>
                            <td class="blue"><img src="<?=$board_skin_path?>/img/icon_7.gif" align="absmiddle"> <b>옵션사항</b></td>
                          </tr-->
                        </table>
                          <table width="100%" cellpadding="0" cellspacing="3" bgcolor="f4f4f4" >
                            <tr>
                              <td bgcolor="ffffff"><table width="100%" cellpadding="0" cellspacing="1" bgcolor="cccccc" >
                                  <tr>
                                    <td height="1" bgcolor="61AAC4"></td>
                                  </tr>
                                  
                                    </table></td>
                                  </tr>
                              </table></td>
                            </tr>
                          </table></td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                      </tr>
                      <? if ($w == '') {?><tr>
                        <td><table width="100%" >
                          <!--tr>
                            <td class="blue"><img src="<?=$board_skin_path?>/img/icon_7.gif" align="absmiddle"> <b>유료옵션신청</b> </td>
                          </tr>
                        </table>
                          <table width="100%" cellpadding="5" cellspacing="1" bgcolor="cccccc" >
                            <tr align="center" bgcolor="ADE7F7">
                              <SCRIPT LANGUAGE="JavaScript"> 
function checkChoice(whichbox) { 
with (whichbox.form) { 
if (whichbox.checked == false) { 
hiddenwr_10.value = eval(hiddenwr_10.value) - eval(whichbox.value); 
} else { 
hiddenwr_10.value = eval(hiddenwr_10.value) + eval(whichbox.value); 
} 
return(formatCurrency(hiddenwr_10.value)); 
} 
} 

function formatCurrency(num) { 
num = num.toString().replace(/$|,/g,''); 

if(isNaN(num)) { num = "0"; } 
cents = Math.floor((num*100+0.5)%100); 
num = Math.floor((num*100+0.5)/100).toString(); 
if(cents < 10) { 
cents = "0" + cents; 
} 

return (num); 
} 

                            </script>
                              <input type="hidden" name="hiddenwr_10" value="0">
                              <td width="80"><b>포인트옵션</b></td>
                              <td><b>서비스 내용</b></td>
                              <td><b>포인트</b></td>
                              <td><b>미리보기</b></td>
                            </tr>
                            <tr bgcolor="ffffff">
                              <td bgcolor="#E6F7FF"><input type="checkbox" name="wr_1" value="20000" onClick="this.form.wr_10.value=checkChoice(this);" <? if ($write[wr_1] == 20000) echo "checked";?>>
      스페셜 </td>
                              <td>메인 화면에 사진으로 게재되고<br>
      리스트 최상단에 사진으로 노출되어 효과가 좋습니다.</td>
                              <td>20,000 p/30일</td>
                              <td><img src="<?=$board_skin_path?>/img/miri.gif" align="absmiddle"></td>
                            </tr>
                            <tr bgcolor="ffffff">
                              <td bgcolor="#E6F7FF"><input type="checkbox" name="wr_2" value="16000" onClick="this.form.wr_10.value=checkChoice(this);" <? if ($write[wr_2] == 16000) echo "checked";?>>
      박스광스</td>
                              <td>&nbsp;</td>
                              <td>16,000 p/30일</td>
                              <td><img src="<?=$board_skin_path?>/img/miri.gif" align="absmiddle"></td>
                            </tr>
                            <tr bgcolor="ffffff">
                              <td bgcolor="#E6F7FF"><input type="checkbox" name="wr_3" value="10000" onClick="this.form.wr_10.value=checkChoice(this);"<? if ($write[wr_3] == 10000) echo "checked";?>>
      프리미엄 </td>
                              <td>리스트 최상단에 게재되고<br>
      최근 등록 30건 메인에 텍스트로 노출합니다.</td>
                              <td>10,000 p/30일</td>
                              <td><img src="<?=$board_skin_path?>/img/miri.gif" align="absmiddle"></td>
                            </tr>
                            <tr bgcolor="ffffff">
                              <td align="center" bgcolor="#E6F7FF">아이콘</td>
                              <td><table width="100%" >
                                  <tr>
                                    <td width="20"><input type="checkbox" name="four01" value="5000" onClick="this.form.wr_10.value=checkChoice(this);" <? if ($four01 == 5000) echo "checked";?>></td>
                                    <td><img src="<?=$board_skin_path?>/img/icon_1.gif" align="absmiddle"></td>
                                    <td width="20"><input type="checkbox" name="four04" value="4900" onClick="this.form.wr_10.value=checkChoice(this);" <? if ($four04 == 4900) echo "checked";?>></td>
                                    <td><img src="<?=$board_skin_path?>/img/icon_2.gif" align="absmiddle"></td>
                                    <td width="20"><input type="checkbox" name="four05" value="4800" onClick="this.form.wr_10.value=checkChoice(this);" <? if ($four05 == 4800) echo "checked";?>></td>
                                    <td><img src="<?=$board_skin_path?>/img/icon_3.gif" align="absmiddle"></td>
                                  </tr>
                              </table></td>
                              <td>5,000 p/30일</td>
                              <td><img src="<?=$board_skin_path?>/img/miri.gif" align="absmiddle"></td>
                            </tr>
                            <tr bgcolor="ffffff">
                              <td bgcolor="#E6F7FF"><input type="checkbox" name="four02" value="3000" onClick="this.form.wr_10.value=checkChoice(this);" <? if ($four02 == 3000) echo "checked";?>>
      볼드 </td>
                              <td>리스트 모델명이 <b>굵은 글씨</b>로 나타납니다.</td>
                              <td>3,000 p/30일</td>
                              <td><img src="<?=$board_skin_path?>/img/miri.gif" align="absmiddle"></td>
                            </tr>
                            <tr bgcolor="ffffff">
                              <td bgcolor="#E6F7FF"><input type="checkbox" name="four03" value="3000" onClick="this.form.wr_10.value=checkChoice(this);" <? if ($four03 == 3000) echo "checked";?>>
      글자색</td>
                              <td>리스트 모델명에 <span class="blue">다른 글자색</span>이 적용됩니다.</td>
                              <td>3,000 p/30일</td>
                              <td><img src="<?=$board_skin_path?>/img/miri.gif" align="absmiddle"></td>
                            </tr>
                            <tr bgcolor="ffffff">
                              <td align="center" bgcolor="#E6F7FF">옵션적용기간</td>
                              <td colspan="3"><?=$g4[time_ymdhis]?>
      로부터
        <? 
					  $day30 = date("Y-m-d H:i:s", strtotime($now) + 86400 * 30);
					  ?>
        <input name="wr_8" type="radio" value="<?=$day30?>" checked>
      30 일간 적용됩니다.</td>
                            </tr>
                          </table></td>
                      </tr>
                      <tr>
                        <td><table width="100%" cellpadding="5" cellspacing="1" bgcolor="cccccc" >
                          <tr>
                            <td width="80" align="center" bgcolor="#FFECEE" class="red"><b>포인트</b></td>
                            <td bgcolor="ffffff"><input type="text" name="wr_10" value="<?=$write[wr_10]?>" size="10" readonly class="input">
      p </td>
                          </tr-->
                        </table></td>
                      </tr><? }?>
                    </table></td>
                  </tr>
              </table></td>
            </tr>
        </table>
          <table width="200" align="center" cellpadding="5">
            <tr align="center">
              <td><input type=image id="btn_submit" src="<?=$board_skin_path?>/img/submit.gif" border=0 a평esskey='s'></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]?>";
	if (typeof(ca_name) != "undefined")
        if (w.value == "r")
            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;
        }
    }


    document.getElementById('btn_submit').disabled = true;
    document.getElementById('btn_list').disabled = true;

    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>
  • 복사

댓글 전체

참조링크 : http://sir.co.kr/bbs/board.php?bo_table=g4_tiptech&wr_id=24495&sca=&sfl=wr_subject&stx=$wr_id&sop=and

function fwrite_check(f) 함수에서 순서 조정으로 해결할 수 있습니다.
function fwrite_check(f)
{

<?
if ($g4[https_url])
    echo "f.action = '$g4[https_url]/$g4[bbs]/write_update.php';";
else
    echo "f.action = './write_update.php';";
?>

    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;
    }
이렇게 해봤는데.. 변화가 없습니다..
제가 잘못 이해 한건가요?
답답 하시더라도 조금만 더 힌트좀 주시면 감사 하겠습니다..
이럴경우 그누보드 최신버전 가져온후에 basic 기본 게시판에서

write.php 소스만 추출한뒤에 부동산스킨에 맞게 수정하셔야합니다.

스킨 원본 주소 알려주세요 제가 수정해서 올려볼게요.
© SIRSOFT
현재 페이지 제일 처음으로