[제나플러스] 통합검색만들기 > 팁앤테크

본문 바로가기
사이트 내 전체검색

팁앤테크

[제나플러스] 통합검색만들기

페이지 정보

본문

<!--SEARCH-->
                                        <div style="text-align:center;">
                                        <form name="fsearchbox" method="get" style="margin:0px;" action="javascript:fsearchbox_submit(document.fsearchbox);">                    
                                        <input type="hidden" name="sfl" value="wr_subject||wr_content">
                                        <input type="hidden" name="sop" value="and">
                                        <?
                                        $group_select = "<select id='gr_id' name='gr_id' class=select><option value=''>통합검색";
                                        $sql = " select gr_id, gr_subject from $g4[group_table] where gr_id not in ('banner','html','z9') order by gr_id ";
                                        $result = sql_query($sql);
                                        for ($i=0; $row=sql_fetch_array($result); $i++)
                                        $group_select .= "<option value='$row[gr_id]'>$row[gr_subject]";
                                        $group_select .= "</select>";
                                        echo $group_select;
                                        ?>
                                        <INPUT name=stx class ='text_box' itemname="검색어" style="BORDER : 2px solid; border-color:#E1E1E1; HEIGHT: 20px; BACKGROUND-COLOR: #FFFFFF" size="45" minlength="2" maxlength="20">
                                        <!--<input type="image" src="<?=$g4[path]?>/include/mainmenu/img/<?=$color_layer?>/search<?=$color_layer?>.gif" border="0">-->
                                        <input type=submit value=' 검 색 ' style="background-color:#<?=$color_layer?>;border:1 solid #FFFFFF;color:FFFFFF;font-weight:bold;">
                                        </form>
                                        </div>
                                        <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>
<!--/SEARCH-->

추천0

댓글목록

등록된 댓글이 없습니다.

Total 270건 1 페이지
  • RSS
팁앤테크 목록
번호 제목 글쓴이 조회 추천 날짜
270 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13158 2 04-23
269 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13619 2 03-06
268 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 14397 2 03-06
267 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12841 2 12-07
266 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13463 1 01-27
265 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13375 1 05-06
264 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 15874 1 04-01
263 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 15177 1 05-10
262 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 21653 1 05-11
261 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 27047 1 06-10
260 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12743 1 05-21
259 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 14556 1 11-14
258 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13096 1 02-27
257 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12752 1 10-22
256 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13579 0 02-29
열람중 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 15040 0 04-24
254 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 16482 0 05-26
253 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 14386 0 09-04
252 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12914 0 12-17
251 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 15381 0 12-27
250 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13210 0 05-01
249 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12805 0 07-14
248 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 11550 0 09-03
247 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12449 0 11-04
246 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 11349 0 10-23

검색

회원로그인

회원가입

사이트 정보

株式会社YHPLUS / 대표 : ZERO
〒140-0011 東京都品川区東大井2-5-9-203
050-5539-7787
오픈카카오톡 (YHPLUS) :
https://open.kakao.com/o/slfDj15d

접속자집계

오늘
4,155
어제
7,420
최대
8,233
전체
1,520,280
Copyright (c) 株式会社YHPLUS. All rights reserved.