<%@ LANGUAGE=VBScript CodePage=65001%>
<% response.charset="utf-8" %>
<% session.codepage=65001 %><!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="X-UA-Compatible" content="IE=7">
<meta http-equiv="Content-Type" content="text/html; charset=uft-8" />
<!-- #include file="../../inc/AntiAttack.asp" -->
<!-- #include file="../../inc/conn.asp" -->
<!-- #include file="../../inc/en_web_config.asp" -->
<!-- #include file="../../inc/html_clear.asp" -->
<%
search_q=request.querystring("q")
%>
<title>Search<%=search_q%>_MyCMS English</title>
<link href="/css/MyCMSGreen/en_inner.css" rel="stylesheet" type="text/css" />
<link href="/css/MyCMSGreen/en_common.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/en_functions.js"></script>
<script type="text/javascript" src="/images/iepng/iepngfix_tilebg.js"></script>
<script type="text/javascript">
window.onerror=function(){return true;}
</script>
</head>

<body>
<%
keywords=split(search_q," ")
c=ubound(keywords)
for i=0 to c
if i=0 then
search_sql1=search_sql1&"where  ( [title] like '%"&keywords(i)&"%'"
keywords_all=keywords(i)
else
search_sql1=search_sql1&" or   [title] like '%"&keywords(i)&"%'"
keywords_all=keywords_all&"+"&keywords(i)
end if
next

s_sql="select [title],[content],[file_path],[time],ArticleType from [en_article] "&search_sql1&" )  and view_yes=1 order by [time] desc"
%>
<div id="wrapper">

<!--head start-->
<div id="head">

<!--top start -->
<div class="top">
<div class="TopLogo">
<div class="logo"><a href="/"><img src="/images/up_images/logo.png" alt="MyCMS English"></a></div>
<div class='tel'><p>语言： <a href='/'>中文</a> | <a href='/English'>English</a></p></div>
<div class='SearchTop'>
<div class="SearchBar">
<form method="get" action="/English/Search/index.asp">
				<input type="text" name="q" id="search-text" size="15" onBlur="if(this.value=='') this.value='Keywords';" 
onfocus="if(this.value=='Keywords') this.value='';" value="Keywords" /><input type="submit" id="search-submit" value=" " />
			</form>
</div>
</div>

</div>

</div>
<!--top end-->

<!--nav start-->
<div id="NavLink">
<div id='NavLinkBG'>

<div class="NavBGs">


<div class="head-v3">
	<div class="navigation-up">
		<div class="navigation-inner">
			<div class="navigation-v3">
				<ul>
				<li class='' _t_nav='FirstNav1'><h2><a href='/English'>Home</a></h2></li><li class='' _t_nav='FirstNav2'><h2><a href='/English/About/'>About</a></h2></li><li class='' _t_nav='FirstNav3'><h2><a href='/English/Product/'>Product</a></h2></li><li class='' _t_nav='FirstNav4'><h2><a href='/English/news/'>News</a></h2></li><li class='' _t_nav='FirstNav5'><h2><a href='/English/Case/'>Case</a></h2></li><li class='' _t_nav='FirstNav6'><h2><a href='/English/Recruit/'>Recruit</a></h2></li><li class='' _t_nav='FirstNav7'><h2><a href='/English/contact/'>Contact</a></h2></li><li class='' _t_nav='FirstNav8'><h2><a href='/English/Feedback/'>FeedBack</a></h2></li>
				</ul>
			</div>
		</div>
	</div>
	<div class="navigation-down">
