PageSourceSearch

https://newssearch.chinadaily.com.cn/en/search

html chinadaily.com.cn collected 2026-10-01 06:36:12 UTC 28,730 bytes, 769 lines download raw bytes

1<!DOCTYPE html>
2
3<html lang="zh_CN">
4<head>
5	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6	<title>Search Results</title>	
7	
8    <meta charset="utf-8" />
9    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
10    <meta name="viewport" content="width=device-width, initial-scale=1" />
11    <meta http-equiv="Cache-Control" content="no-siteapp" />
12    <meta http-equiv="pragma" content="no-cache" />
13    <meta http-equiv="cache-control" content="no-cache, must-revalidate" />
14    <meta http-equiv="expires" content="0" />
15
16
17	<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" /> 
18	<link rel="stylesheet" type="text/css" href="/search/css/index.css" />
19	<link rel="stylesheet" type="text/css" href="/search/css/r-public.css" />
20	<link rel="stylesheet" type="text/css" href="/search/css/r-column.css" />
21
22	
22<script type="text/javascript" src="/search/js/jquery-1.8.3.min.js"></script>
22
23	
23<script type="text/javascript" src="/search/js/style.js"></script>
23
24	
24<script type="text/javascript" src="/search/js/public.js"></script>
24
25	
26	
27    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
28    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
29    <!--[if lt IE 9]>
30    
30<script src="/vendor/ltie9/html5shiv.min.js"></script>
30
31    
31<script src="/vendor/ltie9/respond.min.js"></script>
31
32    <![endif]-->
33    
33<script type="text/javascript">
34    /*<![CDATA[*/
35        window.$AppContext = '/';
36    /*]]>*/
37    </script>
37
38    
39	
40    
41    
42     
43</head>
44
45<body>
46     
47<!-- begin响应式遮罩层-->
48<div class="zhezhao"></div>
49<!-- end 响应式遮罩 -->
50<!-- 响应式nav开始 -->
51<nav class="navbartop1">
52  <div class="nav-fluid">
53    <div class="yinyingceng"></div>
54    <button type="button" class="navbutton1">
55      <span class="icon-bar1"></span>
56      <span class="icon-bar1"></span>
57      <span class="icon-bar1"></span>
58    </button>
59  </div>
60  <div class="img-center">
61    <a class="a-center" href="//www.chinadaily.com.cn/"><img alt="chinadaily" src="/search/img/logo.png" />
62    </a>
63  </div> 
64  <div class="fl-right">
65    <a href="#"><img src="/search/img/cnbut.png" /></a>
66  </div>
67</nav>
68 <!-- 响应式nav结束 -->
69 <!-- 响应式菜单 -->
70<ul class="xiao-ul">
71  <li><a href="//searchen2.chinadaily.com.cn/search" target="_top" atremote="1"><span>Search</span></a></li>
72  <li><a href="//www.chinadaily.com.cn/" target="_top" atremote="1">HOME</a></li>
73  <li><a href="//www.chinadaily.com.cn/china/" target="_top" atremote="1">CHINA</a></li>
74  <li><a href="//www.chinadaily.com.cn/world/" target="_top" atremote="1">WORLD</a></li>
75  <li><a href="//www.chinadaily.com.cn/business/" target="_top" atremote="1">BUSINESS</a></li>
76  <li><a href="//www.chinadaily.com.cn/life/" target="_top" atremote="1">LIFESTYLE</a></li>
77  <li><a href="//www.chinadaily.com.cn/culture/" target="_top" atremote="1">CULTURE</a></li>
78  <li><a href="//www.chinadaily.com.cn/travel/" target="_top" atremote="1">TRAVEL</a></li>
79  <li><a href="//watchthis.chinadaily.com.cn/" target="_blank" atremote="1">WATCHTHIS</a></li>
80  <li><a href="//www.chinadaily.com.cn/sports/" target="_top" atremote="1">SPORTS</a></li>
81  <li><a href="//www.chinadaily.com.cn/opinion/" target="_top" atremote="1">OPINION</a></li>
82  <li><a href="//www.chinadaily.com.cn/regional/" target="_top" atremote="1">REGIONAL</a></li>
83  <li><a href="//bbs.chinadaily.com.cn/" target="_blank">FORUM</a></li>
84  <li><a href="#">NEWSPAPER</a></li>
85  <li><a href="//www.chinadaily.com.cn/newmedia.html" target="_blank">MOBILE</a></li>
86</ul>
87<!-- end响应式菜单 -->
88     <!--导航菜单-->
89     <div id="header" class="smallishide">
90     <div class="topBar">
91         <div class="logo"><a href="//www.chinadaily.com.cn/"><img width="234" height="26" src="/search/img/logo_art.jpg" /></a></div>
92     <div class="search">
93	     <form name="fast_search" method="get" target="_blank" id="fast_search_form" action="/search">
94	         <input id="query" type="text" name="query" style="padding:1px;margin-left:0px;margin-top:0px;margin-bottom:0px" value="" />
95	         <span onclick="javaScript:$('#fast_search_form').submit()"><img width="28" height="27" src="/search/img/fdj_art.gif" /></span>
96	     </form>
97     </div>
98     <div class="channel">
99         <span>
100	         <a href="//usa.chinadaily.com.cn">US</a>
101	         <a href="//europe.chinadaily.com.cn">EUROPE</a>
102	         <a href="//africa.chinadaily.com.cn">AFRICA</a>
103	         <a href="//www.chinadailyasia.com">ASIA</a>
104         </span>
105         <span>
106	         <a href="//cn.chinadaily.com.cn">中文</a>
107	         <a href="//language.chinadaily.com.cn">双语</a>
108	         <a href="//www.chinadaily.com.cn/chinawatch_fr/index.html">Français</a>
109         </span>
110     </div>
111     <div class="topInfo">
112     	<a href="//bbs.chinadaily.com.cn/member.php?mod=register.php" style="padding-right: 28px;"><img width="70" height="32" src="/search/img/sign_ico_art.gif" /></a>
113     	<a href="//subscription.chinadaily.com.cn/"><img width="70" height="31" src="/search/img/sub_ico_art.gif" /></a>
114     </div>
115     </div>
116     <div class="topNav">
117		 <ul class="dropdown">
118		    <li style=" width:52px"><a href="//www.chinadaily.com.cn/index.html" atremote="1" target="_top">HOME</a></li>
119		    <li style=" width:62px"><a href="//www.chinadaily.com.cn/china/" atremote="1" target="_top">CHINA</a></li>
120		    <li style=" width:70px"><a href="//www.chinadaily.com.cn/world/" atremote="1" target="_top">WORLD</a></li>
121		    <li style=" width:80px"><a href="//www.chinadaily.com.cn/business/" atremote="1" target="_top">BUSINESS</a></li>
122		    <li style=" width:80px"><a href="//www.chinadaily.com.cn/life/" atremote="1" target="_top">LIFESTYLE</a></li>
123		    <li style=" width:70px"><a href="//www.chinadaily.com.cn/culture/" atremote="1" target="_top">CULTURE</a></li>
124		    <li style=" width:60px"><a href="//www.chinadaily.com.cn/travel/" atremote="1" target="_top">TRAVEL</a></li>
125		    <li style=" width:80px"><a href="//watchthis.chinadaily.com.cn/" atremote="1" target="_top">WATCHTHIS</a></li>
126		    <li style=" width:65px"><a href="//www.chinadaily.com.cn/sports/" atrmeote="1" target="_top">SPORTS</a></li>
127		    <li style=" width:70px"><a href="//www.chinadaily.com.cn/opinion/" atremote="1" target="_top">OPINION</a></li>
128		    <li style=" width:70px"><a href="//www.chinadaily.com.cn/regional/" atremote="1" target="_top">REGIONAL</a></li>
129		    <li style=" width:73px"><a href="//bbs.chinadaily.com.cn/" target="_top">FORUM</a></li>
130		    <li class="newspaper"><a style=" width:74px" href="javascript:void(0);">NEWSPAPER</a>
131		      <ul class="sub_menu">
132		        <li><a href="//newspress.chinadaily.net.cn" target="_blank" style="width:110px;">China Daily PDF</a></li>
133		        <li><a href="//www.chinadaily.com.cn/cndy/index1.html" atremote="1" target="_top" style="width:130px;">China Daily E-paper</a></li>
134		      </ul>
135		    </li>
136		    <li style=" width:60px"><a href="//www.chinadaily.com.cn/newmedia.html" target="_top" atremote="1">MOBILE</a></li>
137		  </ul>
138	</div>
139	</div>
140
141    <div class="topNav2_art"> 
142        <span>Search Results</span>
143    </div>
144	<div class="topNav3_art"></div>
145	<input id="cond" name="cond" type="hidden" value="" />
146	<input id="language" name="language" type="hidden" value="en" />
147	<div class="main">
148		<div class="main_r">
149     	 	 <div class="btn_2" style="margin-bottom: 5px;">
150     	 		 <b>
151     	 		 	<a href="#">Most Popular</a>
152     	 		 </b>
153
154     	 	 </div>
155			<div id="d2">
156				
156<script type="text/javascript" src="//www.chinadaily.com.cn/html/topnews/ismp_en.js">
157				</script>
157
158				
158<script type="text/javascript">
159				<!--
160				var num = cd_json.length;
161				document.write('<ul class=\"lisBox\">');
162				for(var i=0;i<10;i++){
163				var n=i+1;
164				document.write('<li><a href="'+cd_json[i].url+'" target="_blank">'+cd_json[i].title+'<\/a><\/li>');
165				}
166				document.write('<\/ul>');
167				-->
168				</script>
168
169			</div>
170     	 </div>
171		<div class="main_l">
172			<!--高级搜索入口-->
173			<div>
174			<div class="searchInput">
175				<input type="text" tabindex="1" name="keyword" id="keyword" value="" />
176				
177			</div>
178			<span type="button" class="advancedSearch cs_topseach_searbarbtn" style="cursor:pointer "><a href="javascript:void(0);">Search</a></span>
179			</div>
180			<div class="Ad_search">
181				<a href="javascript:void(0);" onclick="$SearchController.toAS()">Advanced Search</a>
182			</div>
183			<!--导航-->
184			<div class="main_nav">
185				<ul>
186					<li class="sc_tab selected" v="story" onclick="$SearchController.changeView('story' ,this )"> <a href="#">Articles</a></li>
187					<li class="sc_tab " v="comment" onclick="$SearchController.changeView('comment' ,this)"><a href="#">Comments</a></li>
188					<li class="sc_tab " v="blog" onclick="$SearchController.changeView('blog' ,this)"><a href="#">Blogs</a></li>
189					<li class="sc_tab " v="photo" onclick="$SearchController.changeView('photo' ,this)"><a href="#">Photos</a></li>
190				</ul>
191			</div>
192
193			<div class=" art_detail cs_nofind" style="display:none;margin-top:8px">
194				<p class="cs_nofind_bg">We did not find results. Try the suggestions below or type a new query above.</p>
195				<div class="cs_nofind_con">
196					<p>Suggestions:</p>
197						<ul>
198							<li>Check your spelling.</li>
199							<li>Try more general words.</li>
200							<li>Try different words that mean the same thing.</li>
201						</ul>
202				</div>
203			</div>
204			<div class="cs_result">
205				<!--page-->
206				<div class="pages">
207					<div class="results lt">
208					</div>
209					<div class="page rt">
210					</div>
211		  		</div>
212	
213		  		<!--sort-->
214				<div class="sortBy">
215		     		<p>Sort by:
216			     		<span class="cs_sort_cond cs_sort_cond_dp" onclick="$SearchController.sorting('dp',this)"><a href="javascript:void(0);">Newest</a></span><span>|</span>
217			     		<span class="cs_sort_cond cs_sort_cond_ap" onclick="$SearchController.sorting('ap',this)"><a href="javascript:void(0);">Oldest</a></span><span>|</span>
218			     		<span class="cs_sort_cond cs_sort_cond_" onclick="$SearchController.sorting('',this)"><a href="javascript:void(0);">Relevance</a></span>
219		     		</p>
220		     	</div>
221		     	<div class="lft_art" style="margin-bottom: 27px;">
222		 		</div>
223		 		<!--page-->
224				<div class="pages">
225					<div class="results lt">
226					</div>
227					<div class="page rt">
228					</div>
229		  		</div>
230				<div class="selectpage">
231					<span class="prev"><a href="#">previous</a></span>
232					<span class="pageno"><a href="javascript:void (0)">1/10</a></span>
233					<span class="next"><a href="#">next</a></span>
234				</div>
235			</div>
236		</div>	
237	</div>
238	<!--底部-->
239	
240	<!-- 响应式回顶部 -->
241	<div data-am-widget="gotop" class="am-gotop am-gotop-fixed WIDGET-58db5c3d3f6a4d70c2315464 gotop am-no-layout am-active">
242		<span class="am-gotop-title">Top</span>
243		<i class="am-gotop-icon am-icon-arrow-up gotop"></i>
244	</div>
245	<!-- 响应式回顶部结束 -->
246	<!--回顶部-->
247	<div class="hui-dingbu" style="margin-top:55px;">
248		<div class="ding-nei"><a href="#header">BACK TO THE TOP</a></div>
249	</div>
250	<!--底部-->
251	<div class="dibu-one"></div>
252	<!--底部2-->
253	<div class="topNav_art2">
254	 <ul class="dropdown" style="width:1200px; margin:0 auto;">
255	    <li style="width: 60px;"><a href="//www.chinadaily.com.cn/index.html" atremote="1" target="_top">HOME</a></li>
256	    <li style=" width:65px;"><a href="//www.chinadaily.com.cn/china/" atremote="1" target="_top">CHINA</a></li>
257	    <li style=" width:75px;"><a href="//www.chinadaily.com.cn/world/" atremote="1" target="_top">WORLD</a></li>
258	    <li style=" width:85px;"><a href="//www.chinadaily.com.cn/business/" atremote="1" target="_top">BUSINESS</a></li>
259	    <li style=" width:85px;"><a href="//www.chinadaily.com.cn/life/" atremote="1" target="_top">LIFESTYLE</a></li>
260	    <li style=" width:75px;"><a href="//www.chinadaily.com.cn/culture/" atremote="1" target="_top">CULTURE</a></li>
261	    <li style=" width:75px;"><a href="//www.chinadaily.com.cn/travel/" atremote="1" target="_top">TRAVEL</a></li>
262	    <li style=" width:85px;"><a href="//watchthis.chinadaily.com.cn/" atremote="1" target="_top">WATCHTHIS</a></li>
263	    <li style=" width:70px;"><a href="//www.chinadaily.com.cn/sports/" atrmeote="1" target="_top">SPORTS</a></li>
264	    <li style=" width:80px;"><a href="//www.chinadaily.com.cn/opinion/" atremote="1" target="_top">OPINION</a></li>
265	    <li style=" width:75px;"><a href="//www.chinadaily.com.cn/regional/" atremote="1" target="_top">REGIONAL</a></li>
266	    <li style=" width:78px;"><a href="//bbs.chinadaily.com.cn/" target="_top">FORUM</a></li>
267	    <li class="newspaper"><a href="javascript:void(0);">NEWSPAPER</a>
268	      <ul class="sub_menu">
269	        <li><a href="//newspress.chinadaily.net.cn" target="_blank" style="width:110px;">China Daily PDF</a></li>
270	        <li><a href="//www.chinadaily.com.cn/cndy/index1.html" atremote="1" target="_top" style="width:130px;">China Daily E-paper</a></li>
271	      </ul>
272	    </li>
273	    <li><a href="//www.chinadaily.com.cn/newmedia.html" target="_top" atremote="1">MOBILE</a></li>
274	  </ul>
275	</div>
276	<!--底部3-->
277	<div class="dibu-three">
278	<div class="dibu-three-nei">
279	<div class="three-left">
280	<div class="lo-g"><a href="//www.chinadaily.com.cn" target="_top" atremote="1"><img src="//www.chinadaily.com.cn/image_e/2016/sub/a-1.jpg" atremote="1" /></a></div>
281	
282	<div class="lo-a">Copyright 1995 - 
282<script>
283	var oTime = new Date();
284	document.write(oTime.getFullYear());
285	</script>
285 . All rights reserved. The content (including but not limited to text, photo, multimedia information, etc) published in this site belongs to China Daily Information Co (CDIC). Without written authorization from CDIC, such content shall not be republished or used in any form. Note: Browsers with 1024*768 or higher resolution are suggested for this site.</div>
286	
287	<div class="lo-c"><span>License for publishing multimedia online <b><a href="//www.chinadaily.com.cn/2009image_e/permit2010.jpg" target="_blank" atremote="1">0108263</a></b></span><br>
288	</br>
289	 Registration Number: 130349 <img src="//www.chinadaily.com.cn/image_e/2016/sub/a-2.jpg" atremote="1" /></div>
290	</div>
291	
292	<div class="three-midd">
293	<div class="midd-a"><a href="//www.chinadaily.com.cn/static_e/aboutus.html" target="_top" atremote="1">About China Daily</a></div>
294	
295	<div class="midd-a"><a href="//www.chinadaily.com.cn/static_e/advertiseonsite.html" target="_top" atremote="1">Advertise on Site</a></div>
296	
297	<div class="midd-a"><a href="//www.chinadaily.com.cn/static_e/contactus.html" target="_top" atremote="1">Contact Us</a></div>
298	
299	<div class="midd-a"><a href="//chinadaily.zhiye.com/" target="_blank">Job Offer</a></div>
300	
301	<div class="midd-a"><a href="//www.chinadaily.com.cn/static_e/Expat_Employment.html" target="_blank" atremote="1">Expat Employment</a></div>
302	</div>
303	
304	<div class="three-right">
305	<div class="right-a">FOLLOW US</div>
306	
307	<div class="right-b"><span><a href="//www.facebook.com/chinadaily" target="_blank"><img src="//www.chinadaily.com.cn/image_e/2016/sub/a-3.jpg" atremote="1" border="0" /></a></span> 
308	
309	<span><a href="https://twitter.com/ChinaDailyUSA" target="_blank"><img src="//www.chinadaily.com.cn/image_e/2016/sub/a-4.jpg" atremote="1" border="0" /></a></span></div>
310	</div>
311	</div>
312	</div>
313	<footer class="mobile-foot">
314	    <!--<div class="footer-switch">-->
315	        <!--<span class="footer-moblie">Mobile</span><span class="footer-driver">|</span><span class="footer-desk"><a href="">Desktop</a></span>-->
316	    <!--</div>-->
317	    <div class="mobile-miscs">
318	        <p>
319	            <span class="footer-eng">English</span><span class="footer-driver">|</span><span class="footer-chin"><a href="//cn.chinadaily.com.cn">中文</a></span>
320	        </p>
321	        <p class="footer-p">
322	            Copyright 1995 - 2017 . All rights reserved. The content (including but not limited to text, photo, multimedia information, etc) published in this site belongs to China Daily Information Co (CDIC). Without written authorization from CDIC, such content shall not be republished or used in any form.
323	        </p>
324	    </div>
325	</footer>
326
327	
327<script>
328	/*<![CDATA[*/
329	(function(global) {
330		function SearchController(){
331			var lang = $("#language").val();
332			this.url = $AppContext + "rest/search";
333			
334			if(lang && lang.length > 0){
335				this.url = $AppContext + "rest/" + lang + "/search";
336			}
337			if(lang && lang.length > 0){
338				$('#fast_search_form').attr("action" , $AppContext + lang + "/search");
339			} else {
340				$('#fast_search_form').attr("action" , $AppContext + "search");
341			}
342			
343			this.lastCond = {};
344			this.curView = "story";
345			SearchController.prototype.init = function() {
346				$(".cs_topseach_searbarbtn").on("click",$.proxy(this.search,this));
347				$("#keyword").keyup(function(event){
348					  if(event.keyCode ==13){
349					    $(".cs_topseach_searbarbtn").trigger("click");
350					  }
351					});
352				this.lastCond.sort="dp";
353				$(".cs_sort_cond_dp").addClass("selected");
354				this.lastCond.page=0;
355				var advCond = $("#cond").val();
356				
357				if(advCond){
358					var cond = JSON.parse(advCond);
359					if(cond.fullMust){
360						$("#keyword").val(cond.fullMust);
361					}
362					this.showViews(cond);
363					this.lastCond = (cond);
364					this.search(true);
365				} else if($("#keyword").val()){
366
367					this.search(false);
368				}
369			};
370
371			SearchController.prototype.showViews = function(cond ) {
372
373				var types = cond.type;
374				var curType = cond.curType;
375				if(!curType){
376					this.curView = "story";
377				} else {
378					this.curView = curType;
379				}
380				if(types && types.length > 0){
381					$(".sc_tab").css({display:'none'});
382					$(".sc_tab").removeClass("selected");
383					$.each(types , function(idx , item){
384						if(item == curType){
385							$(".sc_tab[v=" + item + "]").addClass("selected");
386						}
387						$(".sc_tab[v=" + item + "]").css({display:'block'});
388					});
389				} else {
390					$(".sc_tab").css({display:'block'});
391					$(".sc_tab").removeClass("selected");
392					$(".sc_tab[v=" + this.curView + "]").addClass("selected");
393				}
394			}
395			
396			SearchController.prototype.search = function(advSearch ) {
397				
398				var condition = {};
399				condition.keywords = $("#keyword").val();
400				condition.sort = this.lastCond.sort;
401				condition.page = 0;
402				
403				if(advSearch == true){
404					condition = this.lastCond;
405					condition.page = 0;
406				} else {
407					condition.curType = "story";
408				}
409				$(".cs_sort_cond").removeClass("selected");
410				$(".cs_sort_cond_" + (condition.sort?condition.sort:'')).addClass("selected");
411				
412				var controller = this;
413				$.ajax({
414					type:'GET',
415					url:$SearchController.url,
416					data:this.getCond(condition)
417				
418				}).done(function(data, status, jqXHR) {
419					controller.lastCond = condition;
420					if(data){
421						controller.showViews(condition);
422						controller.showRes(data);
423					}
424					
425				});	
426			};
427			
428			SearchController.prototype.getCond = function(cond) {
429				cond = jQuery.extend(true, {}, cond);
430				
431				if(cond.type){
432					for(var i in cond.type){
433						cond["type[" + i + "]"] = cond.type[i];
434					}
435				}
436				cond.type = null;
437				if(cond.channel){ 
438					for(var i in cond.channel){
439						cond["channel[" + i + "]"] = cond.channel[i];
440					}
441				}
442				cond.channel = null;
443				if(cond.source){
444					for(var i in cond.source){
445						cond["source[" + i + "]"] = cond.source[i];
446					}
447				}
448				cond.source = null;
449				return cond;
450			}
451			
452			SearchController.prototype.pagging = function(page) {
453				var data = this.lastCond;
454				data.page = page;
455				var controller = $SearchController;
456
457				$.ajax({
458					type:'GET',
459					url:$SearchController.url,
460					data:this.getCond(data)
461				
462				}).done(function(res, status, jqXHR) {
463					$('html,body').animate({scrollTop:0},300);
464					if(res){
465						controller.showRes(res)
466					}
467					
468				});	
469			}
470			
471			SearchController.prototype.sorting = function(key , tag) {
472				var data = this.lastCond;
473				data.sort = key;
474				$(".cs_sort_cond").removeClass("selected");
475				$(".cs_sort_cond_" + key).addClass("selected");
476				var controller = $SearchController;
477				$.ajax({
478					type:'GET',
479					url:$SearchController.url,
480					data:this.getCond(data)
481				
482				}).done(function(res, status, jqXHR) {
483					if(res){
484						controller.showRes(res);
485					}
486					
487				});	
488			}
489			
490			SearchController.prototype.showRes = function(res) {
491				var list = res.content;
492				var pageCount = res.totalPages;
493				var totleSize = res.totalElements;
494				var curPage = res.number;
495				var pageSize = res.size;
496				var curSize = res.numberOfElements
497				
498				var pageInfo = this.showPageInfo(pageCount,totleSize,curPage,pageSize,curSize);
499				var pageLink = this.showPageLink(pageCount,totleSize,curPage,pageSize,curSize);
500				var mPageLink = this.showMPageLink(pageCount,totleSize,curPage,pageSize,curSize);
501				$(".results").each(function(index,item){
502					$(item).empty();
503					$(item).append($( pageInfo));
504					
505				});
506				
507				$(".page").each(function(index,item){
508					$(item).empty();
509					$(item).append($( pageLink));
510					
511				});
512				
513				$(".selectpage").each(function(index,item){
514					$(item).empty();
515					$(item).append($( mPageLink));
516					
517				});
518	
519				var curView = this.curView;
520
521				$(".lft_art").empty();
522
523				if(res.totalElements && res.totalElements > 0){
524					$(".cs_nofind").css({"display":"none"});
525					$(".cs_result").css({"display":"block"});
526					$.each(list, function(idx, story) {
527						if(curView != 'photo'){
528							var o = $('<div></div>');
529							var img = $('<img></img>');
530							if(story.img && story.img.length && story.img.length > 0 && story.img[0]){
531								img.attr("src" , story.img[0]);
532								img.load(function(){
533									if(this.width/this.height > 16/9){
534										$(this).css({"height":"auto","width":"100%","max-height":"200px","max-width":"230px"});
535									} 
536								});
537								img.error(function () {
538									o.css({display:"none"});
539								});
540								var right = $("<a class=\"art_pic\"></a>")
541								right.attr("href" , story.url);
542								
543								right.attr("target" , "_blank");
544								right.append(o);
545								o.append(img);
546							}
547
548							var title = $("<a></a>")
549							title.html(story.highlightTitle);
550							
551							title.attr("href" , story.url);
552							title.attr("target" , "_blank");
553							
554							var left = $('<span class="intro"></span>');
555							var titleO = $('<h4></h4>');
556							var pubDate = $('<b></b>');
557							var summary = $('<b style="margin-bottom:2px"></b>');
558							var authorStr = " ";
559							var sourceStr = " ";
560							if(story.authors && story.authors.length > 0){
561								authorStr = "By ";
562								for (var m = 0 ; m < story.authors.length ; m ++){
563									if(story.authors[m] && story.authors[m].length > 0){
564										authorStr +=story.authors[m] ;
565										authorStr +=" " ;
566									}
567								}
568								if(authorStr == "By "){
569									authorStr = " ";
570								}
571							} 
572							
573							if(story.source && story.source.length > 0){
574								sourceStr = "(" + story.source + ")";
575							}
576							
577							pubDate.text(authorStr + " " + sourceStr + " " + story.pubDateStr);
578							summary.html(story.highlightContent?story.highlightContent:"");
579							titleO.append(title);
580							
581							left.append(titleO);
582							
583							left.append(pubDate);
584							left.append(summary);
585							var el = $('<div class="art_detail"></div>');
586							el.empty();
587							el.append(right);
588							el.append(left);
589							$(".lft_art").append(el);
590						} else {
591							
592							var o = $('<div></div>');
593							var img = $('<img ></img>');
594							if(story.img && story.img.length && story.img.length > 0 && story.img[0]){
595								img.attr("src" , story.img[0]);
596								img.load(function(){
597									if(this.width/this.height > 16/9){
598										$(this).css({"height":"auto","width":"100%","max-height":"200px","max-width":"230px"});
599									}
600								});
601								img.error(function () {
602									o.css({display:"none"});
603								});
604								var right = $("<a class=\"art_pic\"></a>")
605								right.attr("href" , story.url);
606								
607								right.attr("target" , "_blank");
608								right.append(o);
609								o.append(img);
610							}
611
612							var title = $("<a></a>")
613							title.html(story.highlightTitle);
614							
615							title.attr("href" , story.url);
616							title.attr("target" , "_blank");
617							
618							var left = $('<span class="intro"></span>');
619							var titleO = $('<h4></h4>');
620							var pubDate = $('<b></b>');
621							pubDate.text(story.pubDateStr);
622							
623							titleO.append(title);
624							
625							left.append(titleO);
626							left.append(pubDate);
627
628							var el = $('<div class="art_detail"></div>');
629							el.empty();
630							el.append(right);
631							el.append(left);
632							$(".lft_art").append(el);
633						}
634
635					});
636				} else {
637					$(".cs_nofind").css({"display":"block"});
638					$(".cs_result").css({"display":"none"});
639				}
640
641			};
642			
643			SearchController.prototype.changeView = function(name , tag) {
644				var controller = $SearchController;
645				var view = $(tag);
646				$('.sc_tab').removeClass('selected');
647				view.addClass("selected");
648				if(name == controller.curView){
649					return;
650				}
651
652					var data = controller.lastCond;
653					controller.curView = name;
654					if(name == 'photo'){
655						data.p = 1;
656						data.curType = "story";
657					}else {
658						data.p = 0;
659						data.curType = name;
660					}
661					data.page = 0;
662					var controller = $SearchController;
663					
664					$.ajax({
665						type:'GET',
666						url:$SearchController.url,
667						data:this.getCond(data)
668					
669					}).done(function(res, status, jqXHR) {
670						if(res){
671							controller.showRes(res)
672						}
673						
674					});	
675			};
676			
677			SearchController.prototype.showPageInfo = function(pageCount,totalSize,curPage,pageSize,curSize) {
678				var pattern = '<span>{start}-{end} of <b>{total}</b> results</span>';
679				var curStart = pageSize * curPage + 1;
680				var curEnd = curStart + curSize - 1;
681
682			    totalSize = (totalSize+ "").split('').reverse().join('').replace(/(\d{3})/g,'$1,').replace(/\,$/,'').split('').reverse().join('');
683				
684			    var res = pattern.replace('{start}',curStart).replace('{end}',curEnd).replace('{total}',totalSize);
685				return res;
686			};
687			
688			SearchController.prototype.showPageLink = function(pageCount,totleSize,curPage,pageSize,curSize) {
689				var start = '<span>Page:';
690				var end = '</span>';
691				if(curPage > 0){
692					start = start + '<a href="javascript:void(0);" onclick="$SearchController.pagging('+ (curPage - 1) +')" title="next"> &lt;&lt;PREV</a>';
693				}
694
695				var pageStart = (curPage - 2)>0?(curPage - 1):1;
696				var pageEnd   = (pageStart + 4)<=pageCount?(pageStart + 4):pageCount;
697				if(pageEnd <=5){
698					pageStart = 1;
699				} else {
700					pageStart = pageEnd - 4;
701				}
702				for (var i = pageStart ; i <= pageEnd ;i ++){
703					var sub = '<a href="javascript:void(0);" onclick="$SearchController.pagging('+ (i - 1) +')" title="page 2">'+ i +'</a>&nbsp;';
704					if(i == curPage + 1){
705						sub = '<b>'+ i +'</b>&nbsp;';
706					}
707					start = start + sub;
708				}
709				
710				if(curPage + 1 < pageCount){
711					start = start + '<a href="javascript:void(0);" onclick="$SearchController.pagging('+ (curPage + 1) +')"  title="next">NEXT &gt;&gt;</a>';
712				}
713				start = start + end;
714				
715				return start;
716		
717			};
718			
719			SearchController.prototype.showMPageLink = function(pageCount,totleSize,curPage,pageSize,curSize) {
720				var prev = '';
721				var next = '';
722				var pageNo = '<span class="pageno"><a href="javascript:void (0)">';
723				
724				if(curPage > 0){
725					prev = prev + '<span class="prev" onclick="$SearchController.pagging('+ (curPage - 1) +')"><a href="javascript:void(0);" >previous</a></span>';
726				} else {
727					prev = prev + '<span class="prev"><a href="javascript:void(0);" >previous</a></span>';
728				}
729				
730				pageNo = pageNo + (curPage + 1) + '/' + pageCount + '</a></span>'
731				
732				if(curPage + 1 < pageCount){
733					next = next + '<span class="next" onclick="$SearchController.pagging('+ (curPage + 1) +')"><a href="javascript:void(0);" >next</a></span>';
734				} else {
735					next = next + '<span class="next"><a href="javascript:void(0);" >next</a></span>';
736				}
737				
738				return prev + pageNo + next;
739		
740			};
741
742			SearchController.prototype.toAS = function() {
743				var q = $("#keyword").val();
744				if(q){
745					q = encodeURIComponent(q);
746				} else {
747					q=""
748				}
749				var lang = $("#language").val();
750				if(lang && lang.length > 0){
751					window.location = $AppContext + lang + "/search/advanced?query=" + q;
752				} else {
753					window.location = $AppContext + "search/advanced?query=" + q;
754				}
755				
756			}
757		}		
758		global.$SearchController = new SearchController();
759	}(this));
760	
761	//执行页面初始化方法
762	$(function() {
763		$SearchController.init();
764
765	});
766	/*]]>*/
767	</script>
767
768</body>
769</html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.