论坛首页 海阔天空论坛

业内公认比较难进的公司,去不掉一个tomcat图标

浏览 8071 次
精华帖 (0) :: 良好帖 (0) :: 灌水帖 (0) :: 隐藏帖 (4)
作者 正文
   发表时间:2011-09-22  
能去掉tomcat图标的不会去,去了的去不掉
不过人家是搞后台搜索的,不是做前台界面的
0 请登录后投票
   发表时间:2011-09-22  
去个图标不小CASE 这个事情... 唉 为的是政治
0 请登录后投票
   发表时间:2011-09-22  
IE6下 无 猫影
0 请登录后投票
   发表时间:2011-09-22  
IE9 页面都乱的 我擦
0 请登录后投票
   发表时间:2011-09-22  
说明大部分都是Java工程师,对HTML/CSS要么不了解,要么不重视。
0 请登录后投票
   发表时间:2011-09-22  
这是找的大学毕业生开发的还是学生兼职搞的?
0 请登录后投票
   发表时间:2011-09-23  
我在IE6上测了一下,网页上有错误...Javascript错误
结果导致点击搜索没反应
0 请登录后投票
   发表时间:2011-09-27   最后修改:2011-09-27
哦手贱呀,把人家源码查了一把。大家品评一下。
页面:http://search.people.com.cn/rmw/GB/rmwsearch/gj_search_pd.jsp#








<link href="../page.css" type="text/css" rel="stylesheet" rev="stylesheet" media="all" />

<script src="js/gj_search.js"></script>



<style type="text/css">

<!--

.e_ft_red1 {

	font-size: 9pt;

	line-height: 120%;

	color: #FF0000;.

}

.message_topic {

font-size: 14pt;

color: #FF0000;

line-height: 120%;

font-weight: bolder;

letter-spacing: 1px;

}

-->

</style>

<div id="testdiv" align="center" onmousedown="divmoveobj.divonmousedown()" onmouseup="divmoveobj.divonmouseup()"  onmousemove="divmoveobj.divonmousemove()" style="position:absolute; top:300px; left:250px; height:20%; width:50%; z-index:10;  cursor:move;display:none;   border: 3px solid #cccccc;">

	<table width="100%"  border="0"  style="text-align:center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">

		<tr>

			<td  align="center">&nbsp;</td>

		</tr>

		<tr>

			<td  style="text-align:center" class="message_topic" ID="clzqsdd">处理中,请等待....</td>

		</tr>

		<tr>

			<td  style="text-align:center" id="testtd">

			<span id="block1" border="1">&nbsp;&nbsp;&nbsp;</span><span id="block2">&nbsp;&nbsp;&nbsp;</span><span id="block3">&nbsp;&nbsp;&nbsp;</span><span id="block4">&nbsp;&nbsp;&nbsp;</span><span id="block5">&nbsp;&nbsp;&nbsp;</span><span id="block6">&nbsp;&nbsp;&nbsp;</span><span id="block7">&nbsp;&nbsp;&nbsp;</span><span id="block8">&nbsp;&nbsp;&nbsp;</span><span id="block9">&nbsp;&nbsp;&nbsp;</span><span id="block10">&nbsp;&nbsp;&nbsp;</span><span id="block11">&nbsp;&nbsp;&nbsp;</span><span id="block12">&nbsp;&nbsp;&nbsp;</span><span id="block13">&nbsp;&nbsp;&nbsp;</span><span id="block14">&nbsp;&nbsp;&nbsp;</span><span id="block15">&nbsp;&nbsp;&nbsp;</span><span id="block16">&nbsp;&nbsp;&nbsp;</span><span id="block17">&nbsp;&nbsp;&nbsp;</span><span id="block18">&nbsp;&nbsp;&nbsp;</span><span id="block19">&nbsp;&nbsp;&nbsp;</span><span id="block20">&nbsp;&nbsp;&nbsp;</span></td>

		</tr>

		<tr>

			<td style="text-align:center"  class="e_ft_red1" ID="xtzzclndqq"><br>系统正在处理您的请求,请稍候。</td>

		</tr>

		<tr>

			<td  style="text-align:center" >&nbsp;</td>

		</tr>

	</table>

</div>

<script language="javascript">

var i=1;

var barnum = 3;

var divinterval = false;

function showprocessbar()

{

	var elm= document.getElementById('testdiv');

	elm.style.display='block';

	divinterval = window.setInterval("changeColor()",500);

}



function closeprocessbar()

{

	var bar = document.getElementById("testdiv");

	bar.style.display = "none";

	window.clearInterval(divinterval);

	for(var j=1;j<21;j++)

	{

		document.getElementById("block"+j).style.backgroundColor="white";

	}

	i=1;

}



function changeColor()

{

	if(i==21)

	{

		for(var j=1;j<21;j++)

		{

			document.getElementById("block"+j).style.backgroundColor="white";

		}

		i=1;

	}

	document.getElementById("block"+i).style.backgroundColor="#6b8bbd";

	i++;

}



function changeColor1()

{

	if(i==21)

	{

		for(var j=1;j<21;j++)

		{

			document.getElementById("block"+j).style.backgroundColor="white";

		}

		i=1;

	}

	document.getElementById("block"+i).style.backgroundColor="#6b8bbd";

	if((parseInt(i)-barnum) > 0)

		document.getElementById("block"+(parseInt(i)-barnum)).style.backgroundColor="white";

	i++;

}





function DivMove(obj)

{

	this.div=obj;

	this.x=0;

	this.y=0;

	this.x1=0;

	this.y1=0;

	this.divonmousedown=function(){

	this.x=event.x;

	this.y=event.y;

	this.x1=this.div.offsetLeft;

	this.y1=this.div.offsetTop;

	this.div.setCapture();

};

this.divonmouseup=function(){

this.x=0;

this.y=0;

this.x1=0;

this.y1=0;

this.div.releaseCapture();

};

this.divonmousemove=function(){

	if(this.x!=0&&this.y!=0&&this.x1!=0&&this.y1!=0)

	{

		this.div.style.left=(event.x-this.x)+this.x1;

		this.div.style.top=(event.y-this.y)+this.y1;

	}

};

}

var divmoveobj=new DivMove(document.getElementById('testdiv'));

</script> 

<html xmlns="http://www.w3.org/1999/xhtml" lang="utf-8">

<head>

<meta http-equiv="content-type" content="text/html;charset=utf-8" />

<meta http-equiv="content-language" content="utf-8" />

<meta name="robots" content="all" />

