한줄 방명록에서 누구나 글을 쓸려면 ? 정보
한줄 방명록에서 누구나 글을 쓸려면 ?본문
안녕하세요.
한줄 방명록에서 누구나 글을 입력할려면 어떻게 해야 하는지요.
한줄 방명록을 iframe로 삽입한 후
로그인을 해야만 기록이 됩니다.
bless님의 한줄 방명록인데 누구나 쓸 수 있도록 할려면 어디를 수정해야 되는지
로그인을 하지 않으면 비정상적인 접근이라고 하는데
어디 다른곳에서 수정을 해야 하는지요. 아시는 분 부탁드립니다.
오늘도 행복한 시간이 되시길...
댓글 전체
<? if ($is_norobot) { ?>
<input type=hidden name=wr_key value="<?=$norobot_key?>">
<? } ?>
입력하고자 하는 필드 위에 이렇게 삽입해 보세요~
<input type=hidden name=wr_key value="<?=$norobot_key?>">
<? } ?>
입력하고자 하는 필드 위에 이렇게 삽입해 보세요~
<META http-equiv=Content-Type content="text/html; charset=euc-kr">
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// 선택옵션으로 인해 셀합치기가 가변적으로 변함
$colspan = 9;
if ($is_category) $colspan++;
if ($is_checkbox) $colspan++;
if ($is_good) $colspan++;
if ($is_nogood) $colspan++;
if ($member[mb_id])
$bigo="100%";
else $bigo="50%";
// 제목이 두줄로 표시되는 경우 이 코드를 사용해 보세요.
// <nobr style='display:block; overflow:hidden; width:000px;'>제목</nobr>
?>
<script type="text/javascript" language=JavaScript>
// 엠파스 로긴 참고
var bReset = true;
function chkReset(f)
{
if (bReset) { if ( f.wr_subject.value == '이곳에 메모를 입력하세요' ) f.wr_subject.value = ''; bReset = false; }
}
</script>
<script language="JavaScript">
// 글자수 제한
var char_min = parseInt(<?=$write_min?>); // 최소
var char_max = parseInt(<?=$write_max?>); // 최대
</script>
<table width="<?=$width?>" align="center" cellpadding="0" cellspacing="0"><tr><td>
<!-- 제목 -->
<table width="100%" cellspacing="0" cellpadding="0">
<form name="fboardlist" method="post">
<input type="hidden" name="bo_table" value="<?=$bo_table?>">
<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="page" value="<?=$page?>">
<input type="hidden" name="sw" value="">
<!-- 목록 -->
<? for ($i=0; $i<count($list); $i++) { ?>
<!-- <tr <? if ($list[$i][is_notice]) { echo "bgcolor='#F9FBFB'"; } else { echo " onmouseover=\"this.style.backgroundColor='#EEEEEE';return true;\" onMouseOut=\"this.style.backgroundColor='';return true;\""; }?>> -->
<tr>
<td width="12" ><img src="<?=$board_skin_path?>/img/ble.gif" width="12" height="25" hspace="6"></td>
<td style='word-break:break-all;' height="25">
<?
echo $nobr_begin;
echo $list[$i][reply];
echo $list[$i][icon_reply];
if ($list[$i][is_notice])
echo "<font color='#2C8CB9'><strong>{$list[$i][subject]}</strong></font>";
else
echo "{$list[$i][subject]}";
if ($list[$i][comment_cnt])
echo " <span style='font-size:7pt;'>{$list[$i][comment_cnt]}</span>";
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
echo " " . $list[$i][icon_new];
echo " " . $list[$i][icon_hot];
echo " " . $list[$i][icon_secret];
echo $nobr_end;
?><? if (($member[mb_id] && ($member[mb_id] == $write[mb_id])) || $is_admin) { ?>
<a href="javascript:del('./delete.php?bo_table=<?=$bo_table?>&wr_id=<?=$list[$i][wr_id]?>&page=');" title="삭제하기"><img src="<?=$board_skin_path?>/img/delete_btn.gif" alt="삭제" width="38" height="12" vspace="5" border="0" align="absmiddle" title="삭제하기"></a><? } ?></td>
<td width="80" align="center" nowrap><?=$list[$i][name]?></td>
<td width="50" align="center"><?=$list[$i][datetime2]?></td>
</tr>
<tr>
<td colspan="4" height="1" background="<?=$board_skin_path?>/img/dot_bg.gif"></td>
</tr>
<? } ?>
<? if (count($list) == 0) { echo "<tr><td colspan='$colspan' height=100 align=center>게시물이 없습니다.</td></tr>"; } ?>
</form>
</table>
</td></tr></table>
<table width="<?=$width?>" align="center" cellpadding="0" cellspacing="0">
<form name="fwrite" method="post" action="./write_update.php" enctype="multipart/form-data" autocomplete="off">
<input type=hidden name=null>
<input type=hidden name=w value="">
<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?>">
<tr>
<td width="4" height="25" ><img src="<?=$board_skin_path?>/img/list_top_01.gif" width="4" height="25"></td>
<td width="50" align="center" bgcolor="#EEEEEE"><font color='#FFFFFF'><img src="<?=$board_skin_path?>/img/memo_title.gif" width="50" height="20"></font></td>
<td align="center" bgcolor="#EEEEEE">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="padding-left:5px;">
<INPUT class=ed style="width:99%;" name=wr_subject itemname="제목" required value='이곳에 메모를 입력하세요' onMouseOver='chkReset(this.form);' onFocus='chkReset(this.form);' maxlength=<?=$board[bo_subject_len]/2?>></td>
<?if (!$member[mb_id]) { ?>
<td width="31"><div align="right">이름 </div></td>
<td width="76"> <INPUT class=ed maxLength=20 size=10 name=wr_name itemname="이름" required value="<?=$member[name]?>"></td>
<INPUT class=ed type=hidden maxLength=20 size=10 name=wr_password itemname="패스워드" >
</tr>
<?}?>
</table>
</td>
<td width="50" bgcolor="#EEEEEE" style="padding-right:10px;"><INPUT type=image id="btn_submit" src="<?=$board_skin_path?>/img/ok_btn.gif" border=0 accesskey='s'></td>
<td width="4"><img src="<?=$board_skin_path?>/img/list_top_04.gif" width="4" height="25"></td>
</tr>
</form>
</table>
<script language="JavaScript">
if ("<?=$sca?>") document.fcategory.sca.value = "<?=$sca?>";
if ("<?=$stx?>") {
document.fsearch.sfl.value = "<?=$sfl?>";
document.fsearch.sop.value = "<?=$sop?>";
}
</script>
<? if ($is_checkbox) { ?>
<script language="JavaScript">
function all_checked(sw)
{
var f = document.fboardlist;
for (var i=0; i<f.length; i++) {
if (f.elements[i].name == "chk_wr_id[]")
f.elements[i].checked = sw;
}
}
function check_confirm(str)
{
var f = document.fboardlist;
var chk_count = 0;
for (var i=0; i<f.length; i++) {
if (f.elements[i].name == "chk_wr_id[]" && f.elements[i].checked)
chk_count++;
}
if (!chk_count) {
alert(str + "할 게시물을 하나 이상 선택하세요.");
return false;
}
return true;
}
// 선택한 게시물 삭제
function select_delete()
{
var f = document.fboardlist;
str = "삭제";
if (!check_confirm(str))
return;
if (!confirm("선택한 게시물을 정말 "+str+" 하시겠습니까?\n\n한번 "+str+"한 자료는 복구할 수 없습니다"))
return;
f.action = "./delete_all.php";
f.submit();
}
// 선택한 게시물 복사 및 이동
function select_copy(sw)
{
var f = document.fboardlist;
if (sw == "copy")
str = "복사";
else
str = "이동";
if (!check_confirm(str))
return;
var sub_win = window.open("", "move", "left=50, top=50, width=396, height=550, scrollbars=1");
f.sw.value = sw;
f.target = "move";
f.action = "./move.php";
f.submit();
}
</script>
<? } ?>
<!-- 게시판 목록 끝 -->
이런 list.skin.php 인데
어디에다 입력을 해야 하는지요.
여기 저기 해도
"정상적인 접근이 아닙니다" 멧세지가 나오면서 입력이 안되요.
늘 행복하시길....
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// 선택옵션으로 인해 셀합치기가 가변적으로 변함
$colspan = 9;
if ($is_category) $colspan++;
if ($is_checkbox) $colspan++;
if ($is_good) $colspan++;
if ($is_nogood) $colspan++;
if ($member[mb_id])
$bigo="100%";
else $bigo="50%";
// 제목이 두줄로 표시되는 경우 이 코드를 사용해 보세요.
// <nobr style='display:block; overflow:hidden; width:000px;'>제목</nobr>
?>
<script type="text/javascript" language=JavaScript>
// 엠파스 로긴 참고
var bReset = true;
function chkReset(f)
{
if (bReset) { if ( f.wr_subject.value == '이곳에 메모를 입력하세요' ) f.wr_subject.value = ''; bReset = false; }
}
</script>
<script language="JavaScript">
// 글자수 제한
var char_min = parseInt(<?=$write_min?>); // 최소
var char_max = parseInt(<?=$write_max?>); // 최대
</script>
<table width="<?=$width?>" align="center" cellpadding="0" cellspacing="0"><tr><td>
<!-- 제목 -->
<table width="100%" cellspacing="0" cellpadding="0">
<form name="fboardlist" method="post">
<input type="hidden" name="bo_table" value="<?=$bo_table?>">
<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="page" value="<?=$page?>">
<input type="hidden" name="sw" value="">
<!-- 목록 -->
<? for ($i=0; $i<count($list); $i++) { ?>
<!-- <tr <? if ($list[$i][is_notice]) { echo "bgcolor='#F9FBFB'"; } else { echo " onmouseover=\"this.style.backgroundColor='#EEEEEE';return true;\" onMouseOut=\"this.style.backgroundColor='';return true;\""; }?>> -->
<tr>
<td width="12" ><img src="<?=$board_skin_path?>/img/ble.gif" width="12" height="25" hspace="6"></td>
<td style='word-break:break-all;' height="25">
<?
echo $nobr_begin;
echo $list[$i][reply];
echo $list[$i][icon_reply];
if ($list[$i][is_notice])
echo "<font color='#2C8CB9'><strong>{$list[$i][subject]}</strong></font>";
else
echo "{$list[$i][subject]}";
if ($list[$i][comment_cnt])
echo " <span style='font-size:7pt;'>{$list[$i][comment_cnt]}</span>";
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
echo " " . $list[$i][icon_new];
echo " " . $list[$i][icon_hot];
echo " " . $list[$i][icon_secret];
echo $nobr_end;
?><? if (($member[mb_id] && ($member[mb_id] == $write[mb_id])) || $is_admin) { ?>
<a href="javascript:del('./delete.php?bo_table=<?=$bo_table?>&wr_id=<?=$list[$i][wr_id]?>&page=');" title="삭제하기"><img src="<?=$board_skin_path?>/img/delete_btn.gif" alt="삭제" width="38" height="12" vspace="5" border="0" align="absmiddle" title="삭제하기"></a><? } ?></td>
<td width="80" align="center" nowrap><?=$list[$i][name]?></td>
<td width="50" align="center"><?=$list[$i][datetime2]?></td>
</tr>
<tr>
<td colspan="4" height="1" background="<?=$board_skin_path?>/img/dot_bg.gif"></td>
</tr>
<? } ?>
<? if (count($list) == 0) { echo "<tr><td colspan='$colspan' height=100 align=center>게시물이 없습니다.</td></tr>"; } ?>
</form>
</table>
</td></tr></table>
<table width="<?=$width?>" align="center" cellpadding="0" cellspacing="0">
<form name="fwrite" method="post" action="./write_update.php" enctype="multipart/form-data" autocomplete="off">
<input type=hidden name=null>
<input type=hidden name=w value="">
<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?>">
<tr>
<td width="4" height="25" ><img src="<?=$board_skin_path?>/img/list_top_01.gif" width="4" height="25"></td>
<td width="50" align="center" bgcolor="#EEEEEE"><font color='#FFFFFF'><img src="<?=$board_skin_path?>/img/memo_title.gif" width="50" height="20"></font></td>
<td align="center" bgcolor="#EEEEEE">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="padding-left:5px;">
<INPUT class=ed style="width:99%;" name=wr_subject itemname="제목" required value='이곳에 메모를 입력하세요' onMouseOver='chkReset(this.form);' onFocus='chkReset(this.form);' maxlength=<?=$board[bo_subject_len]/2?>></td>
<?if (!$member[mb_id]) { ?>
<td width="31"><div align="right">이름 </div></td>
<td width="76"> <INPUT class=ed maxLength=20 size=10 name=wr_name itemname="이름" required value="<?=$member[name]?>"></td>
<INPUT class=ed type=hidden maxLength=20 size=10 name=wr_password itemname="패스워드" >
</tr>
<?}?>
</table>
</td>
<td width="50" bgcolor="#EEEEEE" style="padding-right:10px;"><INPUT type=image id="btn_submit" src="<?=$board_skin_path?>/img/ok_btn.gif" border=0 accesskey='s'></td>
<td width="4"><img src="<?=$board_skin_path?>/img/list_top_04.gif" width="4" height="25"></td>
</tr>
</form>
</table>
<script language="JavaScript">
if ("<?=$sca?>") document.fcategory.sca.value = "<?=$sca?>";
if ("<?=$stx?>") {
document.fsearch.sfl.value = "<?=$sfl?>";
document.fsearch.sop.value = "<?=$sop?>";
}
</script>
<? if ($is_checkbox) { ?>
<script language="JavaScript">
function all_checked(sw)
{
var f = document.fboardlist;
for (var i=0; i<f.length; i++) {
if (f.elements[i].name == "chk_wr_id[]")
f.elements[i].checked = sw;
}
}
function check_confirm(str)
{
var f = document.fboardlist;
var chk_count = 0;
for (var i=0; i<f.length; i++) {
if (f.elements[i].name == "chk_wr_id[]" && f.elements[i].checked)
chk_count++;
}
if (!chk_count) {
alert(str + "할 게시물을 하나 이상 선택하세요.");
return false;
}
return true;
}
// 선택한 게시물 삭제
function select_delete()
{
var f = document.fboardlist;
str = "삭제";
if (!check_confirm(str))
return;
if (!confirm("선택한 게시물을 정말 "+str+" 하시겠습니까?\n\n한번 "+str+"한 자료는 복구할 수 없습니다"))
return;
f.action = "./delete_all.php";
f.submit();
}
// 선택한 게시물 복사 및 이동
function select_copy(sw)
{
var f = document.fboardlist;
if (sw == "copy")
str = "복사";
else
str = "이동";
if (!check_confirm(str))
return;
var sub_win = window.open("", "move", "left=50, top=50, width=396, height=550, scrollbars=1");
f.sw.value = sw;
f.target = "move";
f.action = "./move.php";
f.submit();
}
</script>
<? } ?>
<!-- 게시판 목록 끝 -->
이런 list.skin.php 인데
어디에다 입력을 해야 하는지요.
여기 저기 해도
"정상적인 접근이 아닙니다" 멧세지가 나오면서 입력이 안되요.
늘 행복하시길....
<table width="<?=$width?>" align="center" cellpadding="0" cellspacing="0">
<form name="fwrite" method="post" action="./write_update.php" enctype="multipart/form-data" autocomplete="off">
<input type=hidden name=null>
<input type=hidden name=w value="">
<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?>">
<tr>
<td width="4" height="25" ><img src="<?=$board_skin_path?>/img/list_top_01.gif" width="4" height="25"></td>
<td width="50" align="center" bgcolor="#EEEEEE"><font color='#000000'>글입력</font></td>
<td align="center" bgcolor="#EEEEEE">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="padding-left:5px;">
<? if ($is_norobot) { ?>
<input type=hidden name=wr_key value="<?=$norobot_key?>">
<? } ?>
<INPUT class=ed style="width:99%;" name=wr_subject itemname="제목" required value='이곳에 메모를 입력하세요' onMouseOver='chkReset(this.form);' onFocus='chkReset(this.form);' maxlength=<?=$board[bo_subject_len]/2?>></td>
<?if (!$member[mb_id]) { ?>
<td width="31"><div align="right">이름 </div></td>
<td width="76"> <INPUT class=ed maxLength=20 size=10 name=wr_name itemname="이름" required value="<?=$member[name]?>"></td>
<INPUT class=ed type=hidden maxLength=20 size=10 name=wr_password itemname="패스워드" >
</tr>
<?}?>
</table>
해 보세요
<form name="fwrite" method="post" action="./write_update.php" enctype="multipart/form-data" autocomplete="off">
<input type=hidden name=null>
<input type=hidden name=w value="">
<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?>">
<tr>
<td width="4" height="25" ><img src="<?=$board_skin_path?>/img/list_top_01.gif" width="4" height="25"></td>
<td width="50" align="center" bgcolor="#EEEEEE"><font color='#000000'>글입력</font></td>
<td align="center" bgcolor="#EEEEEE">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="padding-left:5px;">
<? if ($is_norobot) { ?>
<input type=hidden name=wr_key value="<?=$norobot_key?>">
<? } ?>
<INPUT class=ed style="width:99%;" name=wr_subject itemname="제목" required value='이곳에 메모를 입력하세요' onMouseOver='chkReset(this.form);' onFocus='chkReset(this.form);' maxlength=<?=$board[bo_subject_len]/2?>></td>
<?if (!$member[mb_id]) { ?>
<td width="31"><div align="right">이름 </div></td>
<td width="76"> <INPUT class=ed maxLength=20 size=10 name=wr_name itemname="이름" required value="<?=$member[name]?>"></td>
<INPUT class=ed type=hidden maxLength=20 size=10 name=wr_password itemname="패스워드" >
</tr>
<?}?>
</table>
해 보세요
답변 감사드립니다.
그런데 글을 입력하고 나면 동일히
정상적인 접근이 아닌 것 같습니다.라고 나오면서 입력이 안되네요.
왜일까요 ?
로그인하면 되는데.....
늘 좋은 소식을 전하여 감사드립니다.
그런데 글을 입력하고 나면 동일히
정상적인 접근이 아닌 것 같습니다.라고 나오면서 입력이 안되네요.
왜일까요 ?
로그인하면 되는데.....
늘 좋은 소식을 전하여 감사드립니다.
norobot_check
로봇체크 코드의 삽입여부
해당 스킨에서 웹페이지에 출력되지 않으나,
내부적으로는 제거되지 않은 경우에 해당됨.
관련키워드 : robot, 자동등록, 자동등록 방지
로봇체크 코드의 삽입여부
해당 스킨에서 웹페이지에 출력되지 않으나,
내부적으로는 제거되지 않은 경우에 해당됨.
관련키워드 : robot, 자동등록, 자동등록 방지
감사합니다. 자세한 내용이 나와 있네요.
그런데 회원가입만 되는데....
오늘도 행복하세요
그런데 회원가입만 되는데....
오늘도 행복하세요