<div id='FirstNav2' class='nav-down-menu menu-1' style='display: none;' _t_nav='FirstNav2'><div class='navigation-down-inner'><dl style='margin-left: 20px;'><dt><a href='/English/About/Team/'>Team</a></dt></dl><dl style='margin-left: 20px;'><dt><a href='/English/About/Culture/'>Culture</a></dt></dl><dl style='margin-left: 20px;'><dt><a href='/English/About/Business/'>Business</a></dt></dl><dl style='margin-left: 20px;'><dt><a href='/English/About/Environment/'>Environment</a></dt></dl></div><div class='clearfix'></div></div><div id='FirstNav3' class='nav-down-menu menu-1' style='display: none;' _t_nav='FirstNav3'><div class='navigation-down-inner'><dl style='margin-left: 20px;'><dt><a href='/English/Product/Phone/'>Cel Phones</a></dt><dd><a hotrep='hp.header.product.compute1' href='/English/Product/Phone/ZTEMobile/'>ZTE Mobile</a></dd><dd><a hotrep='hp.header.product.compute1' href='/English/Product/Phone/HuaweiMobile/'>Huawei Mobile</a></dd><dd><a hotrep='hp.header.product.compute1' href='/English/Product/Phone/SonyMobile/'>Sony Mobile</a></dd></dl><dl style='margin-left: 20px;'><dt><a href='/English/Product/Players/'>Digital Players</a></dt><dd><a hotrep='hp.header.product.compute1' href='/English/Product/Players/Ramos/'>Ramos</a></dd><dd><a hotrep='hp.header.product.compute1' href='/English/Product/Players/Meizu/'>Meizu</a></dd><dd><a hotrep='hp.header.product.compute1' href='/English/Product/Players/Aigo/'>Aigo</a></dd></dl><dl style='margin-left: 20px;'><dt><a href='/English/Product/NoteBook/'>NoteBook</a></dt><dd><a hotrep='hp.header.product.compute1' href='/English/Product/NoteBook/SonyNoteBook/'>Sony NoteBook</a></dd><dd><a hotrep='hp.header.product.compute1' href='/English/Product/NoteBook/DellNoteBook/'>Dell NoteBook</a></dd><dd><a hotrep='hp.header.product.compute1' href='/English/Product/NoteBook/HPNoteBook/'>HP NoteBook</a></dd><dd><a hotrep='hp.header.product.compute1' href='/English/Product/NoteBook/LenovoNoteBook/'>Lenovo NoteBook</a></dd></dl><dl style='margin-left: 20px;'><dt><a href='/English/Product/Audio/'>Home Audio</a></dt><dd><a hotrep='hp.header.product.compute1' href='/English/Product/Audio/Edifier/'>Edifier</a></dd><dd><a hotrep='hp.header.product.compute1' href='/English/Product/Audio/Philips/'>Philips</a></dd></dl><dl style='margin-left: 20px;'><dt><a href='/English/Product/Tablet/'>Tablet Computer</a></dt><dd><a hotrep='hp.header.product.compute1' href='/English/Product/Tablet/Apple/'>Apple</a></dd><dd><a hotrep='hp.header.product.compute1' href='/English/Product/Tablet/SamSung/'>Sam Sung</a></dd></dl><dl style='margin-left: 20px;'><dt><a href='/English/Product/Camera/'>Digital Camera</a></dt><dd><a hotrep='hp.header.product.compute1' href='/English/Product/Camera/Olympus/'>Olympus</a></dd><dd><a hotrep='hp.header.product.compute1' href='/English/Product/Camera/Nicon/'>Nicon</a></dd><dd><a hotrep='hp.header.product.compute1' href='/English/Product/Camera/Canon/'>Canon</a></dd></dl></div><div class='clearfix'></div></div><div id='FirstNav4' class='nav-down-menu menu-1' style='display: none;' _t_nav='FirstNav4'><div class='navigation-down-inner'><dl style='margin-left: 20px;'><dt><a href='/English/News/CompanyNews/'>Company News</a></dt></dl><dl style='margin-left: 20px;'><dt><a href='/English/News/IndustryNews/'>Industry News</a></dt></dl><dl style='margin-left: 20px;'><dt><a href='/English/News/Activities/'>Activities</a></dt></dl></div><div class='clearfix'></div></div><div id='FirstNav5' class='nav-down-menu menu-1' style='display: none;' _t_nav='FirstNav5'><div class='navigation-down-inner'><dl style='margin-left: 20px;'><dt><a href='/English/Case/Case2/'>Case 2</a></dt></dl><dl style='margin-left: 20px;'><dt><a href='/English/Case/Case1/'>Case 1</a></dt></dl></div><div class='clearfix'></div></div><div id='FirstNav6' class='nav-down-menu menu-1' style='display: none;' _t_nav='FirstNav6'><div class='navigation-down-inner'><dl style='margin-left: 20px;'><dt><a href='/English/Recruit/HRInfo/'>HR Information</a></dt></dl><dl style='margin-left: 20px;'><dt><a href='/English/Recruit/Policy/'>HR Policy</a></dt></dl><dl style='margin-left: 20px;'><dt><a href='/English/Recruit/Jobs/'>Jobs</a></dt></dl></div><div class='clearfix'></div></div><div id='FirstNav7' class='nav-down-menu menu-1' style='display: none;' _t_nav='FirstNav7'><div class='navigation-down-inner'></div><div class='clearfix'></div></div>
	</div>