<meta name="author" content="" />

<meta name="copyright" content="" />

<meta name="description" content="" />

<meta name="keywords" content="" />

<title>-人民网主站检索</title></head>

<body onload="init('','1')">



<html xmlns="http://www.w3.org/1999/xhtml" lang="utf-8">

<head>

<meta http-equiv="content-type" content="text/html;charset=utf-8" />

<meta http-equiv="content-language" content="utf-8" />

<meta name="robots" content="all" />

<meta name="author" content="" />

<meta name="copyright" content="" />

<meta name="description" content="" />

<meta name="keywords" content="" />

<script src="../inc/prototype-1.4.0.js"></script>

<title></title></head>

<body>

<center>

<iframe width="1003" height="110" frameborder="0" scrolling="no" src="http://www.people.com.cn/GB/120508/120509/index.html"></iframe>

</center> 

</body>

</html> 

<form action="" name="searchFormOne" method="post" onsubmit="twoSearchOne('0');return false;">

<!--结束广告-->

<table width="980" border="0" cellspacing="0" cellpadding="0">

  <tr>

    <td width="260" valign="top"><a href="dj_index.jsp"><img src="../images/p1_01.gif" width="249" height="77" /></a></td>

    <td>

	 <div class="tt08"><!--<a href="http://search.people.com.cn/trends/tsearch/trends.jsp" target="_blank">搜索趋势</a>|<a href="../../fyb/hot.jsp" target="_blank">搜索风云榜</a>|--><a href="http://www.people.com.cn/GB/1018/index.html" target="_blank">帮助</a>|<a href="http://www.people.com.cn/GB/50142/index.html" target="_blank">关于人民网</a></div>

	 

<div class="t02"><a href="#" onclick="createParameter('../rmwsearch/gj_search.jsp','rmwsite','Content')">人民网主站</a><a href="#" onclick="createParameter('../bkzzsearch/gj_search.jsp','NEWSANDMAGAZINE','CONTENT')">报刊</a><a href="#" onclick="createParameter('../ztsearch/zt_search.jsp','SPECIAL','SPECIALNAME')">专题</a><a href="#" onclick="createParameter('../picsearch/pic_search.jsp','rmwsite','CONTENT')">图片</a><a href="#" onclick="createParameter('../videosearch/video_search.jsp','rmwsite','CONTENT')">视频</a><a href="#" onclick="createParameter('../bbssearch/gj_search.jsp','peoplebbs','Content')">论坛</a><a href="#" onclick="createParameter('../blogsearch/blog_search.jsp','blogtext','Content')">博客</a></div>



<script language="javascript">

function createParameter(formaction,basenames,searchfield)

{

	var keyword = document.searchFormOne.REKEYWORD.value;

	if(keyword == "" || keyword=="%")

	{

		alert("请输入检索关键词,然后提交");

		document.searchFormOne.REKEYWORD.focus();

		document.searchFormOne.REKEYWORD.select();

		return;

	}

	var xmllist = "<RMW>";

	xmllist += createXMLNode1("BASENAMES",basenames);

	xmllist += createXMLNode1("ALLKEYWORD","");

	xmllist += createXMLNode1("ALLINPUT","");

	xmllist += createXMLNode1("ANYKEYWORD","");

	xmllist += createXMLNode1("NOALLKEYWORD","");

	xmllist += createXMLNode1("DATEFROM","");

	xmllist += createXMLNode1("DATETO","");

	xmllist += createXMLNode1("DOCTYPE","0");

	xmllist += createXMLNode1("SORTFIELD","-INPUTTIME");

	xmllist += createXMLNode1("ZNKZ","0");

	xmllist += createXMLNode1("KEYWORD",keyword);

	xmllist += createXMLNode1("SEARCHFIELD",searchfield);

	xmllist += "</RMW>";

	var formele = document.rmwlabelform;

	formele.XMLLIST.value = xmllist;

	formele.action = formaction;

	formele.submit();

}

function createXMLNode1(key,value)

{

	var sResult = "";

	sResult += "<"+key+">";

	sResult += "<![CDATA["+encode(value)+"]]>";

	sResult += "</"+key+">";

	return sResult;

}

/*

 *编码解码函数

 */

 function encode(str,u) 

{

	if (typeof(encodeURIComponent) == 'function') 

	{

		if (u) 

			return encodeURI(str);

		else 

			return encodeURIComponent(str);

	}

	else 

	{

		return escape(str);

	}

}

</script> 

<div class="tt03b"><input name="REKEYWORD" type="text" />

  <a href="#"  onclick="twoSearchOne('1')"><img src="../images/p1_06.gif" width="169" height="23" border="0"/></a>&nbsp;<a href="#"  onclick="twoSearchOne('0')"><img src="../images/p1_07.gif" width="84" height="23" border="0"/></a></div>

<div class="tt04" style="width:100%;"><input name="REFIELD" type="radio" value="CONTENT" checked/>新闻全文<input name="REFIELD" type="radio" value="TITLE" />新闻标题</div>

	</td>

  </tr>

</table>

</form>

<table width="980" border="0" cellspacing="0" cellpadding="0" style="margin-top:15px;">

  <tr>

    <TD  ID="CLASSELE" width="250" valign="top" style="text-align:left">

	 <div class="tt10">搜索结果</div>

	</td>

    <td width="20" class="tt11">&nbsp;</td>

    <td width="710" valign="top" class="tt12">

	 <DIV class="tt10">

	   <table width="94%" border="0" cellspacing="0" cellpadding="0">

         <tr>

           <td align="right" ID="TOTALCOUNTELE"  style="text-align:right">

           </td>

         </tr>

       </table>

	 </DIV>

	 <DIV>

	 <table cellspacing="0" cellpadding="0" border="0">

       <tbody>

         <tr>

           <td class="tt13" ID="TONGYINELE"></td>

         </tr>

       </tbody>

     </table>

	 </DIV>

	 <DIV ID="DETAILELE">

    </DIV>

	<DIV>

    <table cellspacing="0" cellpadding="0" border="0">

      <tbody>

        <tr>

          <td class="tt13" ID="TONGYIELE"></td>

        </tr>

      </tbody>

    </table>

	</DIV>

	<DIV class="tt10b" >

	   <table width="94%" border="0" cellspacing="0" cellpadding="0">

         <tr ID="PAGEELE">

         </tr>

       </table>

	 </DIV>

	<form action="" name="searchFormTwo" method="post" onsubmit="twoSearchOne('0');return false;">

	 <div class="tt03b"><input name="REKEYWORD" type="text" />

  <a href="#" onclick="twoSearchTwo('1')"><img src="../images/p1_06.gif" width="169" height="23" border="0" /></a>&nbsp;<a href="#"  onclick="twoSearchTwo('0')"><img src="../images/p1_07.gif" width="84" height="23" border="0" /></a></div>

  </a>	

  </form>

 </td>

  </tr>

