테스트 사이트 - 개발 중인 베타 버전입니다

상담신청시 올바른 방법을 이용하세요 라고 팝업이 뜨네요~ 채택완료

zes 8년 전 조회 5,406

 

이부분인데요 파일자체가

/test/bbs/write_update.php" onsubmit="return checkFrm(this);">

 

요안에 들어있어서 이렇게 /test링크 추가하고 입력하고 상담신청 누르면

올바른 방법을 이용하세요 라고 팝업이 뜨고

 

 

만약에 /test를 지우고 하면 요청하신 페이지가 없습니다 가뜹니다~

 

어느파일의 어느부분을 수정해주어야 할까요?

 

 

 

 

 

댓글을 작성하려면 로그인이 필요합니다.

답변 2개

채택된 답변
+20 포인트

/bbs/write_update.php" onsubmit="return checkFrm(this);"> 

아닌가요?

본래 그누에는 theme폴더안에 path라는 폴더 자체가 없는것 같은데요..

로그인 후 평가할 수 있습니다

답변에 대한 댓글 3개

z
zes
8년 전
주소로해도 똑같네요ㅠㅠ 올바른 방법으로 이용해주십시오 이렇게 뜨네요 ㅠ
사이트메이크
8년 전
루트에 bbs폴더는 있나요?
bbs/write_update.php 파일이 있나요?
사이트메이크
8년 전
스킨게시판에 덕서리님의 상담폼 확인해보세요.
소스는 이것인데, 비교한번 해보세요.
경로설정은 zes님의 폴더를 잘 보시고 경로설정 해주세요.
[code]
<?
$g5_path = ".."; // 그누보드가 있는 상대경로를 적어줌
?>
<script language="javascript">
var char_min = parseInt(<?=$write_min?>);
var char_max = parseInt(<?=$write_max?>);
</script>

<style type="text/css">

select {border: 1px solid #333333;color: #333333;}
.quick{ border: 1px solid #999999;}
.stx{ border: 1px solid #3e4a5a;}
.ed {border: 2px solid #cccccc;background-color: #efeff1; font-family:'Nanum Gothic';}
.style7 {color: #000000}
.style8 {color: #000000; font-weight: bold; }
.style9 {color: #666666}
</style>
<script type="text/javascript">
function checkFrm(obj) {
if(obj.wr_6.checked == false) {
alert('개인정보 활동동의에 체크해주세요.');
obj.wr_6.focus();
return false;
}
}
</script>

<table width=320 border="0" align="center" cellpadding="0" cellspacing="0" >
<form name=frm method=post action="<?=$g5['path']?>/bbs/write_update.php" onsubmit="return checkFrm(this);">
<input type=hidden name=w value="">
<input type=hidden name=bo_table value="online">
<input type=hidden name=wr_id value="">
<input type=hidden name=sca value="">
<input type=hidden name=sfl value="">
<input type=hidden name=stx value="">
<input type=hidden name=spt value="">
<input type=hidden name=sst value="">
<input type=hidden name=sod value="">
<input type=hidden name=s value="s">
<input type=hidden name=wr_subject value="빠른 상담 신청">
<input type=hidden name=wr_content value="빠른 상담 신청">
<input type=hidden name="wr_1" value="">
<tr>
<td width="320" height="150" align="center" valign=top style="border-bottom: 0px solid #ccc;">
<table width="320" border=0 cellpadding=0 cellspacing=0>
<tr>
<td width="50px" height="30px" style="padding-left:10px;">
<div class="style7">이름</div>
</td>
<td width="50"> <input class='quick' type="text" name="wr_name" size="22" style="font-size: 12px; height:20px;" required itemname="이름"></td>
<td width="79" rowspan="3">
<div align="right" >
<input name="image" type=image src="<?=$g5['path']?>/core_images/tyt04_bt03.png" alt="상담신청" >
</div>
</td>
</tr>
<tr>
<td height=40><div class="style7">휴대폰</div></td>
<td>
<select name="wr_7" style="height:20px" itemname="휴대폰" required >
<option value="010">010</option>
<option value="011">011</option>
<option value="016">016</option>
<option value="017">017</option>
<option value="018">018</option>
<option value="019">019</option>
</select>-
<input name="wr_8" type="text" required class='ed' style="width:35px;height:20px;border:1px solid #444444;" maxlength="4" itemname="휴대폰"/>-
<input name="wr_9" type="text" required class='ed' style="width:35px;height:20px;border:1px solid #444444;" maxlength="4" itemname="휴대폰"/></td>
</tr>
<tr>
<td width=50 height=30 style="padding-left:10px;">
<div class="style7">메모</div>
</td>
<td>
<input class='quick' type="text" name="wr_content" size="22" style="font-size: 12px; height:20px;" required itemname="메모">
</td>
</tr>
<tr align="center">
<td height="30" colspan="3">
<span class="style9">*고객님의 정보는 상담을 위해서만 사용됩니다.</span>
</td>
</tr>
<tr align="center">
<td colspan="3">
<input type=checkbox name=wr_6 value="6" <?=$write[wr_6]?> required>
<span class="style7">개인정보 활용동의</span><a href="../privacy.html" target="_blank"><img src="<?=$g5['path']?>/core_images/privacy.gif" width="50" height="16" border="0"></a>
</td>
</tr>
<tr align="center">
<td height="10" colspan="3"></td>
</tr>
</table>
</td>
</tr>
</form>
</table>
<!--//-->

[/code]

댓글을 작성하려면 로그인이 필요합니다.

s
8년 전

="/

= ​../theme/basic/path/test/bbs/write_update.php

이렇게 되어야 하지 않을까요?

동작이 ="이렇게 되서 오류 메시지를 뿜어낸것 같네요.

 

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인