</div>

<div class="clearfix"></div>
</div>



</div>
<div class="clearfix"></div>
</div>
<!--nav end-->

</div>
<!--head end-->
<!--body start-->
<div id="body">
<!--focus start-->
<div id="InnerBanner">
<script src='/English/ADs/7.js' type='text/javascript'></script>
</div>
<!--foncus end-->
<div class="HeightTab clearfix"></div>
<!--inner start -->
<div class="inner">
<!--left start-->
<div class="left">
<div class="Sbox">
<div class="txt ColorLink">
<p>Add: Zikawei District Shanghai CHINA</p>
<p>Tel: 086-021-88888888</p>
<p>Fax: 086-021-88888888</p>
<p>Email: admin@qq.com</p></div>
</div>
<div class="HeightTab clearfix"></div>

 

</div>
<!--left end-->
<!--right start-->
<div class="right">
<div class="Position">
<div class='PosLeft'><span>Your Position: <a href="/English">Home</a> > Search</span></div>
<div class='PosRight'>
</div>

<div class="clearfix"></div>
</div><div class="HeightTab clearfix"></div>
<!--main start-->
<div class="main">

<!--search content start-->
<div id="search_content" class="clearfix">

<%
if search_q<>"" then 

set rs=server.createobject("adodb.recordset")
rs.open(s_sql),cn,1,1
%>

<%'=============分页定义开始，要放在数据库打开之后
if err.number<>0 then '错误处理
response.write "数据库操作失败：" & err.description
err.clear
else
if not (rs.eof and rs.bof) then '检测记录集是否为空
r=cint(rs.RecordCount) '记录总数
rowcount = 10 '设置每一页的数据记录数，可根据实际自定义
rs.pagesize = rowcount '分页记录集每页显示记录数
maxpagecount=rs.pagecount '分页页数
page=request.querystring("page")
  if page="" then
  page=1
  end if
rs.absolutepage = page 
rcount1=0
pagestart=page-5
pageend=page+5
if pagestart<1 then
pagestart=1
end if
if pageend>maxpagecount then
pageend=maxpagecount
end if
rcount=rs.RecordCount
'=============分页定义结束%>

<!--position start-->
<div class="searchtip">Your are search '<span class="FontRed"><%=search_q%></span>',found results <span class="font_brown"><%=rcount%></span> </div>
<!--position end-->
<!--list start-->
<div class="result_list">
<div class="gray">Tips: Use space in keyowrds for more results, for example:'new product'.</div>
<dl>