</table>

<!--copyright-->



<html xmlns="http://www.w3.org/1999/xhtml" lang="utf-8">

<head>

<meta http-equiv="content-type" content="text/html;charset=utf-8" />

<meta http-equiv="content-language" content="utf-8" />

<meta name="robots" content="all" />

<meta name="author" content="" />

<meta name="copyright" content="" />

<meta name="description" content="" />

<meta name="keywords" content="" />

<title></title></head>

<body>

<center>

<br />

<br />

<br />

<iframe width="1003" height="160" frameborder="0" scrolling="no" src="http://www.people.com.cn/GB/120508/120510/index.html"></iframe> 

</center>

</body>

</html> 

<form action="" name="rmwsearchform" method="post">

<input type="hidden" name="basenames">

<input type="hidden" name="keyword">

<input type="hidden" name="searchfield">

<input type="hidden" name="curpage">

<input type="hidden" name="pagecount">

<input type="hidden" name="classvalue">

<input type="hidden" name="classfield">

<input type="hidden" name="isclass">

<input type="hidden" name="istong">

<input type="hidden" name="where">

<input type="hidden" name="researchkeyword">

<input type="hidden" name="researchfield">



<input type="hidden" name="allkeyword">

<input type="hidden" name="allinput">

<input type="hidden" name="anykeyword">

<input type="hidden" name="noallkeyword">

<input type="hidden" name="datefrom">

<input type="hidden" name="dateto">

<input type="hidden" name="doctype">

<input type="hidden" name="sortfield">

<input type="hidden" name="otherwhere">

<input type="hidden" name="channel">

<input type="hidden" name="otherwhere" value="">

<input type="hidden" name="znkz">

</form>



<form action="" name="rmwlabelform" method="post">

<input type="hidden" name="XMLLIST">

</form>

</body>

</html>

  • 大小: 75 KB
0 请登录后投票
   发表时间:2011-09-27  
