<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>搜索结果_<%=TD_home%></title>
<meta name="keywords" content="<%=TD_keywords%>" />
<meta name="description" content="<%=TD_description%>" />
</head>
<!--#include file="css_js.html" -->
<style type="text/css">
 #logo2{width:130px;height:39px;left:15px;top:0px} #logo2 a{background-image:url("../skins/images/img/modules/modules-151/logo-1355728609.png");line-height:39px} #logo{width:153px;height:132px;left:15px;top:20px} #logo a{background-image:url("../skins/images/img/modules/modules-113/logo.png");line-height:132px}.main-languages{width:110px;height:20px;right:0px;top:5px}.main-languages .http://www.uclan.ac.uk/{width:110px;height:20px;line-height:20px}.main-search{width:500px;height:58px;right:0px;top:109px}#search_key_words_container{width:339px;height:30px;padding:14px 0 14px 16px;background:url("../skins/images/img/config/c.png") 0px 0px}#search_key_words{width:339px;height:30px}#search-submit{width:145px;height:58px;background:url("../skins/images/img/config/c.png") -360px 0px}#search-submit:hover{background-position:-360px -58px}#main-menu{height:46px;}#main-menu .menu{left:50%;margin-left:-493.5px;width:987px;height:46px;}#main-menu .menu li,#main-menu .menu li a{width:141px;height:46px;line-height:46px;}#main-menu .menu .item-first,#main-menu .menu .item-end{width:0px;}#main-menu .menu .item-first{background-position:0px 0px;}#main-menu .menu .item-end{background-position:-141px 0px;}#main-menu .menu li ul li{width:84px;height:40px;line-height:40px;}#main-menu .menu li ul li a{width:84px;height:40px;line-height:40px;}#main-menu .menu li ul .item-child-first,#main-menu .menu li ul .item-child-end{width:13px;}#main-menu .menu li ul .item-child-first{background-position:0px 0px;}#main-menu .menu li ul .item-child-end{background-position:-97px 0px;margin-left:-1px;}body #main-menu .menu li ul{display:none;opacity:0;filter:alpha(opacity=0);}.breadcrumbs .showHere{background:url("../skins/images/img/config/c.png") -640px -120px no-repeat;width:17px;height:17px;margin:2px 10px 1px 0px;}.breadcrumbs .showHereText{margin-right:10px;}#backto{width:100%;height:;margin-top:0px;position:relative;}#backto-top{position:fixed;_position:absolute;_right:-23px;bottom:140px;width:23px;height:76px;background-image:url("../skins/images/img/config/c.png");background-position:-200px -120px;}#backto-top:hover{background-position:-200px -196px}body #main-menu .menu li ul{display:none;opacity:0;filter:alpha(opacity=0);}.new-list{width:730px}.list-item{width:730px;height:179px;margin:0 auto 0 auto;}.list-c-text{width:540px;height:40px;padding:3px 0 0 0;}.list-c-date-inline{height:30px;line-height:30px;}.list-c-title,.list-c-text,.list-c-in{float:left}.list-content{float:right}.list-c-in{width:60px;height:20px;line-height:20px;padding:3px 0 0 0;}.list-img-area{width:137px;height:103px;padding:9px;left:11px;top:31px;}.list-content{width:543px;height:96px;margin:41.5px 0;}.list-content .list-c-title{width:540px;height:30px;line-height:30px;padding:0 0 0 0;}.pagination{height:27px;}.pagination ul{width:230px;_width:235px;left:50%;margin-left:-115px;}.pagination ul li{margin:0 3px}.pagination .pagenav{background-image:url("../skins/images/img/config/c.png");width:30px;height:27px;line-height:27px;}.pagination li .pagenav{color:#FFF;background-position:-55px -240px;}.pagination li a:hover,.pagination li span.pagenav{color:#FFF;background-position:-55px -267px;}.pagination .pagination-prev .pagenav{width:55px;background-position:0px -240px;}.pagination .pagination-next .pagenav{width:55px;background-position:-85px -240px;}.pagination .pagination-prev a:hover,.pagination .pagination-prev span.pagenav{background-position:0px -267px;}.pagination .pagination-next a:hover,.pagination .pagination-next span.pagenav{background-position:-85px -267px;}
  </style>
  <body>
<!--#include file="top.html" -->
<div id="container">
			
						<div id="breaddiv" class="frame960">
				

<div class="custom"  >
	<h1>搜索结果<span></span></h1>
</div>
				
<div class="breadcrumbs">
<div class="bread-text-container"><a href="<%=TD_url%>">首页</a> &gt; <a href="/so/">搜索结果</a> &gt; <span>搜索结果</span></div><span class="showHere"></span><span class="showHereText">当前位置: </span></div>

				<div class="clr"></div>
			</div>
			<div class="banner banner-960">
				<div class="bannergroup">

		<div id="banner-item-513" class="banneritem">
																																														<div class="banner-div" style="background:url(../skins/images/news.jpg) center center no-repeat;"></div>
											<div class="clr"></div>
	</div>

