정상적인 접근이 아니라고 합니다.알려주세요. > 그누4 질문답변

그누4 질문답변

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

정상적인 접근이 아니라고 합니다.알려주세요. 정보

정상적인 접근이 아니라고 합니다.알려주세요.

본문

해당사이트 plog.ivyro.net 이그요.
http://plog.ivyro.net/bbs/board.php?bo_table=01
이 게시판입니다.
최고관리자는 글쓰기 정상이 되는데..
비회원 글쓰기시 정상적인 접근이 아니라고 나옵니다.
어떤부분을 수정해야하는지...
write.skin.php


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

if ($is_dhtml_editor) {
    include_once("$g4[path]/lib/cheditor4.lib.php");
    echo "<script src='$g4[cheditor4_path]/cheditor.js'></script>";
    echo cheditor1('wr_content', '100%', '250');
}

 

//연락가능한 전화번호1
$ex5_filed = explode("-",$write[wr_5]);
$ext5_00  = $ex5_filed[0];
$ext5_01  = $ex5_filed[1];
$ext5_02  = $ex5_filed[2];

//연락가능한 전화번호2
$ex6_filed = explode("-",$write[wr_6]);
$ext6_00  = $ex6_filed[0];
$ext6_01  = $ex6_filed[1];
$ext6_02  = $ex6_filed[2];

?>

 

<style type="text/css">
.write_head { height:30px; text-align:center; color:#8492A0; }
.field { border:1px solid #ccc; }
</style>

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

 

<form name="fwrite" method="post" onsubmit="return fwrite_submit(this);" enctype="multipart/form-data" align="center" 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?>">
<script language="JavaScript">
<!--
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
  toolbar_str = toolbar ? 'yes' : 'no';

  menubar_str = menubar ? 'yes' : 'no';

  statusbar_str = statusbar ? 'yes' : 'no';

  scrollbar_str = scrollbar ? 'yes' : 'no';

  resizable_str = resizable ? 'yes' : 'no';

 

  cookie_str = document.cookie;
  cookie_str.toString();


  pos_start  = cookie_str.indexOf(name);

  pos_start  = cookie_str.indexOf('=', pos_start);

  pos_end    = cookie_str.indexOf(';', pos_start);
 
  if (pos_end <= 0) pos_end = cookie_str.length;

  cookie_val = cookie_str.substring(pos_start + 1, pos_end);

 

  if (cookie_val  == "done")

    return;

 

  window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);

}

// -->
</script>

 

<table width="326" align="center">
    <tr>
        <td width="200" rowspan="2" height="44"><img src="<?=$board_skin_path?>/img/ctitle.jpg" width="200" height="44" border="0"></td>
        <td width="126" valign=bottom height="23"> <p align="right"><a href="javascript:na_open_window('win', 'http://hsloan.kr/gnu/webtalk/client.php', 0, 0, 260, 156, 0, 0, 0, 0, 0)" target="_self"><img src="<?=$board_skin_path?>/img/real.jpg" width="80" height="23" border="0"></a></p></td>
    </tr>
    <tr>
        <td width="126" height="21" valign="bottom">            <p align="right"><a href="http://hsloan.kr/gnu/bbs/board.php?bo_table=quick" target="_self"><img src="<?=$board_skin_path?>/img/\rec.jpg" width="47" height="21" border="0"></a></p></td>
    </tr>
</table>
<table border="1" align="center" cellpadding="0" cellspacing="0" width="250"  bordercolordark="white" bordercolorlight="#999933">
    <tr>
        <td width="246"><table  align="center" cellspacing="0">


<? if ($is_name) { ?>
<tr>
    <td bgcolor="#ebebeb"  width="76" height:20px;'>· 성 함</td>
    <td width="160"><input class='field' maxlength=20 size=27 name=wr_name itemname="성함" required value="<?=$name?>"></td></tr>

<? } ?>