再贴一js文件
//鎵╁睍瀛楃涓茬殑endwith鏂规硶
String.prototype.endWith=function(oString)
{  
	var   reg=new   RegExp(oString+"$");  
	return   reg.test(this);  
}
String.prototype.ReplaceAll = function(AFindText,ARepText)
{
	var raRegExp = new RegExp(AFindText,"g")
	try{
	var res = this.replace(raRegExp,ARepText);
	return res;
	}catch(e){return "";}
}
//鎼滅储鏃堕棿瀛楁
var doctimefield = "PUBLISHTIME";
//鏂囨。绫诲瀷瀛楁
var doctypefield = "DOCTYPE";
//棰戦亾鐨勬绱俊鎭�
var channelfield = "CLASS2";
//鎼滅储姝f枃瀛楁
var contentfield = "CONTENT";
//鍒嗙被瀛楁
var classfield = "CLASS2";
var classfield2 = "CLASS3";
//XML瑙f瀽鍣�
var xmlDoc = false;
//XML AJAX鍒嗘瀽鍣�
var XMLHttpReq = false;
//妫€绱㈤粯璁よ〃鍗�
var morenbiaodan = false;
var v_otherwhere = "";
//XML瑙f瀽鍑芥暟锛屽res涓殑XML瀛楃涓茶繘琛岃В鏋�
function xmljx(res)
{
	try{
	xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); 
	xmlDoc.async = "false";
	xmlDoc.loadXML(res);
	}catch(e){
	var parser = new DOMParser();
    xmlDoc = parser.parseFromString(res,"text/xml");
	}
	return xmlDoc;
}
//寰楀埌XMLHttpRequest瀵硅薄
function createXMLHttpRequest()
{
	if(window.XMLHttpRequest)
	{
		XMLHttpReq = new XMLHttpRequest();
	}
	else if(window.ActiveXObject)
	{
		try{
			XMLHttpReq = new ActiveXObject("Msxml2.XMLHTTP");
		}catch(e){
		try{
			XMLHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
		}catch(e){}
		}
	}
}
//杩涜妫€绱㈠弬鏁扮殑鍒濆鍖栧伐浣�
function init(xmlstr,curpage)
{
	//瀵筙ML瀛楃涓茶繘琛岃В鏋�,寰楀埌鎵€鏈夊弬鏁扮殑鍊�
	xmljx(xmlstr);
	var v_basenames = decode(xmlDoc.getElementsByTagName("BASENAMES")[0].firstChild.data);
	var v_allkeyword = decode(xmlDoc.getElementsByTagName("ALLKEYWORD")[0].firstChild.data);
	var v_allinput = decode(xmlDoc.getElementsByTagName("ALLINPUT")[0].firstChild.data);
	var v_anykeyword = decode(xmlDoc.getElementsByTagName("ANYKEYWORD")[0].firstChild.data);
	var v_noallkeyword = decode(xmlDoc.getElementsByTagName("NOALLKEYWORD")[0].firstChild.data);
	var v_datefrom = decode(xmlDoc.getElementsByTagName("DATEFROM")[0].firstChild.data);
	var v_dateto = decode(xmlDoc.getElementsByTagName("DATETO")[0].firstChild.data);
	var v_doctype = decode(xmlDoc.getElementsByTagName("DOCTYPE")[0].firstChild.data);
	var v_sortfield = decode(xmlDoc.getElementsByTagName("SORTFIELD")[0].firstChild.data);
	var v_znkz = decode(xmlDoc.getElementsByTagName("ZNKZ")[0].firstChild.data);
	var v_keyword = decode(xmlDoc.getElementsByTagName("KEYWORD")[0].firstChild.data);
	var v_searchfield = decode(xmlDoc.getElementsByTagName("SEARCHFIELD")[0].firstChild.data);
	var v_channel = "ALL";
	try{
		v_channel = decode(xmlDoc.getElementsByTagName("CHANNEL")[0].firstChild.data);
	}catch(ex){v_channel = "ALL";}
	try{
		v_otherwhere = decode(xmlDoc.getElementsByTagName("OTHERWHERE")[0].firstChild.data);
	}catch(ex){v_otherwhere = "";}
	//瀵归粯璁よ〃鍗曡繘琛岃礋鍊�
	morenbiaodan = document.rmwsearchform;
	morenbiaodan.basenames.value = v_basenames;
	morenbiaodan.keyword.value = v_keyword;
	morenbiaodan.searchfield.value = v_searchfield;
	morenbiaodan.curpage.value = "1";
	morenbiaodan.pagecount.value = "20";
	morenbiaodan.classvalue.value = "ALL";
	morenbiaodan.classfield.value = classfield;
	morenbiaodan.isclass.value = "1";
	morenbiaodan.istong.value = "1";

	morenbiaodan.allkeyword.value = v_allkeyword.ReplaceAll(" ","");
	morenbiaodan.allinput.value = v_allinput.ReplaceAll(" ","");
	morenbiaodan.anykeyword.value = v_anykeyword.ReplaceAll(" ","");
	morenbiaodan.noallkeyword.value = v_noallkeyword.ReplaceAll(" ","");
	morenbiaodan.datefrom.value = v_datefrom;
	morenbiaodan.dateto.value = v_dateto;
	morenbiaodan.doctype.value = v_doctype;
	morenbiaodan.sortfield.value = v_sortfield;
	morenbiaodan.channel.value = v_channel;
	morenbiaodan.znkz.value = v_znkz;
	//濡傛灉鏈夐閬撴绱俊鎭紝鍒欐寜鐓Lass3杩涜鍒嗙被
	if(v_channel != "ALL")
		morenbiaodan.classfield.value = classfield2;
	//鏋勯€犳绱㈠瓧绗︿覆where
	morenbiaodan.where.value = getWhere(morenbiaodan.keyword.value,morenbiaodan.searchfield.value);
	//杩涜妫€绱�
	initsearch();
}
//妫€绱㈠垵濮嬪寲
function initsearch()
{
	//鎵撳紑婊氬姩鏉�
	getScroll();
	showprocessbar();
	//灏嗘绱㈢殑瀛楃涓茬疆浜庝簩娆℃绱㈡涓幓
	document.searchFormOne.REKEYWORD.value = morenbiaodan.keyword.value;
	var submitURL = "gj_searchht.jsp";
	var url = "basenames="+encodeURIComponent(morenbiaodan.basenames.value)+"&where="+encodeURIComponent(morenbiaodan.where.value);
	url += "&curpage="+morenbiaodan.curpage.value+"&pagecount="+morenbiaodan.pagecount.value;
	url += "&classvalue="+encodeURIComponent(morenbiaodan.classvalue.value)+"&classfield="+encodeURIComponent(morenbiaodan.classfield.value);
	url += "&isclass="+morenbiaodan.isclass.value+"&istong="+morenbiaodan.istong.value+"&keyword="+encodeURIComponent(morenbiaodan.keyword.value);		
	url += "&znkz="+morenbiaodan.znkz.value+"&sortfield="+encodeURIComponent(morenbiaodan.sortfield.value);
	url += "&id="+Math.random();
	insertURLToMysql(encodeURIComponent(morenbiaodan.keyword.value));
	var myAjax = new Ajax.Request(submitURL,{method:'post',parameters:url,onComplete:processResponse});
}
//Ajax杩斿洖鐨勭粨鏋滆繘琛屾樉绀虹殑鍑芥暟
function processResponse(request)
{
	var reses = request.responseXML.getElementsByTagName("RMW");
	if(reses.length>0)
		showRES(reses[0]);
	else
		closeprocessbar();
}
//鐢熸垚鏈€鍚庣殑缁撴灉椤甸潰锛屽垎涓哄涓嬪嚑閮細
//1銆佺敓鎴愯缁嗕俊鎭〉闈�  2銆佺敓鎴愰〉鏁�  3銆佺敓鎴愬悓闊宠瘝   4銆佺敓鎴愬悓涔夎瘝  5銆佺敓鎴愬垎椤垫绱㈤〉闈�
function showRES(reses)
{
	try{
		showDetail(reses);
		showPage(reses);
		if(morenbiaodan.isclass.value == "1")
		{
			showFenLei(reses);
			morenbiaodan.isclass.value = "0";
		}
		if(morenbiaodan.istong.value == "1")
		{
			showTong(reses);
			morenbiaodan.istong.value = "0";
		}
		closeprocessbar();
	}catch(ex){noDataHandler();}
}



//鐢熸垚妫€绱㈢粨鏋滆缁嗕俊鎭〉闈�  杈呭姪鍑芥暟锛歴howDetail(reses)   createOneDetailTable(detailNode)
function showDetail(reses)
{
	//灏嗙粨鏋滄樉绀虹殑淇℃伅娓呴櫎
	var detailele = document.getElementById("DETAILELE");
	clear(detailele);
	var detaileles = reses.getElementsByTagName("RESULT");
	var detailele;
	for(var i=0;i<detaileles.length;i++)
	{
		detailele = detaileles[i];
		createOneDetailTable(detailele);
	}
}
/*
 * 鏂规硶 createOneDetailTable 鐨勪綔鐢ㄥ氨鏄敓鎴愪竴涓猅able锛屾ā浠垮涓�
 *<table cellspacing="0" cellpadding="0" border="0">
 *		<tbody>
 *			<tr>
 *				<td class="f">
					<a href="http://www.people.com.cn/" target="_blank"><font size="3">浜烘皯缃�</font></a>
 *					<br/>
 *					<font size="-1">涓浗鐨勫畼鏂规姤绾搞€傚寘鎷柊闂绘姤閬撳拰鍙绱㈢殑鐩綍锛屾柊闂昏瘎璁哄拰涓撻鏍忕洰.</font>
 *					<br/>
 *					<font color="#008000">www.people.com.cn/ 125K 2007-12-5 </font>- <a class="m" href="#"     target="_blank">蹇収</a>
 *				 </td>
 *			</tr>
 *     </tbody>
 *	</table>
*/
function createOneDetailTable(detailNode)
{
	//瑙f瀽detailNode,寰楀埌鎵€鏈夌殑瀵瑰簲鐨勫€�
	var doctitle = detailNode.getElementsByTagName("TITLE")[0].firstChild.data;
	var doccontent = detailNode.getElementsByTagName("CONTENT")[0].firstChild.data;
	var docauthor = detailNode.getElementsByTagName("AUTHOR")[0].firstChild.data;
	var doctime = detailNode.getElementsByTagName("PUBLISHTIME")[0].firstChild.data;
	var docurl = detailNode.getElementsByTagName("DOCURL")[0].firstChild.data;
	var docchannel = detailNode.getElementsByTagName("CHANNEL")[0].firstChild.data;
	var docsize = detailNode.getElementsByTagName("DOCSIZE")[0].firstChild.data;
	var docauthor = detailNode.getElementsByTagName("AUTHOR")[0].firstChild.data;
	var docrelevance = detailNode.getElementsByTagName("RELEVANCE")[0].firstChild.data;
	//寰楀埌Detail鎵€鍦ㄧ殑鐖剁粍浠�
	var detailele = document.getElementById("DETAILELE");
	//1銆佺敓鎴愪竴涓猅able
	var tableele = document.createElement("table");
	tableele.setAttribute("cellspacing","0");
	tableele.setAttribute("cellpadding","0");
	tableele.setAttribute("border","0");
	detailele.appendChild(tableele);
	//2銆佺敓鎴愪竴涓猅BODY
	var tbodyele = document.createElement("tbody");
	tableele.appendChild(tbodyele);
	//3銆佺敓鎴愪竴涓猅R
	var trele = document.createElement("tr");
	tbodyele.appendChild(trele);
	//鐢熸垚涓€涓猅D
	var tdele = document.createElement("td");
	tdele.setAttribute("class","f");
	trele.appendChild(tdele);
	//寰楀埌TD閲岄潰鐨勫唴瀹�
	//寰楀埌TD閲岄潰鐨勫唴瀹�
	var innerstr = "<a href='"+docurl+"' target='_blank'><font size='3'>"+doctitle+"</font></a>";
	//鏄剧ず鐩稿叧搴�
	if(parseInt(docrelevance) > 0)
	{
		if(docrelevance.length > 5)
			docrelevance = docrelevance.substring(0,5);
		innerstr += "&nbsp;&nbsp;&nbsp;&nbsp;"+docrelevance+"%<br/>";
	}
	else
		innerstr += "<br/>";
	innerstr += "<font size='-1'>"+doccontent+"</font>";
	innerstr += "<br/>";
	innerstr += "<a href='"+docurl+"' target='_blank'><font color='#008000'>"+docurl+"</font></a>&nbsp;&nbsp;"+doctime;
	//innerstr += "&nbsp;&nbsp;- &nbsp;&nbsp;<a class='m' href='"+docurl+"' target='_blank'>缃戠珯蹇収</a>";
	innerstr += "<br/><br/>";
	tdele.innerHTML = innerstr;
	
}
//鏄剧ず鍒嗛〉鐨勬墍鏈変俊鎭�  杈呭姪鍑芥暟锛歡etTotleStr(totlenum,searchtime) turnPage(topage) writePage(pages)
function showPage(reses)
{
	//寰楀埌鏈€鍚庢绱㈢殑鍒嗛〉淇℃伅  鎬讳俊鎭暟  妫€绱㈡椂闂�  褰撳墠鏄剧ず鐨勯〉鏁�  姣忛〉鏄剧ず鐨勪俊鎭暟  鎬婚〉鏁�
	var totlenum = reses.getElementsByTagName("TOTALCOUNT")[0].firstChild.data;
	var searchtime = reses.getElementsByTagName("SEARCHTIME")[0].firstChild.data;
	var curpage = reses.getElementsByTagName("CURPAGE")[0].firstChild.data;
	var pagecount = reses.getElementsByTagName("PAGECOUNT")[0].firstChild.data;
	var pages = reses.getElementsByTagName("PAGES")[0].firstChild.data;
	searchtime = searchtime/1000.0;
	if(curpage != morenbiaodan.curpage.value)
		morenbiaodan.curpage.value = curpage;
	//鏄剧ず涓€鍏辨湁澶氬皯鏉′俊鎭�
	var totleele = document.getElementById("TOTALCOUNTELE");
	clear(totleele);
	var innertext = getTotleStr(totlenum,searchtime);
	totleele.innerHTML = innertext;
	//鏄剧ず 棣栭〉 涓婁竴椤� 涓嬩竴椤� 鏈〉
	var pageele = document.getElementById("PAGEELE");
	clear(pageele);
	//鐢熸垚涓変釜TD
	var tdele1 = document.createElement("td");
	var tdele2 = document.createElement("td");
	var tdele3 = document.createElement("td");
	//鍒嗗埆璁剧疆涓変釜TD鐨勫睘鎬�
	tdele1.setAttribute("width","20%");
	tdele1.setAttribute("align","center");
	tdele2.setAttribute("width","60%");
	tdele2.setAttribute("align","center");
	tdele3.setAttribute("width","20%");
	tdele3.setAttribute("align","center");
	//寤虹珛涓変釜TD innerHTML
	var tdhtml1 = "";
	if(curpage == 1)
	{
		tdhtml1 += " <input type='submit' name='Submit' value='棣栭〉' onclick='alert(\"褰撳墠鏄剧ず棣栭〉\")'/>";
		tdhtml1 += "<input type='submit' name='Submit2' value='涓婁竴椤�' onclick='alert(\"褰撳墠鏄剧ず绗竴椤礬")'/>";
	}
	else
	{
		tdhtml1 += " <input type='submit' name='Submit' value='棣栭〉' onclick='turnPage(\"1\")'/>";
		tdhtml1 += "<input type='submit' name='Submit2' value='涓婁竴椤�' onclick='turnPage(\""+(parseInt(curpage)-1)+"\")'/>";
	}
	var tdhtml2 = writePage(pages);
	var tdhtml3 = "";
	if(curpage == pages)
	{
		tdhtml3 += "<input type='submit' name='Submit3' value='涓嬩竴椤�'  onclick='alert(\"褰撳墠鏄剧ず鏈€鍚庝竴椤礬")'/>";
		tdhtml3 += "<input type='submit' name='Submit4' value='鏈〉'  onclick='alert(\"褰撳墠鏄剧ず鏈〉\")'/>";
	}
	else
	{
		tdhtml3 += "<input type='submit' name='Submit3' value='涓嬩竴椤�'  onclick='turnPage(\""+(parseInt(curpage)+1)+"\")'/>";
		tdhtml3 += "<input type='submit' name='Submit4' value='鏈〉'  onclick='turnPage(\""+pages+"\")'/>";
	}
	//灏嗕笁涓狪nnerHTML璐熷€肩粰TD
	tdele1.innerHTML = tdhtml1;
	tdele2.innerHTML = tdhtml2;
	tdele3.innerHTML = tdhtml3;
	//灏嗕笁涓猅D璐熷€肩粰TR
	pageele.appendChild(tdele1);
	pageele.appendChild(tdele2);
	pageele.appendChild(tdele3);
}
//寰楀埌鎬讳俊鎭殑瀛楃涓�
function getTotleStr(totlenum,searchtime)
{
	var start = 0,end = 0;
	var v_curpage = parseInt(morenbiaodan.curpage.value);
	var v_pagecount = parseInt(morenbiaodan.pagecount.value);
	start = (v_curpage-1)*v_pagecount+1;
	end = v_curpage*v_pagecount;
	if(end > totlenum)
		end = totlenum;
	var str = "绾︽湁"+totlenum+"椤圭鍚� <font color='red'>"+morenbiaodan.keyword.value+"</font> 鐨勬煡璇㈢粨鏋滐紝 濡備笅鏄 "+start+"-"+end+" 椤�(鎼滅储鐢ㄦ椂"+searchtime+"绉�)";
	return str;
}
//缈婚〉鍑芥暟
function turnPage(topage)
{
	morenbiaodan.curpage.value = topage;
	initsearch();
}
//椤电爜鏄剧ず鍑芥暟
function writePage(pages)
{
	var curpage = parseInt(morenbiaodan.curpage.value);
	var start = curpage - 3;
	var end = curpage +5;
	//瀵归〉鐮佹樉绀鸿寖鍥磋繘琛屽垎鏋�
	if(start < 1)
	{
		end = end - start + 1;
		if(end > pages)
			end = pages;
		start = 1;
	}
	if(end > pages)
	{
		start = start - (end - pages);
		if(start < 1)
			start = 1;
		end = pages;
	}
	var pagestr = "";
	for(var i=start;i<=end;i++)
	{
		if(i == curpage)
			pagestr += "<font color='red'>"+i+"</font>&nbsp;&nbsp;&nbsp;";
		else
			pagestr += "<a href='#' onclick='turnPage(\""+i+"\")'>["+i+"]</a>&nbsp;&nbsp;&nbsp;";
	}
	return pagestr;
}
//鐢熸垚鍒嗙被,涓撻 鐨勭粨鏋滃嚱鏁� 杈呭姪鍑芥暟 turnClass(node)
function showFenLei(reses)
{
	//==========================================1銆佸緱鍒版墍鏈夊垎绫荤殑缁撴灉
	//寰楀埌鎵€鏈夌殑鍒嗙被缁撴灉鐨勬暟缁�
	var fenleieles = reses.getElementsByTagName("CLASSRES");
	var fenleiele = false;
	var v_classvalue = "";
	var classnum = "";
	//寰楀埌CLASELE缁勪欢
	var classele = document.getElementById("CLASSELE");
	clear(classele);
	var innertext = " <div class='tt10'>鎼滅储缁撴灉</div>";
	for(var i=0;i<fenleieles.length;i++)
	{
		if(i == 50)
			break;
		fenleiele = fenleieles[i];
		v_classvalue = fenleiele.getElementsByTagName("CLASSVALUE")[0].firstChild.data;
		classnum = fenleiele.getElementsByTagName("CLASSNUM")[0].firstChild.data;
		if(i == 0)
			innertext += "<a href='#' onclick='turnClass(\"ALL\")'>"+v_classvalue+"("+classnum+")</a><br/>";
		else
			innertext += "<a href='#' onclick='turnClass(\""+v_classvalue+"\")'>"+v_classvalue+"("+classnum+")</a><br/>";
	}
	//==========================================2銆佸緱鍒版墍鏈変笓棰樼殑缁撴灉
	var zteles = reses.getElementsByTagName("ZHUANTI");
	var ztele = false;
	var specialname = "",subspecialname="",specialurl="";
	//寰幆渚垮埄涓撻鑺傜偣鐨勬暟缁�
	innertext += " <div class='tt10'>涓撻缁撴灉</div>";
	for(var i=0;i<zteles.length;i++)
	{
		ztele = zteles[i];
		try{
			specialname = ztele.getElementsByTagName("ZHUANTINAME")[0].firstChild.data;
			subspecialname = ztele.getElementsByTagName("ZHUANTISUBNAME")[0].firstChild.data;
			specialurl = ztele.getElementsByTagName("ZHUANTIURL")[0].firstChild.data;
			innertext += "<a href='"+specialurl+"' title='"+specialname+"' target='_blank'>"+subspecialname+"</a><br/>";
		}catch(ex){continue;}
	}
	classele.innerHTML = innertext;	
}
//鍒嗙被椤逛俊鎭樉绀�
function turnClass(v_classvalue)
{
	morenbiaodan.classvalue.value = v_classvalue;
	morenbiaodan.curpage.value = "1";
	initsearch();
}


//鏄剧ず鍚岄煶璇嶅悓涔夎瘝鏂规硶  杈呭姪鍑芥暟 turnTong(tongstr)
function showTong(reses)
{
	//寰楀埌鍚岄煶璇嶅悓涔夎瘝鐨勫瓧绗︿覆
	var tongyincistr = reses.getElementsByTagName("TONGYINCI")[0].firstChild.data;
	var tongyicistr = reses.getElementsByTagName("TONGYICI")[0].firstChild.data;
	var tyin_list = tongyincistr.split(";");
	var tyi_list = tongyicistr.split(";");
	var tyin_value = "",tyi_value="";
	//寰楀埌鍚岄煶璇嶅悓涔夎瘝鐨勮妭鐐�
	var tyin_node = document.getElementById("TONGYINELE");
	var tyi_node = document.getElementById("TONGYIELE");
	//娓呴櫎涓や釜鑺傜偣
	clear(tyin_node);clear(tyi_node);
	//寤虹珛涓や釜InnerHTML
	var tyin_innertext = "鍚岄煶瀛楁悳绱�: <font size='-1'>";
	for(var i=0;i<tyin_list.length;i++)
	{
		tyin_value = tyin_list[i];
		tyin_innertext += "<a href='#' onclick='turnTong(\""+tyin_value+"\")'>"+tyin_value+"</a>&nbsp;&nbsp;";
	}
	tyin_innertext += "</font>";
	var tyi_innertext = "鐩稿叧鎼滅储: <font size='-1'>";
	for(var i=0;i<tyi_list.length;i++)
	{
		tyi_value = tyi_list[i];
		tyi_innertext += "<a href='#' onclick='turnTong(\""+tyi_value+"\")'>"+tyi_value+"</a>&nbsp;&nbsp;";
	}
	//涓哄悓闊宠瘝鑺傜偣鍜屽悓涔夎瘝鑺傜偣璁剧疆innerHTML
	tyin_node.innerHTML = tyin_innertext;
	tyi_node.innerHTML = tyi_innertext;
}
//鍚岄煶璇嶅悓涔夎瘝妫€绱㈠嚱鏁�
function turnTong(tongstr)
{
	morenbiaodan.where.value = getWhere(tongstr,"");
	morenbiaodan.keyword.value = tongstr;
	morenbiaodan.classvalue.value = "ALL";
	morenbiaodan.isclass.value = "1";
	morenbiaodan.istong.value = "1";
	morenbiaodan.curpage.value = "1";
	initsearch();
}
//妫€绱㈠弬鏁帮紝鍙傛暟 isagain 0锛氳〃绀轰笉杩涜浜屾妫€绱�  1锛氳〃绀鸿繘琛屼簩娆℃绱�
function twoSearchOne(isagain)
{
	//寰楀埌妫€绱㈣〃鍗曞苟涓旇鍙栨绱㈣〃鍗曚腑鐨勫€硷紝骞惰礋鍊肩粰榛樿琛ㄥ崟
	var searchformele = document.searchFormOne;
	if(searchformele.REKEYWORD.value == "")
	{
		alert("璇峰~鍐欏叧閿瘝鐒跺悗鎻愪氦");
		return;
	}
	morenbiaodan.researchkeyword.value = searchformele.REKEYWORD.value;
	//3銆佸緱鍒版绱㈠瓧娈电殑鍊煎苟璐熷€肩粰榛樿琛ㄥ崟
	var searchfieldeles = document.getElementsByName("REFIELD");
	var searchfieldele = false;
	var searchfield = "Title";
	for(var i=0;i<searchfieldeles.length;i++)
	{
		searchfieldele = searchfieldeles[i];
		if(searchfieldele.checked)
		{
			searchfield = searchfieldele.value;
			break;
		}
	}
	morenbiaodan.researchfield.value = searchfield;
	//鍒嗘瀽鏄惁涓轰簩娆℃绱紝鍒嗗埆杩涜澶勭悊
	if(isagain == "0")
		morenbiaodan.where.value = getWhere(morenbiaodan.researchkeyword.value,morenbiaodan.researchfield.value);
	else
	{
		var strWhere = getSearchWhere(morenbiaodan.researchkeyword.value,morenbiaodan.researchfield.value);
		var v_where = morenbiaodan.where.value;
		morenbiaodan.where.value = v_where+" and "+strWhere;
	}
	//瀵归粯璁よ〃鍗曠殑鍏朵粬鍊艰繘琛屽垵濮嬪寲
	morenbiaodan.keyword.value = morenbiaodan.researchkeyword.value;
	morenbiaodan.searchfield.value = morenbiaodan.researchfield.value;
	morenbiaodan.curpage.value = "1";
	morenbiaodan.pagecount.value = "20";
	morenbiaodan.classvalue.value = "ALL";
	morenbiaodan.isclass.value = "1";
	morenbiaodan.istong.value = "1";
	//杩涜妫€绱�
	initsearch();
}

//妫€绱㈠弬鏁帮紝鍙傛暟 isagain 0锛氳〃绀轰笉杩涜浜屾妫€绱�  1锛氳〃绀鸿繘琛屼簩娆℃绱�
function twoSearchTwo(isagain)
{
	//寰楀埌妫€绱㈣〃鍗曞苟涓旇鍙栨绱㈣〃鍗曚腑鐨勫€硷紝骞惰礋鍊肩粰榛樿琛ㄥ崟
	var searchformele = document.searchFormTwo;
	if(searchformele.REKEYWORD.value == "")
	{
		alert("璇峰~鍐欏叧閿瘝鐒跺悗鎻愪氦");
		return;
	}
	morenbiaodan.researchkeyword.value = searchformele.REKEYWORD.value;
	morenbiaodan.researchfield.value = "CONTENT";
	//鍒嗘瀽鏄惁涓轰簩娆℃绱紝鍒嗗埆杩涜澶勭悊
	if(isagain == "0")
		morenbiaodan.where.value = getWhere(morenbiaodan.researchkeyword.value,morenbiaodan.researchfield.value);
	else
	{
		var strWhere = getSearchWhere(morenbiaodan.researchkeyword.value,morenbiaodan.researchfield.value);
		var v_where = morenbiaodan.where.value;
		morenbiaodan.where.value = v_where+" and "+strWhere;
	}
	//瀵归粯璁よ〃鍗曠殑鍏朵粬鍊艰繘琛屽垵濮嬪寲
	morenbiaodan.keyword.value = morenbiaodan.researchkeyword.value;
	morenbiaodan.searchfield.value = morenbiaodan.researchfield.value;
	morenbiaodan.curpage.value = "1";
	morenbiaodan.pagecount.value = "20";
	morenbiaodan.classvalue.value = "ALL";
	morenbiaodan.isclass.value = "1";
	morenbiaodan.istong.value = "1";
	//杩涜妫€绱�
	initsearch();
}


//娓呴櫎鏌愪竴涓粍浠剁殑鎵€鏈夊瓙缁勪欢
function clear(ele)
{
	var index = ele.childNodes.length;
	for(var i=index-1;i>=0;i--)
		ele.removeChild(ele.childNodes[i]);
}
//鏄剧ず鍏抽棴杩涘害鏉�
function showprocessbar()
{
	var bar = document.getElementById("processbar");
	bar.style.display = "block";
	document.bgColor="whitesmoke";
}
function closeprocessbar()
{
	var bar = document.getElementById("processbar");
	bar.style.display = "none";
	document.bgColor="white";
}
//鎺у埗婊氬姩鏉′綅缃�
function getScroll()
{
	if (document.documentElement && document.documentElement.scrollTop)       
		document.documentElement.scrollTop = 0;
	else if (document.body)      
		document.body.scrollTop = 0;
}
//娌℃湁妫€绱㈠嚭缁撴灉鐨勫鐞嗘柟娉�
function noDataHandler()
{
	closeprocessbar();
	//绂佹鏄剧ず涓€鍏辨湁澶氬皯鏉′俊鎭�
	var totleele = document.getElementById("TOTALCOUNTELE");
	clear(totleele);
	var innertext = getTotleStr("0","0");
	totleele.innerHTML = innertext;
	//绂佹 棣栭〉 涓婁竴椤� 涓嬩竴椤� 鏈〉
	var pageele = document.getElementById("PAGEELE");
	clear(pageele);
	alert("娌℃湁妫€绱㈠嚭缁撴灉");
}
//灏嗘绱㈣瘝涓殑绌烘牸鏇挎崲鎴恆nd
function getSearchWhere(where,columnName)
{
	if(where == "")
		return "";
	var strWhere = handlerWhere(where);
	var res = "";
	if(columnName == "")
		res = strWhere;
	else if(columnName.toUpperCase() == "CONTENT")
		res = "(CONTENT="+strWhere+" or TITLE="+strWhere+" or SUBTITLE="+strWhere+" or PRETITLE="+strWhere+" or AUTHOR="+strWhere+")";
	else
		res = columnName+"="+strWhere;
	return res;
}
//瀵逛竴涓獁here杩涜鍒嗘瀽锛屽皢鎵€鏈夌殑绌烘牸杞崲鎴愪负 and
function handlerWhere(where)
{
	var strWhere = where.toUpperCase();
	if(strWhere.contains("AND") || strWhere.contains("OR") || strWhere.contains("!")
		|| strWhere.contains("*") || strWhere.contains("+") || strWhere.contains("-") || strWhere.contains("ADJ")	|| strWhere.contains("EQU") ||  strWhere.contains("PRE") || strWhere.contains("SOR") ||strWhere.contains("NOT"))
		return "("+where+")";
	var wherelist = where.split(" ");
	var where_value = "";
	strWhere = "(";
	for(var i=0;i<wherelist.length;i++)
	{
		where_value = wherelist[i];
		if(trim(where_value) == "")
			continue;
		else
			strWhere += where_value+" and ";
	}
	if(strWhere.endWith(" and "))
		strWhere = strWhere.substring(0,strWhere.length-5);
	strWhere += ")";
	return strWhere;
}
//trim鍑芥暟
function trim(str) 
{
	if (!str || str=="") 
		return "";
	while ((str.charAt(0)==' ') || (str.charAt(0)=='\n') || (str.charAt(0,1)=='\r')) 
		str=str.substring(1,str.length);
	while ((str.charAt(str.length-1)==' ') || (str.charAt(str.length-1)=='\n') || (str.charAt(str.length-1)=='\r')) 
		str=str.substring(0,str.length-1);
	return str;
}
function getWhere(v_keyword,v_searchfield)
{
	 //鏍规嵁妫€绱㈠瓧娈典互鍙婃绱㈠叧閿瘝寰楀埌妫€绱㈠瓧绗︿覆
	 var strWhere = getSearchWhere(v_keyword,v_searchfield);
	 //寰楀埌 === 鍖呭惈浠ヤ笅鐨勬墍鏈夊瓧鐨勬绱㈠瓧绗︿覆
	 var allkeywordWhere = morenbiaodan.allkeyword.value;
	 if(allkeywordWhere!="")
		 strWhere = addWhere(strWhere,"like("+allkeywordWhere+")");
	 //寰楀埌 === 鍖呭惈浠ヤ笅鐨勫畬鏁村瓧鍙�
	 var allinputWhere = morenbiaodan.allinput.value;
	 if(allinputWhere!="")
		 strWhere = addWhere(strWhere,"("+allinputWhere+")");
	 //寰楀埌 === 鍖呭惈浠ヤ笅浠讳綍涓€涓瓧璇�
	 var anykeywordWhere = morenbiaodan.anykeyword.value;
	 if(anykeywordWhere!="")
		 strWhere = addWhere(strWhere,"like["+anykeywordWhere+"]");	 
	 //寰楀埌 === 涓嶅寘鍚互涓嬬殑瀹屾暣瀛楀彞
	 var noallkeywordWhere = morenbiaodan.noallkeyword.value;
	 if(noallkeywordWhere!="")
		 strWhere = addWhere(strWhere,"("+contentfield+"!="+noallkeywordWhere+")");	 
	 //寰楀埌鏃堕棿鐨勯檺鍒惰寖鍥�
	 var timeWhere = "";
	 var timeFrom = morenbiaodan.datefrom.value;
	 var timeTo = morenbiaodan.dateto.value;
	 if(timeFrom != "")
	 {
		 timeFrom = timeFrom.ReplaceAll("-",".");
		 timeWhere = doctimefield+" >="+timeFrom;
	 }
	 if(timeTo != "")
	 {
		 timeTo = timeTo.ReplaceAll("-",".");
		 timeWhere = (timeWhere == "")?(doctimefield+" <="+timeTo):timeWhere + " and "+(doctimefield+" <="+timeTo);
	 }
	 //灏嗘椂闂撮檺鍒跺垎涓哄姞鍏ュ埌strWhere 涓幓
	 if(timeWhere!="")
		strWhere = addWhere(strWhere,"("+timeWhere+")");	 
	 //寰楀埌鏂囨。鏍煎紡鐨勬绱㈠瓧绗︿覆
	 var doctype = "";
	 var v_doctype =  morenbiaodan.doctype.value;
	 var docWhere = "";
	 if(v_doctype != "0")
	 {
		 docWhere = doctypefield+"="+v_doctype;
		 //灏嗘悳绱㈣寖鍥撮檺鍒跺垎涓哄姞鍏ュ埌strWhere 涓幓
		 strWhere = addWhere(strWhere,"("+docWhere+")");
	 }
	 //寰楀埌棰戦亾鐨勬绱俊鎭�
	 var v_channel = morenbiaodan.channel.value;
	 var channelWhere = "";
	 if(v_channel != "ALL")
	{
		channelWhere = channelfield+"="+v_channel;
		//灏嗘悳绱㈣寖鍥撮檺鍒跺垎涓哄姞鍏ュ埌strWhere 涓幓
		strWhere = addWhere(strWhere,"("+channelWhere+")");
	}
	if(v_otherwhere != "" && v_otherwhere!="undefined")
	{
		strWhere = addWhere(strWhere,"("+v_otherwhere+")");
	}
	strWhere = addWhere(strWhere,"(deleted = 0)");
	return strWhere;
}
//瀵箂trWhere妫€绱㈠瓧绗︿覆杩涜鍒嗘瀽锛屽鏋滀笉涓虹┖鍒欏簲璇ュ姞涓� and 
function addWhere(strWhere,mWhere)
{
	if(strWhere == "")
		strWhere += mWhere;
	else
		strWhere += " and "+mWhere;
	return strWhere;
}
0 请登录后投票
论坛首页 海阔天空版

跳转论坛:
Global site tag (gtag.js) - Google Analytics