로그인 버튼을 누르면 검색이 되버립니다...해결방법좀 알려주세요 ㅜㅜ

쏘스 보시구요 해결방법 부탁드립니다.
 
아무리 해봐도 되지 않아서요
 
로그인 버튼을 누르면 검색이 되버립니다.
 
쏘스
 
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
//print_r2(get_defined_constants());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
$table_width = 1004;
?>
  <!-- 상단 배경 시작 -->
<!-- 상단 배경 끝 -->
<!-- 상단 로고 및 버튼 시작 --><br/>
<table width="1000" border="0" cellspacing="0" cellpadding="0">
   <form name="fsearchbox" method="get" action="javascript:fsearchbox_submit(document.fsearchbox);">
        <input type="hidden" name="sfl" value="wr_subject||wr_content">
        <input type="hidden" name="sop" value="and">   
<tr>
    <th width="1000" scope="col"><img src="img/toptoptop-01.gif" width="1000" height="84" border="0" usemap="#Map" /></th>
  </tr>
</table>
<table width="1000" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <th width="738" scope="col"><img src="img/manu-left.gif" width="39" height="31" /><a href="/bbs/search.php"><img src="img/manu-nippon01.gif" width="72" height="31" border="0" /></a><a href="/bbs/search.php"><img src="img/manu-snickers02.gif" width="102" height="31" border="0" /></a><a href="bbs/search.php"><img src="img/manu-brand03.gif" width="94" height="31" border="0" /></a><a href="./bbs/search.php"><img src="img/manu-gujae04-1.gif" width="66" height="31" border="0" /></a><a href="./bbs/search.php"><img src="img/manu-multi04.gif" width="77" height="31" border="0" /></a><a href="./bbs/search.php"><img src="img/manu-expershop05.gif" width="69" height="31" border="0" /></a><a href="./bbs/search.php"><img src="img/manu-buying06.gif" width="82" height="31" border="0" /></a><a href="./bbs/search.php"><img src="img/manu-acc07.gif" width="74" height="31" border="0" /></a><a href="./bbs/search.php"><img src="img/manu-mania08.gif" width="63" height="31" border="0" /></a></th>
 <th width="205" valign="middle" background="img/manu-search09.gif" scope="col">
         <input name="stx" maxlengt=20 style="BORDER :1px solid; width: 135px; HEIGHT: 20px; BACKGROUND-COLOR: white" maxlength="20">
    <input type="image" src="img/manu-search.gif" width="35" height="18" align=absmiddle></th>
    <th width="57" scope="col"><img src="img/manu-right.gif" width="57" height="31" /></th>
  </tr>
  <tr>
    <th height="4" colspan="3" scope="row"><img src="img/bottommanu01.gif" width="1000" height="4" /></th>
  </tr>
</table>
</br>
<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>
<!-- 검색 끝 -->
 <table width='<?=$table_width?>' cellpadding=0 cellspacing=0 border=0>
<tr>  
    <td width=43></td>
    <!-- 왼쪽 메뉴 -->
  <td valign=top>
            <?=outlogin("basic"); // 외부 로그인 ?>
          <br>
            <img src=<?=$$g4[path]?>/img/main-news.gif width="220" height="114"><br>
          <br>
            <img src=<?=$$g4[path]?>/img/manu-bestshop.gif width="220" height="278"><br>
          <br>
            <img src=<?=$$g4[path]?>/img/manu-hotshop.gif width="220" height="562"><br>
          <br>
           <img src=<?=$$g4[path]?>/img/manu-helpdesk.gif width="220" height="181"><br>
              <p><img src="img/onlinepoll-01.gif" width="220" height="307" /><br>
  </p><td> <td width=2 valign=top></td>
    <!-- 중간 -->
    <td width=683 valign=top>
    <map name="Map"><area shape="rect" coords="25,5,223,69" ><area shape="rect" coords="243,5,400,67" href="http://www.sir.com" target="_blank" >
<area shape="rect" coords="413,4,582,56" href="http://www.sir.com" target="_blank" >
<area shape="rect" coords="593,4,659,33" href="http://www.sir.com" target="_self">
<area shape="rect" coords="681,3,767,31" href="http://www.sir.com" target="_self">
<area shape="rect" coords="781,5,865,31" href="http://www.sir.com" target="_self">
<area shape="rect" coords="879,4,985,31" href="http://www.sir.com"target="_self">
<area shape="rect" coords="610,41,643,56" href="http://www.sir.com"target="_top">
<area shape="rect" coords="653,42,716,56" href="http://www.sir.com" target="_self"><area shape="rect" coords="727,43,802,57" href="http://www.sir.com" target="_self"><area shape="rect" coords="816,43,853,57" href="http://./search.php" target="_self"><area shape="rect" coords="862,42,902,57" href="http://./search.php" target="_self">
<area shape="rect" coords="914,41,980,58" href="javascript:window.external.AddFavorite(parent.location.href, document.title);">
</map></a>

 
|

댓글 2개

<script language="JavaScript"> 태그 바로 위에
</form>을 넣어보세요
고맙습니당..해결되었네요 ^^
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
18년 전 조회 1,326
18년 전 조회 1,409
18년 전 조회 1,591
18년 전 조회 1,568
18년 전 조회 1,729
18년 전 조회 1,075
18년 전 조회 1,542
18년 전 조회 1,534
18년 전 조회 2,077
18년 전 조회 1,541
18년 전 조회 1,536
18년 전 조회 1,110
18년 전 조회 1,551
18년 전 조회 1,486
18년 전 조회 1,469
18년 전 조회 1,629
18년 전 조회 1,611
18년 전 조회 1,554
18년 전 조회 1,552
18년 전 조회 1,655