<tr>
        <td bgcolor="#ebebeb" width="76" height:20px;'>· 대출상품   
    <td style='padding-left:0px;' width="160">
  <select name='wr_subject' class='ed'  itemname='대출상품' required value="<?=$subject?>">
         <option value='자동차대출' <? if($wr_subject == "자동차대출") echo "selected"; ?>>------------------자동차대출</option>
         <option value='개인택시대출' <? if($wr_subject == "개인택시대출") echo "selected"; ?>>---------------개인택시대출</option>
         <option value='사업자대출' <? if($wr_subject == "사업자대출") echo "selected"; ?>>------------------사업자대출</option>
        <option value='아파트대출' <? if($wr_subject == "아파트대출") echo "selected"; ?>>------------------아파트대출</option>
        <option value='전세금담보대출' <? if($wr_subject == "전세금담보대출") echo "selected"; ?>>------------전세금담보대출</option>
        <option value='직장인대출' <? if($wr_subject == "직장인대출") echo "selected"; ?>>------------------직장인대출</option>
       </select>
    
 </td>
</tr>

<tr>
        <td bgcolor="#ebebeb"  width="76" height:20px;'>· 휴대전화   
    <td style='padding-left:0px;' width="160">
  <select name='ext5_00' class='ed'  itemname='휴대전화' required>
        <option value='010' <? if($ext5_00 == "010") echo "selected"; ?>>010</option>
        <option value='011' <? if($ext5_00 == "011") echo "selected"; ?>>011</option>
        <option value='016' <? if($ext5_00 == "016") echo "selected"; ?>>016</option>
        <option value='017' <? if($ext5_00 == "017") echo "selected"; ?>>017</option>
        <option value='018' <? if($ext5_00 == "018") echo "selected"; ?>>018</option>
        <option value='019' <? if($ext5_00 == "019") echo "selected"; ?>>019</option>
      </select> -
      <input name='ext5_01' class=ed value='<?=$ext5_01?>' type='text' size='4' maxlength='4' itemname='휴대전화 두번째자리' required class=input>  -
      <input name='ext5_02' class=ed value='<?=$ext5_02?>' type='text' size='4' maxlength='4'  itemname='휴대전화 세번째자리' required class=input>
 </td>
</tr>

<tr>
    <td bgcolor="#ebebeb"  width="76" height:20px;'>· 전화번호</td>
   
    <td style='padding-left:0px;' width="160">
  <select name='ext6_00' class='ed'  itemname='전화번호'>
        <option value='02' <? if($ext6_00 == "02") echo "selected"; ?>>02</option>
        <option value='031' <? if($ext6_00 == "031") echo "selected"; ?>>031</option>
        <option value='032' <? if($ext6_00 == "032") echo "selected"; ?>>032</option>
        <option value='033' <? if($ext6_00 == "033") echo "selected"; ?>>033</option>
        <option value='041' <? if($ext6_00 == "041") echo "selected"; ?>>041</option>
        <option value='042' <? if($ext6_00 == "042") echo "selected"; ?>>042</option>
        <option value='043' <? if($ext6_00 == "043") echo "selected"; ?>>043</option>
        <option value='051' <? if($ext6_00 == "051") echo "selected"; ?>>051</option>
        <option value='052' <? if($ext6_00 == "052") echo "selected"; ?>>052</option>
        <option value='053' <? if($ext6_00 == "053") echo "selected"; ?>>053</option>
        <option value='054' <? if($ext6_00 == "054") echo "selected"; ?>>054</option>
        <option value='055' <? if($ext6_00 == "055") echo "selected"; ?>>055</option>
        <option value='061' <? if($ext6_00 == "061") echo "selected"; ?>>061</option>
        <option value='062' <? if($ext6_00 == "062") echo "selected"; ?>>062</option>
        <option value='063' <? if($ext6_00 == "063") echo "selected"; ?>>063</option>
        <option value='064' <? if($ext6_00 == "064") echo "selected"; ?>>064</option>
      </select> -
      <input name='ext6_01' class=ed value='<?=$ext6_01?>' type='text' size='4' maxlength='4' onkeydown='onlyNumber(this);'  itemname='일반전화 두번째자리' class=input>  -
      <input name='ext6_02' class=ed value='<?=$ext6_02?>' type='text' size='4' maxlength='4' onkeydown='onlyNumber(this);'  itemname='일반전화 세번째자리' class=input>
 </td>
