조금만 더 하면 찾을것 같은데....아직도 좀 안맞아요... > 질문답변

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

질문답변

서버정보나 계정정보는 보안유지를 위해 관리자쪽지나 메일로 발송해 주시거나 제작의뢰 게시판을 이용해 주시면 감사하겠습니다..

조금만 더 하면 찾을것 같은데....아직도 좀 안맞아요...

페이지 정보

본문

스킨소스는

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$table_width = 680;

include_once("$g4[path]/lib/search0.lib.php");
include_once("$g4[path]/lib/search7.lib.php");
?>

<script type="text/javascript" language="JavaScript" src="<?="$g4[path]/js/suggest.js"?>"></script>

<table width="680" height="75" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td width="680" height="75">
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
<tr>
    <td width="24"><img src="<?=$search_skin_path?>/img/searchbg_01.gif"></td>
    <td background="<?=$search_skin_path?>/img/searchbg_02.gif">
<table width=95% cellpadding=2 cellspacing=0 height="50">
    <form name=fsearch method=get action="javascript:fsearch_submit(document.fsearch);"  autocomplete="off">
        <input type="hidden" name="srows" value="<?=$srows?>">
<tr>
<td height="25" colspan="3"><?=$group_select?>
<script language="JavaScript">document.getElementById("gr_id").value = "<?=$gr_id?>";</script>
<select name=sfl class=select>
<option value="wr_subject||wr_content">제목+내용</option>
<option value="wr_subject">제목</option>
<option value="wr_content">내용</option>
<option value="mb_id">회원아이디</option>
<option value="wr_name">이름</option>
</select>
<input type=text name=stx maxlength=20 required itemname="검색어" value='<?=$text_stx?>'>
<input name="image" type=image src="<?=$search_skin_path?>/img/search_btn.gif"  align="absmiddle" width="60" height="25" border=0>
<script language="javascript">
document.fsearch.sfl.value = "<?=$sfl?>";     
function fsearch_submit(f){
/*
// 검색에 많은 부하가 걸리는 경우 이 주석을 제거하세요.
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 = "";
f.submit();
}
</script>
</td>
</tr>
<tr>
<td width="300"> 연산자 &nbsp;<input type="radio" name="sop" value="or" <?=($sop == "or") ? "checked" : "";?>>OR &nbsp;<input type="radio" name="sop" value="and" <?=($sop == "and") ? "checked" : "";?>>AND </td>
<td width="200" align="right"> 실시간 인기 검색어 : </td>
<td width="160" onMouseOver="MM_showHideLayers('my_view1','','show')"><?=search0();?>
<DIV id='my_view1' style="position:relative; left: 0px; top: -20px; width:100px; visibility: hidden;" onMouseOut="MM_showHideLayers('my_view1','','hide')" onMouseOver="MM_showHideLayers('my_view1','','show')" >
        <DIV id="my_view2" style="position:absolute; left:0px; top:0px; width:100px; z-index:1;">
<?=search7();?>
</div></div>
</td>
</tr>
</form>
</table>
</td>
<td width="23"><img src="<?=$search_skin_path?>/img/searchbg_03.gif"></td>
</tr>
</table>
<!------------검색폼부분끝-------------->
<p>

<table align=center width="680" cellpadding=0 cellspacing=0 border="0" align="center">
<tr>
<td width="20"></td>
<td valign="top" width="660">
<table align=center width="660" cellpadding=2 cellspacing=0 border="0" align="center">
<tr>
<td style='word-break:break-all;' class=search valign="top">
<?
if ($stx)
{
echo "<b>검색된 리스트</b> (<b>{$board_count}</b>개의 리스트, <b>".number_format($total_count)."</b>개의 게시글, <b>".number_format($page)."/".number_format($total_page)."</b> 페이지)";
if ($board_count)
{
echo "<ul><ul style='line-height:130%;'>";
if ($onetable)
echo "<img src='$search_skin_path/img/icon_folder2.gif' border='0' align='absmiddle'>&nbsp;<a href='?$search_query&gr_id=$gr_id'>전체게시판 검색</a>";
//echo "<img src='$search_skin_path/img/icon_folder2.gif' border='0' align='absmiddle'>&nbsp;";
echo $str_board_list;
echo "</ul></ul>";
}
else
{
echo "<ul style='line-height:130%;'><li><b>검색된 자료가 하나도 없습니다.</b></ul>";
}
}
?>
<?
$k=0;
for ($idx=$table_index, $k=0; $idx<count($search_table) && $k<$rows; $idx++)
{
echo "<img src='$search_skin_path/img/icon_folder2.gif' border='0' align='absmiddle'>&nbsp;<b><a href='./board.php?bo_table={$search_table[$idx]}&{$search_query}'><u>{$bo_subject[$idx]}</u></a>에서의 검색결과</b>";
$comment_href = "";
for ($i=0; $i<count($list[$idx]) && $k<$rows; $i++, $k++)

$content = cut_str(trim(strip_tags($list[$idx][$i][wr_content])),300,"…");
$content = search_font($stx, $content);
echo "<ul><ul style='line-height:130%;'> <img src='$search_skin_path/img/icon_list.gif' border='0' align='absmiddle'>";
if ($list[$idx][$i][wr_is_comment])
{
echo "<font color=999999>[코멘트]</font> ";
$comment_href = "#c_".$list[$idx][$i][wr_id];
}
echo "<a href='{$list[$idx][$i][href]}{$comment_href}'><u>";
echo $list[$idx][$i][subject];
echo "</u></a> [<a href='{$list[$idx][$i][href]}{$comment_href}' target=_blank>새창</a>]<br>";
echo $content;
echo "<br><font color=#999999>{$list[$idx][$i][wr_datetime]}</font>&nbsp;&nbsp;&nbsp;";
echo $list[$idx][$i][name];
echo "</ul></ul>";
}
}
?>
<p><?=$write_pages?>
</td>
<td width="20"></td>
<td width="180" valign="top">
<table width="180" cellpadding="0" cellspacing="0" border="0" align="center" valign="top">
<tr><td width="180" align="right"></td></tr>
<tr><td height="20"></td></tr>
<tr><td width="180" align="right"></td></tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>


<script language="JavaScript" type="text/JavaScript">
    document.fsearch.stx.obj =
        sug_set_properties(document.fsearch.stx, '<?=$search_skin_path?>/suggest_search.php', true, false, true);

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
</script>




search0.lib.php  와 search7.lib.php 에는 사이즈 적용 없네요...
추천0

댓글목록

profile_image

알럽투데이님의 댓글

알럽투데이쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일

ㅎㅎㅎ 편법을 사용했어요....


<td width="300"> 연산자 &nbsp;<input type="radio" name="sop" value="or" <?=($sop == "or") ? "checked" : "";?>>OR &nbsp;<input type="radio" name="sop" value="and" <?=($sop == "and") ? "checked" : "";?>>AND </td>
<td width="200" align="right"> 실시간 인기 검색어 : </td>


이부분을 빼버렸어요^^ 이제 좀 검색창 같네...ㅎㅎㅎ

profile_image

알럽투데이님의 댓글

알럽투데이쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일

연후 아버님 괜히 어벙한 저때문에 고생 해주셔서 너무 영광입니다...

블로그도 잡혔구요,,,, 검색 스킨도 편법이긴 했지만 사이즈는 맞췄네요... 만족하구요... 앞으로도 충성할께요~!

충~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~성

profile_image

알럽투데이님의 댓글

알럽투데이쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일

막혔던게 뚫렸을때.... 이렇게 후련한걸.... 이 느낌으로 소스 작업하나봐요....^^

Total 1,640건 30 페이지
  • RSS
질문답변 목록
번호 제목 글쓴이 조회 추천 날짜
915 davi쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 6995 0 10-22
914 davi쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 8916 0 10-22
열람중 알럽투데이쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 9006 0 10-23
912 라울쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7400 0 10-23
911 알럽투데이쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 10761 0 10-23
910 사랑쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7455 0 10-23
909 기쁨의 아침쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8297 0 10-24
908 라울쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7102 0 10-24
907 아보병빠쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 9971 0 10-24
906
저기요 .. 댓글1
로앵글쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 26 0 10-24
905 알럽투데이쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8661 0 10-25
904 디란도쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 6325 0 10-25
903 백작쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8221 0 10-25
902 디란도쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 10511 0 10-26
901 백작쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 5081 0 10-26
900 알럽투데이쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 13007 0 10-26
899 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 56 0 10-26
898 JSclub쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 16117 0 11-12
897 디란도쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8758 0 10-26
896 디란도쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 15997 0 10-26
895 힘쓰쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 11201 0 10-27
894
질문이요 댓글2
리젤쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7777 0 10-27
893 사랑쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8068 0 10-27
892 투톤무늬소쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 9171 0 10-27
891 알럽투데이쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 10973 0 10-27

검색

회원로그인

회원가입

사이트 정보

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

접속자집계

오늘
7,072
어제
7,420
최대
8,233
전체
1,523,197
Copyright (c) 株式会社YHPLUS. All rights reserved.