검색스킨을 index.php 또는 head.php

 
위의 검색스킨을 index.php 또는 head.php
 
부착할려고 합니다!!
 
인쿨루드 및 개별 독립페이지로 설정해도 스킨은 나오는데
 
검색이 되지 않네요~~
 
위 검색스킨 인쿨루드 방법 부탁드려요!!
|

댓글 3개

head.php에 검색스킬 넣을 자리에 아래 소스를 넣어주면 되거드면 .

<!-- 검색 시작 -->
<table width="430" cellpadding="0" cellspacing="0">
<tr>
<td width="51" height="11"></td>
<td width="347">&nbsp;</td>
</tr>
<tr>
<td width="51" height="33"><table width=100% cellpadding=0 cellspacing=0><tr><td width=25>&nbsp;</td><td><?//=popular();?></td></tr></table></td>
<td>
<table width="375" height="33" cellspacing="0" cellpadding="0">
<form name="fsearchbox" method="get" action="javascript:fsearchbox_submit(document.fsearchbox);">
<!-- <input type="hidden" name="sfl" value="concat(wr_subject,wr_content)"> -->
<input type="hidden" name="sfl" value="wr_subject||wr_content">
<input type="hidden" name="sop" value="and">
<tr>
<td width="195" height="25" valign="middle"><span id=c2>
<INPUT name=stx id="stx" style="WIDTH: 230px" accesskey=s tabindex=2 onfocus="return s BACKGROUND-REPEAT: no-repeat" maxlength="20">
</span></td>
<td width="8">&nbsp;</td>
<td width="62"><span id=c3>
<span id=c3><input type=image src=../images/btn_schL.gif tabindex=3 style="width:55px;height:25px" title="검색" onmouseover="this.src='../images/btn_schH.gif'" onmouseout="this.src='../images/btn_schL.gif'" onmousedown="this.src='../images/btn_schA.gif'"></span>
</span></td>
<td width="18">&nbsp;</td>
</tr>
<tr>
<td height="8" colspan="4"><span id=c3>
</span> </td>
</tr>
</form>
</table></td>
</tr>
</table>

<script language="JavaScript">
function fsearchbox_submit(f)
{
if (f.stx.value == '')
{
alert("검색어를 입력하세요.");
f.stx.select();
f.stx.focus();
return;
}

/*
// 검색에 많은 부하가 걸리는 경우 이 주석을 제거하세요.
var cnt = 0;
for (var i=0; i<f.stx.value.length; i++)
{
if (f.stx.value.charAt(i) == ' ')
cnt++;
}

if (cnt > 1)
{
alert("빠른 검색을 위하여 검색어에 공백은 한개만 입력할 수 있습니다.");
f.stx.select();
f.stx.focus();
return;
}
*/

f.action = "<?=$g4['bbs_path']?>/search.php";
f.submit();
}
</script>
<!-- 검색 끝 -->
Forbidden
You don't have permission to access /search.php on this server.


--------------------------------------------------------------------------------

오류가 떠요!
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
19년 전 조회 1,872
19년 전 조회 1,646
19년 전 조회 1,511
19년 전 조회 1,745
19년 전 조회 1,527
19년 전 조회 1,527
19년 전 조회 1,628
19년 전 조회 1,669
19년 전 조회 1,595
19년 전 조회 1,520
19년 전 조회 1,583
19년 전 조회 1,685
19년 전 조회 1,547
19년 전 조회 1,509
19년 전 조회 1,665
19년 전 조회 1,516
19년 전 조회 1,687
19년 전 조회 1,543
19년 전 조회 3,248
19년 전 조회 1,610
🐛 버그신고