<%'===========循环体开始
do while not rs.eof and rowcount%>
<%
select case rs("ArticleType")
case 1
Content_FolderName=Article_FolderName
case 2
Content_FolderName=Product_FolderName
case 3
Content_FolderName=Case_FolderName
end select
title1=left(rs("title"),30)
for i=0 to c
title1=Replace(title1, keywords(i), "<span class='FontRed'>" & keywords(i)& "</span>")
next

content1=left(nohtml(rs("content")),110)
for i=0 to c
content1=Replace(content1,keywords(i), "<span class='FontRed'>" & keywords(i)& "</span>")
next
%>
<dt ><a href='<%="/English/"&Content_FolderName&"/"&rs("file_path")%>' target='_blank' title='<%=rs("title")%>'><%=title1%></a></dt>
<dd><%=content1%>...</dd>
<dd class="font12 arial font_green line"><a href='<%="/English/"&Content_FolderName&"/"&rs("file_path")%>' target='_blank'><span class="font_green"><%=web_url&"/"&Content_FolderName&"/"&rs("file_path")%></span></a><%=year(rs("time"))%>-<%=month(rs("time"))%>-<%=day(rs("time"))%></dd>
<%
rowcount=rowcount-1 
rs.movenext
loop
 '===========循环体结束%>

</dl>
</div>
<!--list end-->

<!--page start-->
<div class="result_page clearfix">
<!--#include file="../../inc/en_page_list.asp"-->
</div>
<!--page end-->

<%
else
response.write "<div class='search_welcome'>Sorry,no results for <span class='FontRed'>"&search_q&"</span> !<p >Tips: Use space in keyowrds for more results, for example:'new product'.</p></div>"
end if
end if
end if%>
</div>
<!--search content end-->	

</div>
<!--main end-->
</div>
<!--right end-->
</div>
<!--inner end-->
</div>
<!--body end-->
<div class="HeightTab clearfix"></div>

</div>
	<!-- Dark Footer -->
		<div id="dark_footer_wrap">
			<div id="dark_footer">
<div class='box_240px_left'><div class='post'><h2>About</span> </h2> <ul><li><a href='/English/About/'>Introduction</a></li> <li><a href='/English/About/Team'>Company Team</a></li> <li><a href='/English/About/Culture'>Company Culture</a></li> <li><a href='/English/About/Business'>Company Business</a></li> <li><a href='/English/About/Environment'>Enviroenment</a></li> </ul></div></div> <div class='box_240px_left'><div class='post'><h2>Product</span> </h2> <ul><li><a href='/English/Product/Players'>Digital Players</a></li> <li><a href='/English/Product/NoteBook'>NoteBook</a></li> <li><a href='/English/Product/Navigation'>Navigation</a></li> <li><a href='/English/Product/UltraBook'>UltraBook</a></li> <li><a href='/English/Product/Phone'>Cell Phones</a></li> </ul></div></div> <div class='box_240px_left'><div class='post'><h2>News</span> </h2> <ul><li><a href='/English/news/CompanyNews'>Company News</a></li> <li><a href='/English/news/IndustryNews'>Industry News</a></li> </ul></div></div> <div class='box_240px_left'><div class='post'><h2>Case</span> </h2> <ul><li><a href='/English/Case/Case1/'>Case 1</a></li> <li><a href='/English/Case/Case2/'>Case 2</a></li> </ul></div></div> <div class='box_240px_left'><div class='post'><h2>Recruit</span> </h2> <ul><li><a href='/English/Recruit/Policy'>HR Policy</a></li> <li><a href='/English/Recruit/Jobs'>Jobs</a></li> </ul></div></div>  
			</div>
		</div>
		<!-- // Dark Footer -->
<div class="clearfix"></div>
<!--footer start-->
<div id="footer">
<div class="inner">
<p>Copyright 2020 MyCMS English Network Studio All Rights Reserved </p>

</div>
</div>
<!--footer end -->
<script type="text/javascript" src="/js/ServiceCenter.js"></script>

</body>
</html>