</tr>

<tr>
    <td bgcolor="#ebebeb"  width="76" height:20px;'>· 신청금액</td>
    <td width="160"><input class=ed size=27 name=wr_content id="wr_content" itemname="신청금액"  required value="<?=$write[wr_content]?>"></td></tr>


<tr>


   


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


<table width="326" border="0" cellspacing="0" cellpadding="0" align="center">
  
    <tr>
        <td width="200"  height="20"  bgcolor="#ebebeb">
            <p align="center"><a href="javascript:agree()"><b>개인신용제공 및 활용동의서</b></a></p>
</td>
        <td width="126" height="20" align="center" bgcolor="#ebebeb">            <p><STRONG><A href="javascript:active()">이용약관보기</A></STRONG></p>
</td>
</tr>
<tr>
        <td width="200" valign="middle" >

            <p><input type=checkbox value=1 name=agree2 id=agree2 checked><label for=agree2>개인정보취급방침에 동의</label></p>

</td>
        <td width="126"  valign="top">
            <p align="right"><input type=image id="btn_submit" src="<?=$board_skin_path?>/img/btn_write1.gif" border=0 accesskey='s'></p>
</td>
</tr>
</table>

 


</form>


<script type="text/javascript"> var md5_norobot_key = ''; </script>
<script type="text/javascript" src="<?="$g4[path]/js/prototype.js"?>"></script>
<script type="text/javascript">

 

 


function fwrite_submit(f)
{
    var s = "";
    if (s = word_filter_check(f.wr_subject.value)) {
        alert("제목에 금지단어('"+s+"')가 포함되어있습니다");
        return false;
    }

    if (s = word_filter_check(f.wr_content.value)) {
        alert("내용에 금지단어('"+s+"')가 포함되어있습니다");
        return false;
    }

    if (document.getElementById('char_count')) {
        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 false;
            }
            else if (char_max > 0 && char_max < cnt) {
                alert("내용은 "+char_max+"글자 이하로 쓰셔야 합니다.");
                return false;
            }
        }
    }

    <?
    if ($is_dhtml_editor) echo cheditor3('wr_content');
    ?>

    if (document.getElementById('tx_wr_content')) {
        if (!ed_wr_content.outputBodyText()) {
            alert('내용을 입력하십시오.');
            ed_wr_content.returnFalse();
            return false;
        }
    }

    if (typeof(f.wr_key) != 'undefined') {
        if (hex_md5(f.wr_key.value) != md5_norobot_key) {
            alert('자동등록방지용 글자가 제대로 입력되지 않았습니다.');
            f.wr_key.select();
            f.wr_key.focus();
            return false;
        }
    }

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

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

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

    if (!f.agree2.checked) {
        alert("개인정보취급방침의 내용에 동의해야 회원가입 하실 수 있습니다.");
        f.agree2.focus();
        return false;
    }

    f.action = "./write_update.php";
    return true;
}

 

function agree(){
   window.open("../html/agree.htm","","width=560,height=400,toolbar=no,menubar=no,scrollbars=yes,status=no");
}
function active(){
   window.open("../html/active.htm","","width=560,height=400,toolbar=no,menubar=no,scrollbars=yes,status=no");
}
</script>

  • 복사

댓글 전체

코어는 자동등록방지 코드를 요구하는데 스킨은 그걸 넘겨주지 못해서 일어나는 현상입니다.

기본 스킨과 kcaptcha 관련 코드를 비교하시고,
http://sir.co.kr/bbs/board.php?bo_table=g4_tiptech&wr_id=18748
이 글을 보고 파일을 확인해보세요.
© SIRSOFT
현재 페이지 제일 처음으로