<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="inc/function.asp"-->
<!--#include file="inc/conn.asp"-->
<!--#include file="inc/config.asp"-->
<!--#include file="inc/Conn_User.asp"-->
<%
const ChannelID=1
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"  xml:lang="zh-CN" lang="zh-CN">
<head>

	<script type=text/javascript>var xijuan={channel:"groupp"}</script>
	<script type=text/javascript src="Inc/main0.js"></script>
<!--#include file="top.asp"-->
<script language="JavaScript" type="text/javascript">
	function chkfrm(){
		
		if (document.Myform.Keywords.value==""){
			alert('请输入要检索的关键字！');
			document.Myform.Keywords.focus();
			return false;
		}
		
		
			var Obj = document.getElementsByName("mysort");
			for(i=0;i<Obj.length;i++){
				if(Obj[i].selected){
					if (Obj[i].value=="flv"){
						document.Myform.action="flv_search.asp";
					}else if (Obj[i].value=="zone"){
						document.Myform.action="user_search.asp";
					}else if (Obj[i].value=="blog"){
						document.Myform.action="blog_search.asp";
					}else if (Obj[i].value=="photo"){
						document.Myform.action="photo_search.asp";
					}else{
						document.Myform.action="user_search.asp";
					}
				}
			}

		
		return true;
	}
</script>
<form id="Myform" name="Myform" onSubmit="return chkfrm();" action="" method=post>
    <div id=SearchBlock>
      <div id=search>
<input name="Keywords" type="text" id="Keywords" class="input2"size="45" value="请输入关键字" onMouseOver="this.focus()" onFocus="this.select()" onClick="if (this.value=='请输入关键字') this.value=''"  />


             <select name="mysort" id="mysort" size="1" class="input2"> 
             <option selected value="blog" name="mysort" id="mysort">用户日志</option>
             <option value="zone" name="mysort" id="mysort">用户家园</option>
             <option value="flv" name="mysort" id="mysort">用户视屏</option>
             <option value="photo" name="mysort" id="mysort">用户相册</option>
             </select> &nbsp;
      </div>
     <input class=input_btn value="" type=submit src=Inc/global/images/btn_search.gif name=submit style="cursor:hand;" />
    </div>
    <div class=keywords>
      <ul>
        <li class=key1>热门搜索:
        </li>
      </ul>
    </div>
  </form>
</div><div id="mainbody">
<!-- Main start -->
<DIV class=frm705 style="BORDER-RIGHT: #dbf9ff 1px solid; BORDER-TOP: #dbf9ff 1px solid; MARGIN-TOP: 10px; BORDER-LEFT: #dbf9ff 1px solid; WIDTH: 960px; BORDER-BOTTOM: #dbf9ff 1px solid"><!-- video list-->
<DIV class="frm700_t black_bold" style="MARGIN-TOP: 0px; BACKGROUND: #effdff; WIDTH: 970px"><font color="#666666" style='FONT-SIZE: 12px'>关键字中含有"<font color="#ff6600" style='FONT-SIZE: 12px'><strong><%=Request("keywords")%></strong></font>"的日志</font></DIV>
<DIV class=frm700_m style="BACKGROUND: none transparent scroll repeat 100% 100%; WIDTH: 950px">
<DIV>

<DIV >
<DIV >   </DIV>
<TABLE cellSpacing=1 cellPadding=3 width="100%" bgColor=#efefef border=0>
<TBODY>
<TR>
<TD class=grp_tbl_title width="35%">主 题 </TD>
<TD class=grp_tbl_title width="20%">点 击 </TD>
<TD class=grp_tbl_title width="15%">发起人</TD>
<TD class=grp_tbl_title width="15%">最后更新</TD></TR>
<TR>
                        <%
myPagesize=20
keywords=Request("keywords")
set rs=server.createobject("adodb.recordset")
classidd=request("classid")
rs.open "select * from article where title like '%"&keywords&"%' order by articleid desc",conn,1,1 
call myPages(rs,myPagesize)
%>
                        <%line=myPagesize
do while not rs.eof and line>0
%>

   <%
set rsu=server.createobject("adodb.recordset")
rsu.open "select * from [user] where username='"&rs("Editor")&"' order by userid desc",conn_user,1,1 
%>

<TD class=grp_tbl_tr_e style="TEXT-ALIGN: left"> <img src="img0415/yuan.gif"><a href=blog_show.asp?userid=<%=userid%>&articleid=<%=rs("ArticleID")%> target="_blank"><font color=<%=rs("TitleFontColor")%>><%=gotTopic(rs("title"),50)%></A></TD>
<TD class=grp_tbl_tr_e> <FONT color=#037fdd><%=rs("hits")%></FONT></A></TD>
<TD class=grp_tbl_tr_e><img src="img0415/b1.gif">&nbsp;<a href=user.asp?userid=<%=rsf("userid")%> target="_blank"><%=gotTopic(rs("editor"),10)%></A></TD>

<TD class=grp_tbl_tr_o><SPAN class=grp_tbl_tr_o><%=year(rs("UpdateTime"))%>-<%=month(rs("UpdateTime"))%>-<%=day(rs("UpdateTime"))%></font></FONT></SPAN></TD></TR>

                        <%rs.movenext
   line=line-1
loop
  %>








</TBODY></TABLE>
<DIV > </DIV><!--pages-->
<DIV >
<DIV >



</DIV></DIV></DIV>






<!--pages end--></DIV>
<DIV       ></DIV></DIV></DIV>
<DIV ></DIV>

<DIV >
<DIV >
<DIV >
<TABLE cellSpacing=0 cellPadding=0 width="90%" align=center border=0>
<TBODY>


<!--#include file="end.asp"-->
<script type=text/javascript>try{__xijuan__.include("foot");}catch(e){}</script>
</div></div></div>
<SCRIPT TYPE="TEXT/JAVASCRIPT">
	$(function(){
		$.get("/recorderall/pagecount.js",function(script){
			eval(script);
			$("#allcontext").load("/recorderall/recorderall"+pagecount+".html");
		});
		$.compatible({moveeffect:{random:20}});
	});
</SCRIPT>
</body>
</html>