</div>


			</div>
						<div class="frame960 component-container">
								<div id="left-menu">
					<ul class="menu">
	<li class="item-first"></li>
	<%=TD_News_fl_list%>
	<li class="item-end"></li>
</ul>
<!--#include file="index_right.html" --></div><div id="component-content">
<div class="new-list list-1-f-ittd">
	<%	
t=request.QueryString("t") 
key=request.QueryString("key") 
if t="" then
Response.Write("<script>alert('请选择要搜索的栏目!');history.back();</script>")
Response.End()
end if
if key="" then
Response.Write("<script>alert('请输入关键词!');history.back();</script>")
Response.End()
end if
set rs=server.createobject("adodb.recordset") 
if t=1 then
exec="select * from [news] where title like '%"&key&"%'  order by id desc  " 
elseif t=2 then
exec="select * from [Products] where title like '%"&key&"%'  order by id desc  " 
else
exec="select * from [download] where title like '%"&key&"%'  order by id desc  " 
end if
rs.open exec,conn,1,1 
if rs.eof then
response.Write "&nbsp;没有搜索到相关内容！"
else
rs.PageSize =10 '每页记录条数
iCount=rs.RecordCount '记录总数
iPageSize=rs.PageSize
maxpage=rs.PageCount 
page=request("page")
if Not IsNumeric(page) or page="" then
page=1
else
page=cint(page)
end if
if page<1 then
page=1
elseif  page>maxpage then
page=maxpage
end if
rs.AbsolutePage=Page
if page=maxpage then
x=iCount-(maxpage-1)*iPageSize
else
x=iPageSize
end if	
For i=1 To x
dim img
if IsNull(rs("img")) or trim(rs("img")&"")="" then
img="/images/pic.GIF"
else
img=""&rs("img")&""
end if
%>
<%if t=1 then%>
<div class="list-item list-item-n1"><a href="<%=url%>" title="<%=rs("title")%>" class="list-img-area list-img-n1"><div class="list-img" style="background-image:url(<%=img%>);"></div></a><div class="list-content"><a href="<%=url%>" title="<%=rs("title")%>" class="list-c-title" ><%=i5808(rs("title"),50)%>&nbsp;&nbsp;<span class="list-c-date-inline">浏览：<%=rs("hit")%><font color="#0075a9"> 发布时间：<%=rs("data")%> <%
if rs("zhiding")=1 then
response.Write("<font color=#FF0000>[置顶]</font>")
else
end if
%></span></a><div class="list-c-text"><%=i5808(rs("body"),150)%></div><a href="<%=url%>" style="color:<%=color%>" title="<%=rs("title")%>"  class="list-c-in" >[查看更多]</a></div></div>


   
<%elseif t=2 then%>
<li class="comment_odd">
            <div class="author"><img class="avatar" src="<%=rs("img")%>" width="104" height="74" alt="<%=rs("title")%>" /><span class="name"><a href="/ShowProducts/?<%=rs("id")%>-1.html"   title="<%=rs("title")%>"><%=InterceptString(rs("title"),50)%></a></span></div>
            <div class="submitdate">浏览：<%=rs("hit")%><font color="#0075a9"> 发布时间：<%=rs("data")%></div>
            <p><%=i5808(rs("body"),150)%></p>
          </li>
    
<%else%>
     <li class="comment_odd">
            <div class="author"><span class="name"><a href="/ShowDownload/?<%=rs("id")%>-1.html"   title="<%=rs("title")%>"><%=InterceptString(rs("title"),50)%></a></span></div>
            <div class="submitdate"><font color="#0075a9"> 发布时间：<%=rs("data")%></div>
            <p><%=i5808(rs("body"),150)%></p>
          </li>
          
<%end if%>
<%rs.movenext
next
end if
%>
	<div class='clr'></div>
</div>
<div class="content-bottom-line"></div>
<div class='pagination'>
	<ul><%'以下显示分页
 call PageControl(iCount,maxpage,page,"border=0 align=center","<p align=center>")
rs.close
set rs=nothing
%></ul></div>

					
					
					
									</div>
				<div class="clr"></div>
								<a href="javascript:;" style="display:none;" id="backto-top" class="backto-top"><span></span></a>
<script type="text/javascript">
$(document).ready(function(){
	$("#backto-top").click(function(){
		if (document.documentElement.scrollTop) {
			document.documentElement.scrollTop = 10;
			$(document.documentElement).animate({scrollTop:0},300);
		} else {
			document.body.scrollTop = 10;
			$(document.body).animate({scrollTop:0},300);
		}
	});
		$(window).scroll(function(){
		var top = $(this).scrollTop();
		if (top==0) {
			$('#backto-top').fadeOut();
		} else {
			$('#backto-top').fadeIn();
		}
	});
	});
</script>
<script type="text/javascript">
$(document).ready(function(){
	component_width = parseInt($('.component-container').width());
backto_list = $("#backto-list");if (backto_list[0] != undefined) backto_list.css({"margin-left":component_width+"px"});backto_top = $("#backto-top");if (backto_top[0] != undefined) backto_top.css({"margin-left":component_width+"px"});});
</script>
</div></div>


   <!--#include file="foot.html" -->
</body>
</html>
