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

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

QA

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

본문

<form name=frm method=post action="<?=$g5['../theme/basic/path']?>/bbs/write_update.php" onsubmit="return checkFrm(this);">

 

이부분인데요 파일자체가

<form name=frm method=post action="<?=$g5['../theme/basic/path']?>/test/bbs/write_update.php" onsubmit="return checkFrm(this);">

 

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

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

 

 

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

 

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

 

 

 

 

 

이 질문에 댓글 쓰기 :

답변 2

<form name=frm method=post action="/bbs/write_update.php" onsubmit="return checkFrm(this);"> 

아닌가요?

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

스킨게시판에 덕서리님의 상담폼 확인해보세요.
소스는 이것인데, 비교한번 해보세요.
경로설정은 zes님의 폴더를 잘 보시고 경로설정 해주세요.


<?
$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>
<!--//-->

="<?=$g5['../theme/basic/path']?>/

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

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

동작이 ="<?=$g5['../theme/basic/path']?>이렇게 되서 오류 메시지를 뿜어낸것 같네요.

 

답변을 작성하시기 전에 로그인 해주세요.
전체 59,609
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT